/* ─── RESET & BASE ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand: #6c63ff;
  --brand-dark: #4f46e5;
  --green: #d1fae5;
  --green-dark: #10b981;
  --blue-light: #dbeafe;
  --purple-light: #ede9fe;
  --text: #1e293b;
  --muted: #64748b;
  --bg: #f8faff;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(108, 99, 255, .10);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}

.section__sub {
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 48px;
  font-size: .95rem;
}

/* ─── BUTTONS ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .9rem;
  transition: all .2s;
  cursor: pointer;
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
}

.btn--primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 2px solid #cbd5e1;
}

.btn--outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid transparent;
}

.btn--ghost:hover {
  color: var(--brand);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .6);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, .15);
}

/* ─── NAV ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(108, 99, 255, .08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav__logo-icon {
  font-size: 1.4rem;
  color: var(--brand);
}

.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav__links>li>a {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  transition: color .2s;
  white-space: nowrap;
}

.nav__links>li>a:hover {
  color: var(--brand);
}

.nav__link--active {
  color: var(--brand) !important;
}

/* chevron */
.nav__chevron {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  flex-shrink: 0;
  font-size: 0;
  transition: transform .2s;
}

.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
}

.nav__dropdown:hover .nav__chevron,
.nav__dropdown.open .nav__chevron {
  transform: rotate(225deg);
}

/* dropdown container */
.nav__dropdown {
  position: relative;
}

.nav__submenu {
  display: none;
  position: absolute;
  top: 100%;
  /* flush with the nav item — no gap to cross */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid rgba(108, 99, 255, .12);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
  min-width: 190px;
  padding: 20px 0 8px;
  /* 20px top = 12px visual gap + 8px original padding */
  z-index: 200;
}

.nav__dropdown:hover .nav__submenu,
.nav__dropdown.open .nav__submenu {
  display: block;
}

.nav__submenu li a {
  display: block;
  padding: 9px 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background .15s, color .15s;
}

.nav__submenu li a:hover {
  background: rgba(108, 99, 255, .06);
  color: var(--brand);
}

.nav__submenu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__submenu-arrow {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}

.nav__submenu-highlight {
  color: var(--brand) !important;
}

/* Flyout (second-level) menu */
.nav__flyout {
  position: relative;
}

.nav__flyout-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  border: 1px solid rgba(108, 99, 255, .12);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .1);
  min-width: 200px;
  padding: 8px 0;
  z-index: 300;
}

.nav__flyout:hover .nav__flyout-menu {
  display: block;
}

.nav__flyout-menu li a {
  display: block;
  padding: 9px 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background .15s, color .15s;
  justify-content: flex-start;
}

.nav__flyout-menu li a:hover {
  background: rgba(108, 99, 255, .06);
  color: var(--brand);
}

/* Mobile: flyout stacks inline */
@media (max-width: 768px) {
  .nav__flyout-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    background: transparent;
  }

  .nav__flyout:hover .nav__flyout-menu {
    display: none;
  }

  .nav__flyout.open .nav__flyout-menu {
    display: block;
  }
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── HERO ─────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #eef2ff 0%, #f0fdf4 50%, #fdf4ff 100%);
  padding: 60px 0 40px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
  gap: 24px;
}

