/*
Theme Name: DFW Pay Pros
Theme URI: https://dfwpaypros.com
Author: DFW Pay Pros
Description: Custom theme for DFW Pay Pros — merchant services and cash discount program.
Version: 1.2
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: dfw-pay-pros
*/

/* ============================================================
   DFW Pay Pros — styles.css
   Matches index.html (rev. July 2026). Palette: navy #163a5f /
   cyan #00b0c8 / accent #29d1e6, Montserrat headings.
   ============================================================ */

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

html, body {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
  word-break: break-word;
}

ul { list-style: none; }

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

.container-wide {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00b0c8;
  margin-bottom: 10px;
}

.section-title {
  font-weight: 800;
  font-size: 2.2rem;
  color: #163a5f;
  margin-bottom: 18px;
  line-height: 1.25;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #556a7e;
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

/* generic section wrappers */
.section { padding: 90px 5%; }
.section-white { background: #fff; }
.section-light { background: #f4f7fa; }

/* ===================== HEADER ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 4%;
  background: rgba(14, 42, 69, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

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

.brand-name {
  font-weight: 900;
  font-size: 1.15rem;
  color: #fff;
  white-space: nowrap;
  line-height: 1.2;
}

.brand-sub {
  font-weight: 600;
  font-size: 0.6rem;
  color: #00b0c8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-contact a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-contact a:hover { color: #29d1e6; }

.header-cta {
  background: linear-gradient(135deg, #00b0c8, #29d1e6);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,176,200,0.35);
  transition: all 0.3s;
  flex-shrink: 0;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,176,200,0.5);
  color: #fff;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0e2a45 0%, #163a5f 40%, #1a4975 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0,176,200,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 90px 0 80px;
}

.hero-content { flex: 1.2; min-width: 0; }

.hero h1 {
  font-weight: 900;
  font-size: 2.9rem;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight { color: #29d1e6; }

.hero-content > p {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #00b0c8, #29d1e6);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,176,200,0.4);
  transition: all 0.3s;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,176,200,0.55);
  color: #fff;
}

.hero-contact {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #29d1e6;
  font-weight: 700;
  font-size: 1rem;
}

.hero-contact a:hover { color: #fff; }

.hero-contact svg {
  width: 20px;
  height: 20px;
  fill: #29d1e6;
  flex-shrink: 0;
}

/* ===================== SAVINGS CALCULATOR ===================== */
.savings-section {
  padding: 90px 5%;
  background: linear-gradient(160deg, #0e2a45 0%, #163a5f 50%, #1a4975 100%);
  position: relative;
  overflow: hidden;
}

.savings-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0,176,200,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.savings-section .section-title { color: #fff; }
.savings-section .section-subtitle { color: rgba(255,255,255,0.6); }

.savings-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1140px;
  margin: 50px auto 0;
}

.savings-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
}

.savings-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px);
  border-color: rgba(0,176,200,0.35);
}

.savings-card.featured {
  border-color: rgba(41,209,230,0.6);
  background: rgba(0,176,200,0.1);
}

.savings-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00b0c8, #29d1e6);
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,176,200,0.4);
}

.savings-volume {
  font-weight: 900;
  font-size: 2.4rem;
  color: #fff;
  line-height: 1.1;
  display: inline-block;
}

.savings-volume-sub {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
}

.savings-volume-label {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

.savings-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 20px 0;
}

.savings-amount {
  font-weight: 900;
  font-size: 2.2rem;
  color: #29d1e6;
  line-height: 1.1;
}

.savings-amount-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}

.savings-yearly {
  font-weight: 800;
  font-size: 1.5rem;
  color: #4ae3a8;
  line-height: 1.2;
}

.savings-yearly-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* savings-card reuse on light backgrounds (case study comparison) */
.cs-compare .savings-card {
  background: #fff;
  border: 1px solid #e0e6ed;
  box-shadow: 0 8px 30px rgba(22,58,95,0.07);
}

.cs-compare .savings-card:hover {
  background: #fff;
  transform: none;
}

.cs-compare .savings-card.featured {
  border-color: rgba(0,176,200,0.5);
  background: #fff;
}

