/*
Theme Name: PayWorx OnePage
Theme URI: https://payworxsolutions.co.za/
Author: Pay-WorX Solutions
Description: Premium one-page WordPress theme for Pay-WorX Solutions.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: payworx-onepage
*/

:root {
  --logo-navy: #0b1d3a;
  --logo-navy-mid: #1a3464;
  --logo-silver: #c2c7d3;
  --logo-silver-light: #e2e6f0;
  --logo-violet: #6f66a8;
  --logo-violet-soft: #8f86c6;

  --clr-navy: var(--logo-navy);
  --clr-navy-mid: var(--logo-navy-mid);
  --clr-navy-light: #eef2f9;
  --clr-gold: var(--logo-silver);
  --clr-gold-bright: var(--logo-silver-light);
  --clr-violet: var(--logo-violet);
  --clr-violet-soft: var(--logo-violet-soft);
  --clr-text: #4a5568;
  --clr-text-light: #718096;
  --clr-border: #e2e8f0;
  --clr-bg: #ffffff;
  --clr-bg-off: #f9f8f6;
  --clr-white: #ffffff;

  --ff-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(11, 29, 58, 0.06), 0 1px 2px rgba(11, 29, 58, 0.04);
  --shadow: 0 4px 24px rgba(11, 29, 58, 0.09);
  --shadow-lg: 0 12px 48px rgba(11, 29, 58, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1220px;
  --section-pad: 100px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  line-height: 1.72;
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.home2-gold {
  --clr-gold: #b8922a;
  --clr-gold-bright: #d4a843;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-heading);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
}

.section {
  padding: var(--section-pad) 0;
}

.section-bg {
  background: var(--clr-bg-off);
}

.text-center {
  text-align: center;
}

.skip-link {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--clr-navy);
  color: var(--clr-white);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--clr-navy-mid);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title em,
.hero-title em {
  font-style: italic;
  color: var(--clr-gold);
  font-weight: 700;
}

.hero-title em {
  color: var(--clr-gold-bright);
}

.section-title em {
  color: var(--clr-violet);
}

.section-title-light em {
  color: var(--clr-violet-soft);
}

.section-title-light {
  color: var(--clr-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 0.95rem;
}

.btn-gold {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.55) 14%, rgba(226, 230, 240, 1) 36%, rgba(194, 199, 211, 1) 58%, rgba(246, 248, 252, 0.9) 72%, rgba(182, 188, 204, 1) 100%);
  color: var(--clr-navy);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 26px rgba(11, 29, 58, 0.18);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.7) 48%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.btn-gold > span,
.btn-gold {
  position: relative;
  z-index: 1;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 14px 36px rgba(11, 29, 58, 0.22);
}

.btn-gold:hover::before {
  transform: translateX(120%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-nav {
  background: linear-gradient(145deg, #1a3464 0%, #0b1d3a 100%);
  color: var(--clr-white);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 18px rgba(11, 29, 58, 0.18);
}

.btn-nav:hover {
  background: linear-gradient(145deg, #284d8f 0%, #1a3464 100%);
  transform: translateY(-1px);
}

.preloader {
  position: fixed;
  inset: 0;
  background: var(--clr-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-bright) 100%);
}

.preloader-name {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  color: var(--clr-white);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.preloader-bar {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  margin: 0 auto;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-bright));
  border-radius: 99px;
}

@keyframes preload-fill {
  from { width: 0; }
  to { width: 100%; }
}

.top-bar {
  background: var(--clr-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 200;
}

.top-bar-inner,
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-inner {
  justify-content: space-between;
}

.top-bar-left a:hover {
  color: var(--clr-gold-bright);
}

.top-divider {
  opacity: 0.35;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(194, 199, 211, 0.22);
  color: var(--clr-white);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(194, 199, 211, 0.45);
}

.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--clr-border);
  z-index: 100;
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(11, 29, 58, 0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-image,
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.logo-image {
  object-fit: cover;
  border: 1px solid var(--clr-border);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-navy);
  color: var(--clr-gold-bright);
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 0.85rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--ff-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-navy);
}

@media (min-width: 901px) {
  .logo-name {
    font-size: 2.35rem;
  }

  .top-badge {
    font-size: 0.98rem;
    padding: 6px 16px;
  }
}

.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--clr-text-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--clr-text);
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link:focus {
  color: var(--clr-navy);
  background: var(--clr-navy-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  background: var(--clr-navy);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}

.hero-glow.g1 {
  width: 540px;
  height: 540px;
  background: var(--clr-navy-mid);
  top: -100px;
  right: -120px;
}

.hero-glow.g2 {
  width: 340px;
  height: 340px;
  background: var(--clr-violet);
  bottom: -80px;
  left: -80px;
  opacity: 0.12;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-subhead {
  color: rgba(226, 230, 240, 0.96);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.hero-tagline {
  color: var(--clr-white);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
  line-height: 1.78;
  margin-bottom: 14px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-visual {
  position: relative;
}

.dashboard-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-top: 48px;
  padding: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-large {
  width: 100%;
  max-width: 340px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid var(--clr-border);
}

.hero-logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  width: 100%;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid var(--clr-border);
  background: var(--clr-navy-light);
  color: var(--clr-navy);
  font-weight: 700;
}

.dashboard-card h2 {
  color: var(--clr-white);
  font-family: var(--ff-heading);
  margin-bottom: 10px;
}

.dashboard-card p {
  color: var(--clr-white);
}

.trust-bar-inner,
.trust-chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-bar-inner {
  gap: 24px;
}

.trust-bar {
  margin-top: 18px;
  padding: 26px 0 24px;
}

#services.section {
  padding-top: 56px;
}

.trust-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-navy-mid);
}

