/*
Theme Name: Direct Line Payments
Theme URI: https://directlinepayments.com
Author: Direct Line Payments
Description: Custom theme for Direct Line Payments — merchant services and the cash discount program, with no contracts, no monthly fees and no annual fees.
Version: 1.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: direct-line-payments
*/

/* ============================================================
   Direct Line Payments — style.css

   Palette taken from the brand business card:
     Pine       #1D4437   the brand dark; logo mark, dark grounds
     Terracotta #C05F3C   the accent; buttons, the divider device
     Sage       #7D9784   secondary accent, highlights on dark
     Bark       #3A332C   headings and body text on light
     Sand       #EEE5D3   the light ground

   Everything below is either one of those five or a tint/shade
   derived from them for states, borders and text tiers — noted
   where derived. Rebranding is a single edit to :root.

   Contrast, checked against WCAG:
     Sand on Pine          8.7:1   body text on dark        AA
     Sage on Pine          3.4:1   display headings only    AA large
     White on Terracotta   4.3:1   button labels            AA large
     White on Terracotta-deep 5.4:1  small text, links      AA
     Pine on white        10.9:1   eyebrows, links          AA
     Terracotta on white   4.3:1   large stat figures only  AA large
   Terracotta is a fill colour, not a small-text colour — it sits
   mid-luminance, so it never carries body copy on any ground.
   ============================================================ */

:root {
  /* Brand, exact */
  --dlp-pine:       #1d4437;
  --dlp-terracotta: #c05f3c;
  --dlp-sage:       #7d9784;
  --dlp-bark:       #3a332c;
  --dlp-sand:       #eee5d3;

  /* Derived from the brand five */
  --dlp-pine-deep:  #14322a;  /* gradient start, footer, header */
  --dlp-pine-lift:  #27594a;  /* gradient end */
  --dlp-sage-light: #a8bdae;  /* small text on pine — 5.5:1, where Sage is only 3.4 */
  --dlp-terra-deep: #a34e2e;  /* button hover, links and small text on light */
  --dlp-sand-soft:  #f7f2e8;  /* softest warm ground */
  --dlp-line:       #e2d8c6;  /* borders on white */
  --dlp-line-sand:  #ded2bc;  /* borders on the sand ground */
  --dlp-head:       #3a332c;  /* = Bark */
  --dlp-body:       #5c5349;  /* body copy */
  --dlp-muted:      #8a8075;  /* captions, meta */

  --dlp-grad:       linear-gradient(135deg, #c05f3c, #a34e2e);
  --dlp-dark-grad:  linear-gradient(160deg, #14322a 0%, #1d4437 45%, #27594a 100%);
  --dlp-shadow:     0 8px 35px rgba(58, 51, 44, 0.08);
  --dlp-glow:       0 8px 30px rgba(192, 95, 60, 0.32);
}

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

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

/* Sticky header is ~66px; keep anchor targets clear of it. */
html { scroll-padding-top: 84px; }

body {
  font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  color: var(--dlp-body);
  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.25s;
  word-break: break-word;
}

ul { list-style: none; }

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

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

.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;
}

.section-label {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dlp-terra-deep);
  margin-bottom: 10px;
}

.section-title {
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--dlp-head);
  margin-bottom: 18px;
  line-height: 1.25;
  text-align: center;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.08rem;
  color: #5c5349;
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
  line-height: 1.7;
}

.section-subtitle strong { color: var(--dlp-head); }

