:root {
  --primary-color: #16a34a;
  --primary-dark: #15803d;
  --text-color: #374151;
  --text-light: #6b7280;
  --bg-color: #ffffff;
  --bg-light: #f9fafb;
  --border-color: #e5e7eb;
  --container-width: 1100px;
  --container-narrow: 700px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.site-header {
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-color);
}

.main-nav a:hover,
.main-nav li.active a {
  color: var(--primary-color);
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.lang {
  color: var(--text-light);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.lang.active {
  background-color: var(--primary-color);
  color: white;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-color);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-color);
  left: 0;
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

.site-main {
  min-height: 80vh;
}

.hero {
  padding: 6rem 0;
  background-color: var(--bg-light);
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color);
  color: white;
}

.btn:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 3rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-top: -2.5rem;
  margin-bottom: 4rem;
}

.features-grid, .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature-title {
  margin-bottom: 1rem;
}

.service-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-content {
  padding: 2rem;
  flex-grow: 1;
}

.service-title {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-text {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.service-details {
  margin-bottom: 2rem;
}

.service-details li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.service-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.cta {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta .btn {
  background-color: white;
  color: var(--primary-color);
  border-color: white;
}

.cta .btn:hover {
  background-color: #f3f4f6;
}

.contact-form {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.alert-success {
  background-color: #dcfce7;
  color: #166534;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
}

.site-footer {
  padding: 4rem 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-copy {
  color: var(--text-light);
  font-size: 0.875rem;
}

.footer-nav ul {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  color: var(--text-light);
}

.footer-nav a:hover {
  color: var(--primary-color);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
