/* ==========================================================================
   LaborHub — "Blueprint" design system
   ========================================================================== */

:root{
  /* Palette */
  --navy-deep:   #0E2138;
  --navy:        #142B44;
  --navy-mid:    #1E3A5A;
  --blue:        #2C5F8A;
  --line:        #BFD9EC;
  --line-dim:    #6E93AC;
  --panel:       #16304C;
  --paper:       #F6F3EC;
  --paper-line:  #D8CFBB;
  --ink:         #12233A;
  --ink-soft:    #4C6178;
  --accent:      #E8A33D;
  --accent-deep: #C9822A;
  --white:       #FFFFFF;

  /* Type */
  --f-display: 'Space Grotesk', sans-serif;
  --f-body: 'Inter', sans-serif;
  --f-mono: 'IBM Plex Mono', monospace;

  --radius: 3px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ font-family: var(--f-display); margin:0; letter-spacing:-0.01em; }
p{ margin:0; }

.container{
  width:100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 13px 26px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--primary{
  background: var(--accent);
  color: var(--navy-deep);
}
.btn--primary:hover{ background: var(--accent-deep); transform: translateY(-1px); }
.btn--outline{
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover{ background: var(--ink); color: var(--paper); }
.btn--ghost{
  border-color: var(--line-dim);
  color: var(--line);
}
.btn--ghost:hover{ border-color: var(--accent); color: var(--accent); }

/* ---------- Nav ---------- */
.nav{
  position: sticky; top:0; z-index: 50;
  background: rgba(14,33,56,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(191,217,236,0.12);
}
.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 72px;
  color: var(--white);
}
.nav__brand{
  display:flex; align-items:center; gap:10px;
  font-family: var(--f-display); font-weight:700; font-size: 20px;
  color: var(--white);
}
.nav__mark{ color: var(--accent); display:flex; }
.nav__links{ display:flex; gap: 32px; }
.nav__links a{
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.02em;
  color: var(--line);
  position: relative;
}
.nav__links a:hover{ color: var(--accent); }
.nav__cta{ display:inline-flex; }
.nav__burger{ display:none; }

.nav__mobile{
  display:none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  background: var(--navy-deep);
}
.nav__mobile a{
  padding: 12px 0;
  color: var(--line);
  font-family: var(--f-mono);
  border-bottom: 1px solid rgba(191,217,236,0.08);
}
.nav__mobile .btn{ margin-top: 12px; width: fit-content; }
.nav__mobile.open{ display:flex; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding: 88px 0 64px;
}
.hero__grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(191,217,236,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191,217,236,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 30%, black, transparent 75%);
}
.hero__inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow{
  display:flex; align-items:center; gap:8px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow__dot{ width:6px; height:6px; border-radius:50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(232,163,61,0.2); }
.hero h1{
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  color: var(--white);
}
.hero h1 span{ color: var(--line); font-weight: 500; display:block; margin-top: 4px; font-size: 0.62em; }
.hero__lede{
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--line);
  max-width: 480px;
}
.hero__actions{ display:flex; gap:14px; margin-top: 32px; flex-wrap: wrap; }
.hero__stats{
  display:flex; gap: 40px;
  margin: 44px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(191,217,236,0.15);
}
.hero__stats dt{ font-family: var(--f-mono); font-size: 24px; color: var(--accent); font-weight:600; }
.hero__stats dd{ margin:4px 0 0; font-size: 12px; color: var(--line-dim); text-transform: uppercase; letter-spacing: 0.04em; }

.hero__diagram{ position: relative; }
.blueprint-svg{ width: 100%; height: auto; }

/* ---------- Trust strip ---------- */
.trust{ background: var(--navy-deep); border-top:1px solid rgba(191,217,236,0.1); border-bottom:1px solid rgba(191,217,236,0.1); padding: 20px 0; }
.trust__inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.trust p{ color: var(--line-dim); font-family: var(--f-mono); font-size: 12px; }
.trust__marks{ display:flex; gap: 28px; flex-wrap:wrap; }
.trust__marks li{ color: var(--line); font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.03em; opacity: 0.75; }

/* ---------- Section shared ---------- */
section{ padding: 96px 0; }
.section-tag{
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--accent-deep); margin: 0 0 14px;
}
.section-tag--light{ color: var(--accent); }
h2{ font-size: clamp(28px, 3vw, 38px); color: var(--ink); max-width: 620px; }
.section-lede{ margin-top: 14px; color: var(--ink-soft); font-size: 16px; max-width: 560px; line-height:1.6; }

