/* ====================================
   SUBPAGES — v3.0
   Matches nybbletech-v2 homepage design system
   ==================================== */

/* =====================================================
   SUB-PAGE HERO BANNER
   ===================================================== */
.sub-hero {
  padding: 148px 0 72px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--brd);
}

[data-theme="dark"] .sub-hero {
  background: var(--bg-2);
}

/* Reuse the hero grid dots from homepage */
.sub-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--bg-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-2) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.sub-hero-splash {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,191,0,.1) 0%, rgba(0,145,178,.05) 45%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.sub-hero-splash--2 {
  top: auto;
  right: auto;
  bottom: -80px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(109,40,217,.07) 0%, transparent 65%);
}

.sub-hero .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sub-hero-tag {
  margin-bottom: 8px;
}

.sub-hero-title {
  font-family: var(--fh);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink);
  line-height: 1.06;
  margin-bottom: 6px;
  max-width: 800px;
}

.sub-hero-title .c-lime {
  color: var(--lime-d);
}

.sub-hero-title .c-ai {
  background: linear-gradient(90deg, var(--ai), var(--ai-l) 60%, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub-hero-sub {
  font-family: var(--fb);
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 4px;
}

/* post meta under hero title */
.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fb);
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}

.phm-sep {
  color: var(--muted-2);
}

.phm-author a {
  color: var(--lime-d);
  font-weight: 600;
  text-decoration: none;
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fb);
  font-size: 13px;
  color: var(--muted-2);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color .22s;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--lime-d);
}

.bc-sep {
  color: var(--muted-2);
  font-size: 12px;
}

.bc-current {
  color: var(--ink-2);
  font-weight: 600;
}

/* =====================================================
   MAIN CONTENT AREA
   ===================================================== */
.main-content {
  padding: 80px 0 100px;
  background: var(--white);
  min-height: calc(100vh - 300px);
}

[data-theme="dark"] .main-content {
  background: var(--bg);
}

.main-content--page .page-content,
.main-content--post .post-content {
  max-width: 780px;
  margin: 0 auto;
}

/* =====================================================
   PAGE & POST CONTENT TYPOGRAPHY
   ===================================================== */
.page-content,
.post-content {
  font-family: var(--fb);
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.82;
}

.page-content p,
.post-content p {
  margin-bottom: 24px;
}

.page-content h2,
.post-content h2 {
  font-family: var(--fh);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--ink);
  margin: 44px 0 20px;
  letter-spacing: -.025em;
  line-height: 1.15;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brd);
}

.page-content h3,
.post-content h3 {
  font-family: var(--fh);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 800;
  color: var(--ink);
  margin: 36px 0 14px;
  letter-spacing: -.015em;
}

.page-content h4,
.post-content h4 {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-2);
  margin: 28px 0 10px;
}

.page-content ul,
.page-content ol,
.post-content ul,
.post-content ol {
  margin: 20px 0 24px 24px;
}

.page-content li,
.post-content li {
  margin-bottom: 10px;
  line-height: 1.78;
  color: var(--ink-3);
}

.page-content ul li::marker,
.post-content ul li::marker {
  color: var(--lime-d);
}

.page-content a,
.post-content a {
  color: var(--lime-d);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1.5px solid var(--lime-brd);
  transition: color .22s, border-color .22s;
}

.page-content a:hover,
.post-content a:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.page-content strong,
.post-content strong {
  color: var(--ink);
  font-weight: 700;
}

.page-content blockquote,
.post-content blockquote {
  margin: 32px 0;
  padding: 20px 28px;
  border-left: 3px solid var(--lime);
  background: var(--lime-bg);
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic;
  color: var(--ink-3);
  font-size: 17px;
}

.page-content img,
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  margin: 36px 0;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--brd);
}

.post-featured-img {
  margin-bottom: 48px;
}

.post-featured-img img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  border: 1px solid var(--brd);
}

/* code blocks */
.page-content code,
.post-content code {
  font-size: 13.5px;
  background: var(--bg-2);
  border: 1px solid var(--brd);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--ai);
  font-family: 'SFMono-Regular', Consolas, monospace;
}

.page-content pre,
.post-content pre {
  background: var(--ink);
  border-radius: var(--r);
  padding: 24px;
  overflow-x: auto;
  margin: 28px 0;
  box-shadow: var(--sh-md);
}

.page-content pre code,
.post-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--lime);
}

/* =====================================================
   CONTACT PAGE LAYOUT
   ===================================================== */
.main-content--contact {
  padding: 72px 0 100px;
  background: var(--bg);
}

[data-theme="dark"] .main-content--contact {
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: flex-start;
}

/* --- Contact Info Column --- */
.contact-info {
  position: sticky;
  top: 110px;
}

.cinfo-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.cinfo-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--brd);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  transition: all .28s var(--ease);
  cursor: default;
}

[data-theme="dark"] .cinfo-card {
  background: var(--surf);
}

.cinfo-card:hover {
  border-color: var(--lime-brd);
  box-shadow: var(--sh-md);
  transform: translateX(4px);
}

.cinfo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lime-bg);
  border: 1.5px solid var(--lime-brd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}

.cinfo-card:hover .cinfo-icon {
  transform: scale(1.1) rotate(-4deg);
}

.cinfo-body {
  flex: 1;
}

.cinfo-label {
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.cinfo-value {
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .22s;
}

a.cinfo-value:hover {
  color: var(--lime-d);
}

/* Trust badges */
.contact-trust {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--lime-bg);
  border: 1.5px solid var(--lime-brd);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ctrust-item {
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ctrust-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--lime);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Contact Form Card --- */
.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--brd);
  border-radius: var(--r-xl);
  padding: 40px 44px;
  box-shadow: var(--sh-lg);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .contact-form-card {
  background: var(--surf);
  border-color: var(--brd);
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--cyan), var(--ai-l));
  background-size: 200% auto;
  animation: gradShift 4s linear infinite;
}

.cform-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--brd);
}

.cform-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: pdot 2s ease infinite;
}

.cform-title {
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 700;
  color: var(--lime-d);
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* =====================================================
   CONTACT FORM 7 — CF7 STYLING
   ===================================================== */
.wpcf7 {
  width: 100%;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Fieldsets / row groups */
.wpcf7-form p {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.wpcf7-form-control-wrap {
  width: 100%;
}

/* All inputs, textarea */
.wpcf7-form-control,
.wpcf7-text,
.wpcf7-textarea,
.wpcf7-email,
.wpcf7-url,
.wpcf7-tel,
.wpcf7-number,
.wpcf7-select {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--fb);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--brd);
  border-radius: var(--r);
  transition: all .28s var(--ease);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

[data-theme="dark"] .wpcf7-form-control,
[data-theme="dark"] .wpcf7-text,
[data-theme="dark"] .wpcf7-textarea,
[data-theme="dark"] .wpcf7-email,
[data-theme="dark"] .wpcf7-url,
[data-theme="dark"] .wpcf7-tel {
  background: var(--bg-3);
  color: var(--ink);
}

.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-email:focus,
.wpcf7-url:focus,
.wpcf7-tel:focus,
.wpcf7-form-control:focus {
  border-color: var(--lime);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--lime-bg), var(--sh-sm);
}

[data-theme="dark"] .wpcf7-text:focus,
[data-theme="dark"] .wpcf7-textarea:focus,
[data-theme="dark"] .wpcf7-email:focus {
  background: var(--bg-2);
}

.wpcf7-textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.65;
}

.wpcf7-form-control::placeholder {
  color: var(--muted-2);
  opacity: 1;
}

/* Labels */
.wpcf7-form p > label,
.wpcf7-form label {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .01em;
}

/* Submit button */
.wpcf7-submit,
input[type="submit"].wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lime);
  color: #fff;
  border: none;
  padding: 14px 36px;
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 700;
  border-radius: 100px;
  cursor: pointer;
  transition: all .28s var(--ease);
  letter-spacing: -.01em;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
  width: 100%;
}

.wpcf7-submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
}

.wpcf7-submit:hover {
  background: var(--lime-d);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--lime-glow);
}

.wpcf7-submit:hover::after {
  left: 140%;
}

.wpcf7-submit:active {
  transform: translateY(0);
}

/* Spinner */
.wpcf7-spinner {
  visibility: hidden;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 0 0 12px;
  padding: 0;
  border: 2.5px solid var(--lime-bg);
  border-top-color: var(--lime);
  border-radius: 50%;
  background: none;
  opacity: 1;
  position: relative;
  vertical-align: middle;
  animation: wpcf7-spin .7s linear infinite;
}
.wpcf7-spinner::before {
  display: none;
}
form.submitting .wpcf7-spinner {
  visibility: visible;
}
@keyframes wpcf7-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .wpcf7-spinner { animation: none; }
}

/* Validation errors */
.wpcf7-form-control.wpcf7-not-valid,
.wpcf7-form-control.has-error {
  border-color: #ef4444;
  background-color: rgba(239,68,68,.04);
}

.wpcf7-not-valid-tip {
  font-family: var(--fb);
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: block;
  font-weight: 500;
}

/* Success / error response messages */
.wpcf7-response-output {
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: var(--r);
  margin-top: 4px;
  animation: slideDown .4s var(--ease);
  border: 1.5px solid transparent;
}

.wpcf7-mail-sent-ok,
.wpcf7 .sent .wpcf7-response-output {
  background: rgba(106,191,0,.08);
  border-color: var(--lime-brd);
  color: var(--lime-d);
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-spam-blocked,
.wpcf7-invalid,
.wpcf7 .failed .wpcf7-response-output,
.wpcf7 .invalid .wpcf7-response-output,
.wpcf7 .spam .wpcf7-response-output {
  background: rgba(239,68,68,.06);
  border-color: rgba(239,68,68,.4);
  color: #c41c1c;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   ARCHIVE / BLOG LISTING
   ===================================================== */
.main-content--archive {
  padding: 80px 0 100px;
}

.archive-header,
.search-header {
  margin-bottom: 52px;
  animation: fu .7s .1s both;
}

.archive-title,
.search-title {
  font-family: var(--fh);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.search-title span {
  color: var(--lime-d);
  font-style: italic;
}

.archive-desc,
.search-count {
  font-family: var(--fb);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 64px;
}

.post-card {
  background: var(--white);
  border: 1.5px solid var(--brd);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
  animation: fu .7s both;
}

[data-theme="dark"] .post-card {
  background: var(--surf);
}

.post-card:nth-child(1) { animation-delay: .06s; }
.post-card:nth-child(2) { animation-delay: .12s; }
.post-card:nth-child(3) { animation-delay: .18s; }
.post-card:nth-child(4) { animation-delay: .24s; }

.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--lime-brd);
  box-shadow: var(--sh-lg);
}

.post-card:hover::before {
  transform: scaleX(1);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fb);
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.post-card-category {
  display: inline-block;
  background: var(--lime-bg);
  color: var(--lime-d);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 10px;
  border: 1px solid var(--lime-brd);
}

.post-card-title {
  font-family: var(--fh);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--ink);
  line-height: 1.28;
  letter-spacing: -.02em;
}

