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

:root {
  --bg: #1a1a1a;
  --surface: #242424;
  --surface-hover: #2a2a2a;
  --border: #333333;
  --text: #f0f0f0;
  --text-muted: #999999;
  --accent: #d4a843;
  --accent-hover: #e6be5a;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
}

/* Hero */

.hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.hero-logo {
  max-width: 280px;
  height: auto;
}

.tagline {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Services grid */

.services {
  flex: 1;
  padding: 0 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Card - horizontal layout */

.card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(212, 168, 67, 0.08);
  transform: translateY(-1px);
}

.card-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.card-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
}

.card:hover .card-link {
  color: var(--accent-hover);
}

/* Footer */

footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.email-link {
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.email-link:hover {
  color: var(--accent);
}

/* Responsive */

@media (max-width: 700px) {
  .hero-logo {
    max-width: 200px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .card {
    gap: 1rem;
    padding: 1.25rem;
  }

  .card-image {
    width: 90px;
    height: 90px;
  }
}