.section { padding: 90px 5%; }
.section-white { background: #fff; }
.section-light { background: var(--dlp-sand); }

/* ===================== 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(58, 51, 44, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.18);
}

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

.brand-mark { flex-shrink: 0; display: block; }

/* The lockup from the business card: "Direct Line" heavy, with "PAYMENTS"
   letterspaced out beneath it to roughly the same width. */
.brand-name {
  font-weight: 800;
  font-size: 1.16rem;
  color: var(--dlp-sand);
  white-space: nowrap;
  line-height: 1.1;
  letter-spacing: -0.4px;
}

.brand-sub {
  font-weight: 600;
  font-size: 0.58rem;
  color: var(--dlp-sage-light);
  letter-spacing: 4.2px;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 2px;
}

/* ── The terracotta rule ──
   A short bar the card uses as a divider. Used sparingly: under a page-hero
   heading and above the footer tagline, which is where the card puts it. */
.brand-rule {
  display: block;
  width: 46px;
  height: 5px;
  border-radius: 3px;
  background: var(--dlp-terracotta);
  border: 0;
  margin: 20px auto 18px;
}

.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: var(--dlp-sage-light); }

.header-cta {
  background: var(--dlp-grad);
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 22px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(192, 95, 60, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
  flex-shrink: 0;
}

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

.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 .current-menu-item a,
.site-nav .current_page_item a { color: var(--dlp-sage-light); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: var(--dlp-dark-grad);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(125, 151, 132, 0.16) 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: 84px 0 76px;
}

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

.hero h1 {
  font-weight: 800;
  font-size: 2.85rem;
  color: #fff;
  line-height: 1.14;
  margin-bottom: 20px;
  letter-spacing: -1.2px;
}

.hero h1 .highlight { color: var(--dlp-sage); }

.hero-content > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 560px;
}

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

.hero-inline-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--dlp-sage-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-left: 14px;
}

.hero-inline-link:hover { color: #fff; }

.btn-primary {
  display: inline-block;
  background: var(--dlp-grad);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 10px;
  box-shadow: var(--dlp-glow);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

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

/* Three-up reassurance strip under the hero buttons */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
}

.hero-trust svg {
  width: 15px;
  height: 15px;
  fill: var(--dlp-sage);
  flex-shrink: 0;
}

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

.hero-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dlp-sage-light);
  font-weight: 700;
  font-size: 1rem;
}

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

.hero-contact svg {
  width: 20px;
  height: 20px;
  fill: var(--dlp-sage);
  flex-shrink: 0;
}

/* ===================== SAVINGS CALCULATOR ===================== */
.savings-section {
  padding: 90px 5%;
  background: var(--dlp-dark-grad);
  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(125, 151, 132, 0.11) 0%, transparent 70%);
  pointer-events: none;
}

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

.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: background 0.35s, transform 0.35s, border-color 0.35s;
}

.savings-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  border-color: rgba(192, 95, 60, 0.4);
}

.savings-card.featured {
  border-color: rgba(125, 151, 132, 0.6);
  background: rgba(192, 95, 60, 0.12);
}

.savings-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dlp-grad);
  color: #fff;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(192, 95, 60, 0.4);
}

.savings-volume {
  font-weight: 800;
  font-size: 2.4rem;
  color: #fff;
  line-height: 1.1;
  display: inline-block;
  letter-spacing: -1px;
}

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

.savings-volume-label {
  font-weight: 700;
  font-size: 0.76rem;
  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: 800;
  font-size: 2.2rem;
  color: var(--dlp-sand);
  line-height: 1.1;
  letter-spacing: -1px;
}

.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.55rem;
  color: var(--dlp-sage);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

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

/* Footnote under the calculator cards */
.savings-foot {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 34px auto 0;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.savings-foot strong { color: rgba(255, 255, 255, 0.85); }

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

.details-block p {
  color: #5c5349;
  font-size: 1.04rem;
  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: var(--dlp-head);
  margin-bottom: 14px;
}

.details-block strong { color: var(--dlp-head); }

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

.stat { padding: 10px; }

.stat-num {
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--dlp-terracotta);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -1.5px;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--dlp-muted);
  font-weight: 600;
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.55;
}

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

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

.about-content > p strong { color: var(--dlp-head); }

.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: #4a423a;
  line-height: 1.6;
  font-weight: 600;
}

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

