:root {
  --primary: #2f4f4f;
  --bg-light: #f5f6f8;
  --text: #1a1a1a;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 24px;
}

.header {
  border-bottom: 1px solid #ddd;
}

.header-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav a {
  margin-right: 16px;
  text-decoration: none;
  color: var(--text);
}

.logo {
  font-weight: bold;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 4px;
  border: none;
}

.hero {
  background: url('../img/hero.jpg') center / cover no-repeat;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero-content {
  position: relative;
  color: white;
  padding: 80px 24px;
  max-width: 600px;
}

.section {
  padding: 64px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-title {
  margin-bottom: 32px;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 16px;
}

.value h3 {
  margin-bottom: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
}

.footer {
  background: #fafafa;
  text-align: center;
  padding: 24px;
}

@media (max-width: 768px) {
  .grid-3,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .header-layout {
    flex-direction: column;
    gap: 16px;
  }
}
