/* Halfords Careers Chat — holding-page styles.
   A clean, brand-faithful landing page that fronts the Hal chatbot.
   Loaded after styles.css so it owns the page layout; styles.css still provides
   the chat widget styling. */

:root {
  --hf-red: #EE3124;
  --hf-red-dark: #c41e12;
  --hf-ink: #1d1d1b;
  --hf-grey: #5a5a5a;
  --hf-line: #e4e4e4;
  --hf-bg: #ffffff;
  --hf-soft: #f6f6f6;
}

.hcc * { box-sizing: border-box; }
.hcc {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--hf-ink);
  background: var(--hf-bg);
  line-height: 1.5;
}
.hcc .wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Header */
.hcc-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--hf-ink); color: #fff;
  border-bottom: 4px solid var(--hf-red);
}
.hcc-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.hcc-brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.hcc-brand .mark {
  font-weight: 800; font-size: 26px; letter-spacing: -0.5px;
  color: #fff; background: var(--hf-red); padding: 2px 10px; border-radius: 4px;
}
.hcc-brand .sub { color: #fff; font-weight: 600; font-size: 18px; }
.hcc-nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.hcc-nav a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.hcc-nav a:hover { opacity: 1; border-bottom-color: var(--hf-red); }
.hcc-cta {
  background: var(--hf-red); color: #fff !important; padding: 9px 16px !important;
  border-radius: 4px; border-bottom: none !important;
}
.hcc-cta:hover { background: #fff; color: var(--hf-red) !important; }

/* Hero */
.hcc-hero {
  background: linear-gradient(115deg, var(--hf-ink) 0%, #2b2b29 55%, var(--hf-red) 160%);
  color: #fff; padding: 76px 0;
}
.hcc-hero .wrap { max-width: 820px; text-align: center; }
.hcc-hero h1 {
  font-size: clamp(34px, 5vw, 54px); line-height: 1.05; margin: 0 0 18px;
  font-weight: 800; letter-spacing: -1px;
}
.hcc-hero h1 .hl { color: #ff6a5c; }
.hcc-hero p { font-size: 19px; opacity: .92; margin: 0 auto 30px; max-width: 640px; }
.hcc-btn {
  display: inline-block; background: var(--hf-red); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 17px; padding: 15px 30px; border-radius: 6px; border: 0; cursor: pointer;
  transition: transform .08s ease, background .15s ease;
}
.hcc-btn:hover { background: var(--hf-red-dark); transform: translateY(-1px); }
.hcc-btn.ghost { background: transparent; border: 2px solid #fff; margin-left: 12px; }
.hcc-btn.ghost:hover { background: #fff; color: var(--hf-ink); }

/* Section shell */
.hcc-sec { padding: 64px 0; }
.hcc-sec.alt { background: var(--hf-soft); }
.hcc-sec h2 { font-size: 30px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.5px; }
.hcc-sec .lede { color: var(--hf-grey); margin: 0 0 34px; font-size: 17px; }

/* Business-area cards */
.hcc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.hcc-card {
  display: block; text-decoration: none; color: inherit; background: #fff;
  border: 1px solid var(--hf-line); border-radius: 10px; padding: 26px 24px;
  transition: box-shadow .15s ease, transform .1s ease, border-color .15s ease;
}
.hcc-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-3px); border-color: var(--hf-red); }
.hcc-card .tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--hf-red); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.hcc-card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.hcc-card p { margin: 0; color: var(--hf-grey); font-size: 15px; }
.hcc-card .count { display: block; margin-top: 14px; font-weight: 700; color: var(--hf-ink); font-size: 14px; }

/* Hal feature row */
.hcc-bot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hcc-bot .panel {
  background: var(--hf-ink); color: #fff; border-radius: 14px; padding: 40px;
  border: 1px solid #000; position: relative; overflow: hidden;
}
.hcc-bot .panel::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; background: var(--hf-red); opacity: .25; border-radius: 50%; }
.hcc-bot h2 { color: var(--hf-ink); }
.hcc-bot ul { margin: 16px 0 26px; padding-left: 20px; color: var(--hf-grey); }
.hcc-bot li { margin: 8px 0; }
.hcc-bot .panel .gm-name { font-weight: 800; font-size: 22px; }
.hcc-bot .panel .gm-msg { background: rgba(255,255,255,.08); border-radius: 10px; padding: 14px 16px; margin-top: 16px; font-size: 15px; }

/* Footer */
.hcc-footer { background: var(--hf-ink); color: #cfcfcf; padding: 40px 0; font-size: 14px; }
.hcc-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.hcc-footer a { color: #fff; text-decoration: none; }
.hcc-footer a:hover { text-decoration: underline; }
.hcc-footer .disclaimer { width: 100%; color: #9a9a9a; font-size: 12px; border-top: 1px solid #333; padding-top: 16px; margin-top: 8px; }

@media (max-width: 820px) {
  .hcc-nav { display: none; }
  .hcc-bot { grid-template-columns: 1fr; }
  .hcc-hero { padding: 56px 0; }
}