.about-feature-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--dlp-terracotta);
  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 var(--dlp-line);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: box-shadow 0.35s, transform 0.35s, border-color 0.35s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--dlp-grad);
  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(58, 51, 44, 0.11);
  transform: translateY(-6px);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(192, 95, 60, 0.1), rgba(125, 151, 132, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: background 0.4s ease;
  overflow: hidden;
}

.service-card:hover .service-icon { background: var(--dlp-grad); }

.service-icon svg {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  fill: var(--dlp-terracotta);
  flex-shrink: 0;
  display: block;
  transition: fill 0.4s ease;
}

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

.service-card h4 {
  font-weight: 800;
  font-size: 1.13rem;
  color: var(--dlp-head);
  margin-bottom: 14px;
}

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

.service-card p a { color: var(--dlp-terra-deep); font-weight: 700; }

/* ===================== 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: var(--dlp-grad);
  opacity: 0.25;
}

.steps-grid--three { grid-template-columns: repeat(3, 1fr); max-width: 900px; }

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

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dlp-pine), var(--dlp-pine-lift));
  color: var(--dlp-sand);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  border: 3px solid var(--dlp-line);
  position: relative;
  z-index: 2;
}

.step-card h4 {
  font-weight: 800;
  font-size: 1.04rem;
  color: var(--dlp-head);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.92rem;
  color: #6b6157;
  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: var(--dlp-sand-soft);
  border-radius: 14px;
  padding: 36px 24px;
  text-align: center;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  border: 1px solid #ebe1cf;
}

.industry-card:hover {
  border-color: var(--dlp-line);
  background: #fff;
  box-shadow: 0 10px 35px rgba(58, 51, 44, 0.08);
  transform: translateY(-4px);
}

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

.industry-name {
  font-weight: 800;
  font-size: 0.97rem;
  color: var(--dlp-head);
  margin-bottom: 8px;
}

.industry-desc {
  font-size: 0.85rem;
  color: var(--dlp-muted);
  line-height: 1.6;
  font-weight: 500;
}

/* ===================== NO-FEES / PRICE LIST ===================== */
.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; }

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--dlp-line);
}

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

.price-row dt {
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--dlp-head);
  margin: 0;
}

.price-row dd {
  margin: 0;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--dlp-terra-deep);
  white-space: nowrap;
  text-align: right;
}

/* Zeroed line items get the emphatic treatment — they are the pitch. */
.price-row dd.is-zero {
  font-size: 1.18rem;
  letter-spacing: -0.5px;
}

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

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

.price-foot strong { color: var(--dlp-head); }

.promise-card {
  background: linear-gradient(160deg, var(--dlp-pine-deep) 0%, var(--dlp-pine-lift) 100%);
  border-radius: 16px;
  padding: 32px 30px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(58, 51, 44, 0.22);
}

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

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

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

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

.promise-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.promise-list svg {
  width: 17px;
  height: 17px;
  fill: var(--dlp-sage-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===================== CUSTOMER-SAVINGS SPLIT ===================== */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 900px;
  margin: 46px auto 0;
}

.compare-card {
  border-radius: 16px;
  padding: 32px 30px;
  border: 1px solid var(--dlp-line);
  background: #fff;
  box-shadow: var(--dlp-shadow);
}

.compare-card.is-them { background: var(--dlp-sand); box-shadow: none; }

.compare-tag {
  display: inline-block;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.compare-card.is-them .compare-tag {
  background: rgba(58, 51, 44, 0.07);
  color: #7d7468;
}

.compare-card.is-us .compare-tag {
  background: rgba(192, 95, 60, 0.12);
  color: var(--dlp-terra-deep);
}

.compare-card h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--dlp-head);
  margin-bottom: 12px;
  line-height: 1.4;
}

.compare-card p {
  font-size: 0.93rem;
  line-height: 1.72;
  color: #5c5349;
  margin: 0;
}

.compare-card p + p { margin-top: 12px; }

.compare-card strong { color: var(--dlp-head); }

