/* ==========================================================================
   HR Automate — brand stylesheet (layered over Bootstrap 5)
   Brand: navy #0f3350 | teal #0f7d92 | green #48a72c | light green #6cc23f
   ========================================================================== */

:root {
  --hra-navy: #0f3350;
  --hra-navy-deep: #0a2540;
  --hra-teal: #0f7d92;
  --hra-green: #48a72c;
  --hra-green-light: #6cc23f;
  --hra-tint: #f3f7f9;
  --hra-border: #d3dde3;
  --hra-grad: linear-gradient(120deg, #0f3350, #0f7d92 55%, #48a72c);
}

body {
  font-family: 'Segoe UI', Arial, 'Helvetica Neue', sans-serif;
  color: #24313c;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .navbar-brand {
  color: var(--hra-navy);
  font-weight: 700;
}

a { color: var(--hra-teal); }
a:hover { color: var(--hra-navy); }

/* ---------- Navbar ---------- */
.hra-navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--hra-border);
  padding-top: .6rem;
  padding-bottom: .6rem;
}
.hra-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.25rem;
}
.hra-navbar .navbar-brand img { height: 46px; width: 46px; }
.hra-navbar .navbar-brand .brand-hr { color: var(--hra-navy); }
.hra-navbar .navbar-brand .brand-auto { color: var(--hra-teal); font-weight: 600; }
.hra-navbar .nav-link {
  color: var(--hra-navy);
  font-weight: 500;
  margin: 0 .15rem;
  border-radius: .4rem;
  padding: .45rem .85rem;
}
.hra-navbar .nav-link:hover { background: var(--hra-tint); color: var(--hra-teal); }
.hra-navbar .nav-link.active {
  color: #fff;
  background: var(--hra-teal);
}
.hra-navbar .btn-cta { margin-left: .5rem; }

/* ---------- Buttons ---------- */
.btn-hra-green {
  background: var(--hra-green);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: .65rem 1.5rem;
  border-radius: .5rem;
}
.btn-hra-green:hover { background: #3c8f23; color: #fff; }
.btn-hra-green.active, .btn-hra-green:active {
  background: #3c8f23 !important;
  color: #fff !important;
  border-color: transparent !important;
}
.btn-hra-outline {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: .6rem 1.5rem;
  border-radius: .5rem;
  background: transparent;
}
.btn-hra-outline:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.btn-hra-navy {
  background: var(--hra-navy);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: .65rem 1.5rem;
  border-radius: .5rem;
}
.btn-hra-navy:hover { background: var(--hra-teal); color: #fff; }

/* ---------- Hero ---------- */
.hra-hero {
  background: var(--hra-grad);
  color: #fff;
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hra-hero::after {
  /* soft swoosh echoing the logo */
  content: "";
  position: absolute;
  right: -18%;
  bottom: -55%;
  width: 70%;
  height: 120%;
  border-radius: 50%;
  border: 90px solid rgba(255, 255, 255, .07);
  pointer-events: none;
}
.hra-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
}
.hra-hero .lead { color: rgba(255, 255, 255, .92); max-width: 620px; }
.hra-hero .hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  border-radius: 2rem;
  padding: .3rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 1.1rem;
}
.hra-hero img.hero-logo {
  max-width: 300px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .25));
}

/* Page header (inner pages) */
.hra-page-head {
  background: var(--hra-grad);
  color: #fff;
  padding: 3.5rem 0 3rem;
}
.hra-page-head h1 { color: #fff; font-weight: 800; }
.hra-page-head p { color: rgba(255, 255, 255, .9); max-width: 640px; margin-bottom: 0; }

/* ---------- Sections ---------- */
.hra-section { padding: 4.5rem 0; }
.hra-section-tint { background: var(--hra-tint); }
.hra-eyebrow {
  color: var(--hra-green);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .8rem;
}
.hra-section h2 { margin-bottom: .5rem; }
.hra-sub { color: #5a6b78; max-width: 640px; }

/* ---------- Cards ---------- */
.hra-card {
  border: 1px solid var(--hra-border);
  border-radius: .75rem;
  background: #fff;
  height: 100%;
  padding: 1.75rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.hra-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 51, 80, .12);
}
.hra-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: .75rem;
  background: var(--hra-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--hra-teal);
}
.hra-card h3, .hra-card h5 { font-size: 1.15rem; }
.hra-card p { color: #5a6b78; margin-bottom: 0; }
.hra-card .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--hra-green);
}
.hra-card .card-link:hover { color: var(--hra-navy); }