.post-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color .22s;
}

.post-card-title a:hover {
  color: var(--lime-d);
}

.post-card-excerpt {
  font-family: var(--fb);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.68;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 700;
  color: var(--lime-d);
  text-decoration: none;
  transition: gap .22s, color .22s;
  margin-top: auto;
}

.read-more:hover {
  gap: 12px;
  color: var(--lime);
}

/* =====================================================
   SEARCH RESULTS
   ===================================================== */
.search-results {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.search-result {
  padding: 28px 0;
  border-bottom: 1px solid var(--brd);
  transition: padding-left .22s var(--ease);
}

.search-result:hover {
  padding-left: 8px;
}

.result-title {
  font-family: var(--fh);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.02em;
  color: var(--ink);
}

.result-title a {
  color: inherit;
  text-decoration: none;
  transition: color .22s;
}

.result-title a:hover {
  color: var(--lime-d);
}

.result-meta {
  display: flex;
  gap: 14px;
  font-family: var(--fb);
  font-size: 12px;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.result-excerpt {
  font-family: var(--fb);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.68;
}

/* =====================================================
   404 PAGE
   ===================================================== */
.error-404 {
  text-align: center;
  padding: 80px 40px;
  animation: fu .7s .1s both;
}

.error-title {
  font-family: var(--fh);
  font-size: clamp(72px, 14vw, 140px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--lime), var(--cyan), var(--ai-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.04em;
}

.error-sub {
  font-family: var(--fb);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.error-message {
  font-family: var(--fb);
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 44px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.72;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =====================================================
   PAGINATION
   ===================================================== */
.wp-pagenavi,
.pagination,
.nav-links.posts-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 64px 0 24px;
  font-family: var(--fb);
  flex-wrap: wrap;
}

.page-numbers,
.wp-pagenavi .page,
.wp-pagenavi .next,
.wp-pagenavi .prev,
.wp-pagenavi .pages {
  padding: 9px 15px;
  border-radius: var(--r);
  background: var(--white);
  color: var(--muted);
  text-decoration: none;
  transition: all .22s var(--ease);
  border: 1.5px solid var(--brd);
  font-size: 14px;
  font-weight: 600;
  min-width: 40px;
  text-align: center;
}

.page-numbers:hover,
.wp-pagenavi .page:hover,
.wp-pagenavi .next:hover,
.wp-pagenavi .prev:hover {
  background: var(--lime);
  color: #fff;
  border-color: var(--lime);
  transform: translateY(-2px);
}

.page-numbers.current,
.wp-pagenavi .current {
  background: var(--lime);
  color: #fff;
  border-color: var(--lime);
  font-weight: 700;
}

.page-numbers.dots,
.wp-pagenavi .extend {
  background: transparent;
  border-color: transparent;
  cursor: default;
}

/* =====================================================
   POST NAVIGATION (PREV/NEXT)
   ===================================================== */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--brd);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.nav-previous,
.nav-next {
  padding: 22px 24px;
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--brd);
  transition: all .28s var(--ease);
  overflow: hidden;
}

[data-theme="dark"] .nav-previous,
[data-theme="dark"] .nav-next {
  background: var(--surf);
}

.nav-previous:hover,
.nav-next:hover {
  border-color: var(--lime-brd);
  background: var(--lime-bg);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

.nav-previous a,
.nav-next a {
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 700;
  color: var(--lime-d);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap .22s;
}

.nav-previous:hover a,
.nav-next:hover a {
  gap: 12px;
}

/* =====================================================
   GRADSHIFT ANIMATION (also used in main.css)
   ===================================================== */
@keyframes gradShift {
  to { background-position: 200% center; }
}

/* =====================================================
   DARK MODE OVERRIDES
   ===================================================== */
[data-theme="dark"] .contact-form-card {
  box-shadow: var(--sh-xl);
}

[data-theme="dark"] .contact-trust {
  background: rgba(106,191,0,.06);
  border-color: rgba(106,191,0,.2);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-info {
    position: static;
  }
}

@media (max-width: 768px) {
  .sub-hero {
    padding: 120px 0 52px;
    text-align: left;
  }

  .sub-hero .wrap {
    align-items: flex-start;
  }

  .sub-hero-title {
    font-size: clamp(30px, 7vw, 42px);
  }

  .sub-hero-sub {
    font-size: 16px;
  }

  .main-content {
    padding: 52px 0 72px;
  }

  .main-content--contact {
    padding: 48px 0 72px;
  }

  .contact-form-card {
    padding: 28px 24px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .post-navigation {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .error-404 {
    padding: 60px 20px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .sub-hero {
    padding: 110px 0 44px;
  }

  .breadcrumb {
    font-size: 12px;
  }
}


/* ============================================================
   v2.8 additions — 5-col footer, sub-page dark mode & polish
   ============================================================ */

/* ---- Sub-page professional polish ---- */
.main-content--page {
  max-width: 880px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
}

.main-content--page h1,
.main-content--page h2,
.main-content--page h3,
.main-content--page h4,
.main-content--page h5,
.main-content--page h6 {
  color: var(--ink);
  line-height: 1.25;
  margin: 2.2rem 0 0.8rem;
  font-weight: 700;
}

.main-content--page h2 { font-size: 1.7rem; }
.main-content--page h3 { font-size: 1.35rem; }
.main-content--page h4 { font-size: 1.12rem; }

.main-content--page h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--lime);
  border-radius: 2px;
  margin-top: 0.45rem;
}

.main-content--page p { margin: 0 0 1.2rem; }

.main-content--page ul,
.main-content--page ol { padding-left: 1.5rem; margin: 0 0 1.25rem; }

.main-content--page li { margin-bottom: 0.5rem; }

.main-content--page ul li::marker { color: var(--lime); }

.main-content--page a { color: var(--lime); text-underline-offset: 3px; }
.main-content--page a:hover { opacity: .75; }

.main-content--page img {
  max-width: 100%;
  height: auto;
  border-radius: 0.8rem;
  margin: 1.5rem 0;
}

.main-content--page blockquote {
  border-left: 3px solid var(--lime);
  margin: 1.6rem 0;
  padding: 0.8rem 1.3rem;
  background: rgba(106,191,0,0.06);
  border-radius: 0 0.6rem 0.6rem 0;
  font-style: italic;
  color: var(--ink);
}

.main-content--page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.main-content--page th,
.main-content--page td {
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(127,127,127,0.22);
  text-align: left;
}

.main-content--page th {
  background: var(--lime);
  color: #fff;
  font-weight: 700;
}

/* ---- Sub-page DARK MODE (token-driven) ---- */
[data-theme="dark"] body {
  background: var(--bg);
  color: var(--ink);
}

[data-theme="dark"] .sub-hero {
  background: var(--bg);
}

[data-theme="dark"] .sub-hero-title { color: var(--ink); }

[data-theme="dark"] .main-content--page { color: var(--muted); }

[data-theme="dark"] .main-content--page h1,
[data-theme="dark"] .main-content--page h2,
[data-theme="dark"] .main-content--page h3,
[data-theme="dark"] .main-content--page h4 { color: var(--ink); }

[data-theme="dark"] .main-content--page blockquote {
  background: rgba(106,191,0,0.10);
  color: var(--ink);
}

[data-theme="dark"] .main-content--page th { color: #0d1117; }


/* ============================================================
   v3.3 — Nav dropdowns (live-site sync) + mobile menu
   ============================================================ */

.nav-links > li { position: relative; }

.nav-links .drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 250px;
  background: #fff;
  border: 1px solid rgba(13,17,23,.06);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(13,17,23,.14);
  padding: 10px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 300;
}

.nav-links li.drop:hover > .drop-menu,
.nav-links li.drop:focus-within > .drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* hover bridge so the panel doesn't close crossing the gap */
.nav-links li.drop::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 14px;
}

.nav-links .drop-menu li { display: block; margin: 0; }

.drop-toggle { display: none; }

.nav-links .drop-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: background .18s, color .18s, padding-left .18s;
}

.nav-links .drop-menu a::after { display: none; }

.nav-links .drop-menu a:hover {
  background: rgba(106,191,0,.10);
  color: #4f9400;
  padding-left: 18px;
}

[data-theme="dark"] .nav-links .drop-menu {
  background: #0d1326;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

[data-theme="dark"] .nav-links .drop-menu a { color: var(--ink); }
[data-theme="dark"] .nav-links .drop-menu a:hover { background: rgba(106,191,0,.14); color: var(--lime); }

/* ---- Mobile menu (≤768px) ---- */
@media (max-width: 768px) {
  /* backdrop-filter on .nav.stuck creates a containing block for fixed
     descendants, trapping the full-screen overlay inside the nav bar's
     own height instead of the viewport — drop it while the menu is open. */
  .nav.open.stuck {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav.open .nav-bottom {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 240;
    overflow-y: auto;
    padding: 110px 26px 40px;
    animation: navFade .25s ease;
  }
  [data-theme="dark"] .nav.open .nav-bottom { background: var(--bg); }

  @keyframes navFade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

  .nav.open .nav-top { position: relative; z-index: 260; }

  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }

  .nav-links > li { border-bottom: 1px solid rgba(13,17,23,.07); }
  [data-theme="dark"] .nav-links > li { border-color: rgba(255,255,255,.07); }

  .nav-links > li > a {
    display: block;
    padding: 15px 4px;
    font-size: 17px;
    font-weight: 700;
  }

  .nav-links li.drop { display: flex; align-items: center; flex-wrap: wrap; }
  .nav-links li.drop > a { flex: 1 1 auto; padding-right: 4px; }
  .nav-links li.drop > .drop-menu { flex: 0 0 100%; width: 100%; }
  .nav-links li.drop > a::before { display: none; }

  .drop-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  .drop-toggle::after {
    content: '+';
    font-size: 20px;
    font-weight: 800;
    color: var(--lime);
    line-height: 1;
  }
  .nav-links li.drop.open > .drop-toggle::after { content: '\2212'; }

  .nav-links .drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    min-width: 0;
    padding: 0 0 8px 14px;
    display: none;
  }

  .nav-links li.drop.open > .drop-menu { display: block; }

  /* beat desktop hover/focus rules on mobile */
  .nav-links li.drop:hover > .drop-menu,
  .nav-links li.drop:focus-within > .drop-menu {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-links li.drop:not(.open):hover > .drop-menu,
  .nav-links li.drop:not(.open):focus-within > .drop-menu {
    display: none;
  }
  .nav-links li.drop.open:hover > .drop-menu,
  .nav-links li.drop.open:focus-within > .drop-menu {
    display: block;
  }

  .nav-links .drop-menu a { white-space: normal; padding: 10px 8px; }

  body.nav-locked { overflow: hidden; }

  /* ham → X */
  .ham.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .ham.active span:nth-child(2) { opacity: 0; }
  .ham.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .ham span { transition: transform .25s ease, opacity .2s ease; }
}


/* ============================================================
   v3.4 — Double-heading fix, legacy animation rescue,
   image presentation & motion, page CTA band
   ============================================================ */

/* 1) Hide legacy in-content title banners (hero already shows the title) */
.main-content--page .page-title,
.page-content .page-title,
article .page-content > .text-center > .page-title { display: none !important; }

/* 2) Rescue content trapped by the old Animate It! plugin (eds-animate) */
.eds-animate,
.edsanimate-sis-hidden {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: none !important;
}

/* 3) Professional content imagery — tech-agency motion language */
.main-content--page img.img-card,
.page-content img.img-card {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 14px 44px rgba(13,17,23,.10);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}

.main-content--page img.img-card:hover,
.page-content img.img-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 26px 64px rgba(106,191,0,.20);
}

[data-theme="dark"] .main-content--page img.img-card,
[data-theme="dark"] .page-content img.img-card {
  box-shadow: 0 14px 44px rgba(0,0,0,.45);
}

/* reveal-on-scroll: rise + sharpen (digital/tech feel) */
.img-reveal {
  opacity: 0;
  transform: translateY(28px) scale(.97);
  filter: blur(7px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease;
}
.img-reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}
/* stagger via inline --d set by JS */
.img-reveal { transition-delay: var(--d, 0s); }

/* gentle float loop for hero-ish standalone images */
@keyframes ntFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.img-float.in { animation: ntFloat 6.5s ease-in-out 1.2s infinite; }

@media (prefers-reduced-motion: reduce) {
  .img-reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .img-float.in { animation: none !important; }
}

/* 4) Page CTA band */
.page-cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: 96px 0;
  text-align: center;
}

.page-cta::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,191,0,.28), transparent 65%);
  top: -260px; right: -160px;
  pointer-events: none;
}