.trust-chip {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-white);
  background: linear-gradient(145deg, #1a3464 0%, #0b1d3a 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 18px rgba(11, 29, 58, 0.18);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.service-card {
  position: relative;
  background: linear-gradient(135deg, var(--clr-bg) 0%, rgba(226, 230, 240, 0.35) 100%);
  border: 3px solid #1a3464;
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 28px rgba(11, 29, 58, 0.14), 0 3px 10px rgba(11, 29, 58, 0.08), 0 0 0 1px rgba(26, 52, 100, 0.12);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 58px rgba(11, 29, 58, 0.22), 0 0 0 1px rgba(40, 77, 143, 0.22);
  border-color: rgba(40, 77, 143, 0.42);
  background: linear-gradient(135deg, #ffffff 0%, rgba(226, 230, 240, 0.5) 100%);
}

.service-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--clr-navy);
  margin-bottom: 12px;
}

.service-card ul {
  list-style: disc;
  padding-left: 18px;
}

.service-card li {
  margin-bottom: 8px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.about-media {
  width: 100%;
}

.about-image-frame {
  border-radius: 16px;
  border: 3px solid #1a3464;
  background: linear-gradient(135deg, var(--clr-violet) 0%, var(--clr-violet-soft) 100%);
  box-shadow: 0 12px 34px rgba(11, 29, 58, 0.16), 0 4px 12px rgba(11, 29, 58, 0.1);
  padding: 20px;
}

.hero-logo-frame {
  width: 100%;
  border: 2px solid var(--clr-gold-bright);
  padding: 12px;
  background: rgba(194, 199, 211, 0.2);
  box-shadow: 0 8px 24px rgba(194, 199, 211, 0.32);
}

.about-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--clr-border);
}

.hero-logo-image {
  border: 0;
}

.about-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: 12px;
  border: 1px solid var(--clr-border);
  background: var(--clr-navy-light);
  color: var(--clr-navy);
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.about-content p {
  margin-bottom: 14px;
}

.about-panel {
  border-radius: 16px;
  border: 1px solid var(--clr-border);
  background: var(--clr-white);
  box-shadow: 0 10px 30px rgba(11, 29, 58, 0.13), 0 3px 10px rgba(11, 29, 58, 0.08);
  padding: 30px;
}

.about-panel h3 {
  font-family: var(--ff-heading);
  font-size: 1.45rem;
  color: var(--clr-navy);
  margin-bottom: 12px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-step {
  position: relative;
  text-align: center;
  border: 1px solid var(--clr-border);
  border-left: 4px solid #1a3464;
  border-radius: var(--radius);
  background: var(--clr-white);
  box-shadow: 0 8px 22px rgba(11, 29, 58, 0.11), 0 2px 8px rgba(11, 29, 58, 0.06);
  padding: 24px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.slogan {
  background: #f3f6fb;
}

#about.section {
  padding-bottom: 30px;
}

#slogan.section {
  padding-top: 20px;
}

