/* Dimon Contracting — site styles
   Brand: red #940606, black #141414, white. Headings Quicksand, body Manrope. */

:root {
  --red: #940606;
  --red-dark: #6E0404;
  --red-light: #E8A3A3;
  --black: #141414;
  --white: #FFFFFF;
  --grey-bg: #F5F5F5;
  --line: #E8E8E8;
  --text-2: #4A4A4A;
  --text-3: #6B6B6B;
  --heading: 'Quicksand', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 78px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
input, select, textarea, button { font: inherit; }
h1, h2, h3 { font-family: var(--heading); margin: 0; }
p { margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 112px; padding-bottom: 112px; }
.bg-grey { background: var(--grey-bg); }
.bg-dark { background: var(--black); color: var(--white); }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; color: var(--red); text-transform: uppercase; }
.bg-dark .eyebrow { color: var(--red-light); }
.num { font-size: 14px; font-weight: 600; color: var(--red); }

.h2 { font-weight: 600; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.015em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; min-height: 48px;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-outline { color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.site-header .logo img { height: 40px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--black); text-decoration: none; }
.nav a:hover { color: var(--red); }
.nav .nav-cta { background: var(--black); color: var(--white); padding: 12px 22px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--red); color: var(--white); }

/* Hero */
.hero { padding-top: 96px; padding-bottom: 88px; }
.hero h1 { font-weight: 600; font-size: clamp(42px, 6.4vw, 88px); line-height: 1.04; letter-spacing: -0.02em; margin-top: 24px; max-width: 980px; }
.hero .lead { font-size: 20px; color: var(--text-2); max-width: 620px; margin-top: 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.schedule { margin-top: 88px; border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.schedule .row { display: flex; align-items: center; gap: 20px; }
.schedule .label { width: 120px; flex: none; font-size: 13px; color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; }
.schedule .track { flex: 1; height: 14px; position: relative; }
.schedule .bar { position: absolute; top: 0; height: 14px; border-radius: 999px; background: var(--black); }
.schedule .bar-1 { left: 0; width: 34%; }
.schedule .bar-2 { left: 22%; width: 56%; background: var(--red); }
.schedule .bar-3 { left: 66%; width: 34%; }

.trust { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 40px; font-size: 15px; color: var(--text-2); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.about-side { flex: 1 1 340px; min-width: 0; }
.about-photo { margin-top: 28px; width: 100%; max-width: 360px; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; }
.about-main { flex: 999 1 520px; min-width: 0; padding-top: 52px; }
.about-main .body { font-size: 19px; color: #3A3A3A; max-width: 640px; margin-top: 20px; }
.about-main .body:first-of-type { margin-top: 32px; }
.stats { display: flex; flex-wrap: wrap; margin-top: 44px; border-top: 1px solid #D9D9D9; }
.stat { flex: 1 1 160px; padding: 24px 24px 0 0; }
.stat-value { font-family: var(--heading); font-weight: 700; font-size: 40px; line-height: 1.3; }
.stat-label { font-size: 14px; color: #5A5A5A; }

/* Services */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head > div { flex: 1 1 520px; min-width: 0; }
.section-head .h2 { margin-top: 20px; }
.section-head p { flex: 0 1 380px; color: var(--text-2); }
.services { display: flex; flex-wrap: wrap; margin-top: 56px; border-top: 1px solid var(--black); }
.service { flex: 1 1 340px; padding: 32px 32px 40px 0; border-bottom: 1px solid var(--line); }
.service h3 { font-weight: 700; font-size: 24px; margin-top: 12px; line-height: 1.25; }
.service p { color: var(--text-2); margin-top: 10px; }

/* Experience */
.bg-dark .h2 { margin-top: 20px; max-width: 820px; }
.sectors { margin-top: 56px; border-top: 1px solid #3A3A3A; }
.sector { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 28px 0; border-bottom: 1px solid #3A3A3A; }
.sector h3 { flex: 0 0 260px; font-weight: 700; font-size: 26px; }
.sector p { flex: 1 1 420px; color: #CFCFCF; }
.audiences { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 64px; }
.audience { flex: 1 1 360px; background: #1F1F1F; border-radius: 20px; padding: 36px; }
.audience .tag { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-light); font-weight: 600; }
.audience h3 { font-weight: 600; font-size: 24px; margin-top: 14px; }
.audience p { margin-top: 10px; color: #CFCFCF; }

/* How I work */
.steps { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; }
.step { flex: 1 1 280px; }
.step h3 { font-weight: 700; font-size: 26px; margin-top: 12px; }
.step p { color: var(--text-2); margin-top: 10px; }
.engagement { margin-top: 72px; background: var(--grey-bg); border-radius: 24px; padding: 40px; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.engagement-label { flex: 1 1 160px; min-width: 0; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.engagement-items { flex: 999 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px 32px; }
.engagement-items p { font-weight: 600; margin-top: 14px; }
.pill { display: block; width: 36px; height: 8px; border-radius: 999px; background: var(--black); }
.pill-red { background: var(--red); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-info { flex: 1 1 380px; min-width: 0; }
.contact-info h2 { font-weight: 600; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.02em; margin-top: 20px; }
.contact-info .intro { color: var(--text-2); margin-top: 24px; max-width: 420px; }
.contact-links { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.contact-label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.contact-email { font-family: var(--heading); font-weight: 600; font-size: 24px; word-break: break-word; }
.contact-links a { font-weight: 600; }

.form { flex: 1 1 480px; min-width: 0; background: var(--white); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  border: 1px solid #CFCFCF; border-radius: 12px; padding: 14px 16px;
  font-size: 16px; font-weight: 400; color: var(--black); background: var(--white); width: 100%;
}
.form > .field { flex: none; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.req { color: var(--red); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { align-self: flex-start; border: 0; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.form-status { font-size: 15px; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #1E6B2E; }
.form-status.err { color: var(--red); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 64px; padding-bottom: 40px; }
.footer-brand { flex: 1 1 280px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { font-size: 14px; color: #5A5A5A; margin-top: 20px; }
.footer-story { flex: 1 1 380px; max-width: 460px; }
.footer-story .tag { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); font-weight: 600; }
.footer-story p { font-size: 14px; color: var(--text-2); margin-top: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.footer-bottom a { color: var(--text-3); }
.coords { letter-spacing: 0.06em; }

/* Small screens */
@media (max-width: 640px) {
  .section { padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-top: 56px; padding-bottom: 56px; }
  .hero .lead br { display: none; }
  .schedule { margin-top: 56px; }
  .schedule .label { width: 84px; }
  .about { gap: 32px; }
  .about-main { padding-top: 0; }
  .about-photo { max-width: 240px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav .nav-cta { padding: 10px 18px; }
  .site-header .container { flex-wrap: nowrap; }
  .site-header .logo img { height: 34px; }
  .form { padding: 24px; }
  .service { padding-right: 0; }
}
