/* ==========================================================================
   IGNITE DIGITAL — Digital Marketing Agency Template
   Author: Premium Marketplace Template
   --------------------------------------------------------------------------
   REBRANDING IS EASY: edit the CSS variables in the :root block below to
   instantly recolor and re-font the entire site. Everything inherits from
   these tokens, so a few edits give you a completely new look.
   ========================================================================== */

:root {
  /* ---------- BRAND COLORS (edit these to rebrand) ---------- */
  --color-primary:        #ff5a3c;   /* coral-orange — buttons, accents      */
  --color-primary-dark:   #e6452a;   /* darker primary for hover states      */
  --color-navy:           #0e1230;   /* deep navy — dark sections, headings  */
  --color-navy-soft:      #1b2050;   /* lighter navy for cards on dark        */
  --color-pink:           #ff3c8e;   /* gradient partner for the accent       */

  /* ---------- NEUTRALS ---------- */
  --color-bg:             #ffffff;   /* page background                       */
  --color-bg-alt:         #fbf6f4;   /* soft alternating section background    */
  --color-text:           #14122b;   /* dark body / heading text              */
  --color-text-muted:     #5a5870;   /* muted paragraph text                  */
  --color-border:         #ece6e2;   /* subtle card / divider borders         */
  --color-white:          #ffffff;

  /* ---------- GRADIENT ACCENT (orange → pink) ---------- */
  --gradient-accent: linear-gradient(135deg, var(--color-primary) 0%, var(--color-pink) 100%);

  /* ---------- TYPOGRAPHY ---------- */
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* ---------- SPACING & SIZING ---------- */
  --container:    1180px;
  --radius-sm:    10px;
  --radius:       18px;
  --radius-lg:    26px;
  --section-pad:  104px;   /* vertical padding for sections                  */

  /* ---------- SHADOWS ---------- */
  --shadow-sm:  0 2px 8px rgba(20, 18, 43, 0.06);
  --shadow:     0 14px 40px rgba(20, 18, 43, 0.08);
  --shadow-lg:  0 30px 70px rgba(20, 18, 43, 0.14);
  --shadow-primary: 0 16px 34px rgba(255, 90, 60, 0.32);

  /* ---------- MOTION ---------- */
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.32s var(--ease);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* offset for sticky header when jumping to anchors */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.12;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

p { color: var(--color-text-muted); }

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

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

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Accessible skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--color-navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   LAYOUT HELPERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: var(--section-pad); }

.alt-bg { background: var(--color-bg-alt); }

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 16px;
}
.section-sub { font-size: 1.08rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 90, 60, 0.1);
}
.eyebrow--light { color: #ffb9ab; background: rgba(255, 255, 255, 0.1); }

.section-head--light h2 { color: #fff; }

.grad-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Generic grid */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Generic card */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(255, 90, 60, 0.42); }

.btn-ghost { background: transparent; color: var(--color-navy); border: 1.5px solid var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-3px); }

.btn-outline { background: transparent; color: var(--color-navy); border: 1.5px solid var(--color-navy); }
.btn-outline:hover { background: var(--color-navy); color: #fff; transform: translateY(-3px); }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}
/* .scrolled added by JS once the page scrolls */
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { display: inline-flex; }
.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-navy);
  letter-spacing: -0.03em;
}
.logo-text span { color: var(--color-primary); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; gap: 28px; }
.nav-list a {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--color-text);
  position: relative;
  transition: color var(--transition);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-list a:hover { color: var(--color-primary); }
