/*
Theme Name: Hason Group
Theme URI: https://hasongroup.com
Author: Hason Group
Description: Sales operations landing page theme with Customizer fields for all sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hasongroup
Tags: one-column, custom-colors, custom-logo, full-width-template
*/

/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #FFFFFF;
  color: #16202A;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: #16202A; color: #FFFFFF; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
em { font-family: 'Newsreader', serif; font-style: italic; font-weight: 500; letter-spacing: -0.01em; color: var(--accent); }

@keyframes hsMeshFloat {
  0%   { transform: scale(1.12) translate(0, 0) rotate(0deg); }
  50%  { transform: scale(1.24) translate(-3%, 2%) rotate(3deg); }
  100% { transform: scale(1.12) translate(0, 0) rotate(0deg); }
}
@keyframes hsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes hsBounce { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(9px); opacity: 0.5; } }
@keyframes hsGrain {
  0% { transform: translate(0,0); }
  25% { transform: translate(-4%,3%); }
  50% { transform: translate(3%,-4%); }
  75% { transform: translate(-3%,-3%); }
  100% { transform: translate(0,0); }
}

.hs-wrap { --accent: #B5582F; background: #FFFFFF; color: #16202A; }

.hs-container { width: min(1240px, 90vw); margin: 0 auto; }

/* Progress */
#hsProgress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--accent); z-index: 200;
}

/* Nav */
#hsNav {
  --nav-fg: #FBF9F3;
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
  backdrop-filter: blur(10px);
}
#hsNav .hs-nav-inner {
  width: min(1240px, 90vw); margin: 0 auto; height: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
#hsNav .hs-nav-links {
  display: flex; align-items: center; gap: 36px;
  font-size: 15px; font-weight: 500; color: var(--nav-fg);
  letter-spacing: -0.01em; transition: color .4s ease;
}
#hsNav .hs-nav-links a { text-decoration: none; opacity: 0.92; transition: opacity .25s; }
#hsNav .hs-nav-links a:hover { opacity: 1; }
#hsLogo { height: 30px; width: auto; filter: brightness(0) invert(1); transition: filter .4s ease; }
.hs-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #FBF9F3;
  font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em;
  padding: 12px 20px; border-radius: 2px; text-decoration: none;
  transition: transform .25s ease, filter .25s ease;
}
.hs-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.hs-btn--lg { font-size: 16.5px; padding: 16px 30px; gap: 10px; }
.hs-btn--lg:hover { transform: translateY(-3px); }

/* Hero */
.hs-hero {
  position: relative; min-height: 100vh; overflow: hidden;
  background: #0E141B; display: flex; align-items: center;
}
#hsMesh { position: absolute; inset: 0; overflow: hidden; }
#hsMeshInner {
  position: absolute; inset: -25%;
  animation: hsMeshFloat 22s ease-in-out infinite;
  background:
    radial-gradient(38% 48% at 22% 30%, rgba(181,88,47,0.55), transparent 70%),
    radial-gradient(42% 52% at 80% 22%, rgba(38,86,130,0.55), transparent 72%),
    radial-gradient(48% 58% at 62% 82%, rgba(201,162,75,0.32), transparent 70%),
    radial-gradient(60% 70% at 28% 78%, rgba(14,30,46,0.7), transparent 72%),
    #0E141B;
}
#hsVideo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.2s ease;
}
.hs-hero-overlay-1 {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,16,22,0.66) 0%, rgba(11,16,22,0.40) 42%, rgba(11,16,22,0.86) 100%);
}
.hs-hero-overlay-2 {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,16,22,0.55) 0%, rgba(11,16,22,0.15) 55%, transparent 100%);
}
.hs-hero-grain {
  position: absolute; inset: -20%; opacity: 0.06; mix-blend-mode: overlay;
  animation: hsGrain 1.2s steps(3) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#hsHeroInner {
  position: relative; z-index: 3;
  width: min(1240px, 90vw); margin: 0 auto;
  padding: 120px 0 90px; color: #FBF9F3;
}
.hs-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; color: rgba(251,249,243,0.82); margin-bottom: 30px;
}
.hs-eyebrow-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.hs-hero h1 {
  font-size: clamp(46px, 7vw, 104px); line-height: 0.96;
  letter-spacing: -0.04em; font-weight: 800; max-width: 14ch;
}
.hs-hero-lead {
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55;
  color: rgba(251,249,243,0.82); max-width: 560px; margin-top: 34px;
}
.hs-hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 42px; flex-wrap: wrap; }
.hs-link-underline {
  display: inline-flex; align-items: center; gap: 9px; color: #FBF9F3;
  font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; border-bottom: 1.5px solid rgba(251,249,243,0.4);
  padding-bottom: 3px; transition: border-color .25s ease;
}
.hs-link-underline:hover { border-color: rgba(251,249,243,1); }
.hs-badges { display: flex; align-items: center; gap: 14px; margin-top: 56px; flex-wrap: wrap; }
.hs-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(251,249,243,0.08); border: 1px solid rgba(251,249,243,0.16);
  backdrop-filter: blur(6px); padding: 9px 15px; border-radius: 100px;
  font-size: 13.5px; font-weight: 500; color: rgba(251,249,243,0.9);
}
.hs-badge strong { color: var(--accent); font-weight: 700; }
.hs-scroll-hint {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 30px; z-index: 4; display: flex; flex-direction: column;
  align-items: center; gap: 10px; text-decoration: none; color: rgba(251,249,243,0.7);
}
.hs-scroll-hint span:first-child {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em;
}
.hs-scroll-line {
  width: 1px; height: 34px;
  background: linear-gradient(rgba(251,249,243,0.8), transparent);
  animation: hsBounce 1.8s ease-in-out infinite;
}

