/* =========================================================
   DiscovHR – styles.green.css
   Green-forward palette (more distinct vs Matchr)
========================================================= */

/* -------------------------
   Design tokens
-------------------------- */
:root {
  --bg: #ffffff;
  --text: #071a12;          /* deep forest */
  --muted: #35564a;         /* muted green-gray */
  --muted-2: #4b6b5f;       /* softer */
  --border: #d7e5dd;        /* green-tinted border */
  --card: #ffffff;

  --primary: #00b36b;       /* brand green */
  --primary-2: #00995c;
  --accent: #00e676;        /* bright accent */
  --accent-2: #7CFFB2;

  --shadow: 0 18px 40px rgba(2, 18, 10, 0.10);
  --shadow-soft: 0 10px 20px rgba(2, 18, 10, 0.08);

  --radius: 18px;
  --radius-sm: 12px;

  --container: 1120px;
  --header-h: 74px;

  /* New hero look (more “minty” than Matchr) */
  --grad-hero:
    radial-gradient(1200px 520px at 18% 10%, rgba(0, 179, 107, 0.20), transparent 62%),
    radial-gradient(950px 480px at 82% 22%, rgba(0, 230, 118, 0.18), transparent 58%),
    linear-gradient(180deg, #effff6 0%, #ffffff 62%);

  --grad-soft: linear-gradient(135deg, rgba(0, 179, 107, 0.14), rgba(0, 230, 118, 0.12));
}

/* -------------------------
   Base / Reset
-------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

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

p { margin: 0; }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }

button { font: inherit; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0;
}

/* -------------------------
   Utilities
-------------------------- */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.center { text-align: center; }
.actions { margin-top: 18px; }

.accent {
  background: linear-gradient(90deg, var(--primary), #00d48a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted-2); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--text);
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus { left: 12px; }

/* -------------------------
   Buttons
-------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 650;
  border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 179, 107, 0.28);
}
.btn-primary:hover { background: var(--primary-2); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { box-shadow: var(--shadow-soft); }

/* -------------------------
   Header / Nav
-------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(215, 229, 221, 0.9);
}

.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--grad-soft);
  box-shadow: 0 10px 20px rgba(2, 18, 10, 0.08);
}

.brand-name { font-size: 18px; }
.brand-name span { color: var(--primary); }

.nav { justify-self: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-link {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.nav-link:hover {
  background: rgba(235, 247, 241, 0.9);
  color: var(--text);
}

.chev { margin-left: 6px; font-size: 12px; opacity: 0.8; }
.header-cta { justify-self: end; }

.mobile-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}
.mobile-toggle:hover { box-shadow: var(--shadow-soft); }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 520px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Hover bridge: makes it easier to move from trigger to panel without closing */
.dropdown-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.dropdown-panel[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px 14px;
}

.about-grid { width: 420px; }

.dropdown-card {
  grid-row: span 4;
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--grad-soft);
  min-height: 132px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.dropdown-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }

.dc-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  display: grid;
  place-items: center;
  font-size: 20px;
  border: 1px solid rgba(215, 229, 221, 0.9);
}

.dc-title { font-weight: 800; }
.dc-desc { color: rgba(7, 26, 18, 0.72); font-size: 14px; margin-top: 4px; }

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 650;
}
.dropdown-link:hover {
  border-color: var(--border);
  background: rgba(235, 247, 241, 0.9);
  color: var(--text);
}

.dl-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 179, 107, 0.12);
  color: #007a49;
  border: 1px solid rgba(0, 179, 107, 0.22);
}

/* Mobile menu */
.mobile-menu { border-top: 1px solid var(--border); background: #fff; }

.mobile-menu-inner {
  padding: 14px 0 18px;
  display: grid;
  gap: 10px;
}

.mobile-link {
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text);
}
.mobile-link:hover { box-shadow: var(--shadow-soft); }

/* -------------------------
   Sections
-------------------------- */
.section { padding: 70px 0; }

.section-title { font-size: clamp(24px, 3vw, 34px); line-height: 1.1; }

.section-lead {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
  max-width: 62ch;
}

