* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root {
  --accent-1: #00c9a0;
  --accent-2: #00e5b8;
  --accent-3: #008f72;
  --bg-page: #f2fdf9;
  --bg-page-2: #e8faf5;
  --bg-card: rgba(255, 255, 255, 0.92);
  --text-strong: #0c3229;
  --text-body: #2a5046;
  --text-muted: #4a7569;
  --border-soft: rgba(0, 185, 148, 0.22);
}

body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: linear-gradient(175deg, #fbfffe 0%, var(--bg-page) 35%, var(--bg-page-2) 100%);
  color: var(--text-body);
  min-height: 100vh;
}

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

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

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: .2px;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(0, 200, 160, 0.28);
}

.menu { display: flex; gap: 20px; flex-wrap: wrap; }
.menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
}
.menu a:hover { color: var(--accent-3); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  gap: 6px;
}

.lang-btn {
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-body);
  text-decoration: none;
  display: inline-block;
  border-radius: 8px;
  font-size: 12px;
  padding: 6px 9px;
  cursor: pointer;
}

.lang-btn.active {
  background: rgba(0, 229, 184, 0.28);
  border-color: var(--accent-1);
  color: var(--text-strong);
}

.hero {
  padding: 48px 0 72px;
  background:
    radial-gradient(ellipse 95% 60% at 50% -15%, rgba(0, 229, 184, 0.18), transparent 55%),
    linear-gradient(180deg, #edfcf7 0%, #dff6ef 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-3);
  font-size: 14px;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.08;
  color: var(--text-strong);
}

.hero p {
  margin-top: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 700px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
}
.btn.primary {
  background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
  border-color: rgba(0, 185, 148, 0.45);
  color: #064e3b;
  box-shadow: 0 4px 18px rgba(0, 185, 148, 0.2);
}

.hero-card {
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(15, 80, 65, 0.08);
}
.hero-card img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 200, 160, 0.25);
}
.hero-card h3 { margin: 14px 0 8px; color: var(--text-strong); }
.hero-card code {
  display: block;
  word-break: break-all;
  color: var(--accent-3);
  background: rgba(0, 229, 184, 0.12);
  padding: 10px 12px;
  border-radius: 8px;
}
.hero-card code.hero-contract a {
  display: inline-block;
  width: 100%;
  color: #065f46;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.hero-card code.hero-contract a:hover {
  color: var(--accent-3);
  text-decoration: none;
}

.hero-card code.hero-contract {
  border: 1px solid rgba(0, 185, 148, 0.28);
}
.hero-card code.hero-contract:hover {
  background: rgba(0, 229, 184, 0.18);
  border-color: rgba(0, 185, 148, 0.45);
}

.section { padding: 68px 0; }
.section.alt {
  background: rgba(255, 255, 255, 0.55);
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text-strong);
}
.muted { color: var(--text-muted); margin-top: 10px; }

.cards {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.cards.three { grid-template-columns: repeat(3, 1fr); }

.card {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px;
  background: var(--bg-card);
  box-shadow: 0 4px 18px rgba(15, 80, 65, 0.06);
}
.card h3 { margin-top: 0; margin-bottom: 8px; color: var(--text-strong); }
.card p { margin: 0; color: var(--text-muted); line-height: 1.65; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.panel {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 20px;
  box-shadow: 0 4px 18px rgba(15, 80, 65, 0.06);
}
.panel ul { margin: 0; padding-left: 18px; }
.panel li { margin: 8px 0; color: var(--text-muted); }
.panel-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.panel-links a { color: var(--accent-3); text-decoration: none; font-weight: 600; }

.faq {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.cert-grid {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cert-grid img {
  width: auto;
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: block;
}
details {
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--bg-card);
}
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-strong);
}
details p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer {
  border-top: 1px solid var(--border-soft);
  background: linear-gradient(180deg, #e8faf5 0%, #dff3ec 100%);
  padding: 42px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.footer h4 { margin: 0 0 10px; color: var(--text-strong); }
.footer a {
  display: block;
  margin: 6px 0;
  color: var(--text-muted);
  text-decoration: none;
}
.footer a:hover { color: var(--accent-3); }
.social-links {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.social-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 229, 184, 0.15);
  border: 1px solid var(--border-soft);
  transition: background .2s ease, border-color .2s ease;
}
.social-logo {
  width: 14px;
  height: 14px;
  display: block;
}
.social-links a:hover .social-icon {
  background: rgba(0, 229, 184, 0.28);
  border-color: rgba(0, 185, 148, 0.45);
}
.copyright {
  text-align: center;
  margin-top: 26px;
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 920px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .menu { display: none; }
  .nav-right { width: auto; }
  .hero { padding: 32px 0 56px; }
  .cards.three, .footer-grid { grid-template-columns: 1fr; }
  .cert-grid { gap: 10px; }
  .btn { width: 100%; text-align: center; }
}