/* Marquee */
.hs-marquee {
  background: #F7F5F1; border-bottom: 1px solid #ECEAE4;
  overflow: hidden; padding: 22px 0;
}
.hs-marquee-track {
  display: flex; width: max-content;
  animation: hsMarquee 28s linear infinite;
  gap: 64px; align-items: center;
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #C4BCAE;
}

/* Sections */
.hs-section { padding: 120px 0 100px; }
.hs-section-label {
  font-size: 12.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--accent); margin-bottom: 30px;
}
.hs-section-label--sm { margin-bottom: 18px; }
.hs-h2 {
  font-size: clamp(30px, 4.2vw, 60px); line-height: 1.08;
  letter-spacing: -0.03em; font-weight: 700; max-width: 20ch; color: #16202A;
}
.hs-h2--lg {
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02;
  letter-spacing: -0.03em; font-weight: 800;
}
.hs-body { font-size: 19px; line-height: 1.6; color: #5A6570; max-width: 620px; margin-top: 34px; }
.hs-body--sm { font-size: 16px; line-height: 1.55; max-width: 300px; margin-top: 0; padding-bottom: 6px; }

/* Services */
.hs-services { background: #F7F5F1; border-top: 1px solid #ECEAE4; border-bottom: 1px solid #ECEAE4; }
.hs-services-inner { padding: 110px 0 100px; }
.hs-services-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 60px; flex-wrap: wrap;
}
.hs-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hs-service-card {
  background: #FFFFFF; border: 1px solid #ECEAE4; border-radius: 5px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.hs-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 50px -28px rgba(22,32,42,0.32);
  border-color: #DAD4C8;
}
.hs-service-img-wrap {
  position: relative; height: 196px; overflow: hidden; background: #EFEBE3;
}
.hs-service-img-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.hs-service-card:hover .hs-service-img-wrap img { transform: scale(1.06); }
.hs-service-num {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: #FBF9F3;
  background: rgba(14,20,27,0.62); backdrop-filter: blur(4px);
  padding: 5px 11px; border-radius: 100px;
}
.hs-service-body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.hs-service-kicker {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent); margin-bottom: 14px;
}
.hs-service-body h3 {
  font-size: 24px; line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 700; color: #16202A; margin-bottom: 13px;
}
.hs-service-body p {
  font-size: 15.5px; line-height: 1.58; color: #5A6570; margin-bottom: 22px;
}
.hs-service-tags {
  display: flex; flex-direction: column; gap: 11px; margin-top: auto;
  border-top: 1px solid #EFEBE3; padding-top: 20px;
}
.hs-service-tags li {
  display: flex; align-items: center; gap: 11px;
  font-size: 14.5px; font-weight: 500; color: #2A3742; list-style: none;
}
.hs-service-tags li::before {
  content: ''; width: 5px; height: 5px; background: var(--accent);
  border-radius: 50%; flex-shrink: 0;
}

