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

:root {
  --ink: #17202d;
  --ink-soft: #4f5c6f;
  --paper: #f7f6f2;
  --brand: #1f6b5e;
  --brand-dark: #15493f;
  --line: rgba(23, 32, 45, 0.1);
  --max: 880px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; border: none; background: none; cursor: pointer; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Navigation */
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 242, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.navbar-inner {
  display: flex; align-items: center; gap: 24px;
}

.navbar-brand {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--ink);
  text-decoration: none;
}

.navbar-logo {
  width: 28px; height: 28px; flex-shrink: 0; align-self: center; vertical-align: middle; line-height: 1;
}

.navbar-spacer { flex: 1; }

.btn-link {
  font-size: 0.95rem; font-weight: 600; color: var(--brand);
  transition: color 0.2s;
}
.btn-link:hover { color: var(--brand-dark); }

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 12px 28px; border-radius: 6px;
  background: var(--brand); color: white;
  font-size: 0.95rem; font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--brand-dark); transform: translateY(-1px);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem; font-weight: 700;
  line-height: 1.2; letter-spacing: -0.01em;
  margin-bottom: 24px;
  max-width: 100%;
}

.lead {
  font-size: 1.1rem; color: var(--ink-soft);
  max-width: 680px; margin: 0 auto;
  line-height: 1.7;
}

/* Sections */
.section {
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: 1.8rem; font-weight: 700;
  margin-bottom: 40px; letter-spacing: -0.01em;
}

.section h3 {
  font-size: 1.1rem; font-weight: 700;
  margin-bottom: 12px; color: var(--ink);
}

.section p {
  color: var(--ink-soft); line-height: 1.7;
  font-size: 0.95rem;
}

.section div p { margin-bottom: 12px; }

/* Grids */
.grid-2 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px; margin-bottom: 40px;
}

.grid-3 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* Product section */
.section-product { background: rgba(31, 107, 94, 0.03); }

.product-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px; margin: 40px 0;
}

.step {
  display: flex; flex-direction: column; gap: 8px;
}

.step strong {
  font-size: 1rem; font-weight: 700; color: var(--brand);
}

.step span {
  font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6;
}

.section-actions {
  margin-top: 40px; text-align: center;
}

/* Contact Form */
.section-contact { }

.contact-form {
  max-width: 460px; margin: 20px auto 0;
  display: flex; flex-direction: column; gap: 8px;
}

.form-group {
  display: flex; flex-direction: column; gap: 3px;
}

.form-group label {
  font-weight: 600; font-size: 0.85rem; color: var(--ink);
}

.form-group input,
.form-group textarea {
  padding: 6px 8px; border-radius: 4px;
  border: 1px solid var(--line); background: white;
  font-size: 0.85rem; color: var(--ink);
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--brand);
}

.form-group textarea {
  resize: vertical; min-height: 80px;
}

.form-actions {
  display: flex; justify-content: center; margin-top: 4px;
}

.form-message {
  text-align: center; font-size: 0.9rem; color: var(--brand);
  font-weight: 600; opacity: 0; transition: opacity 0.3s;
}

.form-message.success {
  opacity: 1;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer p {
  font-size: 0.9rem; color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.8rem; }
  .lead { font-size: 1rem; }
  .section h2 { font-size: 1.4rem; }
  .grid-2, .grid-3 { gap: 28px; }
  .section { padding: 40px 0; }
}