/* ===================== DETAILS / EXPLAINER BLOCKS ===================== */
.details-block {
  max-width: 820px;
  margin: 0 auto;
}

.details-block p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 22px;
}

.details-block p:last-child { margin-bottom: 0; }

.details-block h3 {
  font-weight: 800;
  font-size: 1.3rem;
  color: #163a5f;
  margin-bottom: 14px;
}

.details-block strong { color: #163a5f; }

/* ===================== STATS BAR ===================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 50px 5%;
  background: #fff;
  border-top: 1px solid #e0e6ed;
  border-bottom: 1px solid #e0e6ed;
  text-align: center;
}

.stat { padding: 10px; }

.stat-num {
  font-weight: 900;
  font-size: 2.6rem;
  color: #00b0c8;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.92rem;
  color: #7b8fa3;
  font-weight: 500;
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===================== TESTIMONIALS ===================== */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 44px auto 0;
}

.testi-card {
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 16px;
  padding: 34px 32px 30px;
  position: relative;
  box-shadow: 0 8px 35px rgba(22,58,95,0.06);
  transition: all 0.35s ease;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 45px rgba(22,58,95,0.1);
}

.testi-mark {
  font-family: Georgia, serif;
  font-size: 3.2rem;
  color: #29d1e6;
  line-height: 0.6;
  margin-bottom: 16px;
}

.testi-text {
  font-size: 0.98rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 22px;
}

.testi-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: #163a5f;
}

.testi-biz {
  font-size: 0.85rem;
  color: #7b8fa3;
  font-weight: 500;
}

/* ===================== CASE STUDY ===================== */
.cs-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.cs-quote {
  background: linear-gradient(135deg, rgba(0,176,200,0.08), rgba(41,209,230,0.08));
  border-left: 4px solid #00b0c8;
  border-radius: 0 12px 12px 0;
  padding: 26px 30px;
  margin: 28px 0;
  font-style: italic;
  color: #163a5f;
  font-size: 1.02rem;
  line-height: 1.8;
}

.cs-quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: #556a7e;
}

.cs-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 760px;
  margin: 44px auto;
}

.cs-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(135deg, #163a5f, #1a4975);
  border-radius: 16px;
  padding: 34px 24px;
  text-align: center;
}

.cs-stat-num {
  font-weight: 900;
  font-size: 1.9rem;
  color: #29d1e6;
  line-height: 1.15;
  margin-bottom: 4px;
}

