/* ============================================================
   Hasher Systems — Custom Theme Styles
   Paste into:  Appearance → Customize → Additional CSS
   ============================================================ */

:root {
  --hs-primary: #0066AB;
  --hs-primary-dark: #00497A;
  --hs-primary-light: #2E8FD3;
  --hs-accent: #FF8C00;
  --hs-text: #0F1B2D;
  --hs-text-muted: #5B6878;
  --hs-bg: #ffffff;
  --hs-bg-soft: #F4F7FB;
  --hs-bg-dark: #0B1A2B;
  --hs-border: #E6ECF3;
  --hs-radius: 14px;
  --hs-radius-lg: 20px;
  --hs-shadow-sm: 0 4px 16px rgba(13, 31, 55, .06);
  --hs-shadow: 0 14px 40px rgba(13, 31, 55, .10);
  --hs-shadow-lg: 0 24px 70px rgba(13, 31, 55, .14);
  --hs-font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --hs-trans: cubic-bezier(.22, .61, .36, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Base ---------- */
.entry-content, .hs-content, .hs-section, .hs-hero, .hs-cta-banner {
  font-family: var(--hs-font);
  color: var(--hs-text);
}
.hs-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hs-py-sm { padding: 2.5rem 0; }
.hs-py-md { padding: 4rem 0; }
.hs-py-lg { padding: 6rem 0; }
.hs-text-center { text-align: center; }
.hs-lead { font-size: 1.125rem; line-height: 1.7; color: var(--hs-text-muted); max-width: 780px; }
.hs-text-center.hs-lead { margin: 0 auto; }
.hs-section { background: var(--hs-bg); }
.hs-section--light { background: var(--hs-bg-soft); }
.hs-section--dark { background: var(--hs-bg-dark); color: #E6ECF3; }
.hs-section--dark h2, .hs-section--dark h3 { color: #ffffff; }
.hs-section--dark p { color: #B5C0CF; }

/* ---------- Kicker + Heading ---------- */
.hs-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hs-primary);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  background: rgba(0, 102, 171, 0.08);
  border-radius: 999px;
}
.hs-kicker--light { color: #ffffff; background: rgba(255, 255, 255, 0.16); }
.hs-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.hs-heading--center { text-align: center; margin: 0 auto 3rem; }
.hs-heading--left   { text-align: left;   margin: 0 0 2rem; }

/* ---------- Buttons ---------- */
.hs-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: transform .25s var(--hs-trans), box-shadow .25s var(--hs-trans), background .25s var(--hs-trans);
  border: 2px solid transparent;
}
.hs-btn-primary  { background: var(--hs-primary); color: #fff !important; box-shadow: 0 10px 24px rgba(0,102,171,.30); }
.hs-btn-primary:hover  { background: var(--hs-primary-dark); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,102,171,.36); }
.hs-btn-ghost    { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.hs-btn-ghost:hover    { background: rgba(255,255,255,.10); border-color: #fff; transform: translateY(-2px); }
.hs-btn-white    { background: #fff; color: var(--hs-primary) !important; }
.hs-btn-white:hover    { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.18); }

/* ---------- Hero ---------- */
.hs-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: var(--hs-hero-bg, linear-gradient(135deg, #0B1A2B, #0066AB)) center/cover no-repeat;
  overflow: hidden;
  margin-top: -1px;
}
.hs-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,26,43,.85) 0%, rgba(0,73,122,.78) 50%, rgba(0,102,171,.65) 100%);
  z-index: 1;
}
.hs-hero__content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 6rem 1.5rem 5rem;
}
.hs-hero__title {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1.25rem;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,.20);
}
.hs-hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  max-width: 700px;
  margin: 0 auto 2.25rem;
  color: rgba(255,255,255,.92);
}
.hs-hero__ctas { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.hs-hero .hs-kicker { background: rgba(255,255,255,.16); color: #fff; }
.hs-hero__scrollhint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 14px;
  z-index: 2;
}
.hs-hero__scrollhint span {
  display: block; width: 3px; height: 8px; background: #fff;
  border-radius: 2px;
  margin: 6px auto 0;
  animation: hs-scroll 1.6s infinite;
}
@keyframes hs-scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- Stats ---------- */
.hs-stats { background: var(--hs-bg); padding: 3rem 0; border-bottom: 1px solid var(--hs-border); }
.hs-stats__row {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(4, 1fr);
}
.hs-stat { text-align: center; }
.hs-stat__val {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--hs-primary);
  letter-spacing: -0.02em;
}
.hs-stat__val::after { content: "+"; color: var(--hs-accent); margin-left: 2px; }
.hs-stat__label { color: var(--hs-text-muted); font-size: 0.95rem; }
@media (max-width: 720px) {
  .hs-stats__row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Grid + Feature Cards ---------- */
.hs-grid { display: grid; gap: 1.5rem; }
.hs-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hs-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hs-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .hs-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hs-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .hs-grid--2, .hs-grid--3, .hs-grid--4 { grid-template-columns: 1fr; }
}