/* ---------- Services ---------- */
.services{ background: var(--paper); }
.service-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}
.service-card{
  background: var(--paper);
  padding: 28px 24px;
  transition: background .15s ease;
}
.service-card:hover{ background: var(--white); }
.service-card svg{ width: 34px; height: 34px; color: var(--accent-deep); margin-bottom: 18px; }
.service-card h3{ font-size: 17px; margin-bottom: 8px; }
.service-card p{ font-size: 14px; color: var(--ink-soft); line-height:1.5; min-height: 42px; }
.service-card__meta{
  display:block; margin-top: 14px;
  font-family: var(--f-mono); font-size: 11px; color: var(--accent-deep);
  letter-spacing: 0.02em;
}

/* ---------- How it works ---------- */
.how{ background: var(--navy-deep); color: var(--white); }
.how .section-tag{ color: var(--accent); }
.how h2{ color: var(--white); }
.steps{
  margin-top: 56px;
  display:flex; align-items:flex-start;
  gap: 0;
}
.step{ flex:1; position: relative; }
.step__num{
  font-family: var(--f-mono); font-size: 13px; color: var(--accent);
  border: 1px solid var(--accent); border-radius: 50%;
  width: 36px; height:36px; display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.step h3{ color: var(--white); font-size: 19px; margin-bottom: 10px; }
.step p{ color: var(--line-dim); font-size: 14.5px; line-height:1.6; max-width: 280px; }
.step__connector{
  flex: 0 0 60px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-dim) 0 6px, transparent 6px 12px);
  margin-top: 18px;
}

/* ---------- Booking ---------- */
.book{ background: var(--blue); color: var(--white); }
.book__inner{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items:start; }
.book h2{ color: var(--white); margin-top: 10px; }
.book p{ color: rgba(255,255,255,0.85); line-height:1.6; margin-top:14px; max-width: 420px; }
.book__list{ margin-top: 28px; display:flex; flex-direction:column; gap: 12px; }
.book__list li{
  font-size: 14px; color: var(--white);
  padding-left: 22px;
  position: relative;
}
.book__list li::before{
  content:''; position:absolute; left:0; top:6px;
  width: 10px; height:10px; border: 1.5px solid var(--accent);
}

.ticket{
  background: var(--paper);
  color: var(--ink);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(10,20,35,0.25);
}
.ticket__row{ display:flex; align-items:baseline; justify-content:space-between; margin-top: 20px; }
.ticket__row:first-child{ margin-top:0; }
.ticket__label{ font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-soft); letter-spacing: 0.05em; }
.ticket label{ font-family: var(--f-mono); font-size: 12.5px; color: var(--ink); }
.ticket select, .ticket input{
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--paper-line);
  background: var(--white);
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: 14.5px;
  color: var(--ink);
}
.ticket select:focus, .ticket input:focus{ outline:2px solid var(--accent-deep); outline-offset:1px; }
.ticket__submit{ width:100%; justify-content:center; margin-top: 28px; }
.ticket__note{ font-size: 12px; color: var(--ink-soft); text-align:center; margin-top: 12px; }

/* ---------- Pricing ---------- */
.pricing{ background: var(--paper); }
.rate-table{ margin-top: 48px; border: 1px solid var(--paper-line); }
.rate-table__row{
  display:grid; grid-template-columns: 2fr 1fr 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid var(--paper-line);
  font-size: 14px;
}
.rate-table__row:last-child{ border-bottom:none; }
.rate-table__row--head{
  background: var(--navy-deep); color: var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
}
.rate-table__row span:nth-child(2), .rate-table__row span:nth-child(3){ color: var(--ink-soft); }
.rate-table__row--head span{ color: var(--line) !important; }