.cs-stat-lbl {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ===================== ABOUT ===================== */
.about-content {
  max-width: 820px;
  margin: 0 auto;
}

.about-content > p {
  color: #556a7e;
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,176,200,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.about-feature-icon svg {
  width: 16px;
  height: 16px;
  fill: #00b0c8;
  flex-shrink: 0;
  display: block;
}

/* ===================== SERVICES ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1140px;
  margin: 50px auto 0;
}

.service-card {
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00b0c8, #29d1e6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  border-color: transparent;
  box-shadow: 0 16px 50px rgba(22, 58, 95, 0.1);
  transform: translateY(-6px);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0,176,200,0.1), rgba(41,209,230,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, #00b0c8, #29d1e6);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  fill: #00b0c8;
  flex-shrink: 0;
  display: block;
  transition: fill 0.4s ease;
}

.service-card:hover .service-icon svg { fill: #fff; }

.service-card h4 {
  font-weight: 700;
  font-size: 1.15rem;
  color: #163a5f;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.95rem;
  color: #6b7f94;
  line-height: 1.7;
}

/* ===================== STEPS ===================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1140px;
  margin: 50px auto 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 14%;
  width: 72%;
  height: 2px;
  background: linear-gradient(90deg, #00b0c8, #29d1e6);
  opacity: 0.25;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #163a5f, #1a4975);
  color: #29d1e6;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  border: 3px solid #e0e6ed;
  position: relative;
  z-index: 2;
}

.step-card h4 {
  font-weight: 700;
  font-size: 1.05rem;
  color: #163a5f;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.92rem;
  color: #6b7f94;
  line-height: 1.7;
}

/* ===================== INDUSTRIES ===================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 50px auto 0;
}

.industry-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.35s ease;
  border: 1px solid #eef2f6;
}

.industry-card:hover {
  border-color: #e0e6ed;
  background: #fff;
  box-shadow: 0 10px 35px rgba(22,58,95,0.08);
  transform: translateY(-4px);
}

.industry-emoji {
  font-size: 2.6rem;
  margin-bottom: 14px;
  line-height: 1;
}

.industry-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: #163a5f;
  margin-bottom: 8px;
}

.industry-desc {
  font-size: 0.85rem;
  color: #7b8fa3;
  line-height: 1.6;
}

/* ===================== SCHEDULE / GET IN TOUCH ===================== */
.schedule-section {
  padding: 90px 5%;
  background: #f4f7fa;
}

.schedule-cta-text {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #556a7e;
  line-height: 1.75;
}

.schedule-cta-text strong { color: #163a5f; }

.calendly-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 50px rgba(22,58,95,0.08);
  overflow: hidden;
  border: 1px solid #e0e6ed;
}

.calendly-wrapper .calendly-inline-widget {
  min-width: 320px;
  height: 700px;
}

/* ===================== FOOTER ===================== */
.footer {
  background: #0e2a45;
  padding: 44px 5% 30px;
  text-align: center;
}

.footer-top {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.footer-sub {
  font-weight: 600;
  font-size: 0.62rem;
  color: #00b0c8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 6px 0 18px;
}

.footer-contacts {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-contacts a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-contacts a:hover { color: #29d1e6; }

.footer-copy, .footer-location {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ===================== BACK TO TOP ===================== */
#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b0c8, #29d1e6);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,176,200,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
}

#backToTop.show,
#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover { transform: translateY(-3px); }

/* ===================== FORM EMBEDS (Forminator) ===================== */
/* Wrappers for the [forminator_form id="65"] embeds. */
.hero-form-col {
  flex: 1;
  max-width: 440px;
  min-width: 0;
  width: 100%;
}

.hero-form-label {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #29d1e6;
  margin-bottom: 12px;
  text-align: center;
}

.hero-form-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.12);
}

.form-embed-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 12px 50px rgba(22,58,95,0.08);
}

.form-embed-note {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #8a9bac;
  margin-top: 16px;
}

.form-embed-note a { color: #00b0c8; }

/* ===================== TABLET (max-width: 1024px) ===================== */
@media (max-width: 1024px) {
  .hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 44px;
    padding: 70px 0 60px;
  }

  .hero h1 { font-size: 2.4rem; }

  .hero-content > p { margin-left: auto; margin-right: auto; }

  .hero-buttons { justify-content: center; }

  .hero-contact { justify-content: center; }

  .hero-form-col { width: 100%; max-width: 460px; }

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

  .steps-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps-grid::before { display: none; }

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

  .rewards-grid { grid-template-columns: 1fr; gap: 40px; }
  .rewards-callout { max-width: 460px; margin: 0 auto; }

  .header-contact { display: none; }
}

/* ===================== MOBILE (max-width: 768px) ===================== */
@media (max-width: 768px) {
  .section { padding: 60px 5%; }
  .savings-section, .rewards-section, .schedule-section { padding: 60px 5%; }

  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 1rem; }

  .hero h1 { font-size: 2rem; }
  .hero-content > p { font-size: 1rem; }

  .savings-grid { grid-template-columns: 1fr; gap: 26px; }

  .stats-bar { grid-template-columns: 1fr; gap: 28px; padding: 36px 5%; }
  .stat-num { font-size: 2.2rem; }

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

  .cs-compare { grid-template-columns: 1fr; gap: 26px; }
  .cs-stat-strip { grid-template-columns: 1fr; gap: 22px; }

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

  .services-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }

  .steps-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 36px; }

  .industries-grid { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
  .industry-card { padding: 28px 16px; }
  .industry-emoji { font-size: 2.2rem; margin-bottom: 10px; }
  .industry-name { font-size: 0.9rem; }
  .industry-desc { font-size: 0.8rem; }

  .rewards-section h2 { font-size: 1.8rem; }

  .calendly-wrapper .calendly-inline-widget { height: 650px; }

  .form-embed-card { padding: 28px 20px; }

  .footer-contacts { flex-direction: column; gap: 10px; align-items: center; }
}

