/*
Theme Name: ChiroPay Merchant Services
Theme URI: https://www.chiropay.net
Author: ChiroPay Merchant Services
Description: Custom single-page WordPress theme for ChiroPay Merchant Services with a secure application page placeholder.
Version: 1.0.8
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: chiropay
*/

:root {
  --navy: #062a63;
  --navy-2: #001c48;
  --green: #3f930f;
  --green-2: #55ad16;
  --ink: #071a44;
  --muted: #53627b;
  --line: #dbe3ef;
  --soft: #f6f9fd;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(7, 26, 68, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background: var(--white);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(7, 26, 68, 0.05);
}

.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  flex: 0 0 190px;
}

.brand img {
  width: auto;
  height: 64px;
}

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 800;
  color: #051b48;
  text-transform: uppercase;
}

.nav-links a {
  padding: 28px 0 24px;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--green);
  border-bottom-color: var(--green);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.social-link svg {
  width: 17px;
  height: 17px;
}

.header-actions {
  display: grid;
  gap: 8px;
  margin-left: 10px;
}

.call-btn,
.email-btn,
.primary-btn,
.outline-btn,
.lock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.call-btn {
  min-width: 196px;
  background: var(--navy);
  color: var(--white);
  line-height: 1.2;
  box-shadow: 0 3px 8px rgba(6, 42, 99, 0.22);
}

.email-btn {
  min-width: 196px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--navy);
  box-shadow: 0 3px 8px rgba(6, 42, 99, 0.08);
}

.email-btn:hover,
.email-btn:focus {
  color: var(--white);
  background: var(--navy);
}

.call-btn span {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.primary-btn,
.lock-btn {
  background: linear-gradient(180deg, var(--green-2), var(--green));
  color: var(--white);
  border: 1px solid #327d0a;
}

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

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
  border-bottom: 1px solid #edf2f8;
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 104px;
  display: grid;
  grid-template-columns: minmax(390px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 42px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-media {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(7, 26, 68, 0.16);
}

.hero-media img {
  width: 100%;
  height: clamp(310px, 35vw, 450px);
  object-fit: cover;
  object-position: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(255,255,255,0.7);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.05;
}

h1 {
  max-width: 560px;
  margin-top: 22px;
  font-size: 50px;
}

h1 strong {
  display: block;
  color: var(--green);
  font-weight: 900;
}

.lead {
  max-width: 480px;
  margin: 22px 0 30px;
  color: #071a44;
  font-size: 19px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.benefits-shell {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  margin: -60px auto 0;
  padding: 20px 10px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.benefit {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--navy);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  border-right: 1px solid var(--line);
}

.benefit:last-child {
  border-right: 0;
}

.benefit svg {
  width: 42px;
  height: 42px;
  stroke: var(--navy);
  stroke-width: 1.9;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.info-card,
.testimonial,
.pricing-card,
.equipment-card,
.faq-item,
.secure-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(7, 26, 68, 0.05);
}

.info-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 220px 1fr;
  height: 100%;
}

.info-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.info-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-card-body .outline-btn {
  margin-top: auto;
}

.info-card h2,
.info-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.info-card p,
.pricing-card p,
.equipment-card p,
.faq-item p,
.secure-card p {
  margin: 0 0 16px;
}

.about-card {
  grid-template-columns: 1fr;
  grid-template-rows: 220px 1fr;
}

.about-card img {
  height: 220px;
  object-position: center 24%;
}

.center-heading {
  text-align: center;
  margin-bottom: 28px;
}

.center-heading h2 {
  font-size: 30px;
}

.center-heading::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin: 14px auto 0;
  background: var(--green);
  border-radius: 99px;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.testimonial {
  min-height: 170px;
  padding: 26px;
}

.testimonial:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.quote-mark {
  color: var(--green);
  font-size: 54px;
  line-height: 0.7;
  font-weight: 900;
}

.testimonial cite {
  display: block;
  margin-top: 20px;
  color: var(--navy);
  font-style: normal;
  font-weight: 800;
}

.band {
  background: #e9f6ff;
}

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

.statement-analyzer-section {
  padding: 74px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  border-top: 1px solid var(--line);
}

.statement-analyzer-section .center-heading p {
  max-width: 680px;
  margin: 12px auto 0;
  color: var(--muted);
}

.statement-analyzer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.statement-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(7, 26, 68, 0.06);
}

.statement-card-heading {
  display: grid;
  gap: 9px;
}

.statement-card-heading strong {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  align-items: center;
  padding: 11px 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--green-2), var(--green));
  color: var(--white);
  font-size: 22px;
  line-height: 1.05;
  box-shadow: 0 10px 22px rgba(63, 147, 15, 0.18);
}

