:root {
  --brand-blue: #1d2155;
  --brand-orange: #f15f22;
  --text: #0f1f1c;
  --muted: #5e6e6a;
  --bg: #f7faf9;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings use Outfit */
h1, h2, h3 { font-family: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; }

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

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo { height: 36px; width: auto; }
.brand-name { font-weight: 700; letter-spacing: .3px; color: var(--brand-blue); }

.utility-nav { display: flex; align-items: center; gap: 18px; }
.utility-link {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
}
.utility-link:hover,
.utility-link:focus { color: #141740; text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(241,95,34,0.15), rgba(241,95,34,0) 60%),
    linear-gradient(180deg, #f9f9fc 0%, #eeeff3 100%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: center;
  padding: 64px 0;
}
.hero-text h1 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.15;
  margin: 0 0 8px 0;
  color: var(--brand-blue);
}
.hero-text .sub { color: var(--muted); margin: 0 0 22px 0; max-width: 60ch; }

/* CTA row and buttons */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--brand-blue);
  color: var(--brand-blue);
  background: transparent;
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { background: rgba(29,33,85,0.08); text-decoration: none; }
.btn.primary { background: var(--brand-blue); color: var(--white); border-color: var(--brand-blue); }
.btn.primary:hover { filter: brightness(1.05); }

.hero-badge { justify-self: end; opacity: .9; }
.hero-badge img { width: min(340px, 48vw); filter: drop-shadow(0 6px 18px rgba(0,0,0,0.08)); border-radius: var(--radius); }

/* Notify form */
.notify { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.notify input {
  flex: 1 1 260px;
  min-width: 220px;
  height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid #d5dfdc;
  outline: none;
  background: var(--white);
}
.notify input:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(29,33,85,0.12); }

.notify button {
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  background: var(--brand-blue);
  color: var(--white);
  cursor: pointer;
}
.notify button:hover { filter: brightness(1.05); }
.notify button:active { transform: translateY(1px); }

.form-note { margin: 6px 0 0 12px; color: var(--brand-blue); font-weight: 500; }
.form-note.error { color: #b3261e; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(241,95,34,0.15);
  color: var(--brand-blue);
  font-weight: 600;
  border: 1px solid rgba(29,33,85,0.15);
}
.badge svg { width: 18px; height: 18px; display: inline-block; }

/* Services */
.services { padding: 56px 0 72px; }
.services h2 { font-size: clamp(22px, 2.4vw, 30px); color: var(--brand-blue); margin: 0 0 10px; }
.services-intro { color: var(--muted); margin: 0 0 24px; }

/* Services CTA */
.services-cta { text-align: center; margin-top: 20px; }
.services-cta .btn { padding: 10px 16px; }

/* Clamp service blurbs to two lines */
.services .card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Services categories and icons */
.svc-category {
  margin: 28px 0 10px;
  font-size: 18px;
  color: var(--brand-blue);
}
.svc-icon { display: inline-flex; width: 18px; height: 18px; margin-right: 8px; color: var(--brand-blue); vertical-align: -2px; }
.svc-icon svg { width: 18px; height: 18px; display: block; }
/* Font Awesome support */
.svc-icon i { font-size: 18px; line-height: 18px; display: inline-block; }

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

.card {
  grid-column: span 12;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--brand-orange); transform: translateY(-2px); }
.card h3 { margin: 0 0 6px; color: var(--text); font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

/* Card badges spacing (used in services) */
.card .badge { margin-bottom: 8px; }

.sublist { margin: 0; padding-left: 18px; color: var(--muted); }
.sublist li { margin: 4px 0; }

/* Footer */
.site-footer {
  background: var(--brand-blue);
  color: var(--white);
}
.footer-inner { padding: 22px 0; display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.footer-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.site-footer a { color: var(--brand-orange); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Social icons */
.social { display: flex; align-items: center; gap: 12px; }
.social a { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.social a:hover { background: rgba(255,255,255,0.2); text-decoration: none; }
.social svg { width: 16px; height: 16px; display: block; }

/* Map embed container */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Plain contact links (no blue/underline) */
.no-link { color: var(--text); text-decoration: none; }
.no-link:hover, .no-link:focus { color: var(--text); text-decoration: none; }

/* Back to top button */
.to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: var(--brand-blue);
  border: 1px solid rgba(255,255,255,0.35);
}
.to-top:hover { filter: brightness(1.05); text-decoration: none; }

/* A11y helpers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 2px; }

/* Responsive */
@media (min-width: 680px) {
  .card { grid-column: span 6; }
}
@media (min-width: 960px) {
  .card { grid-column: span 4; }
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badge { justify-self: start; }
  /* Footer: stack and center on mobile */
  .footer-inner { flex-direction: column; justify-content: center; align-items: center; text-align: center; }
  .footer-right { margin-left: 0; }
  .social { justify-content: center; }
}