.hs-feat {
  display: block;
  background: var(--hs-bg);
  border: 1px solid var(--hs-border);
  border-radius: var(--hs-radius);
  padding: 1.75rem;
  text-decoration: none !important;
  color: var(--hs-text) !important;
  transition: transform .35s var(--hs-trans), box-shadow .35s var(--hs-trans), border-color .35s var(--hs-trans);
  position: relative;
  overflow: hidden;
}
.hs-feat::before {
  content: "";
  position: absolute; left: 0; top: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--hs-primary), var(--hs-accent));
  transition: width .4s var(--hs-trans);
}
.hs-feat:hover {
  transform: translateY(-6px);
  box-shadow: var(--hs-shadow);
  border-color: transparent;
}
.hs-feat:hover::before { width: 100%; }
.hs-feat__icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,102,171,.08);
  color: var(--hs-primary);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: transform .35s var(--hs-trans), background .35s var(--hs-trans);
}
.hs-feat__icon svg { width: 26px; height: 26px; }
.hs-feat:hover .hs-feat__icon {
  background: var(--hs-primary);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}
.hs-feat__title { font-size: 1.2rem; font-weight: 700; margin: 0 0 .5rem; }
.hs-feat__desc  { color: var(--hs-text-muted); font-size: .95rem; line-height: 1.6; margin: 0; }
.hs-feat__benefit {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px dashed var(--hs-border);
  font-size: .9rem;
  color: var(--hs-text);
}
.hs-feat__benefit span {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hs-accent);
  margin-right: .5rem;
}

/* ---------- Split block ---------- */
.hs-split {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center;
}
@media (max-width: 880px) { .hs-split { grid-template-columns: 1fr; gap: 2.5rem; } }
.hs-split__text h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; line-height: 1.2; margin: .5rem 0 1rem; }
.hs-split__text p  { color: var(--hs-text-muted); margin: 0 0 1rem; line-height: 1.7; }
.hs-split__visual img { width: 100%; height: auto; border-radius: var(--hs-radius-lg); display: block; }
.hs-glow { position: relative; }
.hs-glow::before {
  content: ""; position: absolute; inset: -20px;
  background: radial-gradient(closest-side, rgba(0,102,171,.35), transparent 70%);
  z-index: -1; filter: blur(20px);
}

/* ---------- Checklist ---------- */
.hs-checklist { list-style: none; margin: 1rem 0 1.5rem; padding: 0; }
.hs-checklist li {
  position: relative; padding: .35rem 0 .35rem 1.75rem;
  color: var(--hs-text); font-weight: 500;
}
.hs-checklist li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 18px; height: 18px;
  background: var(--hs-primary);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M5 12l5 5L20 7'/></svg>") center/contain no-repeat;
  transform: translateY(-50%);
}
.hs-checklist--grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1.5rem; }

/* ---------- Two-up card pair (Mission/Vision) ---------- */
.hs-twoup { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 880px) { .hs-twoup { grid-template-columns: 1fr; } }
.hs-twoup__card {
  background: var(--hs-bg);
  border: 1px solid var(--hs-border);
  padding: 2.5rem;
  border-radius: var(--hs-radius-lg);
  box-shadow: var(--hs-shadow-sm);
}
.hs-twoup__card--blue {
  background: linear-gradient(135deg, var(--hs-primary), var(--hs-primary-dark));
  color: #fff; border-color: transparent;
}
.hs-twoup__card--blue h2 { color: #fff; }
.hs-twoup__card--blue p { color: rgba(255,255,255,.85); }
.hs-twoup__card h2 { margin: .5rem 0 1rem; font-size: 1.5rem; line-height: 1.25; }

/* ---------- Industry mini-cards ---------- */
.hs-industry {
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--hs-radius);
  border: 1px solid var(--hs-border);
  transition: transform .3s var(--hs-trans), box-shadow .3s var(--hs-trans);
}
.hs-industry:hover { transform: translateY(-4px); box-shadow: var(--hs-shadow-sm); }
.hs-industry h3 { margin: 0 0 .5rem; font-size: 1.1rem; color: var(--hs-primary); }
.hs-industry p { margin: 0; color: var(--hs-text-muted); }