/* Stats */
.hs-stats { padding: 116px 0 104px; }
.hs-stats-header { margin-bottom: 64px; max-width: 620px; }
.hs-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.hs-stat { border-top: 2px solid #16202A; padding-top: 26px; }
.hs-stat-value {
  font-size: clamp(46px, 5vw, 70px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 0.9; color: #16202A;
}
.hs-stat-label {
  font-size: 14.5px; line-height: 1.5; color: #5A6570;
  margin-top: 16px; max-width: 200px;
}

/* Process */
.hs-process { background: #0E141B; color: #EDEAE2; overflow: hidden; }
.hs-process-inner { padding: 116px 0 110px; }
.hs-process h2 { color: #FBF9F3; }
.hs-process-header { margin-bottom: 70px; max-width: 660px; }
.hs-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.hs-step {
  padding: 28px 22px 30px; border: 1px solid #25303A; border-radius: 5px;
  background: #131C25;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .4s ease, background .4s ease;
}
.hs-step:hover { transform: translateY(-8px); border-color: var(--accent); background: #16212C; }
.hs-step-num {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--accent); margin-bottom: 24px;
}
.hs-step h3 {
  font-size: 22px; letter-spacing: -0.02em; font-weight: 700;
  margin-bottom: 12px; color: #FBF9F3;
}
.hs-step p { font-size: 14.5px; line-height: 1.56; color: #9AA6B0; }

/* Why */
.hs-why { padding: 120px 0 110px; }
.hs-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.hs-why-visual { position: relative; }
.hs-why-main {
  position: relative; aspect-ratio: 4/5; border-radius: 6px;
  overflow: hidden; background: #EFEBE3;
}
.hs-why-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-why-inset {
  position: absolute; right: -28px; bottom: 40px; width: 168px; aspect-ratio: 1;
  border-radius: 6px; overflow: hidden; border: 6px solid #FFFFFF;
  box-shadow: 0 24px 44px -24px rgba(22,32,42,0.4);
}
.hs-why-inset img { width: 100%; height: 100%; object-fit: cover; }
.hs-why h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.03; margin-bottom: 38px; }
.hs-reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.hs-reason { border-top: 1px solid #E7E4DC; padding-top: 20px; }
.hs-reason h3 { font-size: 18.5px; letter-spacing: -0.015em; font-weight: 700; margin-bottom: 10px; }
.hs-reason p { font-size: 14.5px; line-height: 1.56; color: #5A6570; }

/* Testimonial */
.hs-testimonial { background: #16202A; }
.hs-testimonial-inner { padding: 120px 0; max-width: 960px; }
.hs-quote-mark {
  font-family: 'Newsreader', serif; font-style: italic;
  font-size: 72px; line-height: 0.6; color: var(--accent); margin-bottom: 20px;
}
.hs-testimonial blockquote {
  font-size: clamp(26px, 3.4vw, 46px); line-height: 1.22;
  letter-spacing: -0.02em; font-weight: 600; color: #FBF9F3;
}
.hs-testimonial-author {
  display: flex; align-items: center; gap: 16px; margin-top: 44px;
}
.hs-testimonial-avatar {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  flex-shrink: 0; border: 1px solid #2A3742;
}
.hs-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hs-testimonial-name { font-size: 15.5px; font-weight: 700; color: #FBF9F3; letter-spacing: -0.01em; }
.hs-testimonial-role { font-size: 14px; color: #9AA6B0; margin-top: 2px; }

/* CTA */
.hs-cta-wrap { margin: 110px auto; }
.hs-cta {
  position: relative; overflow: hidden; background: #0E141B; border-radius: 8px;
  padding: clamp(48px, 6vw, 90px);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center;
}
.hs-cta-bg {
  position: absolute; inset: -30%; opacity: 0.5;
  animation: hsMeshFloat 26s ease-in-out infinite;
  background:
    radial-gradient(40% 50% at 80% 30%, rgba(181,88,47,0.45), transparent 70%),
    radial-gradient(45% 55% at 15% 80%, rgba(38,86,130,0.4), transparent 72%);
}
.hs-cta h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; color: #FBF9F3; }
.hs-cta p { font-size: 17px; line-height: 1.55; color: #9AA6B0; margin-top: 22px; max-width: 460px; }
.hs-cta-actions { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hs-cta-email {
  display: inline-flex; align-items: center; gap: 8px; color: #C7CFD6;
  font-size: 15.5px; font-weight: 500; text-decoration: none; padding: 4px 0;
}
.hs-cta-email:hover { color: #FBF9F3; }
.hs-cta > div { position: relative; z-index: 2; }

/* Footer */
.hs-footer { border-top: 1px solid #ECEAE4; background: #F7F5F1; }
.hs-footer-inner { padding: 84px 0 0; }
.hs-footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 64px;
}
.hs-footer-logo { height: 28px; width: auto; margin-bottom: 22px; }
.hs-footer-tagline { font-size: 15px; line-height: 1.6; color: #5A6570; max-width: 290px; }
.hs-footer-col-title {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: #8A8475; margin-bottom: 18px;
}
.hs-footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: #3A4651; }
.hs-footer-links a { text-decoration: none; transition: color .25s; }
.hs-footer-links a:hover { color: #16202A; }
.hs-footer-bar {
  border-top: 1px solid #E0DBD0; padding: 26px 0 30px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: #8A8475;
}
.hs-footer-bar a { color: inherit; text-decoration: none; }
.hs-footer-bar a:hover { color: #16202A; }
.hs-footer-legal { display: flex; gap: 26px; }

/* Reveal */
[data-reveal] { will-change: transform; }

/* Responsive */
@media (max-width: 1024px) {
  #hsNav .hs-nav-links { display: none; }
  .hs-services-grid, .hs-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-why-grid { grid-template-columns: 1fr; gap: 48px; }
  .hs-why-inset { right: 0; }
  .hs-cta { grid-template-columns: 1fr; }
  .hs-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hs-services-grid, .hs-steps-grid, .hs-stats-grid, .hs-reasons, .hs-footer-grid {
    grid-template-columns: 1fr;
  }
  #hsHeroInner { padding-top: 100px; }
}
