/*
Theme Name: Hoopla HR
Theme URI: https://camcart.co.uk/
Author: Hoopla HR
Description: Marketing site rebuilt from the original Hoopla HR design brief. Sign in links to the HR app.
Version: 1.0.0
Text Domain: hoopla-hr
*/

:root {
  --hh-navy: #0b2c4a;
  --hh-navy-deep: #071e33;
  --hh-teal: #1fa89a;
  --hh-teal-dark: #178f83;
  --hh-green: #2bb673;
  --hh-cream: #f4f7f6;
  --hh-white: #ffffff;
  --hh-text: #243447;
  --hh-muted: #5b6b7c;
  --hh-border: #d9e2ec;
  --hh-max: 1120px;
  --hh-radius: 10px;
  --hh-shadow: 0 12px 40px rgba(11, 44, 74, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--hh-text);
  background: var(--hh-white);
  line-height: 1.55;
}
a { color: var(--hh-teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.wrap { width: min(100% - 2rem, var(--hh-max)); margin-inline: auto; }

.site-header {
  background: var(--hh-navy);
  color: var(--hh-white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  color: var(--hh-white);
  text-decoration: none;
}
.brand strong { font-size: 1.25rem; letter-spacing: .02em; }
.brand span { font-size: .72rem; opacity: .8; text-transform: lowercase; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .9rem;
  align-items: center;
  justify-content: flex-end;
}
.nav a {
  color: #d7e6f5;
  font-size: .92rem;
  text-decoration: none;
  text-transform: lowercase;
}
.nav a:hover { color: #fff; text-decoration: none; }
.nav .btn-signin {
  background: var(--hh-teal);
  color: #fff !important;
  padding: .45rem .9rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav .btn-signin:hover { background: var(--hh-teal-dark); }

.hero {
  background: linear-gradient(135deg, var(--hh-navy-deep), var(--hh-navy) 55%, #145066);
  color: #fff;
  padding: 4.5rem 0 4rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  margin: 0 0 .6rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  text-transform: lowercase;
}
.hero .lede {
  font-size: 1.15rem;
  opacity: .92;
  max-width: 36rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 650;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
}
.btn-primary { background: var(--hh-green); color: #fff; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--hh-radius);
  padding: 1.25rem 1.4rem;
  backdrop-filter: blur(6px);
}
.hero-card h2 { margin: 0 0 .5rem; font-size: 1.1rem; }
.hero-card ol { margin: 0; padding-left: 1.1rem; }
.hero-card li { margin: .35rem 0; }

.section { padding: 3.5rem 0; }
.section.alt { background: var(--hh-cream); }
.section h2 {
  margin: 0 0 .4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--hh-navy);
}
.section .intro { color: var(--hh-muted); max-width: 40rem; margin-bottom: 1.75rem; }

.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--hh-white);
  border: 1px solid var(--hh-border);
  border-radius: var(--hh-radius);
  padding: 1.4rem;
  box-shadow: var(--hh-shadow);
}
.card h3 { margin: 0 0 .5rem; color: var(--hh-navy); }
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature {
  background: var(--hh-white);
  border-top: 4px solid var(--hh-teal);
  border-radius: var(--hh-radius);
  padding: 1.25rem;
  box-shadow: var(--hh-shadow);
}
.feature h3 { margin: 0 0 .4rem; color: var(--hh-navy); }

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.quote {
  background: var(--hh-white);
  border-radius: var(--hh-radius);
  padding: 1.4rem;
  border-left: 4px solid var(--hh-green);
  box-shadow: var(--hh-shadow);
}
.quote p { margin-top: 0; font-style: italic; }
.quote footer { color: var(--hh-muted); font-size: .92rem; }

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.price {
  background: var(--hh-white);
  border: 1px solid var(--hh-border);
  border-radius: var(--hh-radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  box-shadow: var(--hh-shadow);
}
.price.featured {
  border-color: var(--hh-teal);
  transform: translateY(-6px);
}
.price h3 { margin: 0; color: var(--hh-navy); }
.price .amount {
  font-size: 2rem;
  font-weight: 750;
  color: var(--hh-navy);
}
.price .amount small { font-size: .95rem; font-weight: 600; color: var(--hh-muted); }
.price ul { margin: 0; padding-left: 1.1rem; flex: 1; color: var(--hh-muted); }
.price .btn { width: 100%; }

.extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.extra {
  background: #fff;
  border-radius: var(--hh-radius);
  padding: 1.2rem;
  border: 1px solid var(--hh-border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.5rem;
}
.contact form {
  display: grid;
  gap: .75rem;
}
.contact input, .contact textarea {
  width: 100%;
  padding: .7rem .8rem;
  border: 1px solid var(--hh-border);
  border-radius: 8px;
  font: inherit;
}
.contact textarea { min-height: 120px; resize: vertical; }
.contact-details {
  background: var(--hh-navy);
  color: #fff;
  border-radius: var(--hh-radius);
  padding: 1.4rem;
}
.contact-details a { color: #9fe8df; }

.site-footer {
  background: var(--hh-navy-deep);
  color: #b7c7d8;
  padding: 2rem 0;
  font-size: .9rem;
}
.site-footer a { color: #d7e6f5; }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 900px) {
  .hero-grid, .audience, .features, .quotes, .pricing, .extras, .contact-grid {
    grid-template-columns: 1fr;
  }
  .price.featured { transform: none; }
  .nav { display: none; }
  .nav.open { display: flex; width: 100%; flex-direction: column; align-items: flex-start; padding-bottom: .75rem; }
  .menu-toggle { display: inline-flex; }
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  border-radius: 8px;
  padding: .4rem .7rem;
}
