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

:root {
  --primary: #0b4dd8;
  --primary-dark: #08359c;
  --accent: #f4b740;
  --text: #0f172a;
  --muted: #5b6476;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  font-size: 16px;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--bg);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 2vw + 1.2rem, 2.6rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.site-nav {
  display: flex;
  gap: 24px;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--primary);
}

.site-nav a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  width: 40px;
  height: 32px;
  gap: 6px;
  flex-direction: column;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  padding: 96px 0 64px;
  background: linear-gradient(120deg, #f5f7ff 0%, #ffffff 60%);
}

.hero-inner {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 3vw + 1.3rem, 3.5rem);
  margin-bottom: 16px;
}

.lead {
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn.primary {
  background: var(--primary);
  color: var(--white);
}

.btn.primary:hover {
  background: var(--primary-dark);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--white);
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-meta strong {
  font-size: 1.6rem;
  display: block;
}

.hero-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-art {
  position: relative;
  display: grid;
  gap: 20px;
}

.hero-card {
  background: var(--white);
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.hero-card p {
  margin-bottom: 16px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.hero-grid img {
  height: 48px;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.hero-graphic {
  height: 240px;
  border-radius: 24px;
  overflow: hidden;
}

.hero-graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero {
  padding: 84px 0 56px;
  background: linear-gradient(120deg, #f5f7ff 0%, #ffffff 60%);
}

.page-hero-inner {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.split {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.stack {
  display: grid;
  gap: 16px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.checklist li::before {
  content: "✔";
  margin-right: 8px;
  color: var(--primary);
}

.feature-panel {
  display: grid;
  gap: 18px;
}

.feature-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--white);
}

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--white);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
}

.service-list {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-list li::before {
  content: "•";
  margin-right: 8px;
  color: var(--primary);
}

.portfolio-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portfolio-item {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  padding-bottom: 18px;
}

.portfolio-thumb {
  height: 140px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-item h4 {
  margin: 16px 18px 6px;
}

.portfolio-item span {
  margin: 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.quote {
  background: var(--white);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--border);
}

.quote p {
  margin-bottom: 16px;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 16px;
}

.contact-details strong {
  display: block;
  margin-bottom: 4px;
}

.contact-details span {
  display: block;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--white);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-nav {
    position: absolute;
    top: 70px;
    right: 4%;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 14px;
    display: none;
  }

  .site-nav.active {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}