.statement-card-heading span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.statement-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.statement-fields label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.statement-money-field {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #cbd6e5;
  border-radius: 8px;
  background: var(--white);
}

.statement-money-field span {
  margin-right: 7px;
  color: var(--muted);
  font-weight: 900;
}

.statement-money-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 900;
}

.statement-meter {
  display: grid;
  min-height: 238px;
  place-items: end center;
}

.statement-dial {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.statement-ring {
  position: absolute;
  inset: 0;
  border-radius: 430px 430px 0 0;
  background: conic-gradient(from 270deg at 50% 100%,
    #b7d99a 0deg 30deg,
    #d2e8ba 30deg 60deg,
    #f4e7a8 60deg 90deg,
    #f6cf9b 90deg 120deg,
    #efb0a1 120deg 150deg,
    #d88a82 150deg 180deg,
    transparent 180deg 360deg);
}

.statement-ring::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 76%;
  border: 1px solid rgba(219, 227, 239, 0.9);
  border-bottom: 0;
  border-radius: 360px 360px 0 0;
  background: var(--white);
}

.statement-needle {
  --angle: -90deg;
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 4;
  width: 4px;
  height: 42%;
  border-radius: 999px;
  background: var(--navy);
  transform: translateX(-50%) rotate(var(--angle));
  transform-origin: 50% 100%;
  box-shadow: 0 2px 5px rgba(7, 26, 68, 0.2);
}

.statement-needle::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  background: var(--navy);
  transform: translateX(-50%) rotate(45deg);
}

.statement-hub {
  position: absolute;
  left: 50%;
  bottom: -15px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 8px solid var(--navy);
  border-radius: 50%;
  background: var(--white);
  transform: translateX(-50%);
}

.statement-rate-readout {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 6;
  display: grid;
  gap: 2px;
  text-align: center;
  transform: translateX(-50%);
}

.statement-rate-readout strong {
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}

.statement-rate-readout span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.statement-result {
  min-height: 72px;
  padding: 15px;
  border: 1px solid #dbe9d5;
  border-radius: 8px;
  background: #f5fbf1;
}

.statement-result b {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.statement-result p {
  margin: 0;
  color: var(--navy);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.35;
}

.statement-review {
  display: grid;
  gap: 14px;
  padding: 17px;
  border: 1px solid #eadfb5;
  border-radius: 8px;
  background: #fffaf0;
  box-shadow: 0 12px 28px rgba(7, 26, 68, 0.06);
}

.statement-review[hidden],
.statement-result[hidden] {
  display: none;
}

.statement-review p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.statement-review .primary-btn {
  justify-content: center;
  width: fit-content;
}

.pricing-showcase {
  margin: 0 auto 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.pricing-showcase img {
  width: 100%;
  height: auto;
}

.pricing-card,
.equipment-card,
.faq-item,
.secure-card {
  padding: 28px;
}

.pricing-card h3,
.equipment-card h3,
.faq-item h3 {
  margin-bottom: 14px;
  font-size: 22px;
  text-transform: uppercase;
}

ul.clean {
  margin: 14px 0 0;
  padding-left: 18px;
}

ul.checks {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

ul.checks li {
  position: relative;
  margin: 8px 0;
  padding-left: 24px;
}

ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

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

.equipment-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.equipment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(7, 26, 68, 0.12);
}

.equipment-photo {
  height: 220px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  border-bottom: 1px solid var(--line);
}

.equipment-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.equipment-card h3 {
  min-height: auto;
  margin: 22px 24px 12px;
  font-size: 18px;
}

.equipment-card .price {
  margin: 0 24px 12px;
  color: var(--navy);
  font-weight: 900;
}

.equipment-card .clean {
  margin: 0 24px 24px;
}

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

.faq-item h3 {
  font-size: 18px;
}

.cta-band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 28, 72, 0.98), rgba(0, 48, 110, 0.86), rgba(0, 28, 72, 0.15)),
    url("assets/images/about-dustin.png") right center / cover no-repeat;
}