.slogan-card {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border: 2px solid #1a3464;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(11, 29, 58, 0.1);
  padding: 30px 24px;
}

.slogan-name {
  display: block;
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 8px;
}

.slogan-tagline {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
  color: #284d8f;
}

.slogan-line {
  margin: 0;
  font-family: var(--ff-heading);
  font-size: 1.55rem;
  font-style: italic;
  color: var(--clr-navy-mid);
  line-height: 1.3;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 58px rgba(11, 29, 58, 0.22), 0 0 0 1px rgba(40, 77, 143, 0.22);
  border-color: rgba(40, 77, 143, 0.42);
  background: linear-gradient(135deg, #ffffff 0%, rgba(238, 242, 249, 0.7) 100%);
}

.ps-num {
  display: inline-block;
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  color: var(--clr-gold);
  margin-bottom: 10px;
}

.process-step h3 {
  font-family: var(--ff-heading);
  color: var(--clr-navy);
  margin-bottom: 10px;
}

.stats {
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-mid) 100%);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(194, 199, 211, 0.14) 0%, transparent 60%), radial-gradient(circle at 80% 30%, rgba(111, 102, 168, 0.28) 0%, transparent 50%);
}

.who-wrap {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.who-intro,
.who-approach,
.who-outcome,
.who-lead {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 10px;
}

.who-lead {
  font-weight: 700;
  color: var(--clr-violet-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.contact-card {
  border-radius: 16px;
  border: 1px solid var(--clr-border);
  background: var(--clr-white);
  box-shadow: 0 10px 30px rgba(11, 29, 58, 0.13), 0 3px 10px rgba(11, 29, 58, 0.08);
  padding: 30px;
}

.contact-card-accent {
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-mid) 100%);
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.contact-lines li {
  margin-bottom: 9px;
}

.contact-lines a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.payworx-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding: 24px;
}

.payworx-modal[aria-hidden="false"] {
  display: grid;
}

.payworx-modal[hidden] {
  display: none !important;
}

.payworx-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 58, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.payworx-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(243, 247, 255, 0.97) 100%);
  border: 1px solid rgba(26, 52, 100, 0.12);
  border-radius: 18px;
  box-shadow: 0 24px 72px rgba(11, 29, 58, 0.26), 0 3px 14px rgba(11, 29, 58, 0.1);
  padding: 34px;
}

.payworx-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  background: var(--clr-bg);
  color: var(--clr-navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.payworx-modal__dialog h3 {
  font-family: var(--ff-heading);
  color: var(--clr-navy);
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 1.05rem + 1.4vw, 1.9rem);
  line-height: 1.22;
}

.payworx-modal__dialog p {
  margin: 0 0 22px;
  color: var(--clr-text-light);
  line-height: 1.65;
}

.payworx-contact-form {
  display: grid;
  gap: 14px;
}

.payworx-form-field {
  display: grid;
  gap: 6px;
}

.payworx-form-field label {
  font-weight: 600;
  color: var(--clr-navy);
  font-size: 0.95rem;
  line-height: 1.35;
}

.payworx-form-field input,
.payworx-form-field textarea {
  width: 100%;
  border: 1px solid rgba(26, 52, 100, 0.2);
  border-radius: 12px;
  padding: 13px 15px;
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--clr-text);
  background: #f9fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition), transform var(--transition);
}

.payworx-form-field input:focus,
.payworx-form-field textarea:focus {
  outline: none;
  border-color: var(--clr-navy-mid);
  box-shadow: 0 0 0 4px rgba(26, 52, 100, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  background: var(--clr-white);
}

.payworx-form-field textarea {
  resize: vertical;
  min-height: 132px;
}

.payworx-form-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.payworx-form-actions .btn {
  min-width: 170px;
  justify-content: center;
  padding-inline: 22px;
  box-shadow: 0 12px 26px rgba(11, 29, 58, 0.14);
}

.payworx-form-feedback {
  margin: 0;
  min-height: 1.5em;
  font-size: 0.94rem;
  line-height: 1.45;
  border-radius: 14px;
  padding: 11px 14px;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.payworx-form-feedback.is-success {
  color: #155f3d;
  background: rgba(20, 108, 67, 0.08);
  border-color: rgba(20, 108, 67, 0.2);
}

.payworx-form-feedback.is-error {
  color: #8b2b2b;
  background: rgba(159, 28, 28, 0.07);
  border-color: rgba(159, 28, 28, 0.18);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}

.insight-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(11, 29, 58, 0.11), 0 2px 8px rgba(11, 29, 58, 0.06);
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(11, 29, 58, 0.16);
  border-color: rgba(194, 199, 211, 0.55);
}

.insight-img-link {
  display: block;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}

.insight-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
  transition: transform 0.5s ease;
}

