/* ─── Variables ─── */
:root {
  --bg: #131513;
  --bg-alt: #1b1e1b;
  --surface: #222522;
  --border: #2d332d;
  --text: #dddad5;
  --muted: #888f84;
  --accent: #7a9e6e;
  --accent-dk: #698c5e;
  --radius: 6px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Container ─── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Button ─── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.18s;
}
.btn:hover { background: var(--accent-dk); }

/* ─── Section label ─── */
.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ─── Hero ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(rgba(19, 21, 19, 0.80), rgba(19, 21, 19, 0.92)), url('images/hero.webp');
  background-size: cover;
  background-position: center;
  padding: 96px 0;
}
.hero-brand {
  display: flex;
  align-items: stretch;
  gap: 28px;
  margin-bottom: 24px;
}
.hero-logo {
  width: auto;
  max-height: 175px;
  flex-shrink: 0;
  object-fit: contain;
}
#hero h1 {
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--text);
  letter-spacing: -0.03em;
}
#hero h1 span { color: var(--accent); }
.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text);
  font-weight: 500;
  margin-bottom: 6px;
}
.hero-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ─── Services ─── */
#services {
  background: var(--bg-alt);
  padding: 96px 0;
}
#services h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--accent); }
.card__img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card__body {
  padding: 24px;
}
.card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card__body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── About ─── */
#about {
  padding: 96px 0;
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
#about h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
#about p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}
.about-img {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
}

/* ─── Contact ─── */
#contact {
  background: var(--bg-alt);
  padding: 96px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}
.contact-content {
  display: flex;
  flex-direction: column;
}
#contact h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.contact-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 36px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 36px;
}
.contact-details p {
  font-size: 0.95rem;
  color: var(--text);
}
.detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 6px;
}
.contact-form {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  width: 100%;
  transition: border-color 0.18s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 120px; }
.btn--form {
  width: 100%;
  text-align: center;
  padding: 15px;
  margin-top: 4px;
}
.form-success {
  display: none;
  color: var(--accent);
  font-size: 0.92rem;
  padding: 4px 0;
}

/* ─── Footer ─── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
}
footer p {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ─── Responsive (single breakpoint) ─── */
@media (max-width: 640px) {
  #hero, #services, #about, #contact { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { height: 220px; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-img { min-height: 240px; }
}