.cta-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 170px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 34px;
}

.cta-band h2 {
  color: var(--white);
  font-size: 28px;
}

.cta-band p {
  max-width: 560px;
  margin: 8px 0 18px;
}

.cta-band .checks {
  columns: 2;
}

.cta-band .checks li::before {
  color: #8ad23d;
}

.site-footer {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.footer-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.3fr;
  gap: 34px;
}

.footer-logo {
  width: 190px;
  margin-bottom: 14px;
}

.footer-main h3 {
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-main a,
.footer-main li,
.footer-main p {
  color: #071a44;
  font-size: 14px;
}

.footer-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-main li {
  margin: 6px 0;
}

.footer-apply {
  padding: 22px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.sub-footer {
  color: var(--white);
  background: var(--navy-2);
}

.sub-footer-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 42px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

.sub-footer a {
  margin-left: 28px;
}

.application-hero {
  background: linear-gradient(135deg, #f7fbff 0%, #e7f4ff 100%);
  border-bottom: 1px solid var(--line);
}

.application-hero .section {
  padding: 60px 0;
}

.application-hero h1 {
  max-width: 780px;
  font-size: 46px;
}

.secure-card {
  width: min(900px, calc(100% - 40px));
  margin: 40px auto 70px;
}

.secure-frame {
  width: 100%;
  min-height: 780px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.placeholder-box {
  padding: 36px;
  border: 2px dashed #9fb4d0;
  border-radius: 8px;
  background: #f7fbff;
}

.field-list {
  columns: 2;
  margin-top: 18px;
}

.easy-steps {
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.easy-steps div {
  min-height: 130px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.easy-steps strong {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
}

.easy-steps span {
  display: block;
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-wrap {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .brand {
    flex-basis: 170px;
  }

  .brand img {
    height: 58px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 20px;
  }

  .nav-links a {
    padding: 8px 0;
    white-space: nowrap;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

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

  .benefit {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cards,
  .pricing-grid,
  .statement-analyzer-grid,
  .equipment-grid,
  .easy-steps,
  .cta-inner,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .testimonial:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .about-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .hero-inner,
  .section,
  .benefits-shell,
  .cta-inner,
  .footer-main,
  .sub-footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .header-actions,
  .call-btn,
  .email-btn {
    width: 100%;
  }

  .hero-inner {
    padding: 28px 0 86px;
    gap: 24px;
  }

  h1,
  .application-hero h1 {
    font-size: 36px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .primary-btn,
  .outline-btn {
    width: 100%;
  }

  .benefits-shell {
    grid-template-columns: 1fr;
  }

  .field-list,
  .statement-fields,
  .cta-band .checks {
    columns: 1;
    grid-template-columns: 1fr;
  }

  .statement-analyzer-section {
    padding: 54px 0;
  }

  .statement-card {
    padding: 20px;
  }

  .statement-card-heading strong {
    width: 100%;
    font-size: 19px;
  }

  .statement-meter {
    min-height: 210px;
  }

  .statement-review .primary-btn {
    width: 100%;
  }

  .sub-footer-inner {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .sub-footer a {
    margin: 0 18px 0 0;
  }
}