/* ---------- Pillars (dark section) ---------- */
.hs-pillar { text-align: center; padding: 1rem; }
.hs-pillar__icon {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  color: var(--hs-primary-light);
  border-radius: 14px;
  margin-bottom: 1rem;
}
.hs-pillar__icon svg { width: 28px; height: 28px; }
.hs-pillar h3 { color: #fff; margin: 0 0 .5rem; font-size: 1.1rem; }
.hs-pillar p  { color: #B5C0CF; font-size: .9rem; line-height: 1.6; margin: 0; }

/* ---------- Marquee (client logos) ---------- */
.hs-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.hs-marquee__track {
  display: inline-flex; align-items: center; gap: 4rem;
  animation: hs-scroll-left 38s linear infinite;
  padding: .75rem 0;
  white-space: nowrap;
}
.hs-marquee__track img { max-height: 50px; width: auto; filter: grayscale(100%); opacity: .65; transition: filter .3s, opacity .3s; }
.hs-marquee__track img:hover { filter: none; opacity: 1; }
@keyframes hs-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- CTA banner ---------- */
.hs-cta-banner {
  background: linear-gradient(135deg, var(--hs-primary) 0%, var(--hs-primary-dark) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hs-cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,140,0,.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.10), transparent 45%);
}
.hs-cta-banner > .hs-container { position: relative; }
.hs-cta-banner h2 {
  color: #fff; margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800;
}

/* ---------- Why section ---------- */
.hs-why { text-align: center; }
.hs-why__inner { max-width: 760px; margin: 0 auto; }
.hs-why h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin: .5rem 0 1rem; }
.hs-why p  { color: var(--hs-text-muted); line-height: 1.7; }

/* ---------- Contact page ---------- */
.hs-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .hs-contact { grid-template-columns: 1fr; gap: 2rem; } }
.hs-contact__info h2 { font-size: 2rem; margin: 0 0 1rem; }
.hs-contact__list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.hs-contact__list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0; border-top: 1px solid var(--hs-border);
}
.hs-contact__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,102,171,.08); color: var(--hs-primary); border-radius: 10px;
  flex: none;
}
.hs-contact__icon svg { width: 22px; height: 22px; }
.hs-contact__form-card {
  background: #fff;
  border-radius: var(--hs-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--hs-shadow);
}
.hs-contact__form-card h3 { margin: 0 0 1.5rem; }

/* Style WPForms when embedded inside the card */
.hs-contact__form-card .wpforms-field label,
.hs-contact__form-card .wpforms-field-label {
  font-weight: 600 !important; color: var(--hs-text) !important;
}
.hs-contact__form-card .wpforms-field input,
.hs-contact__form-card .wpforms-field textarea {
  border-radius: 10px !important;
  border-color: var(--hs-border) !important;
  padding: .85rem 1rem !important;
}
.hs-contact__form-card .wpforms-submit {
  background: var(--hs-primary) !important;
  border-color: var(--hs-primary) !important;
  border-radius: 999px !important;
  padding: .85rem 2rem !important;
  font-weight: 600 !important;
}

/* ---------- Reveal animations ---------- */
[data-hs-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--hs-trans), transform .8s var(--hs-trans);
}
[data-hs-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-hs-reveal] { opacity: 1; transform: none; transition: none; }
  .hs-marquee__track, .hs-hero__scrollhint span { animation: none !important; }
}

/* ---------- Sticky header polish (works with Astra default header) ---------- */
.ast-header-break-point .main-header-bar,
.main-header-bar {
  transition: background .3s var(--hs-trans), box-shadow .3s var(--hs-trans);
}
body.hs-scrolled .main-header-bar {
  background: rgba(255,255,255,.95) !important;
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 4px 20px rgba(13,31,55,.08);
}

