:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --shadow: 0 24px 80px 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);
  line-height: 1.7;
}

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  z-index: 10;
}

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

.brand h1 {
  margin: 0;
  font-size: 1.3rem;
}

.brand p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

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

.hero {
  padding: 4rem 0 3rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
}

.hero h2 {
  margin: 0;
  font-size: clamp(2.5rem, 3.5vw, 4rem);
  max-width: 12ch;
}

.hero p {
  margin: 1.5rem 0 2rem;
  max-width: 45rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
button.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.hero-cards {
  display: grid;
  gap: 1rem;
}

.hero-cards article {
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-cards h3 {
  margin: 0 0 0.75rem;
}

.section-light,
.site-footer {
  padding: 4rem 0;
}

.section-dark {
  padding: 4rem 0;
  background: #0f172a;
  color: #f8fafc;
}

.section-dark h2,
.section-dark p,
.section-dark .feature h3 {
  color: #f8fafc;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card,
.feature {
  padding: 2rem;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section-dark .service-card,
.section-dark .feature {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.service-card h3,
.feature h3 {
  margin-top: 0;
}

.contact-section {
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-grid h2 {
  margin-top: 0;
}

.contact-grid ul {
  padding-left: 1.25rem;
}

.contact-grid li {
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--surface-alt);
  padding: 2rem;
  border-radius: 24px;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

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

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

@media (max-width: 860px) {
  .hero-content,
  .contact-grid,
  .header-inner {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .nav-links {
    flex-direction: column;
    gap: 0.65rem;
  }
}