.nav-list a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border-radius: 10px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
/* Animated open state */
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-block: 96px 110px;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(255, 60, 142, 0.10), transparent 60%),
    radial-gradient(900px 480px at 8% 4%, rgba(255, 90, 60, 0.12), transparent 60%);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.5;
  animation: float 9s ease-in-out infinite;
}
.orb-1 { width: 320px; height: 320px; background: var(--color-primary); top: -60px; right: 8%; }
.orb-2 { width: 260px; height: 260px; background: var(--color-pink); bottom: -40px; left: 12%; animation-delay: -3s; }
.orb-3 { width: 200px; height: 200px; background: #ffd27a; top: 40%; right: 40%; animation-delay: -6s; opacity: 0.3; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-26px) translateX(14px); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.1rem);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero-copy .lead {
  font-size: 1.18rem;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-points li {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
}

/* Hero visual / dashboard card */
.hero-visual { position: relative; }
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  animation: rise 0.9s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.hero-card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.hero-card-title { margin-left: 8px; font-size: 0.82rem; font-weight: 600; color: var(--color-text-muted); }

.hero-stat-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.hero-stat-label { display: block; font-size: 0.8rem; color: var(--color-text-muted); }
.hero-stat-value { font-family: var(--font-heading); font-weight: 800; font-size: 1.85rem; color: var(--color-navy); }
.badge-up {
  font-size: 0.82rem; font-weight: 700; color: #19a35a;
  background: rgba(25, 163, 90, 0.12);
  padding: 5px 10px; border-radius: 999px;
}

.chart { width: 100%; height: 130px; }
.chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 1.8s var(--ease) 0.4s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart-area { opacity: 0; animation: fadeIn 1s ease 1.4s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

.hero-mini-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-top: 16px;
}
.mini {
  text-align: center;
  background: rgba(255, 90, 60, 0.07);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
}
.mini-num { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--color-primary); }
.mini-lbl { font-size: 0.72rem; color: var(--color-text-muted); }

.float-pill {
  position: absolute;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  animation: float 6s ease-in-out infinite;
}
.pill-1 { top: -18px; left: -14px; }
.pill-2 { bottom: 30px; right: -18px; animation-delay: -3s; }

/* ==========================================================================
   TRUSTED BY
   ========================================================================== */