.hero__image img {
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero__image--left {
  transform: translateY(20px);
}

.hero__image--right {
  transform: translateY(20px);
}

.hero__content {
  text-align: center;
}

.hero__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.sparkle {
  color: var(--brand);
  font-size: 1rem;
}

.hero__sub {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.hero__ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.margin-top-100 {
  margin-top: 100px;
}

.margin-top-50 {
  margin-top: 50px;
}

.bath_main_logo,
.tcbs_main_logo,
.iress_main_logo {
  height: 60px;
  width: auto;
  max-width: 180px;
  border-radius: unset !important;
  object-fit: contain;
}

/* Hero mockups */
.hero__mockups {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.mockup {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .10);
  min-width: 140px;
  flex: 1;
  max-width: 200px;
}

.mockup__label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.mockup__sub {
  font-size: .65rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.mockup__bar {
  background: #e2e8f0;
  height: 6px;
  border-radius: 4px;
  margin-bottom: 6px;
  overflow: hidden;
}

.mockup__bar span {
  display: block;
  height: 100%;
  background: var(--brand);
  border-radius: 4px;
}

.mockup__tag {
  font-size: .7rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.mockup__btn {
  font-size: .65rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 4px 12px;
  cursor: pointer;
}

.mockup__avatars {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.av1 {
  background: #f59e0b;
}

.av2 {
  background: #10b981;
}

.av3 {
  background: #6c63ff;
}

.mockup__chart-title {
  font-size: .62rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.mockup__chart svg {
  width: 100%;
  height: 40px;
}

.mockup__amount {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.mockup__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 64px;
  margin-bottom: 8px;
}

.mockup__bars span {
  flex: 1;
  background: linear-gradient(180deg, #6c63ff, #a5b4fc);
  border-radius: 3px 3px 0 0;
}

/* ─── FEATURES ─────────────────────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-card--green {
  background: var(--green);
}

.feature-card--blue {
  background: var(--blue-light);
}

.feature-card--purple {
  background: var(--purple-light);
}

.feature-card__icon {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card p {
  font-size: .88rem;
  color: var(--muted);
  flex: 1;
}

.feature-card__link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}

.feature-card__link:hover {
  color: var(--brand);
}

/* ─── PLATFORM ─────────────────────────────────────────────────────── */
.platform {
  background: #fff;
}

.platform__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.platform__eyebrow {
  font-size: .8rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.platform__text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.platform__text p {
  color: var(--muted);
  font-size: .93rem;
  margin-bottom: 22px;
}

.platform__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.platform__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 500;
}

.check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  flex-shrink: 0;
}

/* Dashboard widget */
.dashboard {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .12);
  background: #fff;
}

.dashboard img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.dashboard__sidebar {
  width: 48px;
  background: #1e1b4b;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  gap: 18px;
}

.teller img {
  width: 100%;
  object-position: center top;
  display: block;
}

.dash-icon {
  color: rgba(255, 255, 255, .4);
  font-size: 1rem;
  cursor: pointer;
  transition: color .2s;
}

.dash-icon.active,
.dash-icon:hover {
  color: #fff;
}

.dashboard__main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: #f1f5f9;
}

.dash-panel {
  background: #fff;
  padding: 16px;
}

.dash-panel__label {
  font-size: .7rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.view-all {
  font-size: .65rem;
  color: var(--brand);
  font-weight: 600;
}

.dash-panel__value {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.dash-panel__change {
  font-size: .72rem;
  font-weight: 600;
}

.dash-panel__change.positive {
  color: var(--green-dark);
}

.dash-panel__chart svg {
  width: 100%;
  height: 40px;
  margin-top: 8px;
}

/* Transactions */
.transaction {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: .7rem;
}

.transaction:last-child {
  border-bottom: none;
}

.t-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
}

.t-green {
  background: #d1fae5;
  color: var(--green-dark);
}

.t-blue {
  background: #dbeafe;
  color: #3b82f6;
}

.t-red {
  background: #fee2e2;
  color: #ef4444;
}

.t-purple {
  background: #ede9fe;
  color: var(--brand);
}

.t-name {
  flex: 1;
  font-weight: 500;
}

.t-amount {
  font-weight: 700;
  white-space: nowrap;
}

.t-amount.positive {
  color: var(--green-dark);
}

.t-amount.negative {
  color: #ef4444;
}

/* Credit card */
.credit-card {
  background: linear-gradient(135deg, #1e1b4b, #4c1d95);
  border-radius: 12px;
  padding: 16px;
  color: #fff;
  position: relative;
  min-height: 80px;
}

.cc__number {
  font-size: .72rem;
  letter-spacing: .1em;
  margin-bottom: 8px;
}

.cc__meta {
  display: flex;
  gap: 12px;
  font-size: .62rem;
  opacity: .8;
}

.cc__logo {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 1.2rem;
  color: #f59e0b;
  letter-spacing: -4px;
}

/* Donut */
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.donut {
  width: 80px;
  height: 80px;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: .62rem;
  color: var(--muted);
}

.donut-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.donut-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ─── STATS ─────────────────────────────────────────────────────────── */
.stats {
  padding: 40px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat__icon {
  font-size: 1.6rem;
}

.stat__value {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat__label {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
}

/* ─── TESTIMONIALS ─────────────────────────────────────────────────── */
.testimonials {
  background: #f8f9fb;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

/* Card shell */
.testimonial-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid #ececec;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

/* Title */
.testimonial-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 24px;
  line-height: 1.35;
}

/* Logo area – grows to fill available space, centres the image */
.testimonial-card__logo-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 0 28px;
}

/* CTA row */
.testimonial-card__cta {
  margin-top: auto;
}

/* Full-width button modifier */
.btn--full {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: .9rem;
  color: var(--muted);
  flex: 1;
}

/* Legacy author styles kept for other pages */
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__author strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
}

.testimonial-card__author span {
  font-size: .75rem;
  color: var(--muted);
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
  cursor: pointer;
  transition: background .2s;
}

.dot--active {
  background: var(--brand);
}

/* ─── NEWS ─────────────────────────────────────────────────────────── */
.news__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.news__header h2 {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 800;
}

.news__all {
  font-size: .88rem;
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}

/* ─── ARTICLE PAGE ──────────────────────────────────────────────────── */
.article-page {
  padding: 56px 0 80px;
  background: var(--bg);
}

.article-page__container {
  max-width: 800px;
}

.article-page__breadcrumb {
  margin-bottom: 28px;
}

.article-page__breadcrumb a {
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: .03em;
}

.article-page__breadcrumb a:hover {
  text-decoration: underline;
}

.article-page__header {
  margin-bottom: 32px;
}

.article-page__category {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.article-page__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 12px;
}

.article-page__date {
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}

.article-page__featured-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.article-page__featured-image img {
  max-width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

.article-page__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.article-page__body p {
  margin: 0 0 20px;
}

.article-page__body a {
  color: var(--brand);
  font-weight: 600;
}

.article-page__body a:hover {
  text-decoration: underline;
}

.article-page__body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}

.article-page__body ul {
  margin: 0 0 20px 20px;
  padding: 0;
}

.article-page__body ul li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-page__quote {
  background: #fff;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 32px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.article-page__quote p {
  font-size: .95rem;
  font-style: italic;
  color: var(--text);
  margin: 0 0 16px;
}

.article-page__quote footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.article-page__quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.article-page__quote footer strong {
  display: block;
  font-size: .88rem;
  color: var(--text);
}

.article-page__quote footer span {
  font-size: .8rem;
  color: var(--muted);
}

.article-page__back {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,.08);
}

@media (max-width: 600px) {
  .article-page__title {
    font-size: 1.5rem;
  }

  .article-page__quote {
    padding: 18px 20px;
  }
}

/* ─── NEWS GRID ─────────────────────────────────────────────────────── */
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(108, 99, 255, .15);
}

.news-card__img {
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press_card_img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 24px 16px;
  min-height: 120px;
}

.press_card_img img {
  max-height: 80px;
  width: auto;
  max-width: 70%;
  object-fit: contain;
}

.news-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-card__date {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 500;
}

.news-card__body h4 {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
  flex: 1;
}

.news-card__link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}

.news-card__link:hover {
  gap: 8px;
}

/* ─── CTA BANNER ───────────────────────────────────────────────────── */
/* ─── RPA ACTION CARD ───────────────────────────────────────────────── */
.rpa-action-card {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 48px 40px;
}

.rpa-action-card__text h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.rpa-action-card__text p {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.7;
}

.rpa-action-card__video {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 aspect ratio */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.rpa-action-card__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .rpa-action-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 28px;
  }
}

.cta-banner {
  padding: 40px 0;
}

.cta-banner__inner {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  border-radius: 24px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.cta-banner__text {
  flex: 1;
}

.cta-banner__text h2 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.cta-banner__text p {
  color: rgba(255, 255, 255, .8);
  font-size: .92rem;
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.cta-banner__actions .btn--primary {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}

.cta-banner__actions .btn--primary:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
}

.cta-banner__sparkle {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, .3);
}

/* ─── FOOTER ───────────────────────────────────────────────────────── */
.footer {
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__logo {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.footer__logo span {
  color: var(--brand);
  font-size: 1.3rem;
}

.footer__brand p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
  transition: all .2s;
}

.footer__socials a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.footer__col h5 {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul a {
  font-size: .85rem;
  color: var(--muted);
  transition: color .2s;
}

.footer__col ul a:hover {
  color: var(--brand);
}

.footer__bottom {
  border-top: 1px solid #e2e8f0;
  padding: 20px 24px;
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
}

/* ─── CONTACT CTA ──────────────────────────────────────────────────── */
.contact-cta {
  background: #f1f3f8;
  padding: 60px 0;
}

.contact-cta__card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 720px;
  margin: 0 auto;
}

.contact-cta__logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-cta__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.contact-cta__heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.contact-cta__text {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 600px) {
  .contact-cta__card {
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    text-align: center;
  }

  .contact-cta__content .btn {
    align-self: center;
  }
}

/* ─── FOOTER CONTACT (Get In Touch) ────────────────────────────────── */
.footer-contact {
  background: #000;
  color: #fff;
}

.footer-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
}

.footer-contact__map {
  position: relative;
  min-height: 440px;
}

.footer-contact__map iframe {
  margin: 50px 5%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-height: 400px;
}

.footer-contact__info {
  padding: 56px 60px;
}

.footer-contact__info h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.footer-contact__offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-contact__office h3 {
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}

.footer-contact__office p {
  font-size: 0.9rem;
  color: #b0b8c8;
  line-height: 1.75;
}

.footer-contact__links p {
  font-size: 0.9rem;
  color: #b0b8c8;
  margin-bottom: 6px;
}

.footer-contact__links a {
  color: #4a9eff;
  text-decoration: none;
}

.footer-contact__links a:hover {
  text-decoration: underline;
}

.footer-contact__bottom {
  background: #000;
  border-top: 1px solid #1e1e1e;
  padding: 20px 60px;
  font-size: 0.85rem;
  color: #b0b8c8;
}

/* Back-to-top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: #1a56db;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  z-index: 999;
  transition: background 0.2s;
}

.back-to-top:hover {
  background: #1446c0;
}

@media (max-width: 768px) {
  .footer-contact__grid {
    grid-template-columns: 1fr;
  }

  .footer-contact__map {
    min-height: 280px;
  }

  .footer-contact__info {
    padding: 36px 24px;
  }

  .footer-contact__offices {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-contact__bottom {
    padding: 16px 24px;
  }
}

/* ─── PAGE HERO ────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, #eef2ff 0%, #f0fdf4 50%, #fdf4ff 100%);
  padding: 60px 0;
  overflow: hidden;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.page-hero__text h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.page-hero__text p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 420px;
}

.page-hero__image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ─── PRODUCTS LIST ─────────────────────────────────────────────────── */
.products-list {
  background: #fff;
}

.product-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid #e2e8f0;
  align-items: start;
}

.product-item:last-child {
  border-bottom: none;
}

.product-item__label h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.product-item__content p {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ─── SERVICES & SUPPORT ────────────────────────────────────────────── */
.services-support {
  background: #1e293b;
  padding: 72px 0;
}

.services-support__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.services-support__col h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}

.services-support__col p {
  color: rgba(255, 255, 255, .7);
  font-size: .93rem;
  line-height: 1.8;
}

/* ─── RESPONSIVE ───────────────────────────────────────────────────── */

/* ── Tablet landscape (≤ 1024px) ───────────────────────────────────── */
@media (max-width: 1024px) {

  /* Hero: shrink side-image columns */
  .hero__inner {
    grid-template-columns: 160px 1fr 160px;
  }

  .hero__image img {
    width: 160px;
    height: 240px;
  }

  /* Platform: collapse to single column with comfortable gap */
  .platform__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    /* tightened from desktop 60px */
  }

  .platform__dashboard {
    order: -1;
  }

  /* Stats: switch to 2-col at tablet (not just mobile) */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials: drop to 2 columns at tablet */
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer: 3-col still fits at tablet */
  .footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ── Tablet portrait / large mobile (≤ 768px) ──────────────────────── */
@media (max-width: 768px) {

  /* Sections: reduce vertical breathing room */
  .section {
    padding: 48px 0;
  }

  /* Utility spacing helpers */
  .margin-top-100 {
    margin-top: 48px;
  }

  /* Hero mockups: stack vertically and remove min-width constraint */
  .hero__mockups {
    flex-direction: column;
    align-items: center;
  }

  .mockup {
    min-width: unset;
    width: 100%;
    max-width: 340px;
  }

  /* ── Navigation: hamburger menu ── */
  .nav__hamburger {
    display: flex;
    flex-shrink: 0;
    z-index: 101;
  }

  /* Cap logo so hamburger always has room */
  .nav__logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .nav__logo img {
    width: auto !important;
    max-width: 150px !important;
    height: auto;
  }

  .nav__links,
  .nav__actions {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(248, 250, 255, .98);
    backdrop-filter: blur(12px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid #e2e8f0;
    z-index: 99;
  }

  .nav__links.open,
  .nav__actions.open {
    display: flex;
  }

  .nav__links.open {
    padding-bottom: 0;
  }

  /* Mobile dropdowns: static position, show inline */
  .nav__submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    background: transparent;
  }

  .nav__dropdown.open .nav__submenu {
    display: block;
  }

  .nav__dropdown:hover .nav__submenu {
    display: none;
  }

  .nav__dropdown.open:hover .nav__submenu {
    display: block;
  }

  .nav__actions.open {
    top: calc(68px + 5 * 36px + 32px);
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
  }

  /* ── Hero ── */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__image {
    display: none;
  }

  /* ── Features ── */
  .features__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ── Platform ── */
  .platform__inner {
    gap: 24px;
    /* further reduce from 1024px value */
  }

  /* Dashboard image: constrain height on mobile */
  .dashboard img {
    height: 260px;
    width: 100%;
    object-fit: cover;
  }

  /* ── Stats: already set to 2-col at 1024px; keep it ── */

  /* ── Testimonials: single column on mobile ── */
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card__title {
    font-size: 1.1rem;
  }

  /* ── News ── */
  .news__grid {
    grid-template-columns: 1fr;
  }

  /* ── CTA banner ── */
  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .cta-banner__actions {
    justify-content: center;
  }

  /* ── Footer ── */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  /* ── Dashboard layout ── */
  .dashboard__main {
    grid-template-columns: 1fr;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
  }

  .page-hero__image {
    display: none;
  }

  .product-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-support__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ── Mobile (≤ 480px) ───────────────────────────────────────────────── */
@media (max-width: 480px) {

  /* Sections: tightest vertical padding */
  .section {
    padding: 36px 0;
  }

  /* Utility spacing helpers */
  .margin-top-100 {
    margin-top: 28px;
  }

  .margin-top-50 {
    margin-top: 16px;
  }

  /* ── Hero ── */
  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  /* ── Stats: keep 2-col even on smallest screens ── */
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ── Platform ── */
  .platform__inner {
    gap: 16px;
  }

  /* Dashboard image: smallest viewport constraint */
  .dashboard img {
    height: 200px;
  }

  /* ── CTA banner ── */
  .cta-banner__inner {
    padding: 28px 20px;
  }

  /* ── Footer: single column ── */
  .footer__inner {
    grid-template-columns: 1fr;
  }

  /* ── News header: stack on small screens ── */
  .news__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .services-support {
    padding: 40px 0;
  }
}