:root {
  --accent: #e85d3a;
  --accent-hover: #d14e2c;
  --accent-soft: rgba(232, 93, 58, 0.12);
  --bg: #f8f9fb;
  --surface: #ffffff;
  --text: #1a1f2e;
  --text-muted: #5c6370;
  --header-h: 4.25rem;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(26, 31, 46, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 31, 46, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }

.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  background:
    linear-gradient(160deg, rgba(26, 31, 46, 0.55) 0%, rgba(232, 93, 58, 0.35) 100%),
    url("../assets/hero.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(0,0,0,0.25), transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; padding: 3rem 0; }
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.hero-lead {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: 1.15rem;
  opacity: 0.92;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 93, 58, 0.4);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.section { padding: 5rem 0; }
.section-title {
  text-align: center;
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin: 1rem auto 2.5rem;
  background: var(--accent);
  border-radius: 2px;
}

.section-cta { background: var(--surface); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.split p { color: var(--text-muted); margin: 0 0 1.5rem; }
.visual-card {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-soft), var(--bg));
  border: 1px solid rgba(232, 93, 58, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.visual-stat {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
}
.visual-label { color: var(--text-muted); font-weight: 500; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(26, 31, 46, 0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.25rem;
  color: var(--accent);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}
.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section-contact {
  background: var(--surface);
  text-align: center;
}
.contact-lead {
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.contact-email:hover { text-decoration: underline; }

.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(26, 31, 46, 0.08);
}
.site-footer a { color: var(--accent); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid rgba(26, 31, 46, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .services-grid { grid-template-columns: 1fr; }
}