/* Units Mob concept. Colours taken from his Facebook banner: deep navy + safety orange. */
:root {
  --navy-900: #081629;
  --navy-800: #0d2240;
  --navy-700: #16365f;
  --navy-100: #e6ecf4;
  --orange: #f28c1c;
  --orange-600: #9a4f00;
  --cream: #f3f5f8;
  --ink: #12202f;
  --muted: #55657a;
  --line: #d9e0ea;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(8, 22, 41, .35);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-stretch: 80%; line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 850; text-transform: uppercase; }
h3 { font-size: 22px; font-weight: 800; font-stretch: 90%; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.preview-bar {
  background: var(--orange); color: var(--navy-900); font-size: 13px; font-weight: 500;
  text-align: center; padding: 7px var(--gutter); line-height: 1.4;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-stretch: 90%; font-weight: 800; font-size: 17px;
  text-transform: uppercase; letter-spacing: .02em; text-decoration: none;
  padding: 12px 20px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-lg { padding: 16px 28px; font-size: 19px; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: var(--navy-900); box-shadow: 0 6px 16px -8px rgba(0,0,0,.45); }
.btn-orange:hover { background: #ff9d33; }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(13,34,64,.96);
  backdrop-filter: blur(8px); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo { position: relative; width: 52px; height: 52px; flex: none; }
.logo img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); position: relative; z-index: 1; background: var(--white); }
.logo-mark {
  position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--navy-900); font-family: var(--display); font-weight: 900; font-size: 20px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 24px; text-transform: uppercase; font-stretch: 85%; }
.brand-sub { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #b9c7da; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: #d6e0ec; }
.nav a:hover { color: var(--white); }

/* Hero */
.hero { position: relative; color: var(--white); background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-700) 100%); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.hero-trees { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(8,22,41,.92) 0%, rgba(8,22,41,.7) 45%, rgba(8,22,41,.15) 100%); }
.hero-inner { position: relative; z-index: 3; padding-top: clamp(64px, 10vw, 130px); padding-bottom: clamp(56px, 8vw, 110px); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.eyebrow.dark { color: var(--orange-600); }
.hero h1 { font-size: clamp(46px, 8.4vw, 104px); font-weight: 900; text-transform: uppercase; font-stretch: 75%; max-width: 12ch; }
.hero h1 span { color: var(--orange); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: #d6e0ec; max-width: 54ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 34px; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust strong { font-family: var(--display); font-weight: 900; font-size: 34px; font-stretch: 80%; color: var(--white); }
.trust span { font-size: 13px; line-height: 1.25; color: #b9c7da; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service p { color: var(--muted); font-size: 15.5px; margin: 0; }
.service-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.service-top h3 { margin: 0; }
.service-icon { flex: none; display: block; }
.service-icon svg { display: block; width: 40px; height: 40px; fill: var(--orange-600); stroke: var(--orange-600); stroke-linecap: round; }
.services-more { margin-top: 28px; color: var(--muted); }
.services-more a { color: var(--navy-800); font-weight: 600; }

/* Featured job */
.feature { background: var(--navy-100); }
.feature-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); background: var(--navy-700); }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.panel-fallback svg { width: 100%; height: 100%; display: block; }
.feature-copy p { color: #334458; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

/* How it works */
.how { background: var(--navy-800); color: var(--white); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--navy-700); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.steps p { color: #c3d0e0; margin: 0; font-size: 15.5px; }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: var(--navy-900); font-family: var(--display); font-weight: 900; font-size: 22px; margin-bottom: 18px;
}

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.score-big { font-family: var(--display); font-weight: 900; font-stretch: 75%; font-size: clamp(110px, 16vw, 200px); line-height: .85; color: var(--navy-800); margin-bottom: 10px; }
.score-big span { color: var(--orange); font-size: .5em; vertical-align: top; }
.score-label { font-size: 20px; font-weight: 600; max-width: 22ch; }
.text-link { color: var(--navy-700); font-weight: 600; }
.review-quote { background: var(--white); border: 1px solid var(--line); padding: 20px 24px; border-radius: var(--radius); margin: 0 0 16px; }
.review-quote footer { color: var(--muted); font-size: 14px; }
.why { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.why li { padding-left: 32px; position: relative; font-weight: 500; }
.why li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3 3 7-7' fill='none' stroke='%23081629' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Quote form */
section.quote { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: var(--white); }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.quote-copy > p { color: #c3d0e0; }
.quote-call { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.quote-call p:first-child { font-weight: 600; margin-bottom: 12px; }
.small { font-size: 14px; color: #b9c7da; margin-top: 14px; }
.form { background: var(--white); color: var(--ink); border-radius: 18px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.field em { font-weight: 400; font-style: normal; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fbfcfe; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,140,28,.2); }
.field [aria-invalid="true"] { border-color: #c2410c; }
.upload { position: relative; }
.upload input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; cursor: pointer; }
.upload-box {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px;
  border: 2px dashed var(--line); border-radius: 12px; color: var(--muted); font-weight: 500; background: #fbfcfe;
}
.upload:hover .upload-box, .upload input:focus-visible + .upload-box { border-color: var(--orange); color: var(--ink); }
.upload-box svg { width: 22px; height: 22px; fill: var(--orange); }
.form-note { margin: 14px 0 0; font-size: 14px; min-height: 1.2em; }
.form-note.ok { color: #166534; }
.form-note.err { color: #b91c1c; }

/* Footer */
.site-footer { background: var(--navy-900); color: #b9c7da; padding: 40px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer-inner p { margin: 0; }
.footer-name { color: var(--white); font-weight: 700; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--white); text-decoration: none; font-weight: 600; }
.credit { opacity: .6; }

.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .header-inner { height: 64px; }
  .header-call span { display: none; }
  .header-call { padding: 12px; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 11px; }
  .logo, .logo img { width: 44px; height: 44px; }
  .hero-shade { background: linear-gradient(180deg, rgba(8,22,41,.75), rgba(8,22,41,.92)); }
  .hero-ctas .btn { width: 100%; }
  .trust { gap: 14px 22px; }
  .trust strong { font-size: 28px; }
  .services, .steps, .feature-grid, .reviews-grid, .quote-grid, .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(8,22,41,.97); border-top: 1px solid rgba(255,255,255,.1);
  }
  .mobile-bar .btn { padding: 14px 10px; }
}