/* ===================== FAQ ===================== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--dlp-line);
  border-radius: 10px;
  padding: 17px 22px;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item[open] {
  border-color: rgba(192, 95, 60, 0.4);
  box-shadow: 0 8px 26px rgba(58, 51, 44, 0.06);
}

.faq-item summary {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--dlp-head);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--dlp-terracotta);
  border-bottom: 2.5px solid var(--dlp-terracotta);
  transform: rotate(45deg);
  transition: transform 0.25s;
  margin-top: -4px;
}

.faq-item[open] summary::after { transform: rotate(225deg); margin-top: 3px; }

.faq-item > p {
  margin: 13px 0 0;
  font-size: 0.94rem;
  line-height: 1.72;
  color: #5c5349;
}

.faq-item > p strong { color: var(--dlp-head); }

/* ===================== SCHEDULE / GET IN TOUCH ===================== */
.schedule-section {
  padding: 90px 5%;
  background: var(--dlp-sand);
}

.schedule-cta-text {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 1.08rem;
  color: #5c5349;
  line-height: 1.75;
  text-align: center;
}

.schedule-cta-text strong { color: var(--dlp-head); }

/* ===================== FORM EMBEDS (Forminator) ===================== */
.hero-form-col {
  flex: 1;
  max-width: 440px;
  min-width: 0;
  width: 100%;
}

.hero-form-label {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dlp-sage-light);
  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 var(--dlp-line);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 12px 50px rgba(58, 51, 44, 0.08);
}

.form-embed-note {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #8a8075;
  margin-top: 16px;
}

.form-embed-note a { color: var(--dlp-terra-deep); }

/* Consent paragraph injected by the form's HTML field */
.dlp-form-consent {
  font-size: 0.72rem;
  line-height: 1.55;
  color: #8a8075;
  margin: 0;
}

