:root {
  color-scheme: dark;
  color: #111;
  background: #f8fafc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
}

img {
  max-width: 100%;
  display: block;
}

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

.site-header {
  background: #0f172a;
  color: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #f8fafc;
}

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

.nav-links a,
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.footer-links a:hover,
.contact-card a:hover,
.about-details a:hover {
  color: #fff;
}

.hero {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  padding: 5rem 0 4rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  color: #38bdf8;
}

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

.hero p {
  margin: 1.25rem 0 0;
  color: #cbd5e1;
  max-width: 42rem;
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: #38bdf8;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary {
  background: #111827;
  color: #f8fafc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.section {
  padding: 4rem 0;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.section p {
  color: #334155;
  max-width: 44rem;
}

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

.services article,
.contact-card,
.about-details {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.75rem;
}

.services article h3 {
  margin: 0 0 0.75rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 2rem;
  align-items: start;
}

.about-details p,
.about-details li {
  margin: 0.8rem 0;
  color: #475569;
}

.about-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-details a {
  color: #1d4ed8;
  text-decoration: none;
}

.contact-card {
  max-width: 620px;
  text-align: left;
}

.contact-details p {
  margin: 1rem 0;
  color: #0f172a;
}

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 1.5rem 0;
  margin-top: auto;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

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

@media (max-width: 768px) {
  .header-inner,
  .footer-inner,
  .about-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}
