:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #1d2730;
  --muted: #64717d;
  --brand: #223843;
  --brand-dark: #172830;
  --border: #dce3e8;
  --success-bg: #edf8f0;
  --success-border: #b8dfc1;
  --error-bg: #fff1f1;
  --error-border: #efb6b6;
  --shadow: 0 18px 45px rgba(27, 39, 48, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 1.08rem; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { text-decoration: none; font-weight: 650; }

.hero { padding: 92px 0; background: linear-gradient(135deg, #eef2f4 0%, #ffffff 55%, #e8eef0 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 52px; align-items: center; }
.eyebrow { margin: 0 0 12px; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--muted); }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.02; margin: 0 0 22px; letter-spacing: -.055em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.035em; }
h3 { margin-top: 0; }
.lead { max-width: 700px; font-size: 1.18rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.hero-card ul { padding-left: 20px; margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--brand);
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--brand-dark); }
.btn-secondary { background: transparent; color: var(--brand); }
.btn-small { min-height: 40px; padding: 0 16px; }

.section { padding: 82px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.card p { color: var(--muted); margin-bottom: 0; }
.cta-section { padding: 0 0 82px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #e9eef1; border: 1px solid var(--border); border-radius: 22px; padding: 36px; }
.cta-box p { margin-bottom: 0; color: var(--muted); }

.form-page { padding: 70px 0 90px; }
.form-container { max-width: 860px; }
.form-intro { margin-bottom: 30px; }
.form-intro h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.work-order-form { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 20px; }
.two-col { grid-template-columns: repeat(2, minmax(0,1fr)); }
label { display: grid; gap: 8px; font-weight: 750; }
input, select, textarea {
  width: 100%;
  border: 1px solid #c9d2d8;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
  font-weight: 500;
}
textarea { resize: vertical; margin-bottom: 20px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(34,56,67,.14); border-color: var(--brand); }
.checkbox-row { display: flex; align-items: flex-start; gap: 11px; font-weight: 600; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 4px; }
.emergency-note { margin: 22px 0; padding: 15px 16px; background: #fff8e8; border: 1px solid #ead7a4; border-radius: 10px; }
.submit-btn { width: 100%; }
.alert { margin-bottom: 22px; border-radius: 12px; padding: 16px 18px; border: 1px solid; }
.alert-success { background: var(--success-bg); border-color: var(--success-border); }
.alert-error { background: var(--error-bg); border-color: var(--error-border); }

footer { background: #fff; border-top: 1px solid var(--border); }
.footer-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); }
.footer-wrap a { text-decoration: none; }

@media (max-width: 800px) {
  .hero-grid, .cards, .two-col { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; }
  .cards { gap: 14px; }
  .cta-box, .footer-wrap { align-items: flex-start; flex-direction: column; }
  .work-order-form { padding: 22px; }
  nav > a:not(.btn) { display: none; }
}