/* ===================== FORMINATOR FIELD STYLING =====================
   The form is set to inherit theme colours (cform-color-option: theme),
   which means Forminator ships almost no colour for the main form — left
   alone, the submit button renders as a default grey browser button. Since
   that button is the entire point of the site, the form internals are
   styled here.

   Specificity note: Forminator's base stylesheet qualifies everything with
   .forminator-ui.forminator-custom-form[data-design=default], and it may be
   enqueued after this file, so matching its selectors is not enough. The
   .forminator-ui class is intentionally repeated below to add one class of
   specificity, which beats Forminator's rules at every depth without
   resorting to !important on layout properties. */

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-row {
  margin-bottom: 14px;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-row-last {
  margin-bottom: 0;
  margin-top: 20px;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-label {
  display: block;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--dlp-head);
  margin-bottom: 7px;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-required {
  color: var(--dlp-terra-deep);
  font-weight: 800;
}

/* ── Text inputs ── */
.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-input {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dlp-head);
  background: #fff;
  border-width: 1.5px;
  border-style: solid;
  border-color: var(--dlp-line);
  border-radius: 9px;
  padding: 12px 14px;
  height: auto;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-input::placeholder {
  color: #a89c8b;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-input:hover {
  border-color: #d3c7b2;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-input:focus {
  border-color: var(--dlp-terracotta);
  box-shadow: 0 0 0 3px rgba(192, 95, 60, 0.16);
  outline: none;
}

/* ── Radio group: the monthly-volume question ──
   Forminator draws the ring as .forminator-radio-bullet and fades in an
   inner dot via the bullet's :before opacity. Colour is layered onto that
   rather than replacing the mechanism, so its transition still applies. */
.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-field[role="radiogroup"] .forminator-label {
  margin-bottom: 9px;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4a423a;
  margin: 0 0 8px;
  cursor: pointer;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-radio:last-of-type {
  margin-bottom: 0;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-radio .forminator-radio-bullet {
  border-color: #cdbfa8;
  background-color: #fff;
  transition: border-color 0.2s, background-color 0.2s;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-radio .forminator-radio-bullet:before {
  background-color: var(--dlp-terracotta);
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-radio:hover .forminator-radio-bullet {
  border-color: var(--dlp-terracotta);
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-radio input:checked + .forminator-radio-bullet {
  border-color: var(--dlp-terracotta);
}

/* Same selected state expressed through :has(). Forminator's own mechanism is
   the adjacent-sibling rule above; this is an independent second path so the
   selected option still reads as selected if that one fails to invalidate. */
.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-radio:has(input:checked) .forminator-radio-bullet {
  border-color: var(--dlp-terracotta);
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-radio:has(input:checked) .forminator-radio-bullet:before {
  opacity: 1;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-radio input:focus-visible + .forminator-radio-bullet {
  box-shadow: 0 0 0 3px rgba(192, 95, 60, 0.22);
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-radio .forminator-radio-label {
  line-height: 1.4;
}

/* ── The submit button: the conversion element on every page ── */
.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] button.forminator-button.forminator-button-submit {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.3;
  color: #fff;
  background-color: var(--dlp-terracotta);
  background-image: var(--dlp-grad);
  border: none;
  border-radius: 10px;
  margin: 0;
  padding: 16px 26px;
  cursor: pointer;
  box-shadow: var(--dlp-glow);
  transition: transform 0.22s, box-shadow 0.22s;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] button.forminator-button.forminator-button-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(192, 95, 60, 0.55);
  color: #fff;
  background-image: var(--dlp-grad);
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] button.forminator-button.forminator-button-submit:focus-visible {
  outline: 3px solid var(--dlp-pine);
  outline-offset: 3px;
}

/* ── Validation and response messaging ── */
.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-error-message {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  color: #c62828;
  margin-top: 6px;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-input.forminator-has_error {
  border-color: #c62828;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-response-message {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-response-message.forminator-error {
  background-color: #fdecea;
  color: #a31515;
  border: 1px solid #f5c6c2;
}

.forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-response-message.forminator-success {
  background-color: rgba(192, 95, 60, 0.09);
  color: #1d4437;
  border: 1px solid rgba(192, 95, 60, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] button.forminator-button.forminator-button-submit,
  .forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-input,
  .forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] .forminator-radio .forminator-radio-bullet {
    transition: none;
  }
  .forminator-ui.forminator-ui.forminator-custom-form[data-design="default"] button.forminator-button.forminator-button-submit:hover {
    transform: none;
  }
}


/* ===================== HERO EYEBROW ===================== */
/* Names the programme above the headline, so the H1 can stay a benefit
   rather than spending its first three words on a proper noun. */
.hero-eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dlp-sage-light);
  margin-bottom: 14px;
}

/* ===================== THE ADVANTAGE PROGRAMME =====================
   Numbered because the three parts are a genuine set the visitor is meant
   to hold together, not a ranked list — 01/02/03 here is a countable
   inventory ("three things you get"), which is what the sales conversation
   actually says. */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1140px;
  margin: 48px auto 0;
}

.advantage-card {
  position: relative;
  background: var(--dlp-sand-soft);
  border: 1px solid var(--dlp-line);
  border-radius: 16px;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s, transform 0.35s, border-color 0.35s;
}

.advantage-card:hover {
  background: #fff;
  border-color: rgba(192, 95, 60, 0.4);
  box-shadow: 0 16px 44px rgba(58, 51, 44, 0.11);
  transform: translateY(-4px);
}

.advantage-num {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  color: var(--dlp-terracotta);
  margin-bottom: 14px;
}

/* The card's divider device, reused as a rule under the number. */
.advantage-num::after {
  content: '';
  display: block;
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: var(--dlp-terracotta);
  margin-top: 10px;
}

.advantage-card h3 {
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--dlp-head);
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--dlp-body);
  margin: 0 0 12px;
}

.advantage-card p strong { color: var(--dlp-head); }

.advantage-card .advantage-note {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--dlp-line-sand);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--dlp-muted);
  font-weight: 600;
}

.advantage-cta {
  max-width: 700px;
  margin: 42px auto 0;
  text-align: center;
}

.advantage-cta p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dlp-body);
  margin-bottom: 20px;
}

