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

:root {
  --bg:       #f7fafc;
  --bg2:      #eef3f9;
  --card:     #ffffff;
  --border:   #d9e2ee;
  --text:     #0f172a;
  --sub:      #64748b;
  --accent:   #d97706;
  --accent-l: #fef3c7;
  --shadow:   0 8px 24px rgba(15,23,42,.08);
  --shadow-h: 0 14px 36px rgba(15,23,42,.14);
  --radius:   14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:       #0f172a;
    --bg2:      #101a2f;
    --card:     #182235;
    --border:   #334155;
    --text:     #f1f5f9;
    --sub:      #94a3b8;
    --accent:   #f59e0b;
    --accent-l: #292106;
    --shadow:   0 8px 24px rgba(0,0,0,.4);
    --shadow-h: 0 14px 36px rgba(0,0,0,.58);
  }
}

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── Nav ────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-logo img { width: 28px; height: 28px; object-fit: contain; }

.nav-links {
  display: flex;
  gap: 1.8rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--sub);
}

.nav-links a:hover { color: var(--text); }

/* ── Sections ───────────────────────────────────────────── */
section { padding: 5rem 1.5rem; }
.bg-alt { background: var(--bg2); }

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--sub);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 2.5rem;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero-section {
  padding: 6rem 1.5rem 5rem;
  text-align: center;
}

.hero-section .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.hero-section h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-section p {
  color: var(--sub);
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: .6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: opacity .15s;
}
.btn-primary:hover { opacity: .88; }

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  padding: .6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: box-shadow .15s;
}
.btn-secondary:hover { box-shadow: var(--shadow); }

/* ── Project cards ──────────────────────────────────────── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.project-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-l);
  border-radius: 6px;
  padding: .2rem .55rem;
  display: inline-block;
}

.project-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.project-card p {
  color: var(--sub);
  font-size: .95rem;
  flex: 1;
}

/* ── Values ─────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.value-card .icon { font-size: 1.5rem; margin-bottom: .6rem; }
.value-card h4 { font-weight: 700; margin-bottom: .4rem; }
.value-card p { color: var(--sub); font-size: .9rem; }

/* ── Contact ────────────────────────────────────────────── */
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 480px;
}

.contact-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.contact-card p { color: var(--sub); font-size: .95rem; }
.contact-card a { color: var(--accent); }

/* ── Footer ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: .85rem;
  color: var(--sub);
}

footer a { color: var(--sub); }
footer a:hover { color: var(--text); }
