:root {
  --dark: #102027;
  --primary: #1f6f78;
  --primary-dark: #185b63;
  --accent: #d9a441;
  --light: #f6f8f7;
  --white: #ffffff;
  --text: #263238;
  --muted: #607d8b;
  --border: #e1e8e6;
  --shadow: 0 18px 50px rgba(16, 32, 39, 0.09);
  --radius-small: 12px;
  --radius-medium: 22px;
  --radius-large: 30px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}

a {
  color: inherit;
}

section {
  padding: 82px 0;
  scroll-margin-top: 95px;
}

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

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

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.logo {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.7px;
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
}

.main-nav a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--white);
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  position: relative;
}

.nav-toggle-label span::before {
  position: absolute;
  top: -7px;
}

.nav-toggle-label span::after {
  position: absolute;
  top: 7px;
}

.hero {
  padding: 120px 0 86px;
  background:
    radial-gradient(circle at 16% 10%, rgba(217, 164, 65, 0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #edf4f3 100%);
}

.hero-grid,
.split,
.contact-grid,
.legal-grid {
  display: grid;
  gap: 44px;
  align-items: start;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.split,
.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
}

.badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(31, 111, 120, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  color: var(--dark);
  line-height: 1.2;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 5vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -1.7px;
}

.hero p,
.section-title p,
.card p,
.price-card p,
.contact-box p,
.legal-box p,
.step p {
  color: var(--muted);
}

.hero p {
  max-width: 720px;
  margin-bottom: 32px;
  font-size: 1.2rem;
}

.buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border: 0;
  border-radius: var(--radius-small);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border: 1px solid #d8e2e0;
  background: var(--white);
  color: var(--primary);
}

.hero-card,
.card,
.price-card,
.contact-box,
.legal-box {
  border-radius: var(--radius-medium);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid #edf0ef;
}

.hero-card {
  padding: 34px;
  background: var(--dark);
  color: var(--white);
}

.hero-card h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-card li:last-child {
  border-bottom: 0;
}

.trust-row {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-row div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(31, 111, 120, 0.12);
}

.trust-row strong {
  display: block;
  color: var(--dark);
}

.trust-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-title {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-title h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cards,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card,
.price-card,
.contact-box,
.legal-box {
  padding: 30px;
}

.service-card {
  padding: 0;
  overflow: hidden;
}

.service-card img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.card-content {
  padding: 26px 30px 30px;
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 15px;
  background: rgba(217, 164, 65, 0.18);
  font-size: 1.4rem;
}

.card h3,
.price-card h3,
.step h3 {
  margin-bottom: 12px;
}

.soft-section {
  background: #ffffff;
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: flex;
  gap: 18px;
  padding: 22px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid #edf0ef;
}

.step span {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
}

.price {
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.25;
}

.price small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.featured {
  border: 2px solid var(--primary);
  transform: translateY(-8px);
}

.contact-section {
  background:
    radial-gradient(circle at top left, rgba(217, 164, 65, 0.16), transparent 28%),
    #edf4f3;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--dark);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccd7d5;
  border-radius: var(--radius-small);
  background: var(--white);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(31, 111, 120, 0.25);
  border-color: var(--primary);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-box h2 {
  margin-bottom: 16px;
}

footer {
  padding: 34px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .nav-wrapper {
    flex-wrap: wrap;
  }

  .nav-toggle-label {
    display: flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 10px;
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid var(--border);
  }

  .hero-grid,
  .split,
  .cards,
  .pricing-grid,
  .contact-grid,
  .legal-grid,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .featured {
    transform: none;
  }

  .hero {
    padding: 80px 0 60px;
  }

  section {
    padding: 58px 0;
  }
}

@media (max-width: 520px) {
  .buttons,
  .btn {
    width: 100%;
  }

  .hero-card,
  .card-content,
  .price-card,
  .contact-box,
  .legal-box {
    padding: 24px;
  }

  .service-card img {
    height: 150px;
  }

  .step {
    flex-direction: column;
  }
}