/* feature list ticks */
.hra-ticks { list-style: none; padding-left: 0; }
.hra-ticks li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: .8rem;
  color: #3c4b58;
}
.hra-ticks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--hra-green);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Pricing ---------- */
.hra-price-card {
  border: 2px solid var(--hra-green);
  border-radius: 1rem;
  background: #fff;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 18px 44px rgba(15, 51, 80, .10);
}
.hra-price-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--hra-navy);
  line-height: 1;
}
.hra-price-card .price small { font-size: 1rem; color: #5a6b78; font-weight: 500; }
.hra-price-card .plan-badge {
  display: inline-block;
  background: var(--hra-green);
  color: #fff;
  border-radius: 2rem;
  padding: .25rem 1rem;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ---------- Steps ---------- */
.hra-step {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}
.hra-step .step-no {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hra-grad);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.hra-step h5 { margin-bottom: .25rem; }
.hra-step p { color: #5a6b78; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.hra-cta-band {
  background: var(--hra-grad);
  color: #fff;
  border-radius: 1rem;
  padding: 3rem 2.5rem;
}
.hra-cta-band h2 { color: #fff; }
.hra-cta-band p { color: rgba(255, 255, 255, .9); margin-bottom: 0; }

/* ---------- Contact ---------- */
.hra-contact-panel {
  background: var(--hra-navy);
  color: #fff;
  border-radius: .75rem;
  padding: 2.25rem;
  height: 100%;
}
.hra-contact-panel h3 { color: #fff; }
.hra-contact-panel a { color: var(--hra-green-light); text-decoration: none; }
.hra-contact-panel a:hover { color: #fff; }
.hra-contact-panel .ci { color: var(--hra-green-light); margin-right: .6rem; }

.form-control:focus, .form-select:focus {
  border-color: var(--hra-teal);
  box-shadow: 0 0 0 .2rem rgba(15, 125, 146, .15);
}

/* ---------- Footer ---------- */
.hra-footer {
  background: var(--hra-navy-deep);
  color: rgba(255, 255, 255, .78);
  padding: 3.5rem 0 1.5rem;
  font-size: .95rem;
}
.hra-footer h6 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  margin-bottom: 1rem;
}
.hra-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.hra-footer a:hover { color: var(--hra-green-light); }
.hra-footer ul { list-style: none; padding-left: 0; }
.hra-footer li { margin-bottom: .5rem; }
.hra-footer .footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.hra-footer .footer-brand img { height: 44px; width: 44px; }
.hra-footer .footer-brand span { color: #fff; font-weight: 700; font-size: 1.1rem; }
.hra-footer hr { border-color: rgba(255, 255, 255, .15); margin: 2rem 0 1.25rem; }
.hra-footer .legal { font-size: .82rem; color: rgba(255, 255, 255, .55); }

/* ---------- Utility ---------- */
.text-teal { color: var(--hra-teal) !important; }
.text-navy { color: var(--hra-navy) !important; }
.text-green { color: var(--hra-green) !important; }

/* subtle reveal on scroll */
.hra-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.hra-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hra-reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 767.98px) {
  .hra-hero { padding: 3.5rem 0 3rem; text-align: center; }
  .hra-hero img.hero-logo { max-width: 190px; margin-top: 2rem; }
  .hra-cta-band { padding: 2.25rem 1.5rem; text-align: center; }
}

/* ---------- Portrait (About / Meet Emilie) ---------- */
.hra-portrait {
  border-radius: 1rem;
  max-width: 340px;
  width: 100%;
  box-shadow: 0 18px 44px rgba(15, 51, 80, .18);
  border: 6px solid #fff;
  outline: 2px solid var(--hra-border);
}
.hra-meet-emilie { border-top: 1px solid var(--hra-border); }

/* ---------- Invoice ---------- */
.hra-invoice {
  border: 1px solid var(--hra-border);
  border-radius: .75rem;
  background: #fff;
  padding: 2.5rem;
}
.hra-invoice h2 { color: var(--hra-navy); }
.hra-invoice-table th {
  background: var(--hra-tint);
  color: var(--hra-navy);
}
.hra-invoice-total td {
  border-top: 2px solid var(--hra-navy);
  font-size: 1.1rem;
}

@media print {
  .hra-navbar, .hra-footer, .hra-no-print, #wpadminbar { display: none !important; }
  .hra-invoice { border: none; padding: 0; }
  .hra-section { padding: 0; }
  body { background: #fff; }
}

/* ---------- Blog ---------- */
.hra-post-card { display: flex; flex-direction: column; }
.hra-post-thumb {
  border-radius: .5rem;
  overflow: hidden;
  background: var(--hra-tint);
  aspect-ratio: 16 / 10;
}
.hra-post-thumb img { width: 100%; height: 100%; object-fit: contain; background: var(--hra-tint); }
.hra-post-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.hra-post-thumb-fallback img { width: 80px; height: 80px; object-fit: contain; opacity: .5; }
.hra-post-title-link { color: var(--hra-navy); text-decoration: none; }
.hra-post-title-link:hover { color: var(--hra-teal); }
.hra-post-content { font-size: 1.06rem; line-height: 1.75; color: #2e3c47; }
.hra-post-content h2, .hra-post-content h3 { margin-top: 2rem; }
.hra-pagination .nav-links { display: flex; gap: .5rem; justify-content: center; }
.hra-pagination .page-numbers {
  display: inline-block;
  padding: .45rem .9rem;
  border: 1px solid var(--hra-border);
  border-radius: .4rem;
  color: var(--hra-navy);
  text-decoration: none;
}
.hra-pagination .page-numbers.current { background: var(--hra-teal); color: #fff; border-color: var(--hra-teal); }
.hra-pagination .page-numbers:hover { background: var(--hra-tint); }
.hra-signup-band .form-control { border: none; }

/* ---------- Legal pages ---------- */
.hra-legal { font-size: 1rem; line-height: 1.7; color: #2e3c47; }
.hra-legal h2 {
  font-size: 1.25rem;
  margin: 2.2rem 0 .6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hra-border);
  color: var(--hra-navy);
}
.hra-legal h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.hra-legal h3 { font-size: 1.05rem; color: var(--hra-teal); margin: 1.4rem 0 .4rem; }
.hra-legal p { margin-bottom: 1rem; }
.hra-legal ul { margin: 0 0 1rem 1.25rem; }
.hra-legal li { margin-bottom: .4rem; }
.hra-legal a { color: var(--hra-teal); }

/* Buy page fine print */
.hra-buy-fineprint {
  margin-top: 1.75rem;
  background: var(--hra-tint);
  border: 1px solid var(--hra-border);
  border-radius: .6rem;
  padding: 1rem 1.15rem;
  font-size: .85rem;
  color: #5a6b78;
}
.hra-buy-fineprint a { color: var(--hra-teal); font-weight: 600; }

/* Footer legal links */
.hra-footer .legal-link { color: rgba(255,255,255,.72); text-decoration: none; font-size: .85rem; }
.hra-footer .legal-link:hover { color: var(--hra-green-light); }
.hra-footer .legal-sep { color: rgba(255,255,255,.4); margin: 0 .5rem; }

/* === Software page: document library grid === */
.hra-lib-grid{ margin-top: 8px; }
.hra-lib-cat{ border:1px solid var(--hra-border,#d3dde3); border-radius:14px; overflow:hidden; background:#fff; height:100%; display:flex; flex-direction:column; }
.hra-lib-cat-head{ background:var(--hra-navy,#0f3350); color:#fff; padding:13px 18px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.hra-lib-cat-head h3{ margin:0; font-size:1.12rem; color:#fff; }
.hra-lib-count{ background:rgba(255,255,255,.16); color:#dff5d6; font-weight:700; font-size:.72rem; padding:4px 10px; border-radius:20px; white-space:nowrap; }
.hra-lib-list{ list-style:none; margin:0; padding:14px 18px 18px; }
.hra-lib-list li{ position:relative; padding:5px 0 5px 18px; font-size:.9rem; color:var(--hra-text,#243642); border-bottom:1px dashed #e7edf1; }
.hra-lib-list li:last-child{ border-bottom:none; }
.hra-lib-list li::before{ content:""; position:absolute; left:0; top:12px; width:7px; height:7px; border-radius:50%; background:var(--hra-green,#48a72c); }
.hra-lib-fineprint{ background:var(--hra-tint,#f3f7f9); border:1px solid var(--hra-border,#d3dde3); border-left:5px solid var(--hra-green,#48a72c); border-radius:12px; padding:20px 24px; }
.hra-lib-fineprint p{ margin:0; color:var(--hra-text,#243642); font-size:.98rem; }