.advantage-cta p strong { color: var(--dlp-head); }

@media (max-width: 1024px) {
  .advantage-grid { grid-template-columns: 1fr; max-width: 620px; gap: 20px; }
  .advantage-card .advantage-note { margin-top: 4px; }
}

@media (max-width: 480px) {
  .hero-eyebrow { font-size: 0.68rem; letter-spacing: 2px; }
  .advantage-card { padding: 26px 22px 24px; }
  .advantage-card h3 { font-size: 1.04rem; }
}

/* ===================== PAGE HERO (subpages) ===================== */
.page-hero {
  position: relative;
  background: var(--dlp-dark-grad);
  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(125, 151, 132, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

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

.page-hero .section-label { color: var(--dlp-sage-light); }

.page-hero h1 {
  font-weight: 800;
  font-size: 2.55rem;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -1.2px;
}

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

/* ===================== FOOTER ===================== */
.footer {
  background: var(--dlp-pine-deep);
  padding: 44px 5% 30px;
  text-align: center;
}

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

.footer-top a {
  display: flex;
  align-items: center;
  gap: 11px;
}

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

/* The card's back, reproduced: terracotta rule, then the tagline. */
.footer-sub {
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--dlp-sand);
  letter-spacing: -0.2px;
  margin: 0 0 6px;
}

.footer-note {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dlp-sage-light);
  margin-bottom: 20px;
}

.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: 700;
}

.footer-contacts a:hover { color: var(--dlp-sage-light); }

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dlp-sage-light);
}

.footer-links a:hover { color: var(--dlp-sage-light); }

/* ===================== BACK TO TOP ===================== */
#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dlp-grad);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(192, 95, 60, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
}

#backToTop.show { opacity: 1; pointer-events: auto; }
#backToTop:hover { transform: translateY(-3px); }

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

@media (max-width: 768px) {
  .dlp-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 var(--dlp-line);
    box-shadow: 0 -4px 20px rgba(58, 51, 44, 0.12);
    z-index: 960;
  }

  .dlp-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;
  }

  .dlp-mobile-bar .dlp-bar-call {
    background: var(--dlp-grad);
    box-shadow: 0 6px 18px rgba(192, 95, 60, 0.35);
  }

  .dlp-mobile-bar .dlp-bar-text { background: var(--dlp-pine); }

  .dlp-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 equal specificity. */
  footer.footer { padding-bottom: 104px; }
  #backToTop { bottom: 98px; }
}

@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .dlp-mobile-bar a { transition: transform 0.2s; }
  .dlp-mobile-bar a:active { transform: scale(0.97); }
}

/* ===================== 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.35rem; }
  .hero-content > p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-trust { 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; }
  .steps-grid--three { grid-template-columns: 1fr 1fr; }

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

  .straight-grid { grid-template-columns: 1fr; gap: 34px; }

  .header-contact { display: none; }
}

/* ===================== MOBILE (max-width: 768px) ===================== */
@media (max-width: 768px) {
  .section { padding: 60px 5%; }
  .savings-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; }

  .compare-grid { grid-template-columns: 1fr; gap: 20px; }

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

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

  .steps-grid, .steps-grid--three { 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; }

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

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

  .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; }
}

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

  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: 0.5rem; letter-spacing: 1px; }
  .header-cta { font-size: 0.8rem; padding: 10px 16px; }

  .site-nav { justify-content: center; width: 100%; order: 3; }

  .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-inline-link { margin: 10px auto 0; }

  .hero-trust { flex-direction: column; gap: 8px; align-items: center; }
  .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.7rem; letter-spacing: 2px; }

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

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

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

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

  .page-hero h1 { font-size: 1.6rem; }

  .form-embed-card { padding: 24px 16px; }
  .promise-card { padding: 26px 22px; }
  .compare-card { padding: 26px 22px; }
}
