:root {
  --ink: #121417;
  --muted: #646b74;
  --line: #e2e6ea;
  --paper: #ffffff;
  --soft: #f4f6f3;
  --charcoal: #111a20;
  --charcoal-2: #1f2a31;
  --accent: #f7b32b;
  --accent-dark: #b76d12;
  --green: #1f8f5f;
  --blue: #295c7a;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(17, 26, 32, .14);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

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

button,
input,
select,
textarea { font: inherit; }

button { cursor: pointer; }

h1,
h2,
h3,
p { margin-top: 0; overflow-wrap: anywhere; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, .93);
  border-bottom: 1px solid rgba(226, 230, 234, .9);
  backdrop-filter: blur(14px);
  transition: min-height .25s var(--ease), box-shadow .25s var(--ease);
}

.site-header.is-scrolled {
  min-height: 64px;
  box-shadow: 0 12px 30px rgba(17, 26, 32, .09);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 230px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #111a20;
  background: linear-gradient(135deg, var(--accent), #fce08a);
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .48), 0 12px 24px rgba(183, 109, 18, .2);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: .76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  padding: 10px 11px;
  border-radius: var(--radius);
  color: #3e4750;
  font-size: .93rem;
  font-weight: 800;
  transition: color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--charcoal);
  background: #edf1f4;
  transform: translateY(-1px);
}

.header-cta {
  padding: 10px 15px;
  border-radius: var(--radius);
  color: #111a20;
  background: var(--accent);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(247, 179, 43, .28);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background: #e9f1f8;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .56;
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(235, 243, 250, .96) 0%, rgba(235, 243, 250, .9) 44%, rgba(235, 243, 250, .7) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .18));
}

.hero-content {
  position: relative;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0;
  animation: contentRise .8s var(--ease) both;
}

.hero-copy-block {
  max-width: 780px;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: #111a20;
  background: var(--accent);
  box-shadow: 0 13px 30px rgba(247, 179, 43, .28);
}

.btn.primary:hover { background: #ffd166; }

.btn.secondary {
  color: var(--charcoal);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
}

.marketplace-shell {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(280px, .95fr);
  gap: 12px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--radius);
  background: rgba(128, 178, 214, .54);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quick-card,
.ad-card {
  border: 1px solid rgba(209, 218, 226, .88);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 24px rgba(17, 26, 32, .1);
}

.quick-card {
  min-height: 180px;
  display: grid;
  align-content: end;
  justify-items: center;
  gap: 4px;
  padding: 18px;
  text-align: center;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}

.quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 179, 43, .75);
  background: #fff;
}

.quick-card strong {
  color: #1a3043;
  font-size: 1.25rem;
  font-weight: 900;
}

.quick-card small {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.quick-visual {
  position: relative;
  width: min(178px, 70%);
  height: 86px;
  display: block;
  margin-bottom: 10px;
}

.quick-visual.bricks::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 42px;
  height: 24px;
  border-radius: 3px;
  background: #c96442;
  box-shadow:
    -45px 0 #d77750,
    45px 0 #b95538,
    -22px -28px #d77750,
    22px -28px #c96442,
    0 -56px #b95538;
  transform: translateX(-50%);
}

.quick-visual.machine::before {
  content: "";
  position: absolute;
  left: 32px;
  bottom: 16px;
  width: 72px;
  height: 42px;
  border-radius: 8px 12px 8px 8px;
  background: #f7b32b;
  box-shadow: 48px 20px 0 -14px #1f2a31, -18px 20px 0 -14px #1f2a31;
}

.quick-visual.machine::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 12px;
  width: 78px;
  height: 14px;
  border-radius: 999px;
  background: #24475d;
  transform: rotate(-26deg);
  transform-origin: left center;
  box-shadow: 54px 26px 0 -3px #f7b32b;
}

.quick-visual.contractor,
.quick-visual.manpower {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 9px;
}

