/* ════════════════════════════════════════
   Halify Marketing — Global Stylesheet
   ════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: 'Inter', sans-serif;
  background: #F3EFE9;
  color: #0f0f0f;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  line-height: 1.65;
}
@media (max-width: 767px) { body { padding-bottom: 74px; } }
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: #4338ff; border-radius: 2px; }

/* ── VARIABLES ── */
:root {
  --bg:       #F3EFE9;
  --bg-card:  #EAE6DF;
  --bg-dark:  #0d0d1a;
  --text:     #0f0f0f;
  --muted:    #6b6b6b;
  --blue:     #4338ff;
  --green:    #25D366;
  --border:   rgba(0, 0, 0, 0.1);
  --r:        16px;
  --r-lg:     24px;
  --ease:     cubic-bezier(.4, 0, .2, 1);
}

/* ── TYPE ── */
h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── NAV ── */
.main-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(243, 239, 233, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.nav-logo {
  font-family: 'DM Sans', sans-serif; font-weight: 800;
  font-size: 21px; letter-spacing: -0.03em; color: var(--text);
}
.nav-logo .dot { color: var(--blue); }
.nav-links {
  display: none; gap: 28px; list-style: none;
  font-size: 14px; font-weight: 500;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-links a { color: var(--muted); transition: color .2s; }
  .nav-links a:hover { color: var(--text); }
}
.nav-right { display: flex; gap: 10px; align-items: center; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 100px;
  font-size: 15px; font-weight: 600; line-height: 1;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark  { background: var(--text);  color: #fff; }
.btn-dark:hover  { box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { box-shadow: 0 8px 24px rgba(37,211,102,.38); }
.btn-blue  { background: var(--blue);  color: #fff; }
.btn-blue:hover  { box-shadow: 0 8px 24px rgba(67,56,255,.38); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid rgba(0,0,0,.18); }
.btn-outline:hover { border-color: var(--text); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-lg   { padding: 16px 30px; font-size: 16px; }
.btn-full { width: 100%; }

/* ── STICKY BOTTOM BAR ── */
.bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: rgba(243,239,233,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 16px; display: flex; gap: 10px;
}
.bottom-bar .btn { flex: 1; font-size: 14px; padding: 13px 10px; }
@media (min-width: 768px) { .bottom-bar { display: none; } }

/* ── MARQUEE ── */
.marquee-section {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.marquee-label {
  text-align: center; font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 24px;
}
.marquee-outer {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.marquee-outer::before, .marquee-outer::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.marquee-outer::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.marquee-outer::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }
.marquee-track {
  display: flex; align-items: center; gap: 56px;
  animation: marquee 28s linear infinite;
  width: max-content;
  will-change: transform;
}
.marquee-track img {
  height: 38px; width: auto;
  max-height: 38px;
  object-fit: contain; flex-shrink: 0;
  display: inline-block;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── STATS ── */
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--border); gap: 1px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-cell { background: var(--bg); padding: 32px 20px; min-width: 0; }
.stat-num {
  font-family: 'DM Sans', sans-serif; font-weight: 800;
  font-size: clamp(22px, 5vw, 46px); line-height: 1;
  color: var(--blue); margin-bottom: 8px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-lbl  { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.stat-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── SECTION HEADER ── */
.sec-over  { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.sec-title { font-size: clamp(26px, 5vw, 44px); margin-bottom: 12px; }
.sec-sub   { font-size: 16px; color: var(--muted); max-width: 440px; line-height: 1.75; }

/* ── PROCESS STEPS ── */
.process-step { padding: 40px 0; border-top: 1px solid var(--border); }
.step-num {
  font-family: 'DM Sans', sans-serif; font-weight: 800;
  font-size: clamp(44px, 10vw, 68px); color: var(--blue);
  line-height: 1; letter-spacing: -0.03em; margin-bottom: 14px;
}
.step-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step-desc  { font-size: 16px; color: var(--muted); max-width: 460px; line-height: 1.75; }
@media (min-width: 768px) {
  .process-step { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start; }
  .step-num { margin-bottom: 0; }
}

/* ── PACKAGES SWIPER ── */
.packages-track {
  display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 4px;
}
.packages-track::-webkit-scrollbar { display: none; }
.pkg {
  flex: 0 0 82vw; scroll-snap-align: start;
  background: var(--bg-card); border-radius: var(--r-lg);
  padding: 30px 26px; display: flex; flex-direction: column;
  min-width: 0; box-sizing: border-box;
}
@media (min-width: 900px) {
  .packages-track {
    display: grid; grid-template-columns: repeat(3, 1fr);
    overflow-x: visible; scroll-snap-type: none; gap: 20px;
  }
  .pkg { flex: none; width: 100%; min-width: 0; }
}
.pkg.featured { background: var(--bg-dark); color: #fff; }
.pkg-badge {
  display: inline-block; align-self: flex-start;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--blue); color: #fff;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 18px;
}
.pkg-name {
  font-family: 'DM Sans', sans-serif; font-weight: 800;
  font-size: 22px; line-height: 1.1; margin-bottom: 10px;
}
.pkg-tagline {
  font-size: 14px; color: var(--muted);
  margin-bottom: 22px; line-height: 1.65;
}
.pkg.featured .pkg-tagline { color: rgba(255,255,255,.55); }
.pkg-features {
  list-style: none; display: flex; flex-direction: column;
  gap: 9px; margin-bottom: 28px; flex-grow: 1;
}
.pkg-features li {
  font-size: 14px; color: var(--muted);
  display: flex; gap: 10px; align-items: flex-start; line-height: 1.5;
}
.pkg-features li::before { content: '—'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.pkg.featured .pkg-features li { color: rgba(255,255,255,.75); }
.swipe-hint {
  text-align: center; font-size: 12px; color: var(--muted);
  margin-top: 14px; letter-spacing: .05em;
}
@media (min-width: 900px) { .swipe-hint { display: none; } }
.pkg-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
@media (min-width: 900px) { .pkg-dots { display: none; } }
.pkg-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border); transition: background .2s;
}
.pkg-dot.active { background: var(--blue); }

/* ── HIGHLIGHT CARD (dark) ── */
.highlight-card {
  background: var(--bg-dark); color: #fff;
  border-radius: var(--r-lg); padding: 40px 32px;
}
.hl-icon   { color: var(--blue); margin-bottom: 20px; }
.hl-num    {
  font-family: 'DM Sans', sans-serif; font-weight: 800;
  font-size: clamp(40px, 10vw, 68px); line-height: 1;
  letter-spacing: -0.03em; margin-bottom: 10px;
}
.hl-label  { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.hl-desc   { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.75; }

/* ── FEATURE CARDS ── */
.feature-grid { display: grid; gap: 14px; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.fc {
  background: var(--bg-card); border-radius: var(--r-lg);
  padding: 28px 24px; min-width: 0;
}
.fc-icon  { color: var(--blue); margin-bottom: 14px; }
.fc-title { font-size: 17px; font-weight: 700; margin-bottom: 7px; }
.fc-desc  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── STATEMENT BLOCK ── */
.statement-text {
  font-family: 'DM Sans', sans-serif; font-weight: 800;
  font-size: clamp(22px, 5vw, 44px); line-height: 1.25;
  letter-spacing: -0.02em;
}
.statement-text .faded { color: rgba(15,15,15,.2); }

/* Word-by-word scroll reveal */
.scroll-reveal-text .sr-word {
  display: inline;
  color: rgba(15, 15, 15, 0.12);
  transition: color 0.5s ease;
}
.scroll-reveal-text .sr-word.lit {
  color: rgba(15, 15, 15, 0.95);
}

/* ── TEASER CARDS ── */
.teaser-grid { display: grid; gap: 14px; }
@media (min-width: 768px) { .teaser-grid { grid-template-columns: 1fr 1fr; } }
.tc {
  background: var(--bg-card); border-radius: var(--r-lg);
  padding: 36px 28px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s var(--ease);
}
.tc:hover { transform: translateY(-3px); }
.tc-over  { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tc-title { font-family:'DM Sans',sans-serif; font-weight:800; font-size:clamp(20px,4vw,26px); line-height:1.2; }
.tc-desc  { font-size: 15px; color: var(--muted); line-height: 1.65; flex-grow: 1; }
.tc-link  { font-size: 14px; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 6px; }

/* ── FAQ ── */
.faq-title { font-size: clamp(28px, 5vw, 44px); margin-bottom: 36px; }
.faq-item  { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-btn {
  width: 100%; text-align: left; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 600; color: var(--text); gap: 16px;
}
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px;
  border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 18px; transition: transform .3s;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding-bottom .3s; }
.faq-item.open .faq-body { max-height: 260px; padding-bottom: 22px; }
.faq-body p { font-size: 15px; color: var(--muted); line-height: 1.8; }

/* ── DARK CTA BLOCK ── */
.dark-cta {
  background: var(--bg-dark); border-radius: var(--r-lg);
  padding: 56px 28px; text-align: center;
}
.dark-cta h2 { font-size: clamp(28px,6vw,52px); color: #fff; margin-bottom: 14px; }
.dark-cta p  { font-size: 16px; color: rgba(255,255,255,.5); margin-bottom: 32px; }
.dark-cta-btns { display: flex; flex-direction: column; gap: 12px; align-items: center; }
@media (min-width: 480px) { .dark-cta-btns { flex-direction: row; justify-content: center; } }
.dark-phone { margin-top: 22px; font-size: 13px; color: rgba(255,255,255,.38); }
.dark-phone a { color: rgba(255,255,255,.7); font-weight: 600; }

/* ── FOOTER ── */
.main-footer { padding: 40px 0 24px; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; flex-direction: column; gap: 28px;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer-logo { font-family:'DM Sans',sans-serif; font-weight:800; font-size:20px; letter-spacing:-0.02em; margin-bottom:6px; }
.footer-logo .dot { color: var(--blue); }
.footer-tagline { font-size: 13px; color: var(--muted); max-width: 220px; line-height: 1.6; margin-top: 4px; }
.footer-cols { display: flex; gap: 36px; flex-wrap: wrap; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: var(--muted);
}
.footer-bottom a { color: var(--muted); transition: color .2s; }
.footer-bottom a:hover { color: var(--text); }

/* ── INDUSTRIES ROW ── */
.industry-row {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0;
}
.itag {
  padding: 7px 16px; border-radius: 100px;
  background: transparent; border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--muted);
}

/* ── REVEAL ── */
/* Start subtly visible so page is never blank on load */
.reveal { opacity: 0.08; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1{transition-delay:.08s;} .d2{transition-delay:.16s;} .d3{transition-delay:.24s;}

/* ── SHARED SCRIPT ── */
/* countup, faq, reveal handled in page <script> */