.page-cta::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,191,0,.16), transparent 65%);
  bottom: -220px; left: -140px;
  pointer-events: none;
}

.page-cta .wrap { position: relative; z-index: 1; }

.page-cta .cta-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}

.page-cta h2 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin: 0 0 16px;
}

.page-cta p {
  color: rgba(244,247,255,.62);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 38px;
  line-height: 1.7;
}

.page-cta .cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.32); }
.page-cta .btn-outline:hover { border-color: var(--lime); color: var(--lime); }

.page-cta .btn-lime { box-shadow: 0 14px 38px rgba(106,191,0,.35); }
.page-cta .btn-lime:hover { transform: translateY(-3px); box-shadow: 0 20px 48px rgba(106,191,0,.45); }

[data-theme="dark"] .page-cta { background: #060a16; }

@media (max-width: 640px) {
  .page-cta { padding: 70px 0; }
}


/* ============================================================
   v3.5 — Content polish: width, type scale, image alignment,
   legacy grid support, paragraph rhythm
   ============================================================ */

/* Wider, still readable content column */
.main-content--page {
  max-width: 1080px;
  font-size: 1.02rem;
  line-height: 1.78;
}

/* Professional, consistent type scale for content */
.main-content--page h1,
.main-content--page h2,
.main-content--page h3,
.main-content--page h4,
.main-content--page h5,
.main-content--page h6 {
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--ink);
}

.main-content--page h1 { font-size: 34px; font-weight: 800; margin: 2.4rem 0 1rem; }
.main-content--page h2 { font-size: 28px; font-weight: 800; margin: 2.4rem 0 .9rem; }
.main-content--page h3 { font-size: 22px; font-weight: 700; margin: 2rem 0 .7rem; }
.main-content--page h4 { font-size: 18px; font-weight: 700; margin: 1.6rem 0 .6rem; }
.main-content--page h5,
.main-content--page h6 { font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 1.4rem 0 .5rem; }

.main-content--page > h1:first-child,
.main-content--page > h2:first-child,
.main-content--page h2:first-child { margin-top: 0; }

/* Tight, even paragraph rhythm */
.main-content--page p { margin: 0 0 1.05rem; }
.main-content--page p:last-child { margin-bottom: 0; }
.main-content--page p:empty { display: none; }
.nt-hide { display: none !important; }

/* Small inline icons (list bullets etc.) stay plain */
.main-content--page img:not(.img-card),
.page-content img:not(.img-card) {
  display: inline-block;
  vertical-align: middle;
  border-radius: 0;
  box-shadow: none;
}

/* Feature images: centered, even margins */
.main-content--page img.img-card,
.page-content img.img-card {
  margin: 26px auto;
}

/* Legacy Bootstrap-style grid support (old page markup) */
.main-content--page .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
  align-items: stretch;
}

.main-content--page .row > [class*="col-"] {
  padding: 0 12px;
  box-sizing: border-box;
  min-width: 0;
}

.main-content--page .col-md-3 { flex: 0 0 25%; max-width: 25%; }
.main-content--page .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.main-content--page .col-md-6 { flex: 0 0 50%; max-width: 50%; }
.main-content--page .col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.main-content--page .col-md-12 { flex: 0 0 100%; max-width: 100%; }

.main-content--page .row img.img-card,
.main-content--page [class*="col-"] img.img-card {
  width: 100%;
  margin: 12px auto;
}