.trusted { padding-block: 46px; border-bottom: 1px solid var(--color-border); }
.trusted-label {
  text-align: center;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 26px;
}
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 48px;
}
.logo-strip li {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--color-navy);
  opacity: 0.42;
  transition: opacity var(--transition);
}
.logo-strip li:hover { opacity: 0.9; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.service-card { padding: 34px 30px; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 60px; height: 60px;
  font-size: 1.7rem;
  border-radius: 16px;
  background: rgba(255, 90, 60, 0.1);
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.service-card p { font-size: 0.98rem; }

/* ==========================================================================
   RESULTS BAND
   ========================================================================== */
.results-band {
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(255, 60, 142, 0.22), transparent 60%),
    var(--color-navy);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  padding: 28px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  background: linear-gradient(135deg, #ff8a6b, #ff3c8e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label { color: #c8c7dd; font-size: 0.96rem; margin-top: 10px; display: block; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding: 34px 28px; overflow: hidden; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.28rem; margin-bottom: 10px; }
.step p { font-size: 0.96rem; }

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */
.case-card { overflow: hidden; padding: 0; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-thumb {
  position: relative;
  height: 170px;
  display: flex;
  align-items: flex-start;
}
.grad-a { background: linear-gradient(135deg, #ff5a3c, #ff3c8e); }
.grad-b { background: linear-gradient(135deg, #6a5cff, #3cb6ff); }
.grad-c { background: linear-gradient(135deg, #14b88a, #9ad53c); }
.case-tag {
  margin: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-navy);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.case-body { padding: 26px 28px 30px; }
.case-body h3 { font-size: 1.28rem; margin-bottom: 8px; }
.case-body p { font-size: 0.96rem; margin-bottom: 18px; }
.case-metric { display: flex; align-items: baseline; gap: 10px; border-top: 1px solid var(--color-border); padding-top: 16px; }
.case-metric-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--color-primary);
}
.case-metric-lbl { font-size: 0.88rem; color: var(--color-text-muted); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quote-card { padding: 30px 28px; display: flex; flex-direction: column; }
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stars { color: #ffb400; letter-spacing: 2px; margin-bottom: 16px; }
.quote-card blockquote { font-size: 1.05rem; color: var(--color-text); margin-bottom: 22px; flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}
.quote-meta { display: flex; flex-direction: column; }
.quote-meta strong { color: var(--color-navy); font-size: 0.98rem; }
.quote-meta span { font-size: 0.84rem; color: var(--color-text-muted); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-grid { align-items: stretch; }
.price-card { padding: 36px 30px; display: flex; flex-direction: column; position: relative; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card--featured {
  background: var(--color-navy);
  border-color: var(--color-navy);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}
.price-card--featured:hover { transform: scale(1.04) translateY(-6px); }
.price-card--featured .price-name,
.price-card--featured .price { color: #fff; }
.price-card--featured .price-desc { color: #c8c7dd; }
.price-card--featured .price-feats li { color: #e6e6f0; }
.price-card--featured .price-feats li::before { color: #ff8a6b; }

.price-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-primary);
}
.price-name { font-size: 1.4rem; margin-bottom: 6px; }
.price-desc { font-size: 0.94rem; margin-bottom: 22px; min-height: 44px; }
.price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 24px;
}
.price-cur { font-size: 1.3rem; vertical-align: super; margin-right: 2px; }
.price-per { font-size: 1rem; font-weight: 500; color: var(--color-text-muted); }
.price-feats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.price-feats li { position: relative; padding-left: 28px; font-size: 0.96rem; color: var(--color-text); }
.price-feats li::before {
  content: "✓";
  position: absolute; left: 0;
  font-weight: 700;
  color: var(--color-primary);
}

/* ==========================================================================
   FINAL CTA BAND + FORM
   ========================================================================== */
.cta-band {
  background:
    radial-gradient(800px 420px at 100% 0%, rgba(255, 90, 60, 0.28), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(255, 60, 142, 0.22), transparent 60%),
    var(--color-navy);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-copy h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-copy p { color: #d2d1e4; font-size: 1.1rem; margin-bottom: 22px; }
.cta-list { display: flex; flex-direction: column; gap: 10px; }
.cta-list li { color: #fff; font-weight: 500; }

.cta-form { padding: 32px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255, 90, 60, 0.14);
  background: #fff;
}
.field textarea { resize: vertical; }
.field input.invalid,
.field textarea.invalid { border-color: #e23b3b; background: #fff5f5; }
.error { display: block; color: #e23b3b; font-size: 0.82rem; margin-top: 6px; min-height: 1em; }
.form-note { margin-top: 14px; font-weight: 600; text-align: center; min-height: 1.2em; }
.form-note.success { color: #19a35a; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--color-navy); color: #c8c7dd; padding-top: 70px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { color: #a9a8c4; margin: 16px 0 20px; max-width: 280px; }
.logo--footer .logo-text { color: #fff; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
}
.socials a:hover { background: var(--gradient-accent); transform: translateY(-3px); }

.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { color: #a9a8c4; font-size: 0.94rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p { color: #8a89a8; font-size: 0.88rem; }
.footer-legal a { color: #a9a8c4; }
.footer-legal a:hover { color: var(--color-primary); }

/* ==========================================================================
   SCROLL-REVEAL ANIMATION
   --------------------------------------------------------------------------
   Elements with .reveal start hidden and animate in when JS adds .is-visible.
   The <html class="no-js"> fallback (set in main.js if IO is unsupported)
   keeps everything visible.
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Fallback: if JS/IntersectionObserver unavailable, show everything */
.no-io .reveal { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* --- Tablet / small laptop --- */
@media (max-width: 980px) {
  :root { --section-pad: 80px; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { max-width: 460px; margin-inline: auto; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-6px); }

  .cta-inner { grid-template-columns: 1fr; gap: 36px; }

  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* --- Mobile: collapse nav into hamburger menu --- */
@media (max-width: 760px) {
  .hamburger { display: flex; }

  .nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    padding: 12px 24px 24px;
    /* hidden by default; slides/fades in via .open */
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-list { flex-direction: column; gap: 0; width: 100%; }
  .nav-list li { width: 100%; border-bottom: 1px solid var(--color-border); }
  .nav-list a { display: block; padding: 15px 0; }
  .nav-list a::after { display: none; }
  .nav-cta { width: 100%; margin-top: 16px; }
}

/* --- Small mobile --- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-pill { display: none; }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   ==========================================================================
   MULTI-PAGE ADDITIONS — appended below the original single-page styles.
   New components for About / Services / Case Studies / Pricing / Contact.
   Everything reuses the existing design tokens defined in :root above.
   ==========================================================================
   ========================================================================== */

/* Active nav link (current page) */
.nav-list a.active { color: var(--color-primary); }
.nav-list a.active::after { width: 100%; }

/* --------------------------------------------------------------------------
   PAGE BANNER + BREADCRUMB (inner-page hero)
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  overflow: hidden;
  padding-block: 84px 76px;
  text-align: center;
  background:
    radial-gradient(760px 420px at 88% -10%, rgba(255, 60, 142, 0.26), transparent 60%),
    radial-gradient(680px 380px at 6% 0%, rgba(255, 90, 60, 0.22), transparent 60%),
    var(--color-navy);
}
.page-banner .orb { z-index: 0; }
.page-banner-inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.page-banner h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.page-banner h1 .grad-text {
  background: linear-gradient(135deg, #ff8a6b, #ff3c8e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-banner .page-lead {
  color: #d2d1e4;
  font-size: 1.12rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.88rem;
  font-weight: 500;
}
.breadcrumb a { color: #ffb9ab; transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: #6f6e92; }
.breadcrumb .current { color: #fff; }

/* --------------------------------------------------------------------------
   SHARED INNER LAYOUT BITS
   -------------------------------------------------------------------------- */
.section-head--left { text-align: left; margin-inline: 0; }

/* Two-column "media + copy" rows used on About & Services */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.split--reverse .split-media { order: 2; }
.split-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 18px; }
.split-copy p { margin-bottom: 16px; }
.split-copy .btn { margin-top: 10px; }

/* Decorative gradient panel used in place of images */
.media-panel {
  border-radius: var(--radius-lg);
  min-height: 320px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 30px;
}
.media-panel.grad-a { background: linear-gradient(135deg, #ff5a3c, #ff3c8e); }
.media-panel.grad-b { background: linear-gradient(135deg, #6a5cff, #3cb6ff); }
.media-panel.grad-c { background: linear-gradient(135deg, #14b88a, #9ad53c); }
.media-panel.grad-navy { background: var(--color-navy); }
.media-panel-big {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1;
}
.media-panel-sub { font-size: 1rem; opacity: 0.92; margin-top: 10px; }
.media-panel .panel-glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,0.25); filter: blur(40px);
  top: -40px; right: -40px;
}

/* --------------------------------------------------------------------------
   VALUES / FEATURE LIST CARDS (About, Services)
   -------------------------------------------------------------------------- */
.feature-card { padding: 30px 28px; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; font-size: 1.5rem;
  border-radius: 14px; background: rgba(255, 90, 60, 0.1);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 9px; }
.feature-card p { font-size: 0.96rem; }

/* --------------------------------------------------------------------------
   TEAM GRID (About)
   -------------------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { padding: 0; overflow: hidden; text-align: center; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-photo {
  height: 160px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 2.4rem; color: #fff;
}
.team-body { padding: 20px 18px 26px; }
.team-body h3 { font-size: 1.12rem; margin-bottom: 4px; }
.team-role { color: var(--color-primary); font-weight: 600; font-size: 0.9rem; }
.team-bio { font-size: 0.9rem; margin-top: 10px; }

/* --------------------------------------------------------------------------
   DETAILED SERVICE BLOCKS (Services page)
   -------------------------------------------------------------------------- */
.service-detail {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding: 38px 36px;
  scroll-margin-top: 100px;
}
.service-detail:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-detail .service-icon { margin-bottom: 0; width: 72px; height: 72px; font-size: 2rem; }
.service-detail h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-detail > div > p { margin-bottom: 18px; }
.deliverables { display: flex; flex-wrap: wrap; gap: 10px; }
.deliverables li {
  font-size: 0.86rem; font-weight: 500; color: var(--color-navy);
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  padding: 7px 14px; border-radius: 999px;
}

/* --------------------------------------------------------------------------
   FAQ (accordion-style, pure CSS via <details>)
   -------------------------------------------------------------------------- */
.faq-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.08rem;
  color: var(--color-navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--color-primary);
  transition: transform var(--transition); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 26px 24px; }
.faq-item .faq-answer p { font-size: 0.98rem; margin: 0; }

/* --------------------------------------------------------------------------
   CASE STUDIES — featured + detailed cards
   -------------------------------------------------------------------------- */
.featured-case {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; padding: 0;
}
.featured-case .case-thumb { height: 100%; min-height: 360px; align-items: center; justify-content: center; flex-direction: column; }
.featured-case .featured-big {
  font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4rem); color: #fff; line-height: 1;
}
.featured-case .featured-big-lbl { color: rgba(255,255,255,0.9); font-weight: 500; margin-top: 8px; }
.featured-case .case-tag { position: absolute; top: 0; left: 0; }
.featured-body { padding: 44px 46px; }
.featured-body .eyebrow { margin-bottom: 14px; }
.featured-body h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 14px; }
.featured-body p { margin-bottom: 18px; }
.case-mini-stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 22px 0 26px; }
.case-mini-stats .csm-num { font-family: var(--font-heading); font-weight: 800; font-size: 1.9rem; color: var(--color-primary); display: block; line-height: 1; }
.case-mini-stats .csm-lbl { font-size: 0.84rem; color: var(--color-text-muted); }

/* full case card (with challenge / result blocks) */
.case-card-full { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.case-card-full:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-card-full .case-body { display: flex; flex-direction: column; flex: 1; }
.case-block { margin-bottom: 14px; }
.case-block h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 5px; }
.case-block p { font-size: 0.94rem; margin: 0; }
.case-card-full .case-metric { margin-top: auto; }

/* --------------------------------------------------------------------------
   PRICING — feature comparison table
   -------------------------------------------------------------------------- */
.compare-wrap { overflow-x: auto; margin-top: 14px; border-radius: var(--radius); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.compare-table th, .compare-table td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 0.96rem; }
.compare-table thead th {
  font-family: var(--font-heading); font-weight: 700; color: var(--color-navy);
  background: var(--color-bg-alt); font-size: 1rem;
}
.compare-table thead th:not(:first-child),
.compare-table td:not(:first-child) { text-align: center; }
.compare-table tbody th { font-weight: 600; color: var(--color-text); }
.compare-table .yes { color: #19a35a; font-weight: 700; }
.compare-table .no { color: #c2c0d4; }
.compare-table .col-pop { background: rgba(255, 90, 60, 0.05); }
.compare-table tr:last-child td, .compare-table tr:last-child th { border-bottom: none; }

/* --------------------------------------------------------------------------
   CONTACT page
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .ci-icon {
  flex: none; width: 50px; height: 50px; border-radius: 14px; font-size: 1.3rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 90, 60, 0.1);
}
.contact-info-item h4 { font-size: 1.05rem; margin-bottom: 3px; }
.contact-info-item p, .contact-info-item a { color: var(--color-text-muted); font-size: 0.96rem; }
.contact-info-item a:hover { color: var(--color-primary); }

.contact-form-card { padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* office cards */
.office-card { padding: 28px 26px; }
.office-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.office-city { font-size: 1.2rem; margin-bottom: 10px; }
.office-card p { font-size: 0.94rem; margin-bottom: 4px; }
.office-flag { font-size: 1.6rem; display: block; margin-bottom: 12px; }

/* reusable CTA band that works on inner pages (no form) */
.cta-band--simple .cta-inner { grid-template-columns: 1fr; text-align: center; max-width: 760px; margin-inline: auto; }
.cta-band--simple .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.cta-band--simple .cta-copy p { margin-bottom: 0; }

/* generic 2-col and 4-col helpers */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* light stats band variant (on white) */
.stats-grid--light .stat { background: var(--color-bg-alt); border-color: var(--color-border); }
.stats-grid--light .stat-label { color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   RESPONSIVE — multi-page components
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.split--reverse .split-media { order: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-case { grid-template-columns: 1fr; }
  .featured-case .case-thumb { min-height: 240px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .service-detail { grid-template-columns: 1fr; gap: 18px; padding: 30px 26px; }
}

@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .featured-body, .contact-form-card { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .case-mini-stats { gap: 20px; }
}

/* ==========================================================================
   PHOTO PLACEHOLDER UTILITY
   --------------------------------------------------------------------------
   Added so gradient placeholder blocks (hero visual, about media panels,
   case-study thumbnails) can carry real photography while keeping their
   existing radius, hover and overlay styling intact.
   ========================================================================== */
.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Keep tag/overlay text legible on photo case thumbs */
.case-thumb.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,18,48,0.18) 0%, rgba(14,18,48,0.42) 100%);
  z-index: 0;
}
.case-thumb.has-photo > * { position: relative; z-index: 1; }
/* About media panel keeps its text readable over the photo */
.media-panel.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,90,60,0.55), rgba(255,60,142,0.55));
  z-index: 0;
}
.media-panel.has-photo > * { position: relative; z-index: 1; }
.media-panel.has-photo .panel-glow { z-index: 1; }
/* Hero photo sits behind the glass dashboard card */
.hero-visual.has-photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 18px;
}
.hero-visual.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(14,18,48,0.32), rgba(255,60,142,0.30));
  z-index: 0;
  pointer-events: none;
}
.hero-visual.has-photo > * { position: relative; z-index: 1; }
