:root {
  --navy: #0B1F3B;
  --blue: #1B5FD9;
  --teal: #14938C;
  --coral: #F26451;
  --gray: #D1D5DB;
  --border: #E8E4D8;
  --cream: #FAF8F3;
  --white: #FFFFFF;
  --text-soft: #5F6677;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.page {
  min-height: 100vh;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(250, 248, 243, 0.94);
  transition: padding 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-nav.scrolled {
  padding: 12px 0;
  border-color: var(--border);
  background: rgba(250, 248, 243, 0.98);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.brand-markup svg {
  width: 242px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links > li > a,
.nav-dropdown-trigger {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-links a.active,
.nav-dropdown-trigger.active,
.nav-links a:hover,
.nav-dropdown-trigger:hover {
  color: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.caret {
  font-size: 14px;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(11, 31, 59, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 16px;
}

.nav-dropdown-menu a:hover {
  background: var(--cream);
}

.dropdown-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(27, 95, 217, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-dropdown-menu strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.nav-dropdown-menu small {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 100px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.primary:hover {
  background: #1750BF;
}

.button.secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}

.button.light {
  background: var(--white);
  color: var(--navy);
}

.nav-button {
  white-space: nowrap;
}

.mobile-toggle,
.mobile-panel {
  display: none;
}

.hero,
.page-hero,
.article-hero {
  padding-top: 142px;
}

.home-hero {
  padding-bottom: 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: center;
}

.hero-badge,
.section-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(27, 95, 217, 0.1);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

/* Hierarchy: eyebrow pills read in the lead blue site-wide.
   Teal/coral remain reserved for data bars, ratings, status dots. */
.section-pill.teal,
.section-pill.coral {
  background: rgba(27, 95, 217, 0.1);
  color: var(--blue);
}

.hero-copy h1,
.page-hero h1,
.article-hero h1,
.section-header h2 {
  margin: 24px 0 18px;
  font-size: clamp(42px, 6.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.section-header h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.hero-copy h1 span {
  color: var(--blue);
}

.hero-copy p,
.page-hero p,
.section-header p,
.article-summary {
  margin: 0;
  font-size: 19px;
  color: var(--text-soft);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-panel-card,
.stats-card,
.info-card,
.result-card,
.impact-card,
.testimonial-card,
.faq-item,
.contact-card,
.form-card,
.story-card,
.blog-card,
.case-card,
.article-body,
.article-cta,
.key-takeaway,
.cta-card,
.timeline-item {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
}

.hero-panel-card {
  padding: 34px;
}

.mini-pill,
.mini-date {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(27, 95, 217, 0.1);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-panel-card h3,
.info-card h3,
.result-card h3,
.impact-card h3,
.testimonial-card strong,
.form-card h3,
.story-card h2,
.blog-card h3,
.case-card h3,
.article-cta h3,
.key-takeaway h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-panel-card p,
.info-card p,
.result-card p,
.testimonial-card p,
.form-card p,
.story-card p,
.blog-card p,
.case-card p,
.article-cta p,
.contact-card p,
.impact-card p,
.timeline-copy {
  margin: 0;
  color: var(--text-soft);
}

.hero-panel-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.hero-panel-list div {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--cream);
}

.hero-panel-list strong,
.mini-stats strong,
.case-stat-strip strong,
.timeline-year {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 3px;
}

.hero-panel-list span,
.mini-stats span,
.case-stat-strip span,
.testimonial-meta span,
.timeline-copy {
  font-size: 14px;
  color: var(--text-soft);
}

.stats-section {
  padding-bottom: 110px;
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--cream);
}

.stat-item {
  padding: 38px 28px;
  text-align: center;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--border);
}

.stat-value {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.stat-label {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-soft);
  font-weight: 600;
}

.section {
  padding: 110px 0;
}

.section.compact-top {
  padding-top: 28px;
}

.warm {
  background: rgba(255, 255, 255, 0.45);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-pill {
  margin-bottom: 18px;
}

.section-header p {
  margin: 0 auto;
}

.card-grid,
.blog-grid,
.case-grid,
.footer-grid,
.contact-grid,
.split-grid,
.story-grid {
  display: grid;
  gap: 22px;
}

.card-grid.three,
.blog-grid,
.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split-grid,
.story-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.case-card,
.testimonial-card,
.story-card,
.blog-card,
.result-card,
.contact-card,
.form-card {
  padding: 32px;
}

.info-card,
.blog-card,
.case-card,
.result-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover,
.blog-card:hover,
.case-card:hover,
.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 31, 59, 0.06);
}

.icon-chip,
.step-chip {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(27, 95, 217, 0.1);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.step-chip {
  font-size: 18px;
  font-weight: 800;
}

.result-card,
.blog-card {
  color: inherit;
}

.mini-stats,
.case-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.impact-stack {
  display: grid;
  gap: 22px;
}

.impact-card {
  padding: 30px;
}

.bar-group + .bar-group {
  margin-top: 18px;
}

.bar-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
}

.bar-row strong {
  color: var(--navy);
}

.bar-track {
  height: 14px;
  border-radius: 999px;
  background: #F1EEE6;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
}

.bar-fill.coral { background: var(--coral); }
.bar-fill.blue { background: var(--blue); }
.bar-fill.teal { background: var(--teal); }
.bar-fill.gray { background: var(--gray); }

.check-points,
.checklist,
.contact-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.check-points li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.check-points li:last-child {
  border-bottom: 0;
}

.check-points span,
.tick {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(27, 95, 217, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.check-points strong {
  display: block;
  margin-bottom: 4px;
}

.check-points p {
  margin: 0;
  color: var(--text-soft);
}

.testimonial-card .stars {
  color: var(--coral);
  margin-bottom: 18px;
  letter-spacing: 0.18em;
  font-size: 16px;
}

.testimonial-card p {
  font-size: 17px;
  color: var(--navy);
}

.testimonial-meta {
  margin-top: 22px;
}

.testimonial-meta strong {
  font-size: 17px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.faq-question span {
  font-size: 22px;
  color: var(--blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 220px;
}

.faq-answer p {
  padding: 0 28px 24px;
  margin: 0;
  color: var(--text-soft);
}

.cta-band {
  padding-bottom: 110px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 70px 40px;
  text-align: center;
  background: linear-gradient(125deg, var(--navy) 0%, #16357E 55%, var(--blue) 125%);
  color: var(--white);
}

.cta-card h2 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.cta-card p {
  margin: 0 auto 28px;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(27, 95, 217, 0.28), transparent 70%);
  pointer-events: none;
}

.contact-grid {
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 18px;
}

.contact-label {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-value {
  display: inline-block;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}

.contact-whatsapp {
  margin-top: 16px;
}

.form-card h3 {
  margin-bottom: 8px;
}

.form-card p {
  margin-bottom: 24px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--cream);
  color: var(--navy);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.page-hero {
  padding-bottom: 70px;
}

.article-hero {
  padding-bottom: 28px;
}

.narrow {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.article-body-section {
  padding-bottom: 110px;
}

.article-body {
  padding: 36px;
}

.article-body h2 {
  margin: 0 0 14px;
  padding-top: 18px;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.article-body p,
.article-body li {
  font-size: 18px;
  color: #314158;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul {
  margin: 0 0 18px 0;
  padding: 0;
}

.checklist li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.key-takeaway {
  margin-top: 28px;
  padding: 28px;
  background: var(--cream);
}

.article-cta {
  margin-top: 24px;
  padding: 32px;
}

.blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.blog-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.blog-icon.blue {
  background: rgba(27, 95, 217, 0.1);
}

.blog-icon.teal {
  background: rgba(20, 147, 140, 0.12);
}

.blog-icon.coral {
  background: rgba(242, 100, 81, 0.12);
}

.blog-meta,
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-stat-strip {
  background: var(--cream);
  border-radius: 20px;
  padding: 16px;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 24px 28px;
}

.timeline-year {
  font-size: 26px;
  color: var(--blue);
}

.site-footer {
  padding: 40px 0 24px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-grid {
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  align-items: start;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 340px;
  margin: 0 0 14px;
  color: var(--text-soft);
}

.footer-note {
  color: var(--blue);
  font-weight: 700;
}

.site-footer h4 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer li,
.site-footer a,
.footer-bottom p {
  color: var(--text-soft);
}

.footer-whatsapp {
  margin-top: 18px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .shell {
    width: min(1200px, calc(100% - 32px));
  }

  .nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links,
  .nav-button {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
    font-size: 20px;
  }

  .mobile-panel {
    display: none;
    border-top: 1px solid var(--border);
    background: rgba(250, 248, 243, 0.98);
  }

  .mobile-panel.open {
    display: block;
  }

  .mobile-panel-inner {
    display: grid;
    gap: 12px;
    padding: 18px 0 24px;
  }

  .mobile-panel-inner a {
    font-weight: 700;
  }

  .hero-grid,
  .split-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .card-grid.four,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .stat-item:nth-child(3) {
    border-left: 0;
  }

  .blog-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero,
  .page-hero,
  .article-hero {
    padding-top: 118px;
  }

  .home-hero {
    padding-bottom: 88px;
  }

  .section,
  .stats-section,
  .cta-band,
  .article-body-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .stats-card,
  .card-grid.three,
  .card-grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-item + .stat-item {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .form-row,
  .mini-stats,
  .case-stat-strip {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-hero h1,
  .article-hero h1,
  .section-header h2 {
    font-size: 38px;
  }

  .hero-copy p,
  .page-hero p,
  .section-header p,
  .article-summary {
    font-size: 17px;
  }

  .hero-panel-card,
  .stats-card,
  .info-card,
  .result-card,
  .impact-card,
  .testimonial-card,
  .faq-item,
  .contact-card,
  .form-card,
  .story-card,
  .blog-card,
  .case-card,
  .article-body,
  .article-cta,
  .key-takeaway,
  .cta-card,
  .timeline-item {
    padding: 24px;
  }

  .brand-markup svg {
    width: 190px;
  }
}

/* ============================================================
   Interactive UI layer
   Additive enhancements on top of the existing design system.
   ============================================================ */

/* --- Scroll progress indicator --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--coral), var(--blue) 55%, var(--teal));
  box-shadow: 0 0 12px rgba(27, 95, 217, 0.45);
  border-radius: 0 3px 3px 0;
  z-index: 1100;
  transition: width 0.12s ease-out;
}

/* --- Animated aurora behind the hero --- */
.home-hero {
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  width: 1180px;
  max-width: 150%;
  height: 780px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(27, 95, 217, 0.20), transparent 70%) -160px 60px / 600px 600px no-repeat,
    radial-gradient(closest-side, rgba(20, 147, 140, 0.18), transparent 70%) 280px -10px / 560px 560px no-repeat,
    radial-gradient(closest-side, rgba(242, 100, 81, 0.13), transparent 70%) 80px 200px / 520px 520px no-repeat;
  filter: blur(4px);
  animation: auroraDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.home-hero > .shell {
  position: relative;
  z-index: 1;
}

@keyframes auroraDrift {
  0%   { transform: translateX(-50%) translateY(0) rotate(0deg); }
  50%  { transform: translateX(-47%) translateY(26px) rotate(4deg); }
  100% { transform: translateX(-53%) translateY(-18px) rotate(-4deg); }
}

/* --- Gradient + shimmer on the hero headline accent --- */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-copy h1 span {
    background: linear-gradient(100deg, var(--blue), var(--teal) 55%, var(--blue));
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: hueShift 7s ease-in-out infinite;
  }

  .stat-value {
    background: linear-gradient(120deg, var(--navy), var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

@keyframes hueShift {
  0%, 100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}

/* --- Animated nav underline --- */
.nav-links > li > a {
  position: relative;
}

.nav-links > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--blue);
  transition: width 0.28s ease;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  width: 100%;
}

/* --- Dropdown menu lift-in --- */
.nav-dropdown-menu {
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  transform: translateX(-50%) translateY(0);
}

/* --- Button sheen sweep --- */
.button {
  position: relative;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.button:hover::after {
  left: 150%;
}

.button.primary:hover {
  box-shadow: 0 14px 30px rgba(11, 31, 59, 0.22);
}

/* --- Card top-accent reveal + lift --- */
.info-card,
.result-card,
.blog-card,
.case-card {
  position: relative;
  overflow: hidden;
}

.info-card::before,
.result-card::before,
.blog-card::before,
.case-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.info-card:hover::before,
.result-card:hover::before,
.blog-card:hover::before,
.case-card:hover::before {
  transform: scaleX(1);
}

.info-card .icon-chip,
.info-card .step-chip {
  transition: transform 0.35s ease, background 0.35s ease;
}

.info-card:hover .icon-chip,
.info-card:hover .step-chip {
  transform: translateY(-2px) scale(1.06) rotate(-3deg);
  background: rgba(27, 95, 217, 0.18);
}

/* --- Testimonial + timeline hover --- */
.testimonial-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 31, 59, 0.06);
}

.timeline-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-item:hover {
  transform: translateX(4px);
  box-shadow: 0 14px 30px rgba(11, 31, 59, 0.05);
}

/* --- Stat tiles + hero panel rows --- */
.stat-item {
  transition: background 0.3s ease;
}

.stat-item:hover {
  background: rgba(27, 95, 217, 0.05);
}

.hero-panel-card {
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-panel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(11, 31, 59, 0.12);
}

.hero-panel-list div {
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero-panel-list div:hover {
  transform: translateX(4px);
  background: rgba(27, 95, 217, 0.08);
}

/* --- Animated impact bars --- */
.bar-fill {
  width: 0;
  transition: width 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- FAQ interactions --- */
.faq-item {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(27, 95, 217, 0.4);
}

.faq-item.open {
  border-color: rgba(27, 95, 217, 0.5);
  box-shadow: 0 14px 36px rgba(11, 31, 59, 0.06);
}

.faq-question span {
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question span {
  transform: rotate(45deg);
}

/* --- Pulsing CTA glow --- */
.cta-glow {
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1; transform: translateX(-50%) scale(1.12); }
}

/* --- Form field focus ring --- */
.field input,
.field select,
.field textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(27, 95, 217, 0.12);
}

/* --- Respect reduced-motion preferences --- */
@media (prefers-reduced-motion: reduce) {
  .home-hero::before,
  .hero-copy h1 span,
  .cta-glow {
    animation: none !important;
  }

  .reveal {
    transition-duration: 0.001s;
  }

  .bar-fill {
    transition: none;
  }
}

/* ============================================================
   Design refresh: editorial, art directed agency look
   ============================================================ */

:root {
  --serif: "Fraunces", "Plus Jakarta Sans", Georgia, "Times New Roman", serif;
}

/* Subtle paper grain for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: multiply;
}

/* --- Display typography (serif headlines) --- */
.hero-copy h1,
.page-hero h1,
.article-hero h1,
.section-header h2,
.cta-card h2,
.story-card h2,
.article-body h2 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero-copy h1,
.page-hero h1,
.article-hero h1 {
  font-size: clamp(46px, 6.5vw, 84px);
  line-height: 1.04;
}

.section-header h2 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.06;
}

.cta-card h2 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.06;
}

.hero-copy p,
.page-hero p,
.section-header p,
.article-summary {
  text-wrap: pretty;
}

/* Italic-serif accent word instead of gradient shimmer */
.hero-copy h1 span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
  background: none;
  -webkit-text-fill-color: currentColor;
  animation: none;
}

/* --- Editorial eyebrow labels --- */
.section-header .section-pill,
.page-hero .section-pill,
.why-copy .section-pill {
  background: transparent;
  padding: 0;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 800;
}

.section-header .section-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-header .section-pill::before,
.section-header .section-pill::after {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(27, 95, 217, 0.45);
}

/* --- Status-dot hero badge --- */
.hero-badge {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--navy);
  gap: 10px;
  font-weight: 700;
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 147, 140, 0.16);
}

/* --- Refined custom line-icon chips --- */
.icon-chip {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--blue);
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.icon-chip svg {
  width: 24px;
  height: 24px;
}

.info-card:hover .icon-chip {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Process steps as big serif numerals --- */
.process-card .step-chip {
  background: transparent;
  border: 0;
  width: auto;
  height: auto;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 46px;
  line-height: 1;
  color: var(--blue);
}

/* --- Stats as an airy data strip --- */
.stats-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.stat-value {
  font-family: var(--serif);
  font-weight: 500;
}

/* Balanced wrapping for card titles */
.info-card h3,
.result-card h3,
.case-card h3,
.blog-card h3,
.testimonial-card p {
  text-wrap: pretty;
}

/* --- CTA glow: gentle, no scale pulse --- */
.cta-glow {
  animation: glowSoft 9s ease-in-out infinite;
  transform: translateX(-50%);
}

@keyframes glowSoft {
  0%, 100% { opacity: 0.62; }
  50% { opacity: 0.95; }
}

@media (max-width: 600px) {
  .section-header .section-pill::before,
  .section-header .section-pill::after {
    width: 16px;
  }

  .process-card .step-chip {
    font-size: 38px;
  }
}

/* Icon colours for dropdown + blog tiles (now line icons) */
.dropdown-icon {
  color: var(--blue);
}

.dropdown-icon svg {
  width: 20px;
  height: 20px;
}

.blog-icon svg {
  width: 24px;
  height: 24px;
}

.blog-icon.blue {
  color: var(--blue);
}

.blog-icon.teal {
  color: var(--teal);
}

.blog-icon.coral {
  color: var(--coral);
}

/* ---- Portfolio ---- */
.portfolio-account {
  margin-bottom: 64px;
}

.portfolio-account:last-child {
  margin-bottom: 0;
}

.portfolio-account-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.portfolio-num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(27, 95, 217, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.5px;
}

.portfolio-account-head h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.4px;
  color: var(--navy);
}

.portfolio-account-head .portfolio-tag {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.portfolio-collage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(11, 31, 59, 0.05);
}

.portfolio-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
}

.portfolio-collage .span-2 {
  grid-column: span 2;
}

/* Stacked mode: full-width screenshots that keep their natural aspect ratio
   (best for wide dashboard / report captures where cropping would hide data) */
.portfolio-collage.stacked {
  grid-template-columns: 1fr;
}

.portfolio-collage.stacked img {
  height: auto;
  object-fit: contain;
}

/* Placeholder tile (used until real screenshots are dropped in) */
.portfolio-shot {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  border: 1px dashed var(--gray);
  background:
    repeating-linear-gradient(135deg, rgba(27, 95, 217, 0.04) 0 14px, rgba(27, 95, 217, 0.08) 14px 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}

.portfolio-oneliner {
  text-align: center;
  margin: 20px auto 0;
  max-width: 720px;
  font-family: "Fraunces", serif;
  font-size: 20px;
  line-height: 1.45;
  color: var(--navy);
}

.portfolio-oneliner b {
  color: var(--blue);
  font-weight: 600;
}

@media (max-width: 600px) {
  .portfolio-collage .span-2 {
    grid-column: auto;
  }

  .portfolio-account-head .portfolio-tag {
    display: none;
  }

  .portfolio-oneliner {
    font-size: 18px;
  }
}

/* ============================================================
   Homepage dashboard wall (auto scrolling proof marquee)
   ============================================================ */
.proof-marquee {
  position: relative;
  overflow: hidden;
  padding: 74px 0 80px;
  background: radial-gradient(130% 150% at 50% 0%, #143764 0%, var(--navy) 58%);
  color: #fff;
}
.proof-head {
  max-width: 660px;
  margin: 0 auto 40px;
  padding: 0 24px;
  text-align: center;
}
.proof-head .section-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #cfe0ff;
}
.proof-head h2 {
  color: #fff;
  margin: 14px 0 12px;
}
.proof-head p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}
.proof-rows {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.proof-row {
  overflow: hidden;
}
.proof-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding: 6px 0;
}
.proof-marquee.is-ready .proof-row:nth-child(1) .proof-track {
  animation: proof-scroll-left 70s linear infinite;
}
.proof-marquee.is-ready .proof-row:nth-child(2) .proof-track {
  animation: proof-scroll-right 82s linear infinite;
}
.proof-marquee.is-ready:hover .proof-track {
  animation-play-state: paused;
}
@keyframes proof-scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes proof-scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.proof-card {
  position: relative;
  flex: 0 0 auto;
  width: 290px;
  height: 165px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--white);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.proof-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
.proof-card::after {
  content: "View portfolio \2192";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 95, 217, 0.86);
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.proof-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.4);
}
.proof-card:hover::after {
  opacity: 1;
}
.proof-marquee::before,
.proof-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 130px;
  z-index: 2;
  pointer-events: none;
}
.proof-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--navy), rgba(11, 31, 59, 0));
}
.proof-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--navy), rgba(11, 31, 59, 0));
}
.proof-cta {
  margin-top: 44px;
  text-align: center;
}
/* No JS or reduced motion: rows become manually scrollable, no auto animation */
.proof-marquee.is-static .proof-row {
  overflow-x: auto;
  scrollbar-width: none;
}
.proof-marquee.is-static .proof-row::-webkit-scrollbar {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .proof-marquee.is-ready .proof-track {
    animation: none;
  }
}
@media (max-width: 600px) {
  .proof-marquee {
    padding: 56px 0 60px;
  }
  .proof-card {
    width: 220px;
    height: 128px;
  }
  .proof-rows {
    gap: 16px;
  }
  .proof-track {
    gap: 16px;
  }
}