@media (max-width: 820px) {
  .main-content--page .col-md-3,
  .main-content--page .col-md-4 { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 560px) {
  .main-content--page [class*="col-"] { flex: 0 0 100% !important; max-width: 100% !important; }
}

[data-theme="dark"] .main-content--page h1,
[data-theme="dark"] .main-content--page h2,
[data-theme="dark"] .main-content--page h3,
[data-theme="dark"] .main-content--page h4 { color: var(--ink); }


/* ============================================================
   v3.6 — Full-width content + complete legacy grid coverage
   ============================================================ */

.main-content--page {
  max-width: 1200px; /* matches homepage .wrap */
}

/* media+text rows read better vertically centered */
.main-content--page .row { align-items: center; }

/* Complete col-* coverage (legacy Bootstrap markup: xs/sm/md/lg) */
.main-content--page .col-sm-1, .main-content--page .col-xs-1, .main-content--page .col-lg-1 { flex: 0 0 8.333%; max-width: 8.333%; }
.main-content--page .col-sm-2, .main-content--page .col-xs-2, .main-content--page .col-lg-2 { flex: 0 0 16.666%; max-width: 16.666%; }
.main-content--page .col-sm-3, .main-content--page .col-xs-3, .main-content--page .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.main-content--page .col-sm-4, .main-content--page .col-xs-4, .main-content--page .col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.main-content--page .col-sm-5, .main-content--page .col-xs-5, .main-content--page .col-lg-5 { flex: 0 0 41.666%; max-width: 41.666%; }
.main-content--page .col-sm-6, .main-content--page .col-xs-6, .main-content--page .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.main-content--page .col-sm-7, .main-content--page .col-xs-7, .main-content--page .col-lg-7 { flex: 0 0 58.333%; max-width: 58.333%; }
.main-content--page .col-sm-8, .main-content--page .col-xs-8, .main-content--page .col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.main-content--page .col-sm-9, .main-content--page .col-xs-9, .main-content--page .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
.main-content--page .col-sm-10, .main-content--page .col-xs-10, .main-content--page .col-lg-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.main-content--page .col-sm-11, .main-content--page .col-xs-11, .main-content--page .col-lg-11 { flex: 0 0 91.666%; max-width: 91.666%; }
.main-content--page .col-sm-12, .main-content--page .col-xs-12, .main-content--page .col-lg-12,
.main-content--page .col-md-1, .main-content--page .col-md-2, .main-content--page .col-md-5,
.main-content--page .col-md-7, .main-content--page .col-md-9, .main-content--page .col-md-10, .main-content--page .col-md-11 { min-width: 0; }
.main-content--page .col-sm-12, .main-content--page .col-xs-12, .main-content--page .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
.main-content--page .col-md-5 { flex: 0 0 41.666%; max-width: 41.666%; }
.main-content--page .col-md-7 { flex: 0 0 58.333%; max-width: 58.333%; }

/* images inside any column fill it */
.main-content--page [class*="col-"] img.img-card { width: 100%; margin: 12px auto; }

/* intro/lede copy */
.main-content--page .lede,
.main-content--page .full-lede { font-size: 1.05rem; line-height: 1.8; }

/* tablet: halves hold, quarters go 2-up */
@media (max-width: 820px) {
  .main-content--page .col-sm-5, .main-content--page .col-sm-7 { flex: 0 0 100%; max-width: 100%; }
}


/* ============================================================
   v3.6 — Wider content + legacy col-sm-* split layouts
   (old markup has no .row wrapper — float-based like Bootstrap)
   ============================================================ */

.main-content--page { max-width: 1200px; }

.main-content--page [class*="col-sm-"] {
  float: left;
  box-sizing: border-box;
  padding: 0 16px;
}

.main-content--page .col-sm-3 { width: 25%; }
.main-content--page .col-sm-4 { width: 33.333%; }
.main-content--page .col-sm-6 { width: 50%; }
.main-content--page .col-sm-8 { width: 66.666%; }
.main-content--page .col-sm-9 { width: 75%; }
.main-content--page .col-sm-12 { width: 100%; clear: both; }

/* clear floats so following content flows correctly */
.main-content--page .page-content::after,
.main-content--page article::after,
.main-content--page::after {
  content: '';
  display: table;
  clear: both;
}

/* inside flex .row wrappers, flex wins over float */
.main-content--page .row > .col-sm-3 { flex: 0 0 25%; max-width: 25%; float: none; }
.main-content--page .row > .col-sm-4 { flex: 0 0 33.333%; max-width: 33.333%; float: none; }
.main-content--page .row > .col-sm-6 { flex: 0 0 50%; max-width: 50%; float: none; }
.main-content--page .row > .col-sm-12 { flex: 0 0 100%; max-width: 100%; float: none; }

/* image inside a split column fills it cleanly */
.main-content--page [class*="col-sm-"] img.img-card,
.main-content--page [class*="col-sm-"] img {
  width: 100%;
  height: auto;
  margin: 6px auto;
}

/* text column ('lede') aligns nicely beside image */
.main-content--page .lede { font-size: 1.04rem; line-height: 1.8; }
.main-content--page [class*="col-sm-"] > :first-child { margin-top: 0; }

/* stack on small screens */
@media (max-width: 700px) {
  .main-content--page [class*="col-sm-"] {
    width: 100% !important;
    float: none;
    padding: 0;
  }
}


/* v3.61 — release inner prose cap so wide layouts use the full column */
.main-content--page .page-content {
  max-width: 100%;
  width: 100%;
}


/* ============================================================
   v3.7 — Hero topic illustrations (code-drawn SVG)
   ============================================================ */

.hero-illus {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  pointer-events: none;
  z-index: 1;
  animation: ntFloat 7s ease-in-out 1.6s infinite;
}

.hero-illus svg { width: 100%; height: auto; display: block; }

.hi-frame { fill: #fff; stroke: rgba(13,17,23,.16); stroke-width: 2; }
.hi-frameline { stroke: rgba(13,17,23,.12); stroke-width: 2; }
.hi-dot { fill: var(--lime); opacity: .75; }

.hi-candles line { stroke: rgba(13,17,23,.28); stroke-width: 2; }
.hi-candles .up { fill: rgba(106,191,0,.88); }
.hi-candles .dn { fill: rgba(13,17,23,.16); }

.hi-line {
  fill: none;
  stroke: var(--lime);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: hiDraw 1.8s cubic-bezier(.4,0,.2,1) .5s forwards;
}

.hi-cards .card { fill: #fff; stroke: rgba(13,17,23,.12); stroke-width: 2; }
.hi-cards .bar { fill: rgba(106,191,0,.55); }

.hi-bars rect { fill: rgba(13,17,23,.13); }
.hi-bars .hot { fill: var(--lime); }

.hi-gauge-bg { fill: none; stroke: rgba(13,17,23,.10); stroke-width: 6; }
.hi-gauge {
  fill: none;
  stroke: var(--lime);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 165;
  stroke-dashoffset: 165;
  animation: hiDraw 1.4s ease 1s forwards;
}

@keyframes hiDraw { to { stroke-dashoffset: 0; } }

.hi-candles rect, .hi-bars rect, .hi-cards rect, .hi-dot {
  opacity: 0;
  animation: hiIn .55s ease forwards;
}
.hi-candles rect:nth-of-type(1) { animation-delay: .3s; }
.hi-candles rect:nth-of-type(2) { animation-delay: .45s; }
.hi-candles rect:nth-of-type(3) { animation-delay: .6s; }
.hi-candles rect:nth-of-type(4) { animation-delay: .75s; }
.hi-cards rect:nth-of-type(1) { animation-delay: .5s; }
.hi-cards rect:nth-of-type(2) { animation-delay: .62s; }
.hi-cards rect:nth-of-type(3) { animation-delay: .74s; }
.hi-cards rect:nth-of-type(4) { animation-delay: .86s; }
.hi-bars rect:nth-of-type(1) { animation-delay: .9s; }
.hi-bars rect:nth-of-type(2) { animation-delay: 1s; }
.hi-bars rect:nth-of-type(3) { animation-delay: 1.1s; }
.hi-bars rect:nth-of-type(4) { animation-delay: 1.2s; }
.hi-dot { animation-delay: .2s; }

@keyframes hiIn { to { opacity: 1; } }

[data-theme="dark"] .hi-frame { fill: #0d1326; stroke: rgba(255,255,255,.14); }
[data-theme="dark"] .hi-frameline { stroke: rgba(255,255,255,.10); }
[data-theme="dark"] .hi-candles line { stroke: rgba(255,255,255,.30); }
[data-theme="dark"] .hi-candles .dn { fill: rgba(255,255,255,.16); }
[data-theme="dark"] .hi-cards .card { fill: #111a30; stroke: rgba(255,255,255,.10); }
[data-theme="dark"] .hi-bars rect { fill: rgba(255,255,255,.14); }
[data-theme="dark"] .hi-bars .hot { fill: var(--lime); }
[data-theme="dark"] .hi-gauge-bg { stroke: rgba(255,255,255,.12); }

@media (prefers-reduced-motion: reduce) {
  .hero-illus { animation: none; }
  .hi-line, .hi-gauge { stroke-dashoffset: 0; animation: none; }
  .hi-candles rect, .hi-bars rect, .hi-cards rect, .hi-dot { opacity: 1; animation: none; }
}

@media (max-width: 1140px) { .hero-illus { display: none; } }


/* v3.71 — illustration recedes when title space is tight */
@media (max-width: 1560px) {
  .hero-illus { width: 310px; right: 2.5%; opacity: .5; }
}
@media (min-width: 1561px) {
  .hero-illus { opacity: 1; }
}


/* ============================================================
   v3.8 — Professional two-column hero (text left, illus right)
   ============================================================ */

.sub-hero.has-illus .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  column-gap: 60px;
  text-align: left;
}

.sub-hero.has-illus .breadcrumb { justify-content: flex-start; }
.sub-hero.has-illus .sub-hero-tag { text-align: left; }

.sub-hero.has-illus .hero-illus {
  position: static;
  transform: none;
  opacity: 1;
  width: 100%;
  grid-column: 2;
  grid-row: 1 / span 3;
  animation: ntFloat 7s ease-in-out 1.8s infinite;
}

.sub-hero.has-illus .hero-illus svg {
  filter: drop-shadow(0 28px 56px rgba(13,17,23,.14));
}

[data-theme="dark"] .sub-hero.has-illus .hero-illus svg {
  filter: drop-shadow(0 28px 56px rgba(0,0,0,.5));
}

/* crisper frame at larger size */
.sub-hero.has-illus .hi-frame { stroke-width: 2.5; }

/* override the recede + hide rules when the illus lives in the grid */
@media (max-width: 1560px) {
  .sub-hero.has-illus .hero-illus { opacity: 1; width: 100%; right: auto; }
}

@media (max-width: 1140px) {
  .sub-hero.has-illus .hero-illus { display: block; }
}

/* tablet & down: stack, center, smaller */
@media (max-width: 1000px) {
  .sub-hero.has-illus .wrap {
    grid-template-columns: 1fr;
    row-gap: 30px;
    text-align: center;
  }
  .sub-hero.has-illus .breadcrumb { justify-content: center; }
  .sub-hero.has-illus .sub-hero-tag { text-align: center; }
  .sub-hero.has-illus .hero-illus {
    grid-column: 1;
    grid-row: auto;
    max-width: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .sub-hero.has-illus .hero-illus { max-width: 280px; }
}


/* ============================================================
   v3.9 — Living illustrations: ambient loops + code editor
   ============================================================ */

/* ---- shared ambient keyframes ---- */
@keyframes hiBreathe { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.14); } }
@keyframes hiEq { 0%,100% { transform: scaleY(1); } 40% { transform: scaleY(.66); } 70% { transform: scaleY(1.08); } }
@keyframes hiData { 0%,100% { transform: scaleX(1); } 45% { transform: scaleX(.7); } 72% { transform: scaleX(1.06); } }
@keyframes hiGlow { 0%,100% { stroke-opacity: 1; } 50% { stroke-opacity: .5; } }
@keyframes hiBlinkSoft { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes hiPulseS { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@keyframes hiRing { 0% { transform: scale(.5); opacity: .9; } 75% { transform: scale(2.6); opacity: 0; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes hcType { to { transform: scaleX(1); } }
@keyframes hcBlink { 50% { opacity: 0; } }

/* ---- CRM: live-data loops layered onto entrances ---- */
.hi-candles rect { transform-box: fill-box; transform-origin: center; }
.hi-candles rect:nth-of-type(1) { animation: hiIn .55s ease .3s forwards, hiBreathe 4.2s ease-in-out 2.2s infinite; }
.hi-candles rect:nth-of-type(2) { animation: hiIn .55s ease .45s forwards, hiBreathe 5s ease-in-out 2.6s infinite; }
.hi-candles rect:nth-of-type(3) { animation: hiIn .55s ease .6s forwards, hiBreathe 4.6s ease-in-out 2.4s infinite; }
.hi-candles rect:nth-of-type(4) { animation: hiIn .55s ease .75s forwards, hiBreathe 5.4s ease-in-out 2.9s infinite; }

.hi-bars rect { transform-box: fill-box; transform-origin: center bottom; }
.hi-bars rect:nth-of-type(1) { animation: hiIn .55s ease .9s forwards, hiEq 3.4s ease-in-out 2.3s infinite; }
.hi-bars rect:nth-of-type(2) { animation: hiIn .55s ease 1s forwards, hiEq 4s ease-in-out 2.6s infinite; }
.hi-bars rect:nth-of-type(3) { animation: hiIn .55s ease 1.1s forwards, hiEq 3.1s ease-in-out 2.45s infinite; }
.hi-bars rect:nth-of-type(4) { animation: hiIn .55s ease 1.2s forwards, hiEq 4.4s ease-in-out 2.8s infinite; }

.hi-cards .bar { transform-box: fill-box; transform-origin: left center; }
.hi-cards rect:nth-of-type(2) { animation: hiIn .55s ease .62s forwards, hiData 4.2s ease-in-out 3s infinite; }
.hi-cards rect:nth-of-type(4) { animation: hiIn .55s ease .86s forwards, hiData 5s ease-in-out 3.4s infinite; }

.hi-line { animation: hiDraw 1.8s cubic-bezier(.4,0,.2,1) .5s forwards, hiGlow 3.6s ease-in-out 2.8s infinite; }
.hi-gauge { animation: hiDraw 1.4s ease 1s forwards, hiGlow 3.2s ease-in-out 3s infinite; }

.hi-dot:nth-of-type(1) { animation: hiIn .4s ease .2s forwards, hiBlinkSoft 2.6s ease-in-out 2.2s infinite; }
.hi-dot:nth-of-type(2) { animation: hiIn .4s ease .3s forwards, hiBlinkSoft 2.6s ease-in-out 2.5s infinite; }
.hi-dot:nth-of-type(3) { animation: hiIn .4s ease .4s forwards, hiBlinkSoft 2.6s ease-in-out 2.8s infinite; }

/* live-data point at the tip of the trend line */
.hi-live {
  fill: var(--lime);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: hiIn .35s ease 2.3s forwards, hiPulseS 2s ease-in-out 2.7s infinite;
}
.hi-live-ring {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: hiRing 2s ease-out 2.7s infinite;
}

/* ---- CODE editor illustration ---- */
.hc-code .ln {
  fill: rgba(13,17,23,.16);
  transform-box: fill-box;
  transform-origin: left center;
  transform: scaleX(0);
  animation: hcType .45s cubic-bezier(.2,.7,.3,1) forwards;
}
.hc-code .ln.lm { fill: rgba(106,191,0,.75); }
.hc-code .ln:nth-of-type(1) { animation-delay: .3s; }
.hc-code .ln:nth-of-type(2) { animation-delay: .44s; }
.hc-code .ln:nth-of-type(3) { animation-delay: .58s; }
.hc-code .ln:nth-of-type(4) { animation-delay: .72s; }
.hc-code .ln:nth-of-type(5) { animation-delay: .86s; }
.hc-code .ln:nth-of-type(6) { animation-delay: 1s; }
.hc-code .ln:nth-of-type(7) { animation-delay: 1.14s; }
.hc-code .ln:nth-of-type(8) { animation-delay: 1.28s; }

.hc-cursor {
  fill: var(--lime);
  opacity: 0;
  animation: hiIn .15s ease 1.45s forwards, hcBlink 1.05s steps(2, end) 1.6s infinite;
}

.hc-prev rect { opacity: 0; animation: hiIn .5s ease forwards; }
.hc-prev .pv-frame { fill: #fff; stroke: rgba(13,17,23,.12); stroke-width: 2; animation-delay: .5s; }
.hc-prev .pv-bar { fill: rgba(106,191,0,.6); animation-delay: .68s; }
.hc-prev .pv-hero { fill: rgba(13,17,23,.08); animation-delay: .84s; }
.hc-prev .pv-card { fill: rgba(106,191,0,.16); stroke: rgba(106,191,0,.5); stroke-width: 1.5; }
.hc-prev rect:nth-of-type(4) { animation-delay: 1s; }
.hc-prev rect:nth-of-type(5) { animation-delay: 1.12s; }
.hc-prev .pv-line { fill: rgba(13,17,23,.12); }
.hc-prev rect:nth-of-type(6) { animation-delay: 1.28s; }
.hc-prev rect:nth-of-type(7) { animation-delay: 1.4s; }

/* preview ambient: cards shimmer gently */
.hc-prev .pv-card { transform-box: fill-box; transform-origin: center; }
.hc-prev rect.pv-card:nth-of-type(4) { animation: hiIn .5s ease 1s forwards, hiBlinkSoft 3.6s ease-in-out 2.6s infinite; }
.hc-prev rect.pv-card:nth-of-type(5) { animation: hiIn .5s ease 1.12s forwards, hiBlinkSoft 4.2s ease-in-out 3s infinite; }
.hc-prev .pv-bar { transform-box: fill-box; transform-origin: left center; animation: hiIn .5s ease .68s forwards, hiData 5s ease-in-out 3.2s infinite; }

/* dark mode for code editor */
[data-theme="dark"] .hc-code .ln { fill: rgba(255,255,255,.18); }
[data-theme="dark"] .hc-code .ln.lm { fill: rgba(106,191,0,.8); }
[data-theme="dark"] .hc-prev .pv-frame { fill: #111a30; stroke: rgba(255,255,255,.10); }
[data-theme="dark"] .hc-prev .pv-hero { fill: rgba(255,255,255,.10); }
[data-theme="dark"] .hc-prev .pv-line { fill: rgba(255,255,255,.14); }

/* reduced motion: freeze everything visible */
@media (prefers-reduced-motion: reduce) {
  .hi-candles rect, .hi-bars rect, .hi-cards rect, .hi-dot,
  .hi-live, .hi-live-ring, .hi-line, .hi-gauge,
  .hc-code .ln, .hc-cursor, .hc-prev rect {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hi-live-ring { opacity: 0 !important; }
}


/* ============================================================
   v4.0 — Contact page: pro form styling + info sidebar
   ============================================================ */

/* two-column layout when the contact aside is present */
.main-content--page:has(.contact-aside) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 52px;
  align-items: start;
}

/* ---- CF7 form ---- */
.wpcf7 form > p {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
  letter-spacing: .01em;
}

.wpcf7 .wpcf7-form-control-wrap { display: block; margin: 0 0 20px; }

.wpcf7 input.wpcf7-form-control:not([type="submit"]):not([type="hidden"]),
.wpcf7 textarea.wpcf7-form-control,
.wpcf7 select.wpcf7-form-control {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(13,17,23,.14);
  border-radius: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.wpcf7 textarea.wpcf7-form-control { min-height: 150px; resize: vertical; }

.wpcf7 input.wpcf7-form-control:focus,
.wpcf7 textarea.wpcf7-form-control:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(106,191,0,.16);
}

.wpcf7 input.wpcf7-form-control::placeholder,
.wpcf7 textarea.wpcf7-form-control::placeholder { color: var(--muted-2); opacity: 1; }

.wpcf7 input[type="submit"] {
  display: inline-block;
  padding: 14px 34px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: var(--lime);
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(106,191,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(106,191,0,.45);
}

.wpcf7 .wpcf7-not-valid-tip { color: #d23b3b; font-size: .85rem; margin-top: 6px; }
.wpcf7 .wpcf7-response-output {
  border-radius: 12px !important;
  padding: 14px 18px !important;
  margin: 18px 0 0 !important;
  border: 1.5px solid var(--lime) !important;
  background: rgba(106,191,0,.08);
}

[data-theme="dark"] .wpcf7 input.wpcf7-form-control:not([type="submit"]):not([type="hidden"]),
[data-theme="dark"] .wpcf7 textarea.wpcf7-form-control {
  background: #0d1326;
  border-color: rgba(255,255,255,.14);
  color: var(--ink);
}
[data-theme="dark"] .wpcf7 form > p { color: var(--ink); }

/* ---- Contact aside card ---- */
.contact-aside { position: sticky; top: 120px; }

.ca-card {
  background: var(--ink);
  border-radius: 24px;
  padding: 38px 34px;
  color: rgba(244,247,255,.7);
  position: relative;
  overflow: hidden;
}

.ca-card::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(106,191,0,.3), transparent 65%);
  top: -140px; right: -110px;
  pointer-events: none;
}

.ca-card > * { position: relative; }

.ca-card h3 {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 12px 0 8px;
}

.ca-sub { font-size: .92rem; margin: 0 0 26px; }

.ca-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 18px; }

.ca-list li { display: flex; gap: 14px; align-items: flex-start; }

.ca-ic {
  flex: 0 0 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(106,191,0,.16);
  font-size: 17px;
}

.ca-list strong { display: block; color: #fff; font-size: .85rem; margin-bottom: 2px; }
.ca-list a { color: var(--lime); text-decoration: none; font-size: .95rem; }
.ca-list a:hover { text-decoration: underline; }
.ca-list span:last-child { font-size: .95rem; }

.ca-socials .soc { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.75); }
.ca-socials .soc:hover { background: var(--lime); border-color: var(--lime); color: #000; }

[data-theme="dark"] .ca-card { background: #060a16; }

@media (max-width: 980px) {
  .main-content--page:has(.contact-aside) { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}


/* v4.6 — Reduce sub-page hero title size */
.sub-hero-title { font-size: clamp(28px, 3.6vw, 46px) !important; letter-spacing: -.02em; }
@media (max-width: 768px) { .sub-hero-title { font-size: clamp(26px, 6vw, 36px) !important; } }


/* ============================================================
   v4.8 — Our Services redesign (intro + modern icon cards)
   ============================================================ */
.svc-intro { text-align: center; margin: 0 auto 54px; }
.svc-eyebrow { display:inline-block; font-size:12px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; color:var(--lime); margin-bottom:14px; }
.svc-headline { font-size: clamp(26px,3.4vw,40px); font-weight:800; letter-spacing:-.03em; line-height:1.12; margin:0 0 14px; color:var(--ink); }
.svc-headline::after { display:none; }
.svc-sub { font-size:1.05rem; color:var(--muted); line-height:1.7; margin:0; }

.svc-grid2 { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
@media (max-width:900px){ .svc-grid2{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .svc-grid2{ grid-template-columns:minmax(0,1fr);} }

.svc2-card { position:relative; display:block; text-decoration:none; color:inherit; background:#fff; border:1px solid rgba(13,17,23,.08); border-radius:22px; padding:32px 28px; overflow:hidden; transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.svc2-card::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg, rgba(106,191,0,.07), transparent 60%); opacity:0; transition:opacity .35s ease; }
.svc2-card:hover { transform:translateY(-8px); box-shadow:0 26px 56px rgba(13,17,23,.12); border-color:rgba(106,191,0,.45); }
.svc2-card:hover::before { opacity:1; }
.svc2-card > * { position:relative; }

.svc2-ic { display:flex; align-items:center; justify-content:center; width:58px; height:58px; border-radius:16px; background:rgba(106,191,0,.12); color:#4f9400; margin-bottom:20px; transition:background .35s ease, transform .35s ease; }
.svc2-ic svg { width:28px; height:28px; }
.svc2-card:hover .svc2-ic { background:var(--lime); color:#fff; transform:scale(1.08) rotate(-4deg); }

.svc2-card h3 { font-size:18px !important; font-weight:800; letter-spacing:-.01em; margin:0 0 10px !important; color:var(--ink); }
.svc2-card h3::after { display:none !important; }
.svc2-card p { font-size:.92rem; color:var(--muted); line-height:1.62; margin:0 0 16px; }
.svc2-arrow { display:inline-block; font-size:.85rem; font-weight:800; color:var(--lime); opacity:0; transform:translateX(-6px); transition:opacity .3s ease, transform .3s ease; }
.svc2-card:hover .svc2-arrow { opacity:1; transform:none; }

[data-theme="dark"] .svc2-card { background:#0d1326; border-color:rgba(255,255,255,.08); }
[data-theme="dark"] .svc2-ic { background:rgba(106,191,0,.16); color:var(--lime); }
[data-theme="dark"] .svc2-card:hover .svc2-ic { color:#0d1117; }

.svc2-card { opacity:0; transform:translateY(22px); animation:svc2In .6s cubic-bezier(.2,.7,.2,1) forwards; }
.svc-grid2 .svc2-card:nth-child(1){animation-delay:.04s}.svc-grid2 .svc2-card:nth-child(2){animation-delay:.08s}.svc-grid2 .svc2-card:nth-child(3){animation-delay:.12s}.svc-grid2 .svc2-card:nth-child(4){animation-delay:.16s}.svc-grid2 .svc2-card:nth-child(5){animation-delay:.2s}.svc-grid2 .svc2-card:nth-child(6){animation-delay:.24s}.svc-grid2 .svc2-card:nth-child(n+7){animation-delay:.28s}
@keyframes svc2In { to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce){ .svc2-card{ opacity:1; transform:none; animation:none; } }


/* v4.9 — Our Services card structure fix (div card + stretched link) */
.svc-grid2 .svc2-card { cursor: default; }
.svc-grid2 a.svc2-card { cursor: pointer; }
.svc2-link { position: relative; display:inline-block; margin-top:4px; font-size:.85rem; font-weight:800; color:var(--lime); text-decoration:none; opacity:0; transform:translateX(-6px); transition:opacity .3s ease, transform .3s ease; z-index:2; }
.svc2-card:hover .svc2-link { opacity:1; transform:none; }
/* make whole card clickable via stretched link */
.svc2-card:has(.svc2-link) { cursor:pointer; }
.svc2-card .svc2-link::after { content:''; position:absolute; inset:0; }
.svc2-card:has(.svc2-link):hover { transform:translateY(-8px); box-shadow:0 26px 56px rgba(13,17,23,.12); border-color:rgba(106,191,0,.45); }
.svc2-card:has(.svc2-link):hover .svc2-ic { background:var(--lime); color:#fff; transform:scale(1.08) rotate(-4deg); }


/* v5.0 — Services hero illustration (hub + service tiles) */
.hs-hub { fill: var(--lime); }
.hs-hub-ring { fill: none; stroke: var(--lime); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: hiRing 2.4s ease-out 1.4s infinite; }
.hs-hub, .hs-hub-mark { transform-box: fill-box; transform-origin: center; }
.hs-hub { opacity: 0; animation: hiIn .5s ease .3s forwards, hiPulseS 2.6s ease-in-out 1.6s infinite; }
.hs-hub-mark { opacity: 0; animation: hiIn .4s ease .7s forwards; }
.hs-tile { fill: #fff; stroke: rgba(13,17,23,.12); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.6); animation: hsPop .5s cubic-bezier(.3,1.4,.5,1) forwards; }
.hs-tiles rect:nth-of-type(1){animation-delay:.5s}.hs-tiles rect:nth-of-type(2){animation-delay:.62s}.hs-tiles rect:nth-of-type(3){animation-delay:.74s}.hs-tiles rect:nth-of-type(4){animation-delay:.86s}.hs-tiles rect:nth-of-type(5){animation-delay:.98s}
@keyframes hsPop { to { opacity:1; transform:scale(1); } }
.hs-glyphs { opacity: 0; animation: hiIn .5s ease 1.1s forwards; }
.hs-links line { stroke-dasharray: 160; stroke-dashoffset: 160; animation: hiDraw 1s ease forwards; }
.hs-links line:nth-of-type(1){animation-delay:.9s}.hs-links line:nth-of-type(2){animation-delay:1s}.hs-links line:nth-of-type(3){animation-delay:1.1s}.hs-links line:nth-of-type(4){animation-delay:1.2s}.hs-links line:nth-of-type(5){animation-delay:1.3s}
[data-theme="dark"] .hs-tile { fill:#111a30; stroke:rgba(255,255,255,.12); }
@media (prefers-reduced-motion: reduce){ .hs-hub,.hs-hub-mark,.hs-tile,.hs-glyphs{opacity:1!important;transform:none!important;animation:none!important;} .hs-links line{stroke-dashoffset:0!important;animation:none!important;} .hs-hub-ring{opacity:0!important;} }


/* v5.1 — Center footer copyright */
.foot-bottom { justify-content: center !important; text-align: center !important; }
.foot-copy { text-align: center !important; width: 100%; }


/* ============================================================
   v5.2 - Image sizing fix (no upscaling / no stretch / crisp)
   ============================================================ */
.main-content--page .page-content img,
.about-row img,
.page-content img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}
.about-row { align-items: center; }
.about-img { display: flex; justify-content: center; }
.about-img img {
  max-width: 260px !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(13,17,23,.10);
  background: #fff;
  padding: 6px;
}
[data-theme="dark"] .about-img img { background: #0d1326; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.page-content li > img:first-child,
.page-content img[src*="bullet"],
.page-content img[src*="icon"]:not(.svc-ic):not(.svc2-ic) {
  width: auto !important;
  max-width: 20px !important;
  height: auto !important;
  display: inline !important;
  margin: 0 6px 0 0 !important;
  vertical-align: middle;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.page-content img[src*="web-img"] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1;
  object-fit: cover !important;
  border-radius: 12px;
}


/* v5.4 - About image cap fix (specificity override) */
.about-row .about-img img, .main-content--page .about-img img { max-width: 240px !important; width: auto !important; height: auto !important; margin: 0 auto !important; }
.about-row { align-items: center !important; }
@media (max-width: 768px){ .about-row .about-img img { max-width: 200px !important; } }


/* v5.5 - About native size (zero upscale) */
.about-row .about-img img, .main-content--page .about-img img { max-width: 200px !important; }


/* v5.6 - Mobile overflow guard (clip decorative hero splash) */
html, body { overflow-x: hidden !important; max-width: 100%; }
.sub-hero, .sub-hero-splash, .hero-splash { max-width: 100vw; overflow: hidden; }
.sub-hero-splash, .hero-splash { right: 0 !important; }


/* ============================================================
   v5.7 - Bootstrap responsive visibility + float cleanup
   ============================================================ */
/* Define the legacy Bootstrap hidden-* classes our theme was missing
   (this was causing duplicate content to show on Website Design page) */
@media (min-width: 992px) {
  .hidden-lg { display: none !important; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .hidden-md { display: none !important; }
}
@media (min-width: 576px) and (max-width: 767px) {
  .hidden-sm { display: none !important; }
}
@media (max-width: 575px) {
  .hidden-xs { display: none !important; }
}
/* On our desktop layout (>=992) the col-md-12.hidden-sm should show, the col-sm-12.hidden-lg should hide */
/* Float cleanup: ensure floated content rows clear properly and do not leave odd indents */
.page-content .col-sm-6 { margin-bottom: 10px; }
.page-content [class*="col-"][class*="hidden-"] { float: none !important; width: 100% !important; clear: both; padding-left: 0; padding-right: 0; }
.page-content .col-md-12 { clear: both; }


/* ============================================================
   v5.8 - Testimonials grid fix (proper 2-col, no float conflict)
   ============================================================ */
.testi-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  align-items: stretch;
}
.testi-col {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
}
.testi-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
}
.testi-quote { flex: 1 1 auto; }
@media (max-width: 768px) {
  .testi-grid { grid-template-columns: 1fr !important; }
}


/* v5.9 - Testimonials full width (single column) */
.testi-grid { grid-template-columns: 1fr !important; max-width: 820px; margin-left: auto; margin-right: auto; }


/* v6.0 - Testimonials true full width (remove 820 cap) + hide sub-hero Page tag */
.testi-grid { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.sub-hero-tag { display: none !important; }


/* ============================================================
   v6.1 - Compact contact form (smaller fields + tighter spacing)
   ============================================================ */
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form input[type=url],
.wpcf7-form select {
  height: 44px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
}
.wpcf7-form textarea {
  height: 130px !important;
  min-height: 130px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
}
.wpcf7-form p { margin: 0 0 14px !important; }
.wpcf7-form label { font-size: 13px !important; margin-bottom: 5px !important; display: block; font-weight: 600; }
.wpcf7-form .wpcf7-submit {
  height: 44px !important;
  padding: 0 30px !important;
  font-size: 14px !important;
  margin-top: 4px;
}
/* tighten the form container so it does not feel oversized */
.contact-form-wrap, .ca-form, .contact-main { max-width: 600px; }


/* v6.2 - Contact label spacing (tighten label-to-field gap) */
.wpcf7-form p { margin: 0 0 16px !important; line-height: 1.4 !important; font-size: 13px !important; font-weight: 600 !important; color: var(--ink); }
.wpcf7-form p br { display: none !important; }
.wpcf7-form .wpcf7-form-control-wrap { display: block !important; margin-top: 6px !important; }
.wpcf7-form label { margin: 0 !important; }
/* submit button spacing */
.wpcf7-form p:last-child { margin-bottom: 0 !important; }


/* v6.3 - Contact gap tighten (label p sits right above its field) */
/* Label paragraphs (text only) get small bottom margin; field paragraphs get no top margin */
.wpcf7-form p { margin: 0 0 6px !important; }
/* paragraph that CONTAINS a field wrap: tighter, more bottom space to separate groups */
.wpcf7-form p:has(.wpcf7-form-control-wrap) { margin: 0 0 18px !important; }
.wpcf7-form .wpcf7-form-control-wrap { margin-top: 0 !important; }
.wpcf7-form p:has(.wpcf7-submit) { margin-top: 4px !important; }


/* ============================================================
   v6.4 - Contact compact (smaller fields) + intro lead styling
   ============================================================ */
.contact-lead { font-size: 14px !important; line-height: 1.6; color: var(--muted); margin: 0 0 14px !important; max-width: 600px; }
.contact-lead:last-of-type { margin-bottom: 26px !important; }
/* Smaller form fields */
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form input[type=url],
.wpcf7-form select {
  height: 40px !important;
  padding: 8px 13px !important;
  font-size: 14px !important;
  border-radius: 8px !important;
}
.wpcf7-form textarea {
  height: 104px !important;
  min-height: 104px !important;
  padding: 9px 13px !important;
  font-size: 14px !important;
  border-radius: 8px !important;
}
/* Tight label-to-field, compact group spacing */
.wpcf7-form p { margin: 0 0 4px !important; font-size: 12.5px !important; font-weight: 600 !important; letter-spacing: .01em; }
.wpcf7-form p:has(.wpcf7-form-control-wrap) { margin: 0 0 14px !important; }
.wpcf7-form p:has(textarea) { margin-bottom: 14px !important; }
.wpcf7-form .wpcf7-form-control-wrap { margin-top: 0 !important; display:block; }
.wpcf7-form p br { display: none !important; }
.wpcf7-form .wpcf7-submit { height: 42px !important; padding: 0 28px !important; font-size: 13.5px !important; }


/* v6.5 - Contact remove phantom line-box inside field paragraphs */
.wpcf7-form p:has(.wpcf7-form-control-wrap) { line-height: 0 !important; font-size: 0 !important; }
.wpcf7-form .wpcf7-form-control-wrap { line-height: normal; font-size: 14px; }
.wpcf7-form input, .wpcf7-form textarea, .wpcf7-form select { line-height: normal !important; vertical-align: top !important; display: block !important; }
.wpcf7-form p:not(:has(.wpcf7-form-control-wrap)) { line-height: 1.4 !important; font-size: 12.5px !important; }


/* v6.6 - Contact field height collapse */
.wpcf7-form p:has(.wpcf7-form-control-wrap){line-height:0!important;margin:0 0 14px!important;padding:0!important;min-height:0!important}
.wpcf7-form .wpcf7-form-control-wrap{display:block!important;line-height:0!important;margin:0!important;padding:0!important}
.wpcf7-form input[type=text],.wpcf7-form input[type=email],.wpcf7-form input[type=tel],.wpcf7-form input[type=url],.wpcf7-form select{display:block!important;height:40px!important;margin:0!important;vertical-align:top!important;line-height:normal!important}
.wpcf7-form p:has(textarea){line-height:0!important}
.wpcf7-form textarea{display:block!important;margin:0!important;vertical-align:top!important;line-height:1.5!important}
.wpcf7-form .wpcf7-form-control-wrap,.wpcf7-form input,.wpcf7-form textarea,.wpcf7-form select{font-size:14px!important}


/* ============================================================
   v6.7 - New hero illustrations + tagline styling
   ============================================================ */
/* Tagline below the hero title (left column) */
.sub-hero-tagline {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 620px;
  margin: 14px 0 0;
  font-weight: 500;
}
[data-theme="dark"] .sub-hero-tagline { color: #aab6d8; }

/* Shared illustration element colors for new types */
.he-card,.hm-phone,.hm-screen,.hin-cell,.hc-env { fill: #fff; stroke: rgba(13,17,23,.12); stroke-width: 2; }
[data-theme="dark"] .he-card,[data-theme="dark"] .hm-phone,[data-theme="dark"] .hm-screen,[data-theme="dark"] .hin-cell,[data-theme="dark"] .hc-env { fill: #0d1326; stroke: rgba(255,255,255,.14); }

/* keyframes */
@keyframes hiPop { 0%{opacity:0;transform:scale(.6)} 60%{opacity:1;transform:scale(1.08)} 100%{opacity:1;transform:scale(1)} }
@keyframes hiFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-7px)} }
@keyframes hiPing { 0%{opacity:.8;transform:scale(.4)} 70%{opacity:.15} 100%{opacity:0;transform:scale(1.6)} }
@keyframes hiDraw { from{stroke-dashoffset:300} to{stroke-dashoffset:0} }
@keyframes hiGrow { 0%{transform:scaleY(0);opacity:0} 100%{transform:scaleY(1);opacity:1} }
@keyframes hiSpin { from{transform:rotate(0)} to{transform:rotate(360deg)} }
@keyframes hiTwinkle { 0%,100%{opacity:.3;transform:scale(.8)} 50%{opacity:1;transform:scale(1.2)} }

/* ECOMMERCE */
.he-card{animation:hiPop .6s ease both}
.he-card:nth-of-type(2){animation-delay:.15s}
.he-img{fill:rgba(106,191,0,.18)}
.he-line{stroke:rgba(13,17,23,.18);stroke-width:5;stroke-linecap:round}
.he-cart{animation:hiFloat 2.4s ease-in-out infinite;transform-origin:center}
.he-cart circle{fill:#4f9400}
.he-tag{animation:hiPop .6s ease .4s both;transform-origin:150px 100px}
/* MOBILE */
.hm-tile{fill:rgba(106,191,0,.22);animation:hiPop .5s ease both}
.hm-tile:nth-of-type(2){animation-delay:.1s}.hm-tile:nth-of-type(3){animation-delay:.2s}.hm-tile:nth-of-type(4){animation-delay:.3s}
.hm-home{fill:rgba(13,17,23,.3)}
.hm-phone{animation:hiFloat 3s ease-in-out infinite;transform-origin:center}
.hm-ping,.hm-ping2{fill:var(--lime);animation:hiPing 2s ease-out infinite}
.hm-ping2{animation-delay:1s}
/* MARKETING */
.hk-axis{stroke:rgba(13,17,23,.2);stroke-width:2}
.hk-bar{fill:var(--lime);transform-origin:bottom;animation:hiGrow .7s ease both}
.hk-bar:nth-of-type(2){animation-delay:.12s}.hk-bar:nth-of-type(3){animation-delay:.24s}.hk-bar:nth-of-type(4){animation-delay:.36s}
.hk-trend{stroke:#0d1117;stroke-width:3;stroke-dasharray:300;animation:hiDraw 1.2s ease .4s both}
[data-theme="dark"] .hk-trend{stroke:#f4f7ff}
.hk-arrow{stroke:#0d1117;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
[data-theme="dark"] .hk-arrow{stroke:#f4f7ff}
.hk-mag{stroke:#4f9400;stroke-width:4;animation:hiFloat 2.6s ease-in-out infinite}
.hk-mag-h{stroke:#4f9400;stroke-width:4;stroke-linecap:round}
/* SOCIAL */
.hsoc-node{fill:rgba(106,191,0,.25);stroke:var(--lime);stroke-width:2;animation:hiPop .5s ease both}
.hsoc-node:nth-of-type(2){animation-delay:.1s}.hsoc-node:nth-of-type(3){animation-delay:.2s}
.hsoc-hub{fill:var(--lime);animation:hiPop .5s ease .3s both}
.hsoc-links line{stroke-dasharray:140;animation:hiDraw 1s ease both}
.hsoc-heart{animation:hiTwinkle 1.8s ease-in-out infinite;transform-origin:300px 150px}
.hsoc-ping,.hsoc-ping2{fill:var(--lime);animation:hiPing 2.2s ease-out infinite}
.hsoc-ping2{animation-delay:1.1s}
/* BUSINESS */
.hb-av{fill:rgba(106,191,0,.28);stroke:var(--lime);stroke-width:2;animation:hiPop .55s ease both;transform-origin:center}
.hb-av2{fill:var(--lime)}
.hb-av:nth-of-type(3){animation-delay:.15s}.hb-av:nth-of-type(5){animation-delay:.3s}
.hb-body{stroke:var(--lime);stroke-width:3;animation:hiPop .55s ease .1s both}
.hb-body2{stroke:#4f9400}
.hb-spark{fill:var(--lime);animation:hiTwinkle 1.6s ease-in-out infinite}
.hb-spark2{animation-delay:.8s}
/* CONTACT */
.hc-env{animation:hiFloat 3s ease-in-out infinite;transform-origin:center}
.hc-flap{stroke:rgba(13,17,23,.25);stroke-width:2}
[data-theme="dark"] .hc-flap{stroke:rgba(255,255,255,.3)}
.hc-send{stroke:var(--lime);stroke-width:3;fill:rgba(106,191,0,.15);stroke-linejoin:round;animation:hiFloat 2.4s ease-in-out infinite}
.hc-dot,.hc-dot2{fill:var(--lime);animation:hiPing 2s ease-out infinite}
.hc-dot2{animation-delay:1s}
/* INDUSTRIES */
.hin-cell{animation:hiPop .5s ease both}
.hin-cell:nth-of-type(2){animation-delay:.08s}.hin-cell:nth-of-type(3){animation-delay:.16s}.hin-cell:nth-of-type(4){animation-delay:.24s}.hin-cell:nth-of-type(5){animation-delay:.32s}.hin-cell:nth-of-type(6){animation-delay:.4s}
.hin-active{fill:var(--lime)!important;stroke:var(--lime)!important}
.hin-check{animation:hiPop .5s ease .5s both}
/* GENERIC */
.hg-core{fill:var(--lime);animation:hiFloat 3s ease-in-out infinite;transform-origin:center}
.hg-orbit{stroke:rgba(106,191,0,.4);stroke-width:2}
.hg-orbit2{stroke:rgba(106,191,0,.25)}
.hg-sat{fill:#4f9400;transform-origin:210px 150px}
.hg-s1{animation:hiSpin 8s linear infinite}
.hg-s2{animation:hiSpin 8s linear infinite reverse}
.hg-s3{animation:hiSpin 11s linear infinite}
.hg-s4{animation:hiSpin 11s linear infinite reverse}
.hg-spark{animation:hiTwinkle 1.5s ease-in-out infinite;transform-origin:210px 150px}

/* Responsive: stack hero illustration below text on mobile */
@media (max-width: 880px){
  .sub-hero-tagline{max-width:none;font-size:15px}
}


/* ============================================================
   v6.7 - hero illustration animations (new types) + tagline
   ============================================================ */
.sub-hero-tagline{font-size:17px;line-height:1.6;color:var(--muted);margin:14px 0 0;max-width:620px;font-weight:500}
@keyframes ntPop{0%{opacity:0;transform:translateY(14px) scale(.92)}100%{opacity:1;transform:none}}
@keyframes ntDraw{to{stroke-dashoffset:0}}
@keyframes ntPulse{0%,100%{opacity:.5;transform:scale(.9)}50%{opacity:1;transform:scale(1.08)}}
@keyframes ntFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes ntSpin{to{transform:rotate(360deg)}}
/* shared: pop the cards/tiles in */
.he-card,.hm-tile,.hk-bar,.hsoc-node,.hb-av,.hin-cell,.he-cart,.hc-env{animation:ntPop .6s ease-out both}
.he-card:nth-of-type(2){animation-delay:.12s}
.hk-bar:nth-of-type(2){animation-delay:.1s}.hk-bar:nth-of-type(3){animation-delay:.2s}.hk-bar:nth-of-type(4){animation-delay:.3s}
.hm-tile:nth-of-type(2){animation-delay:.1s}.hm-tile:nth-of-type(3){animation-delay:.18s}.hm-tile:nth-of-type(4){animation-delay:.26s}
.hin-cell:nth-child(odd){animation-delay:.08s}.hin-cell:nth-child(even){animation-delay:.16s}
/* fills/strokes for new illustration parts */
.he-card,.hm-phone,.hin-cell,.hc-env{fill:rgba(106,191,0,.06);stroke:var(--lime);stroke-width:2}
.he-img,.hm-screen,.hm-tile{fill:rgba(106,191,0,.18)}
.he-line,.hk-axis{stroke:var(--muted);stroke-width:2;opacity:.5}
.hm-home{fill:var(--lime)}
.hk-bar{fill:rgba(106,191,0,.55)}
.hin-active{fill:var(--lime)!important}
.hsoc-node{fill:rgba(106,191,0,.2);stroke:var(--lime);stroke-width:2}
.hsoc-hub{fill:var(--lime)}
.hb-av{fill:rgba(106,191,0,.28);stroke:var(--lime);stroke-width:2}
.hb-body,.hb-body2{stroke:var(--lime);stroke-width:2.5;fill:none}
.hb-av2{fill:rgba(106,191,0,.4)}
.hg-core{fill:var(--lime)}
.hg-orbit{stroke:rgba(106,191,0,.4);stroke-width:2;transform-origin:210px 150px;animation:ntSpin 18s linear infinite}
.hg-orbit2{animation:ntSpin 14s linear infinite reverse}
.hg-sat{fill:var(--lime)}
/* trend line draw */
.hk-trend{stroke:var(--lime);stroke-width:3;fill:none;stroke-dasharray:240;stroke-dashoffset:240;animation:ntDraw 1.4s ease-out .3s forwards}
.hk-arrow{stroke:var(--lime);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.hk-mag{stroke:var(--lime);stroke-width:3}.hk-mag-h{stroke:var(--lime);stroke-width:3;stroke-linecap:round}
.hc-flap{stroke:var(--lime);stroke-width:2}
.hc-send{stroke:var(--lime);stroke-width:2.5;fill:rgba(106,191,0,.15);animation:ntFloat 3s ease-in-out infinite}
.he-tag{animation:ntFloat 2.6s ease-in-out infinite}
/* pulsing pings */
.hm-ping,.hm-ping2,.hsoc-ping,.hsoc-ping2,.hc-dot,.hc-dot2,.hb-spark,.hb-spark2{fill:var(--lime);animation:ntPulse 2.2s ease-in-out infinite}
.hm-ping2,.hsoc-ping2,.hc-dot2,.hb-spark2{animation-delay:.7s}

/* ===== About page — frameless illustrations (v3) ===== */
.about-row{align-items:center !important;}
.about-row .about-img{height:auto !important;min-height:0 !important;align-self:center !important;background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;padding:0 !important;overflow:visible !important;display:flex !important;align-items:center !important;justify-content:center !important;}
.about-row .about-img img,.main-content--page .about-img img{height:auto !important;width:auto !important;max-width:300px !important;max-height:360px !important;margin:0 auto !important;object-fit:contain !important;border:0 !important;padding:0 !important;background:transparent !important;box-shadow:none !important;}


/* ============================================================
   About Us page redesign (v1) — namespaced abt- to avoid collisions
   ============================================================ */
.abt-intro{display:block;padding:0;}
.abt-intro > div:first-child{margin-bottom:32px;}
.abt-eyebrow{font-size:13px;font-weight:700;color:var(--lime-d);margin-bottom:12px;}
.abt-intro h2{font-family:var(--fh);font-size:30px;line-height:1.25;font-weight:800;margin:0 0 16px;color:var(--ink);}
.abt-lead{color:var(--ink-3);font-size:15.5px;margin:0;max-width:none;}
.abt-stat-list{display:grid;grid-template-columns:repeat(4,1fr);gap:22px 24px;margin-bottom:40px;}
.abt-stat{border-left:3px solid var(--lime);padding-left:14px;}
.abt-stat .abt-num{font-family:var(--fh);font-weight:800;font-size:25px;color:var(--ink);}
.abt-stat .abt-lbl{color:var(--muted);font-size:13px;margin-top:2px;}

.abt-section-head{max-width:600px;margin:8px 0 28px;}
.abt-section-head h2{font-family:var(--fh);font-size:26px;font-weight:800;margin:0 0 8px;color:var(--ink);}
.abt-section-head p{color:var(--muted);font-size:15px;margin:0;}

.abt-values{padding:24px 0 56px;}
.abt-values-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.abt-vcard{background:var(--surf);border:1px solid var(--brd);border-radius:20px;padding:24px;box-shadow:0 2px 8px rgba(13,17,35,0.06);}
.abt-vcard .abt-ic{width:42px;height:42px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:18px;margin-bottom:14px;}
.abt-vcard h3{font-family:var(--fh);font-size:16.5px;font-weight:700;margin:0 0 6px;color:var(--ink);}
.abt-vcard p{color:var(--muted);font-size:14px;margin:0;}
.abt-ic-lime{background:var(--lime-bg);color:var(--lime-d);}
.abt-ic-ai{background:#f3f0ff;color:#6d28d9;}
.abt-ic-cyan{background:#ecfeff;color:#0891b2;}

.abt-process{padding:24px 0 56px;}
.abt-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:8px;}
.abt-step{position:relative;padding-right:16px;}
.abt-step:not(:last-child)::after{content:'';position:absolute;top:20px;left:100%;width:20px;height:1px;background:var(--brd-h);}
.abt-step .abt-n{font-family:var(--fh);font-weight:800;font-size:14px;color:#fff;background:#0d1117;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.abt-step h3{font-family:var(--fh);font-size:15.5px;font-weight:700;margin:0 0 6px;color:var(--ink);}
.abt-step p{color:var(--muted);font-size:13.5px;margin:0;}

.abt-cta{padding-bottom:64px;}
.abt-cta-band{background:var(--ink);border-radius:28px;padding:44px 48px;display:flex;align-items:center;justify-content:space-between;gap:28px;}
.abt-cta-band h2{font-family:var(--fh);color:#fff;font-size:24px;font-weight:800;margin:0;max-width:400px;}
.abt-cta-band p{color:#aeb6c8;margin:8px 0 0;font-size:14px;max-width:380px;}
.abt-cta-btn{background:var(--lime);color:#0d1117;font-family:var(--fh);font-weight:700;font-size:14px;padding:13px 24px;border-radius:10px;white-space:nowrap;flex-shrink:0;text-decoration:none;display:inline-block;}
.abt-cta-btn:hover{background:var(--lime-d);}

/* Business Partners page — partner card grid (matches .abt-* design system) */
.prt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:8px;}
.prt-card{background:var(--surf);border:1px solid var(--brd);border-radius:20px;padding:24px;box-shadow:0 2px 8px rgba(13,17,35,0.06);display:flex;flex-direction:column;gap:14px;}
.prt-top{display:flex;align-items:center;gap:13px;}
.prt-mono{width:44px;height:44px;border-radius:11px;display:flex;align-items:center;justify-content:center;font-family:var(--fh);font-weight:800;font-size:14px;color:#fff;flex-shrink:0;}
.prt-mono-dark{background:var(--ink);}
.prt-mono-lime{background:var(--lime);}
.prt-name{font-family:var(--fh);font-size:16.5px;font-weight:800;color:var(--ink);line-height:1.25;}
.prt-country{font-size:12px;font-weight:700;color:var(--lime-d);letter-spacing:.3px;margin-top:2px;}
.prt-desc{font-size:14px;line-height:1.68;color:var(--ink-3);margin:0;}
.prt-tag{margin-top:auto;padding-top:12px;border-top:1px solid var(--brd);font-size:13px;font-weight:700;color:var(--ink);}

@media (max-width:900px){
  .abt-stat-list{grid-template-columns:repeat(2,minmax(0,1fr));}
  .abt-values-grid{grid-template-columns:minmax(0,1fr);}
  .prt-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .abt-steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:26px;}
  .abt-step:not(:last-child)::after{display:none;}
  .abt-cta-band{flex-direction:column;align-items:flex-start;padding:36px 32px;}
  .abt-cta-btn{width:100%;text-align:center;}
}
@media (max-width:640px){
  .abt-intro h2{font-size:22px;}
  .abt-stat-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  .abt-stat .abt-num{font-size:20px;}
  .abt-section-head h2{font-size:21px;}
  .abt-steps{grid-template-columns:minmax(0,1fr);}
  .prt-grid{grid-template-columns:minmax(0,1fr);}
  .abt-cta-band h2{font-size:19px;}
  .abt-cta-band p{font-size:13px;}
}

.abt-cta-band a.abt-cta-btn{color:#0d1117 !important;}
.abt-cta-band a.abt-cta-btn:hover{color:#0d1117 !important;}