.plans{ margin-top: 56px; display:grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan{
  border: 1px solid var(--paper-line);
  padding: 32px;
  background: var(--white);
  position: relative;
}
.plan--highlight{ border-color: var(--accent-deep); border-width: 2px; }
.plan__badge{
  position:absolute; top:-12px; left: 28px;
  background: var(--accent); color: var(--navy-deep);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing:0.03em;
  padding: 4px 10px; border-radius: 2px;
}
.plan h3{ font-size: 19px; }
.plan__price{ font-family: var(--f-mono); font-size: 30px; color: var(--ink); margin: 14px 0 20px; }
.plan__price span{ font-size: 13px; color: var(--ink-soft); }
.plan ul{ display:flex; flex-direction:column; gap: 10px; margin-bottom: 26px; }
.plan li{ font-size: 14px; color: var(--ink-soft); padding-left: 20px; position:relative; }
.plan li::before{ content:'—'; position:absolute; left:0; color: var(--accent-deep); }

/* ---------- Reviews ---------- */
.reviews{ background: var(--navy-deep); color: var(--white); }
.reviews .section-tag{ color: var(--accent); }
.reviews h2{ color: var(--white); }
.review-grid{ margin-top: 48px; display:grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.review{
  border: 1px solid rgba(191,217,236,0.15);
  padding: 26px;
  margin:0;
}
.review p{ font-size: 15px; line-height:1.65; color: var(--line); }
.review footer{ margin-top: 16px; font-family: var(--f-mono); font-size: 12px; color: var(--accent); }

/* ---------- CTA ---------- */
.cta{ background: var(--accent); color: var(--navy-deep); text-align:center; padding: 80px 0; }
.cta h2{ color: var(--navy-deep); }
.cta p{ margin-top: 12px; font-size: 16px; color: rgba(14,33,56,0.75); }
.cta .btn{ margin-top: 28px; }
.cta .btn--primary{ background: var(--navy-deep); color: var(--white); }
.cta .btn--primary:hover{ background: #0a1929; }

/* ---------- Footer ---------- */
.footer{ background: var(--navy-deep); color: var(--line); padding-top: 64px; }
.footer__inner{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(191,217,236,0.1);
}
.footer .nav__brand{ color: var(--white); }
.footer__brand p{ margin-top: 14px; font-size: 13.5px; color: var(--line-dim); max-width: 240px; line-height:1.6; }
.footer__col h4{ font-family: var(--f-mono); font-size: 12px; letter-spacing:0.05em; color: var(--white); margin-bottom: 16px; text-transform: uppercase; }
.footer__col{ display:flex; flex-direction:column; gap: 10px; }
.footer__col a, .footer__col span{ font-size: 13.5px; color: var(--line-dim); }
.footer__col a:hover{ color: var(--accent); }
.footer__bottom{
  display:flex; justify-content:space-between;
  padding: 22px 24px;
  font-family: var(--f-mono); font-size: 11.5px; color: var(--line-dim);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__diagram{ order: -1; max-width: 420px; margin: 0 auto 12px; }
  .service-grid{ grid-template-columns: repeat(2,1fr); }
  .steps{ flex-direction: column; gap: 32px; }
  .step__connector{ display:none; }
  .book__inner{ grid-template-columns: 1fr; }
  .plans{ grid-template-columns: 1fr; }
  .review-grid{ grid-template-columns: 1fr; }
  .footer__inner{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .nav__links, .nav__cta{ display:none; }
  .nav__burger{
    display:flex; flex-direction:column; justify-content:center; gap:5px;
    width: 32px; height:32px; background:none; border:none; cursor:pointer;
  }
  .nav__burger span{ height:2px; background: var(--white); border-radius:1px; }
  section{ padding: 64px 0; }
  .hero{ padding: 56px 0 40px; }
  .hero__stats{ gap: 24px; flex-wrap: wrap; }
  .service-grid{ grid-template-columns: 1fr; }
  .rate-table__row{ grid-template-columns: 1.4fr 1fr 1fr; font-size:12.5px; padding: 12px 14px; }
  .footer__inner{ grid-template-columns: 1fr; }
  .footer__bottom{ flex-direction:column; gap:6px; }
}

