:root {
  --bg: #0f0f0f;
  --fg: #ffffff;
  --muted: #a0a0a0;
  --accent: #e11d48;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}
.gallery-section {
  margin-bottom: 96px;
}

.gallery-section h2 {
  margin-bottom: 24px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  background: #111;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.wrap {
  max-width: 960px;
  padding: 48px 24px;
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.5px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 24px;
  font-size: 14px;
}

nav a:hover {
  color: var(--fg);
}

.hero {
  margin-bottom: 96px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

section {
  margin-bottom: 96px;
}

h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

p {
  color: var(--muted);
  max-width: 720px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.card {
  border: 1px solid #222;
  background: #111;
  padding: 24px;
  border-radius: 8px;
}

footer {
  border-top: 1px solid #222;
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.accent {
  color: var(--accent);
}
/* Companies page */

.page-hero {
  margin-bottom: 72px;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 640px;
  color: var(--muted);
}

.companies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 96px;
}

.company-card {
  border: 1px solid #222;
  background: #111;
  padding: 28px;
  border-radius: 10px;
}

.company-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 20px;
}

.company-card a {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  word-break: break-all;
}

.company-card a:hover {
  text-decoration: underline;
}

.company-card p {
  color: var(--muted);
  font-size: 15px;
}