.section-subtitle {
  color: var(--muted);
  margin-top: 10px;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------
   Hero
-------------------------- */
.hero { background: var(--grad-hero); padding: 64px 0 58px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(215, 229, 221, 0.95);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.hero-title { margin-top: 14px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.02; }

.hero-subtitle {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  max-width: 58ch;
}

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

.microcopy {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dot { width: 8px; height: 8px; background: var(--primary); border-radius: 999px; display: inline-block; }
.sep { opacity: 0.6; }

.hero-media { position: relative; min-height: 340px; }

.hero-image {
  height: 340px;
  border-radius: 26px;
  border: 1px solid rgba(215, 229, 221, 0.95);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-image-surface {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 280px at 18% 22%, rgba(0, 179, 107, 0.22), transparent 62%),
    radial-gradient(420px 260px at 72% 62%, rgba(0, 230, 118, 0.20), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 255, 251, 0.94));
}

.hero-image-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(215, 229, 221, 0.95);
  font-weight: 750;
  font-size: 13px;
}

.hero-float {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(215, 229, 221, 0.95);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.hero-float-1 { top: 70px; right: -6px; }
.hero-float-2 { bottom: 86px; right: 40px; }
.hero-float-3 { bottom: 18px; left: -6px; }

/* -------------------------
   Who we are
-------------------------- */
.who-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.bullets { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }

.video-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.video-thumb { height: 240px; background: var(--grad-soft); position: relative; }

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(215, 229, 221, 0.95);
  background: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.video-meta { padding: 14px; }
.video-kicker { color: var(--muted-2); font-size: 13px; font-weight: 700; }
.video-title { margin-top: 4px; font-weight: 850; }

/* -------------------------
   Logo strip
-------------------------- */
.logos {
  background: #f3fbf6;
  border-top: 1px solid rgba(215, 229, 221, 0.9);
  border-bottom: 1px solid rgba(215, 229, 221, 0.9);
}

.logo-row { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.logo-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 750;
  box-shadow: 0 6px 14px rgba(2, 18, 10, 0.05);
}

/* -------------------------
   Cards + Reviews
-------------------------- */
.cards { display: grid; gap: 16px; margin-top: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.five { grid-template-columns: repeat(5, 1fr); }

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 8px 18px rgba(2, 18, 10, 0.06);
  padding: 16px;
}

.review-head { display: flex; align-items: center; gap: 12px; }

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 850;
  color: #007a49;
  background: rgba(0, 179, 107, 0.12);
  border: 1px solid rgba(0, 179, 107, 0.22);
}

.review-name { font-weight: 850; }
.review-role { color: var(--muted-2); font-size: 13px; margin-top: 2px; }
.review-quote { margin-top: 12px; color: var(--muted); }

.stars { margin-top: 12px; color: #f59e0b; letter-spacing: 0.12em; font-size: 14px; }

/* -------------------------
   Steps
-------------------------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 18px auto 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step { display: flex; gap: 12px; align-items: flex-start; }

.step-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(0, 230, 118, 0.14);
  border: 1px solid rgba(0, 230, 118, 0.24);
  color: #04663a;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.step-title { font-size: 16px; font-weight: 850; }

.step-text { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* -------------------------
   Categories
-------------------------- */
.cat-title { font-weight: 900; font-size: 16px; }

.cat-text { margin-top: 8px; color: var(--muted); font-size: 14px; }

.cat-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  color: var(--primary);
}
.cat-link:hover { text-decoration: underline; }

.cat[aria-disabled="true"] { opacity: 0.7; }
.cat .cat-link.muted { color: var(--muted-2); }

/* -------------------------
   CTA
-------------------------- */
.cta {
  background: #061810; /* deep green-black */
  color: #fff;
  padding: 58px 0;
}

.cta-inner {
  border-radius: 26px;
  background:
    radial-gradient(900px 420px at 20% 30%, rgba(0, 179, 107, 0.46), transparent 60%),
    radial-gradient(820px 400px at 80% 70%, rgba(0, 230, 118, 0.35), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(215, 229, 221, 0.16);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.cta-title { font-size: 26px; line-height: 1.08; }

.cta-text { margin-top: 10px; color: rgba(255, 255, 255, 0.82); max-width: 60ch; }

.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.cta .btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(215, 229, 221, 0.22);
  color: #fff;
}
.cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

/* -------------------------
   Footer
-------------------------- */
.site-footer { border-top: 1px solid rgba(215, 229, 221, 0.95); background: #ffffff; }

.footer-grid {
  padding: 46px 0 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
}

.footer-note { margin-top: 10px; color: var(--muted-2); max-width: 42ch; font-size: 14px; }

.footer-title { font-size: 14px; font-weight: 900; color: var(--text); margin-bottom: 10px; }

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a { color: var(--muted); font-weight: 650; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

.footer-bottom {
  padding: 14px 0 22px;
  color: var(--muted-2);
  border-top: 1px solid rgba(215, 229, 221, 0.95);
}

/* -------------------------
   Responsive
-------------------------- */
@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .mobile-toggle { display: inline-flex; justify-self: end; }
  .header-cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; min-height: 260px; }
  .hero-image { height: 260px; }

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

  .cards.three { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cards.five { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .hero { padding: 52px 0 44px; }
  .section { padding: 58px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}