/* ===================== SMALL MOBILE (max-width: 480px) ===================== */
@media (max-width: 480px) {
  .header { flex-wrap: wrap; justify-content: center; gap: 10px; }

  .brand img { height: 34px !important; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: 0.5rem; letter-spacing: 1px; }
  .header-cta { font-size: 0.82rem; padding: 10px 16px; }

  .hero-layout { padding: 50px 0 46px; }
  .hero h1 { font-size: 1.65rem; }
  .hero-content > p { font-size: 0.92rem; line-height: 1.65; }

  .btn-primary { width: 100%; padding: 15px 20px; font-size: 0.95rem; }
  .hero-buttons a[href="#schedule"] { margin: 10px auto 0 !important; }

  .hero-contact { flex-direction: column; gap: 12px; align-items: center; }

  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.92rem; }
  .section-label { font-size: 0.72rem; letter-spacing: 2px; }

  .savings-volume { font-size: 2rem; }
  .savings-amount { font-size: 1.9rem; }

  .details-block p { font-size: 0.92rem; }

  .cs-quote { padding: 20px 20px; font-size: 0.95rem; }

  .industries-grid { grid-template-columns: 1fr; gap: 12px; }

  .rewards-section h2 { font-size: 1.5rem; }
  .rewards-callout .big { font-size: 2.4rem; }

  .stat-num { font-size: 1.9rem; }
  .stat-label { font-size: 0.82rem; }

  .calendly-wrapper .calendly-inline-widget { height: 600px; }

  .form-embed-card { padding: 24px 16px; }
}