.quick-visual.contractor::before,
.quick-visual.contractor::after,
.quick-visual.manpower::before,
.quick-visual.manpower::after {
  content: "";
  width: 54px;
  height: 72px;
  border-radius: 26px 26px 10px 10px;
  background:
    linear-gradient(#f7b32b 0 18px, #f3c39a 18px 38px, #295c7a 38px 100%);
  box-shadow: inset 0 -18px 0 rgba(255, 255, 255, .28);
}

.quick-visual.contractor::after {
  width: 46px;
  height: 64px;
  opacity: .75;
}

.quick-visual.manpower::before {
  width: 42px;
  height: 62px;
  opacity: .65;
}

.quick-visual.manpower::after {
  width: 56px;
  height: 76px;
}

.ad-rail {
  display: grid;
  gap: 12px;
}

.ad-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.ad-card strong {
  color: #1a3043;
}

.ad-card img {
  width: 100%;
  height: 116px;
  object-fit: cover;
  border-radius: 6px;
}

.featured-frame {
  padding: 12px;
  border-radius: var(--radius);
  background: #08619b;
}

.featured-frame img {
  height: 130px;
  border: 4px solid rgba(255, 255, 255, .74);
}

.featured-frame span {
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  padding: 8px 22px;
  border-radius: 4px;
  color: #1a3043;
  background: var(--accent);
  font-size: .86rem;
  font-weight: 900;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.intro,
.buyer-seller,
.proof-band,
.form-section {
  display: grid;
  gap: clamp(24px, 5vw, 70px);
}

.intro {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  align-items: start;
}

.intro h2,
.section-head h2,
.path-card h2,
.proof-band h2,
.form-section h2 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro > p,
.form-section > div p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.marketplace {
  padding-top: 0;
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.category-grid,
.steps,
.proof-grid {
  display: grid;
  gap: 16px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.steps article,
.path-card,
.lead-form,
.proof-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 26, 32, .06);
}

.category-card,
.steps article {
  padding: 24px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.category-card:hover,
.steps article:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 179, 43, .65);
  box-shadow: 0 22px 48px rgba(17, 26, 32, .12);
}

.icon,
.steps span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--charcoal);
  font-size: .86rem;
  font-weight: 900;
}

.category-card:nth-child(2) .icon { background: var(--blue); }
.category-card:nth-child(3) .icon { background: var(--accent-dark); }
.category-card:nth-child(4) .icon { background: var(--green); }

.category-card h3,
.steps h3 {
  margin: 18px 0 8px;
  font-size: 1.25rem;
}

.category-card p,
.steps p,
.proof-grid span {
  margin: 0;
  color: var(--muted);
}

.buyer-seller {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--soft);
}

.path-card {
  padding: clamp(24px, 4vw, 36px);
}

.path-card.dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 26, 32, .98), rgba(41, 92, 122, .95));
}

.path-card.dark h2 { color: #fff; }
.path-card.dark .check-list li { color: rgba(255, 255, 255, .82); }
.path-card.dark .eyebrow { color: #ffd166; }

.check-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: #48515a;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .82);
}

.process {
  background: #fff;
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps span {
  color: #111a20;
  background: var(--accent);
}

.proof-band {
  grid-template-columns: .85fr 1.15fr;
  color: #fff;
  background: var(--charcoal);
}

.proof-band h2 { color: #fff; }
.proof-band .eyebrow { color: #ffd166; }

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-grid div {
  padding: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
}

.proof-grid span {
  display: block;
  color: rgba(255, 255, 255, .72);
}

.form-section {
  grid-template-columns: .85fr 1fr;
  background: var(--soft);
}

.seller-panel {
  background: #fff;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #3e4750;
  font-size: .93rem;
  font-weight: 800;
}

.full-field,
.lead-form button,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd2d9;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}

textarea { resize: vertical; }

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(247, 179, 43, .24);
  border-color: var(--accent-dark);
  box-shadow: 0 10px 24px rgba(17, 26, 32, .08);
  transform: translateY(-1px);
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, .82);
  background: #0b1117;
}

.site-footer p { margin: 6px 0 0; }

.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 800;
}

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 32px rgba(31, 143, 95, .36);
  font-weight: 900;
  animation: floatWa 2.8s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes contentRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.045) translateX(-10px); }
}

@keyframes floatWa {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding-top: 10px;
    animation: contentRise .24s var(--ease) both;
  }

  .main-nav.open {
    display: flex;
  }

  .category-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 660px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(235, 243, 250, .97), rgba(235, 243, 250, .86));
  }

  .hero-content {
    margin: 0 auto;
  }

  h1 {
    max-width: 12ch;
  }

  .marketplace-shell,
  .intro,
  .buyer-seller,
  .steps,
  .proof-band,
  .form-section,
  .category-grid,
  .proof-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    padding-inline: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 156px;
  }
}