.insight-card:hover .insight-img-link img {
  transform: scale(1.05);
}

.insight-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--clr-gold);
  color: var(--clr-white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.insight-body {
  padding: 24px;
}

.insight-body h3 {
  font-family: var(--ff-heading);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--clr-navy);
  line-height: 1.38;
  margin-bottom: 10px;
}

.insight-body p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--clr-text);
  margin: 0;
}

.footer {
  background: #f3f6fb;
  border-top: 1px solid var(--clr-border);
}

.footer-inner {
  text-align: center;
  max-width: 760px;
  margin: 28px auto 42px;
  padding: 26px 22px;
  background: #ffffff;
  border: 2px solid #1a3464;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(11, 29, 58, 0.1);
}

.footer-inner strong {
  color: var(--clr-navy);
  display: block;
  margin-bottom: 8px;
}

.footer-inner p {
  margin-bottom: 6px;
}

.footer-inner a {
  color: var(--clr-navy-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--clr-navy);
}

.privacy-policy-page {
  background: linear-gradient(180deg, #f3f6fb 0%, #ffffff 38%);
}

.privacy-policy-page .privacy-policy-section {
  padding-top: clamp(88px, 10vw, 120px);
}

.privacy-policy-page .privacy-policy-header {
  max-width: 760px;
  margin: 0 auto 30px;
}

.privacy-policy-page .privacy-policy-meta {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--clr-text-light);
}

.privacy-policy-page .privacy-policy-card {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border: 2px solid #1a3464;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(11, 29, 58, 0.12), 0 4px 12px rgba(11, 29, 58, 0.08);
  padding: clamp(24px, 4vw, 38px);
}

.privacy-policy-page .privacy-policy-copy p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--clr-text);
}

.privacy-policy-page .privacy-policy-copy p:last-child {
  margin-bottom: 0;
}

.privacy-policy-page .privacy-policy-copy a {
  color: var(--clr-navy-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-policy-page .privacy-policy-cta {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.privacy-policy-page .privacy-policy-cta .btn {
  min-width: 170px;
}

.privacy-policy-page .privacy-policy-cta .btn-nav {
  display: inline-flex;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  min-width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 0;
  background: #25d366;
  color: var(--clr-white);
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

@media (max-width: 1100px) {
  .hero-inner,
  .services-grid,
  .insights-grid,
  .about-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .btn-nav {
    display: none;
  }

  .privacy-policy-page .privacy-policy-cta .btn-nav {
    display: inline-flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 6px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 76px 0;
  }

  #services.section {
    padding-top: 76px;
  }

  #about.section {
    padding-bottom: 24px;
  }

  #slogan.section {
    padding-top: 16px;
  }

  .slogan-card {
    padding: 24px 18px;
  }

  .slogan-name {
    font-size: 1.55rem;
  }

  .slogan-tagline {
    font-size: 1.45rem;
  }

  .slogan-line {
    font-size: 1.15rem;
  }

  .top-bar {
    font-size: 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-card,
  .about-panel,
  .dashboard-card {
    padding: 24px;
  }

  .payworx-modal {
    padding: 12px;
  }

  .payworx-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 20px 18px;
    border-radius: 16px;
  }

  .payworx-form-actions .btn {
    width: 100%;
  }

  .payworx-form-actions {
    justify-content: stretch;
  }

  .privacy-policy-page .privacy-policy-header {
    margin-bottom: 22px;
  }

  .privacy-policy-page .privacy-policy-meta {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  .privacy-policy-page .privacy-policy-card {
    border-width: 1px;
    padding: 22px 18px;
  }

  .privacy-policy-page .privacy-policy-copy p {
    margin-bottom: 14px;
  }

  .privacy-policy-page .privacy-policy-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .privacy-policy-page .privacy-policy-cta .btn {
    width: 100%;
  }
}