/* ===================== SITE NAV + PAGE HERO (subpages) ===================== */
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav .current-menu-item a,
.site-nav .current_page_item a { color: #29d1e6; }

.page-hero {
  position: relative;
  background: linear-gradient(160deg, #0e2a45 0%, #163a5f 40%, #1a4975 100%);
  padding: 74px 5% 64px;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0,176,200,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero > * { position: relative; z-index: 2; }

.page-hero h1 {
  font-weight: 900;
  font-size: 2.6rem;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 0.82rem; }
  .page-hero { padding: 54px 5% 46px; }
  .page-hero h1 { font-size: 1.9rem; }
  .page-hero p { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .site-nav { justify-content: center; width: 100%; order: 3; }
  .page-hero h1 { font-size: 1.6rem; }
}

/* ===================== CHATBOT ===================== */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#chatToggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #00b0c8, #29d1e6);
  box-shadow: 0 4px 20px rgba(0,176,200,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 950;
}

#chatToggle:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,176,200,0.6); }

#chatPanel {
  position: fixed;
  bottom: 92px;
  left: 24px;
  width: min(370px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 130px));
  background: #ffffff;
  border: 1px solid #e0e6ed;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(14,42,69,0.25);
  z-index: 950;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  background: linear-gradient(135deg, #0e2a45, #163a5f);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.chat-header-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b0c8, #29d1e6);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.chat-header-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-header-title strong { font-size: 15px; font-weight: 800; }
.chat-header-title span { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.6); }

#chatClose {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

#chatClose:hover { color: #fff; background: rgba(255,255,255,0.1); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f4f7fa;
  min-height: 200px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.chat-msg.bot {
  background: #ffffff;
  border: 1px solid #e0e6ed;
  color: #163a5f;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background: linear-gradient(135deg, #00b0c8, #29d1e6);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-msg a { color: #00b0c8; font-weight: 700; text-decoration: underline; }
.chat-msg.user a { color: #fff; }

.chat-msg.typing {
  color: #8a9bac;
  font-style: italic;
  letter-spacing: 2px;
}

.chat-quick {
  padding: 10px 14px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #f4f7fa;
  flex-shrink: 0;
}

.chat-quick button {
  background: #ffffff;
  border: 1px solid rgba(0,176,200,0.35);
  color: #00b0c8;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.chat-quick button:hover { background: #00b0c8; color: #fff; }

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid #e0e6ed;
  background: #ffffff;
  flex-shrink: 0;
}

.chat-input-row input {
  flex: 1;
  border: 1px solid #e0e6ed;
  border-radius: 10px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #163a5f;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.chat-input-row input:focus { border-color: #00b0c8; }

.chat-input-row button {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #00b0c8, #29d1e6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.chat-input-row button:hover { transform: translateY(-1px); }

@media (max-width: 480px) {
  #chatToggle { bottom: 18px; left: 14px; width: 52px; height: 52px; }
  #chatPanel { bottom: 80px; left: 14px; }
}

/* ===================== STICKY MOBILE CONTACT BAR ===================== */
.dfwpp-mobile-bar { display: none; }

@media (max-width: 768px) {
  .dfwpp-mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,0.97);
    border-top: 1px solid #e0e6ed;
    box-shadow: 0 -4px 20px rgba(22,58,95,0.12);
    z-index: 960;
  }

  .dfwpp-mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1;
    padding: 15px 8px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
  }

  .dfwpp-mobile-bar .dfwpp-bar-call {
    background: linear-gradient(135deg, #00b0c8, #29d1e6);
    box-shadow: 0 6px 18px rgba(0,176,200,0.35);
  }

  .dfwpp-mobile-bar .dfwpp-bar-text {
    background: #163a5f;
  }

  .dfwpp-mobile-bar svg { width: 17px; height: 17px; flex-shrink: 0; }

  /* Clear the bar so nothing sits underneath it.
     Needs the class too: .footer sets padding via shorthand at higher specificity. */
  footer.footer { padding-bottom: 104px; }
  #backToTop { bottom: 98px; }
  #chatToggle { bottom: 98px; }
  #chatPanel  { bottom: 166px; }
}

@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .dfwpp-mobile-bar a { transition: transform 0.2s; }
  .dfwpp-mobile-bar a:active { transform: scale(0.97); }
}
/* ===================== CHAT ASSISTANT IDENTITY ===================== */
.chat-header-avatar { overflow: hidden; }

.chat-header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.chat-avatar-monogram {
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.5px;
}

.chat-header-title strong {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.chat-header-title span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ===================== FOUNDER NOTE ===================== */
.founder-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 54px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.founder-photo {
  border-radius: 16px;
  overflow: hidden;
  background: #e0e6ed;
  box-shadow: 0 16px 40px rgba(22,58,95,0.16);
}

.founder-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.founder-name {
  margin-top: 18px;
  text-align: center;
}

.founder-name strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #163a5f;
  line-height: 1.3;
}

.founder-name span {
  font-size: 0.86rem;
  color: #556a7e;
}

.founder-body p {
  font-size: 1rem;
  line-height: 1.75;
  color: #556a7e;
  margin: 0 0 18px;
  max-width: 62ch;
}

.founder-body p.founder-lead {
  font-size: 1.12rem;
  color: #163a5f;
  font-weight: 600;
  line-height: 1.65;
}

.founder-body p:last-child { margin-bottom: 0; }

.founder-quote {
  border: 0;
  border-left: 4px solid #00b0c8;
  margin: 0 0 22px;
  padding: 2px 0 2px 20px;
  font-size: 1.06rem;
  line-height: 1.6;
  font-weight: 700;
  color: #163a5f;
  max-width: 58ch;
}

.founder-body a {
  color: #00b0c8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 30px; }
  .founder-photo { max-width: 290px; margin: 0 auto; }
  .founder-quote { font-size: 1rem; }
}
/* ===================== EXPLAINER VIDEO ===================== */
.cd-video-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 54px;
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
}

.cd-video-grid .details-block { max-width: none; margin: 0; }

.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #0e2a45;
  box-shadow: 0 16px 40px rgba(22,58,95,0.18);
}

.video-facade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,42,69,0.94) 0%, rgba(14,42,69,0.62) 30%, rgba(14,42,69,0.06) 62%);
}

.video-title {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.32;
}

.video-meta {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}

.video-play {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b0c8, #29d1e6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(0,176,200,0.5);
}

.video-play svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }

.video-facade:hover .video-play,
.video-facade:focus-visible .video-play { background: linear-gradient(135deg, #29d1e6, #00b0c8); }

.video-facade:focus-visible { outline: 3px solid #29d1e6; outline-offset: 3px; }

.video-card video,
.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #000;
}

.video-caption {
  margin: 14px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #556a7e;
  text-align: center;
}

@media (max-width: 900px) {
  .cd-video-grid { grid-template-columns: 1fr; gap: 34px; }
  .video-card { max-width: 300px; margin: 0 auto; }
  .cd-video-grid .details-block { max-width: 820px; margin: 0 auto; }
}
/* ===================== STRAIGHT ANSWERS (cost + commitment) ===================== */
.straight-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
}

.price-list { margin: 0; padding: 0; list-style: none; }

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #e0e6ed;
}

.price-row:first-child { padding-top: 0; }

.price-row dt {
  font-weight: 700;
  font-size: 0.97rem;
  color: #163a5f;
  margin: 0;
}

.price-row dd {
  margin: 0;
  font-weight: 800;
  font-size: 0.97rem;
  color: #00b0c8;
  white-space: nowrap;
  text-align: right;
}

.price-note {
  display: block;
  margin-top: 5px;
  font-weight: 400;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #556a7e;
  white-space: normal;
}

.price-foot {
  margin: 20px 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #556a7e;
}

.promise-card {
  background: linear-gradient(160deg, #0e2a45 0%, #163a5f 100%);
  border-radius: 16px;
  padding: 32px 30px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(22,58,95,0.2);
}

.promise-card h3 {
  margin: 0 0 16px;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
}

.promise-card p {
  margin: 0 0 14px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}

.promise-card p:last-of-type { margin-bottom: 0; }

.promise-card strong { color: #fff; }

.promise-sig {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.promise-sig img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.promise-sig span {
  font-size: 0.84rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.72);
}

.promise-sig strong { display: block; font-size: 0.95rem; color: #fff; }

@media (max-width: 900px) {
  .straight-grid { grid-template-columns: 1fr; gap: 34px; }
}
/* ===================== SINGLE FEATURED REVIEW ===================== */
/* One genuine review reads better centred and given room than stranded in
   the left cell of a two column grid. */
.testi-grid--single {
  grid-template-columns: 1fr;
  max-width: 680px;
}

.testi-grid--single .testi-card { padding: 38px 38px 32px; }

.testi-grid--single .testi-text {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #163a5f;
}

@media (max-width: 600px) {
  .testi-grid--single .testi-card { padding: 30px 26px 26px; }
  .testi-grid--single .testi-text { font-size: 1rem; }
}
/* ===================== WHAT HAPPENS NEXT ===================== */
.next-steps {
  counter-reset: nextstep;
  list-style: none;
  margin: 26px auto 0;
  padding: 22px 0 0;
  max-width: 620px;
  border-top: 1px solid #e0e6ed;
}

.next-steps li {
  counter-increment: nextstep;
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
  font-size: 0.93rem;
  line-height: 1.6;
  color: #556a7e;
}

.next-steps li:last-child { margin-bottom: 0; }

.next-steps li::before {
  content: counter(nextstep);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b0c8, #29d1e6);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.next-steps strong { color: #163a5f; }

.hero-form-sub {
  text-align: center;
  margin-top: -4px;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
}

/* ===================== TECHNOLOGY / DEVICES ===================== */
.device-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 44px auto 0;
}

.device-card {
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.device-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #0e2a45 0%, #163a5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.device-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 14px;
}

/* Shown only until real device photography is added. */
.device-placeholder {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.62);
  text-align: center;
  padding: 0 18px;
  line-height: 1.4;
}

.device-body { padding: 20px 22px 24px; }

.device-kind {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #00b0c8;
  margin-bottom: 8px;
}

.device-body h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #163a5f;
  line-height: 1.3;
}

.device-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #556a7e;
}

.device-card--more {
  background: #f4f7fa;
  justify-content: center;
}

.device-card--more .device-body { padding: 28px 24px; }

.device-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #00b0c8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .device-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 560px) {
  .device-grid { grid-template-columns: 1fr; max-width: 380px; }
}
