/* ==========================================================================
   Global Workshop Solutions - landing page
   Design: authoritative, industrial, high-visibility
   Palette: Navy #004B87 | Safety Orange #FF6A13 | Off-white #F4F6F8
   ========================================================================== */

:root {
  --navy: #004B87;
  --navy-dark: #00305a;
  --orange: #FF6A13;
  --orange-dark: #e05500;
  --off-white: #F4F6F8;
  --ink: #1c2733;
  --muted: #5b6b7a;
  --white: #ffffff;
  --line: #dde4ea;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(0, 31, 59, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.6;
}

.container { width: min(1140px, 92%); margin: 0 auto; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.75); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline { border-color: var(--orange); color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: var(--white); }

/* bg-gws-blue / text-white / space-x-4 and the other utilities used by the nav
   are provided by the Tailwind Play CDN configured in index.html. */

/* ---------- Eyebrow ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: var(--radius);
  letter-spacing: 0.06em;
}
.brand-name { font-weight: 400; color: var(--ink); line-height: 1.2; }
.brand-name strong { display: block; font-weight: 800; color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
/* Exclude .btn so the button text colors (btn-outline orange / Tailwind text-white) apply. */
.nav-links a:not(.btn) { font-weight: 600; color: var(--ink); }
.nav-links a:not(.btn):hover { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(255, 106, 19, 0.18), transparent 60%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #00629e 100%);
  color: var(--white);
  padding: 7rem 0 6rem;
  border-bottom: 6px solid var(--orange);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 800;
}
.hero-sub {
  margin-top: 1.4rem;
  max-width: 75ch;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
}
.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero .eyebrow { color: var(--orange); }
.hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  background: var(--orange);
  margin-right: 0.6rem;
  vertical-align: middle;
}

/* ---------- Social proof bar ---------- */
.proof {
  background: var(--navy-dark);
  color: var(--white);
  padding: 1rem 0;
  border-bottom: 3px solid var(--orange);
}
.proof-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}
.proof-track .sep { color: var(--orange); }

/* ---------- Capabilities ---------- */
.capabilities { padding: 5.5rem 0; }
.capabilities h2,
.differentiator h2,
.services h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 2.4rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-top-color: var(--orange); }
.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 1.5rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  margin-bottom: 1.1rem;
}
.card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Our Services ---------- */
.services { padding: 5.5rem 0; }
.service-list { list-style: none; }
.service-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.service-list li::before {
  content: "\25B8";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

/* ---------- Differentiator ---------- */
.differentiator {
  background: linear-gradient(180deg, var(--off-white) 0%, #e8edf2 100%);
  padding: 5.5rem 0;
  border-top: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-copy p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.6rem; max-width: 56ch; }
.split-copy .btn { margin-top: 0.4rem; }
.split-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--orange);
}
.split-panel h3 { font-size: 1.2rem; margin-bottom: 1.1rem; }
.split-panel ul { list-style: none; }
.split-panel li {
  padding: 0.55rem 0 0.55rem 1.9rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.split-panel li:last-child { border-bottom: none; }
.split-panel li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-grid h4 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}
.footer-grid a { color: var(--orange); }
.footer-grid a:hover { color: #ff8a45; }
.footer-grid p { font-size: 0.95rem; }
.footer-address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-top: 0.9rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.2rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-corporate {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.2rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--orange);
  text-decoration: underline;
}

/* ---------- Subpage hero (Marketplace / Quote) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #00629e 100%);
  color: var(--white);
  padding: 3.5rem 0;
  border-bottom: 6px solid var(--orange);
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 22ch;
}
.page-hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  background: var(--orange);
  margin-right: 0.6rem;
  vertical-align: middle;
}

/* ---------- Marketplace ---------- */
.marketplace { padding: 5rem 0; }
.product-price {
  color: var(--orange);
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0.25rem 0 0.6rem;
}
.card .btn { margin-top: 1rem; }

/* ---------- Quote form ---------- */
.quote { padding: 5rem 0; }
.quote-intro { color: var(--muted); max-width: 62ch; margin-bottom: 2.5rem; }
.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.15);
}

/* ---------- Tailwind focus-ring support (preflight is disabled) ---------- */
/* preflight normally provides the --tw-ring-* / --tw-shadow custom properties
   and a default border-style. Restore those so the Tailwind focus:ring-* and
   border utilities on the quote form render correctly. */
*, ::before, ::after {
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
}
input, select, textarea { border-style: solid; }

/* ---------- Responsive ---------- */
/* Breakpoint matches Tailwind's md (768px) so the custom CSS and Tailwind
   utilities flip at the same width. The header stays a single row on mobile
   (brand left, hamburger right); the mobile menu is controlled by Alpine. */
@media (max-width: 767.98px) {
  .hero { padding: 4.5rem 0; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 3rem 0; }
}


