:root {
  --bg: #ffffff;
  --bg-elev: #f7f8f7;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #0f172a;
  --text-dim: #475569;
  --text-muted: #6b7280;
  --accent: #16a34a;
  --accent-hover: #15803d;
  --accent-soft: #dcfce7;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 6px 24px -10px rgba(22, 163, 74, 0.25);
  --container: 1120px;
  --gutter: clamp(20px, 4vw, 32px);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.logo-mark {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}
.logo-word { color: var(--text); font-size: 0.95rem; opacity: 0.9; }

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.nav a { transition: color 0.15s ease; }
.nav a:hover { color: var(--accent); }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.lang-toggle:hover { color: var(--text); border-color: var(--accent); }
.lang-toggle [data-lang-current] {
  color: var(--accent);
  font-weight: 700;
}
.lang-toggle-sep { opacity: 0.4; }

@media (max-width: 520px) {
  .nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 8vw, 80px);
}
.hero-inner { max-width: 820px; }
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
}
.hero-title {
  margin: 0 0 22px;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--text);
}
.hero-title .accent {
  color: var(--accent);
}
.hero-subtitle {
  margin: 0 0 32px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-dim);
  max-width: 640px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.15s ease, background 0.2s ease;
}
.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-secondary {
  color: var(--text);
  background: var(--bg);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
.services, .contact { padding: clamp(56px, 8vw, 96px) 0; }
.services { border-top: 1px solid var(--border); background: var(--bg-elev); }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
}
.section-head p {
  margin: 0;
  color: var(--text-dim);
  font-size: 1.02rem;
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.service-card {
  position: relative;
  padding: 26px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px -15px rgba(22, 163, 74, 0.25);
}
.service-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.service-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-inner { text-align: center; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.contact-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 10px 30px -15px rgba(22, 163, 74, 0.25);
}
.contact-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-btn-label { display: none; }
.contact-btn-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-info { display: flex; flex-direction: column; gap: 4px; }
.footer-copy, .footer-tag { margin: 0; }

.footer-links {
  margin: 6px 0 0;
  font-size: 0.82rem;
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-links a { color: var(--text-dim); transition: color 0.15s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-links-sep { color: var(--border-strong); font-size: 0.75rem; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  font-size: 0.85rem;
  line-height: 1.4;
}
.footer-address { color: var(--text-dim); }
.footer-phone {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-contact { text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
