:root {
  --bg: #f7f8fb;
  --card: #fff;
  --text: #1f2937;
  --muted: #667085;
  --brand: #2358d8;
  --brand-dark: #173fa3;
  --accent: #ffcf33;
  --line: #e5e7eb;
  --radius: 18px;
  --shadow: 0 14px 35px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.logo__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}
.nav { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 15px; }
.nav a:hover, .nav a.active { color: var(--brand); }

.phone, .address, .email, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}
.phone {
  gap: 8px;
  padding: 10px 16px;
  background: #f0f8f1;
  color: #1f7a33;
}
.phone:hover, .address:hover, .email:hover { text-decoration: underline; }
.phone-icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.address, .email {
  min-height: 46px;
  padding: 10px 16px;
  background: #eef3ff;
  color: var(--brand);
}

.hero {
  padding: 78px 0 56px;
  background: radial-gradient(circle at 15% 10%, rgba(71,37,223,.35), transparent 28%),
              linear-gradient(135deg, #eef3ff 0%, #fff 55%, #f7f8fb 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
h1, h2, h3 { margin: 0 0 16px; line-height: 1.15; }
h1 { max-width: 760px; font-size: clamp(36px, 6vw, 64px); letter-spacing: -.045em; }
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.035em; }
h3 { font-size: 22px; }
.lead { max-width: 680px; margin: 0 0 28px; color: var(--muted); font-size: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
}
.btn:hover { background: var(--brand-dark); }
.btn--light { background: #fff; color: var(--brand); border: 1px solid var(--line); }
.btn--light:hover { background: #f3f6ff; }

.section { padding: 68px 0; }
.section--white { background: #fff; }
.section__head { max-width: 760px; margin-bottom: 28px; }
.section__head p, .card p, .cta-box p { margin: 0; color: var(--muted); }
.section__head p { font-size: 18px; }

.hero-card, .card, .cta-box {
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}
.hero-card { padding: 28px; }
.hero-card ul { margin: 0; padding-left: 20px; }
.hero-card li + li { margin-top: 10px; }
.card { padding: 24px; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(15,23,42,.04); }
.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #eef3ff;
  font-size: 24px;
}

.grid, .contact-box { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.contact-box { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.contact-card { display: flex; flex-direction: column; }
.contact-card:first-child .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-card:first-child .phone { min-height: 52px; }

.contact-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 24px;
}
.contact-icon { width: 26px; height: 26px; fill: var(--brand); flex-shrink: 0; }
.contact-list { display: grid; gap: 10px; }

.social-list { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform .2s ease, opacity .2s ease;
}
.social-link:hover { transform: translateY(-2px); opacity: .9; }
.social-icon { width: 24px; height: 24px; fill: #fff; }
.social-list li:first-child .social-link { background: #ff7700; }
.social-list li:last-child .social-link { background: #0077ff; }

.notice {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-left: 5px solid var(--accent);
  border-radius: 14px;
  background: #fff8db;
  color: #5c4a00;
}
.price-card h2 { font-size: 26px; }
.price-card p { margin-bottom: 18px; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.price-table th, .price-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table th { background: #f3f6ff; color: var(--brand-dark); }
.price-table tr:last-child td { border-bottom: 0; }

.benefits .card { text-align: center; }
.benefits .card__icon { margin: 0 auto 14px; }
.map-card { padding: 0; overflow: hidden; }
.map-card iframe { display: block; border: 0; border-radius: var(--radius); }
.cta-box { padding: 32px; text-align: center; }
.cta-box p { max-width: 620px; margin: 0 auto 20px; }

.footer { padding: 34px 0; background: #111827; color: #d1d5db; }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer strong { color: #fff; }

@media (max-width: 900px) {
  .header__inner { flex-wrap: wrap; padding: 14px 0; }
  .nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .hero__grid, .contact-box { grid-template-columns: 2fr; }
  .contact-card:first-child { grid-column: auto; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .container { width: min(100% - 22px, 1120px); }
  .hero { padding-top: 42px; }
  .grid--2, .grid--3, .grid--4, .contact-card:first-child .actions { grid-template-columns: 1fr; }
  .phone, .actions .btn { width: 100%; }
}
