:root {
  --primary: #0a5c51;
  --primary-dark: #06453d;
  --accent: #4ca387;
  --gold: #e3b94d;
  --text: #15332f;
  --muted: #667b78;
  --bg: #f3f6f5;
  --card: #ffffff;
  --border: #d7e3df;
  --shadow: 0 18px 45px rgba(5, 46, 40, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10,92,81,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #0e7a6c);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: .03em;
}
.brand strong { display: block; font-size: 18px; }
.brand small { color: var(--muted); font-size: 12px; }
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.main-nav a,
.dropdown-trigger {
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0;
}
.main-nav a.active,
.dropdown-trigger.active,
.main-nav a:hover,
.dropdown-trigger:hover { color: var(--primary); }
.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 290px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li + li { border-top: 1px solid #eef3f2; }
.dropdown-menu a { display: block; padding: 12px 14px; border-radius: 10px; }
.dropdown-menu a:hover { background: #f4f8f7; }
.header-phone,
.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.header-phone,
.btn { background: var(--primary); color: #fff; }
.btn:hover,
.header-phone:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
  color: var(--primary);
  background: #e9f3f0;
}
.nav-toggle { display: none; }
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #ffffff 0%, #f2f6f5 46%, #eef5f2 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  padding: 64px 0 28px;
}
.hero-copy h1 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: -0.04em;
}
.hero-copy p {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  min-height: 520px;
  position: relative;
}
.hero-visual img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 34px 34px 34px 120px;
  box-shadow: var(--shadow);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
}
.metric {
  padding: 26px 28px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.metric:last-child { border-right: 0; }
.metric h3 { margin: 0 0 8px; font-size: 22px; }
.metric p { margin: 0; color: rgba(255,255,255,0.8); }
.section {
  padding: 88px 0;
}
.section.soft { background: var(--bg); }
.section-header {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
.kicker {
  display: inline-block;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}
.section-header p { color: var(--muted); margin: 0; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #edf2f1;
}
.card-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #b4dcd3, #dff1ed);
}
.card-body { padding: 24px; }
.card h3 { margin: 0 0 10px; font-size: 28px; line-height: 1.1; }
.card p { margin: 0 0 16px; color: var(--muted); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.step {
  text-align: center;
  padding: 26px 22px 22px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.step-badge {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #0d7b6d);
  color: #fff;
  font-weight: 800;
  margin: 0 auto 18px;
}
.step img { border-radius: 18px; margin-bottom: 18px; }
.step h3 { margin: 0 0 12px; }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: #fff;
  border: 1px solid #edf2f1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.post-card .card-body h3 { font-size: 26px; }
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.page-hero {
  background: linear-gradient(180deg, #f8fbfa 0%, #eff6f3 100%);
  padding: 72px 0 44px;
}
.page-hero h1 { margin: 0 0 12px; font-size: clamp(38px, 4vw, 60px); line-height: 1.05; }
.page-hero p { max-width: 780px; margin: 0; color: var(--muted); font-size: 18px; }
.two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  align-items: center;
}
.content-block h2 { margin-top: 0; font-size: 38px; line-height: 1.1; }
.content-block p,
.content-block li { color: var(--muted); }
.highlight-box {
  background: linear-gradient(135deg, #f3faf8, #ecf6f3);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
}
.icon-list,
.check-list,
.article-list,
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.icon-list li,
.check-list li,
.article-list li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 14px;
}
.icon-list li::before,
.check-list li::before,
.article-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(10,92,81,.12);
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}
.faq-list { max-width: 980px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 22px 24px;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--muted);
}
.faq-item.open .faq-answer { display: block; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card,
.form-card {
  background: #fff;
  padding: 30px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid #edf2f1;
}
.form-grid { display: grid; gap: 16px; }
label { font-weight: 600; display: block; margin-bottom: 8px; }
input, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font: inherit;
}
textarea { min-height: 150px; resize: vertical; }
.article-hero {
  padding: 74px 0 34px;
  background: linear-gradient(180deg, #f8fbfa 0%, #eef6f3 100%);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
}
.article-main {
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid #edf2f1;
}
.article-main h1 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; margin: 0 0 16px; }
.article-main h2 { font-size: 30px; margin-top: 32px; line-height: 1.15; }
.article-main p,
.article-main li { color: var(--muted); }
.article-sidebar {
  display: grid;
  gap: 22px;
  align-self: start;
  position: sticky;
  top: 110px;
}
.sidebar-card {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  border: 1px solid #edf2f1;
  box-shadow: var(--shadow);
}
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); margin-bottom: 24px; }
.site-footer {
  margin-top: 70px;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.84);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 58px 0 40px;
}
.footer-brand { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.site-footer h4 { color: #fff; margin-top: 0; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 18px; }
.note {
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: #fff9ea;
  border-radius: 14px;
  color: #66501a;
}
@media (max-width: 1024px) {
  .hero-grid,
  .two-col,
  .article-layout,
  .footer-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .card-grid,
  .steps,
  .post-grid,
  .metrics { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 20px;
  }
  .header-phone { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 20px 20px;
  }
  .main-nav li { width: 100%; }
  .main-nav a,
  .dropdown-trigger { display: block; width: 100%; padding: 12px 0; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
    display: none;
  }
  .has-dropdown.open .dropdown-menu { display: block; }
  .hero-grid { padding-top: 34px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-visual { min-height: 360px; }
  .section { padding: 70px 0; }
}
