:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #15202b;
  --muted: #556779;
  --primary: #1e88e5;
  --shadow: rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page-width {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: #0f172a;
  color: white;
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-left: 1.5rem;
}

.site-nav a:hover {
  color: white;
}

.site-main {
  padding: 3rem 0 4rem;
}

.hero-panel {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 24px;
  margin-bottom: 2rem;
}

.hero-panel h1 {
  margin-top: 0;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.hero-copy {
  max-width: 46rem;
  line-height: 1.8;
}

.button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: white;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}

.content-panel {
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 18px 55px -35px var(--shadow);
}

.content-panel h2,
.content-panel h1 {
  margin-top: 0;
}

.service-list,
.project-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.service-list li,
.project-card {
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fafbff;
}

.project-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.project-card h3 {
  margin-top: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #f8fafc;
  color: var(--text);
}

.contact-form button {
  align-self: start;
  max-width: fit-content;
  padding: 0.95rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.notice.success {
  border-left: 4px solid #22c55e;
  background: #ecfdf5;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  margin-bottom: 1.5rem;
}

.site-footer {
  padding: 1.5rem 0;
  background: #020617;
  color: rgba(255,255,255,0.7);
}

.site-footer p {
  margin: 0;
}
