/*
Theme Name: Helperlink
Theme URI: https://helperlink.pk/
Author: Helperlink
Description: Clean, conversion-focused theme for Helperlink — trained and verified household staff placement in Islamabad. Includes templates for hiring, worker applications, and a built-in enquiry form handler that emails submissions to you.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: helperlink
Tags: business, services, one-column, custom-logo, custom-menu, responsive-layout, accessibility-ready
*/

/* ==========================================================================
   Helperlink — Design System
   Primary: deep navy · Accent: green · Background: white / light grey
   Headings: Poppins · Body: Inter
   ========================================================================== */

:root {
  /* Color tokens */
  --color-navy: #0f2c4c;
  --color-navy-dark: #0a1e34;
  --color-navy-light: #1c4a73;
  --color-navy-tint: #eaf0f6;
  --color-green: #1e8a5f;
  --color-green-dark: #146b48;
  --color-green-tint: #e6f4ec;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8fa;
  --color-text: #202733;
  --color-text-secondary: #5b6472;
  --color-border: #e3e7ec;
  --color-error: #c0392b;
  --color-error-bg: #fdedec;

  /* Typography */
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', 'Open Sans', sans-serif;
  --fs-h1: clamp(2.1rem, 1.65rem + 2vw, 3.35rem);
  --fs-h2: clamp(1.65rem, 1.4rem + 1.1vw, 2.3rem);
  --fs-h3: clamp(1.25rem, 1.13rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);

  /* Layout */
  --container-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(15, 44, 76, 0.08);
  --shadow-md: 0 12px 28px rgba(15, 44, 76, 0.1);
  --shadow-lg: 0 22px 48px rgba(15, 44, 76, 0.14);
  --header-height: 76px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-height) + 16px); }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.05rem; }

p { color: var(--color-text); }
p + p { margin-top: 14px; }

a { color: var(--color-navy); text-decoration-color: var(--color-border); }
a:not([class]) { text-underline-offset: 3px; }

ul, ol { padding-left: 1.2em; }

button { font-family: inherit; }

input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--color-text); }

:focus-visible {
  outline: 2.5px solid var(--color-green);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--color-navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.section { padding-block: 64px; }
.section-sm { padding-block: 40px; }
@media (min-width: 900px) {
  .section { padding-block: 96px; }
  .section-sm { padding-block: 56px; }
}
.section-alt { background: var(--color-bg-alt); }
.section-navy { background: var(--color-navy); color: rgba(255, 255, 255, 0.9); }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  margin-bottom: 10px;
}
.section-head p { color: var(--color-text-secondary); font-size: var(--fs-lead); margin-top: 12px; }

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 940px) {
  .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .split.split--tight { gap: 48px; }
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.hide-desktop { display: initial; }
@media (min-width: 1024px) {
  .hide-desktop { display: none; }
}

.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--color-navy); color: #fff; }
.btn-primary:hover { background: var(--color-navy-light); }

.btn-accent { background: var(--color-green); color: #fff; }
.btn-accent:hover { background: var(--color-green-dark); }

.btn-outline { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.btn-outline:hover { background: var(--color-navy); color: #fff; }

.btn-white { background: #fff; color: var(--color-navy); }
.btn-white:hover { background: var(--color-navy-tint); }

.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}
.logo-word {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 30px;
}
@media (min-width: 1024px) { .main-nav { display: flex; } }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--color-text);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--color-navy);
  border-color: var(--color-green);
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.header-cta-desktop { display: none; align-items: center; gap: 10px; }
@media (min-width: 1024px) { .header-cta-desktop { display: flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: #fff;
  color: var(--color-navy);
  cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.mobile-panel {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  background: #fff;
  z-index: 90;
  overflow-y: auto;
  padding: 28px 20px 40px;
}
.nav-open .mobile-panel { display: block; }
.nav-open { overflow: hidden; }
.mobile-panel nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.mobile-panel nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-navy);
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid var(--color-border);
}
.mobile-panel .btn-row { flex-direction: column; }
.mobile-panel .contact-mini {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-panel .contact-mini a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
}
.mobile-panel .contact-mini svg { width: 18px; height: 18px; color: var(--color-green); }

@media (min-width: 1024px) {
  .mobile-panel { display: none !important; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-block: 48px 56px; }
@media (min-width: 900px) { .hero { padding-block: 76px 88px; } }

.hero .split { gap: 32px; }
@media (min-width: 940px) { .hero .split { gap: 56px; } }

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.1;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-green-tint);
  color: var(--color-green-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.hero-eyebrow svg { width: 15px; height: 15px; }

.hero h1 { margin-bottom: 18px; }
.hero .lead {
  font-size: var(--fs-lead);
  color: var(--color-text-secondary);
  max-width: 54ch;
  margin-bottom: 28px;
}

.trust-line {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line svg { width: 15px; height: 15px; color: var(--color-green); flex-shrink: 0; }

.page-hero {
  background: linear-gradient(180deg, var(--color-navy-tint) 0%, var(--color-bg) 100%);
  padding-block: 52px;
  text-align: center;
}
@media (min-width: 900px) { .page-hero { padding-block: 76px; } }
.page-hero .container { max-width: 780px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { font-size: var(--fs-lead); color: var(--color-text-secondary); margin-bottom: 26px; }
.page-hero .btn-row { justify-content: center; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--color-green-tint);
  color: var(--color-navy);
  margin-bottom: 18px;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.navy { background: var(--color-navy-tint); color: var(--color-navy); }
.icon-badge.on-dark { background: rgba(255,255,255,0.12); color: #fff; }

.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { color: var(--color-text-secondary); font-size: 0.95rem; }

.card-list {
  list-style: none;
  padding: 0;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-list li {
  display: flex;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
}
.card-list svg { width: 15px; height: 15px; color: var(--color-green); flex-shrink: 0; margin-top: 3px; }

.step-card { position: relative; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.step-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step-card p { color: var(--color-text-secondary); font-size: 0.95rem; }

.step-list {
  display: grid;
  gap: 20px;
  counter-reset: step;
}
@media (min-width: 700px) { .step-list.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .step-list.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.step-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step-rail .step-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}
.step-rail .step-row:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 46px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.step-rail .step-number { margin-bottom: 0; }
.step-rail h3 { margin-bottom: 6px; font-size: 1.08rem; }
.step-rail p { color: var(--color-text-secondary); font-size: 0.95rem; }

/* ==========================================================================
   Checklist
   ========================================================================== */
.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
}
.checklist .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-green-tint);
  color: var(--color-green-dark);
  flex-shrink: 0;
  margin-top: 1px;
}
.checklist .check-icon svg { width: 13px; height: 13px; }

/* ==========================================================================
   Chips / badges
   ========================================================================== */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-navy-tint);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}
.chip.active { background: var(--color-navy); color: #fff; }

/* ==========================================================================
   Info / note callouts
   ========================================================================== */
.callout {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-green);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}
.callout strong { color: var(--color-text); }
.callout.navy { border-left-color: var(--color-navy); }

/* ==========================================================================
   Accordion (FAQ) — native <details>/<summary>
   ========================================================================== */
.accordion { border-top: 1px solid var(--color-border); }
.accordion details {
  border-bottom: 1px solid var(--color-border);
}
.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion .accordion-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color 0.15s ease;
}
.accordion .accordion-icon::before, .accordion .accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--color-navy);
  transition: transform 0.2s ease;
}
.accordion .accordion-icon::before { width: 12px; height: 2px; }
.accordion .accordion-icon::after { width: 2px; height: 12px; }
.accordion details[open] .accordion-icon { background: var(--color-green-tint); }
.accordion details[open] .accordion-icon::after { transform: scaleY(0); }
.accordion .accordion-body { padding: 0 32px 24px 4px; color: var(--color-text-secondary); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 700px) { .form-panel { padding: 40px; } }

.form-intro { margin-bottom: 26px; }
.form-intro h2 { margin-bottom: 8px; }
.form-microcopy { color: var(--color-text-secondary); font-size: 0.95rem; }

.form-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-grid .full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}
.form-group .optional-tag { font-weight: 400; color: var(--color-text-secondary); font-size: 0.82rem; }
.form-group .required-tag { color: var(--color-green-dark); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(15, 44, 76, 0.12);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235b6472'%3e%3cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 40px;
}

.form-group .field-hint { font-size: 0.82rem; color: var(--color-text-secondary); }
.form-group .field-error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--color-error);
}
.form-group .field-error svg { width: 14px; height: 14px; }

.was-validated .form-group.invalid input,
.was-validated .form-group.invalid select,
.was-validated .form-group.invalid textarea {
  border-color: var(--color-error);
  background: var(--color-error-bg);
}
.was-validated .form-group.invalid .field-error { display: flex; }

.radio-group, .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-pill label {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.radio-pill input:checked + label {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}
.radio-pill input:focus-visible + label { outline: 2.5px solid var(--color-green); outline-offset: 2px; }

.form-footnote {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  display: flex;
  gap: 8px;
}
.form-footnote svg { width: 15px; height: 15px; color: var(--color-green); flex-shrink: 0; margin-top: 2px; }

.form-success {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-green-tint);
  border: 1px solid #bfe3d0;
  color: var(--color-green-dark);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 22px;
  font-size: 0.95rem;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.form-success.visible { display: flex; }

/* honeypot field — visually hidden, kept out of tab order and off-screen for assistive tech */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Dual CTA
   ========================================================================== */
.cta-pair { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .cta-pair { grid-template-columns: 1fr 1fr; } }
.cta-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-card.navy { background: var(--color-navy); color: rgba(255,255,255,0.92); }
.cta-card.navy h3 { color: #fff; }
.cta-card.green { background: var(--color-green); color: rgba(255,255,255,0.95); }
.cta-card.green h3 { color: #fff; }
.cta-card p { color: inherit; opacity: 0.92; }
.cta-card .btn { margin-top: 10px; align-self: flex-start; }

.final-cta {
  background: var(--color-navy);
  color: rgba(255,255,255,0.92);
  text-align: center;
}
.final-cta h2 { color: #fff; margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.78); max-width: 60ch; margin-inline: auto; margin-bottom: 30px; }
.final-cta .btn-row { justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-navy-dark); color: rgba(255, 255, 255, 0.72); padding-block: 64px 28px; }
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  padding-bottom: 44px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr; } }

.footer-brand .logo-word { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 0.92rem; max-width: 38ch; color: rgba(255,255,255,0.6); }

.footer-col h4 { color: #fff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: rgba(255,255,255,0.68); text-decoration: none; font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: rgba(255,255,255,0.68); list-style: none; }
.footer-contact svg { width: 16px; height: 16px; color: var(--color-green); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: flex-start; gap: 30px; } }
.footer-bottom .footer-note { max-width: 62ch; }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-green);
  color: #fff;
  text-decoration: none;
  padding: 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 14px 30px rgba(15, 44, 76, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
}
.whatsapp-float:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 36px rgba(15, 44, 76, 0.32); }
.whatsapp-float svg { width: 25px; height: 25px; flex-shrink: 0; }
.whatsapp-float span { display: none; padding-right: 4px; }
@media (min-width: 640px) {
  .whatsapp-float span { display: inline; }
}

/* ==========================================================================
   Legal pages (privacy / terms)
   ========================================================================== */
.legal-content { max-width: 780px; margin-inline: auto; }
.legal-content h2 { margin-top: 44px; margin-bottom: 14px; font-size: 1.35rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { margin-top: 12px; margin-bottom: 12px; color: var(--color-text-secondary); }
.legal-content li { margin-bottom: 6px; }
.legal-content p { color: var(--color-text-secondary); }
.legal-updated { color: var(--color-text-secondary); font-size: 0.88rem; margin-bottom: 8px; }

/* ==========================================================================
   Misc page bits
   ========================================================================== */
.divider { height: 1px; background: var(--color-border); border: 0; margin-block: 8px; }

.stat-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.stat-note svg { width: 20px; height: 20px; color: var(--color-navy); flex-shrink: 0; margin-top: 2px; }
.stat-note p { color: var(--color-text-secondary); font-size: 0.92rem; }

.table-wrap { overflow-x: auto; }
table.simple { border-collapse: collapse; width: 100%; }
table.simple th, table.simple td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--color-border); font-size: 0.92rem; }
table.simple th { font-family: var(--font-heading); color: var(--color-navy); }

/* ==========================================================================
   WordPress-specific
   Styles needed only when running inside WordPress: admin bar offset, the
   classes WP's editor emits, and comment/alignment defaults.
   ========================================================================== */

/* The admin bar is fixed at the top for logged-in users; nudge the sticky
   header down so it isn't hidden underneath. */
.admin-bar .site-header { top: 32px; }
.admin-bar .mobile-panel { top: calc(var(--header-height) + 32px); }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .mobile-panel { top: calc(var(--header-height) + 46px); }
}

/* Content coming from the WordPress editor (used on Privacy, Terms, and any
   page the owner creates themselves). Mirrors .legal-content spacing. */
.entry-content > * + * { margin-top: 16px; }
.entry-content h2 { margin-top: 44px; margin-bottom: 14px; font-size: 1.35rem; }
.entry-content h3 { margin-top: 32px; margin-bottom: 10px; }
.entry-content ul, .entry-content ol { margin-top: 12px; margin-bottom: 12px; color: var(--color-text-secondary); }
.entry-content li { margin-bottom: 6px; }
.entry-content p { color: var(--color-text-secondary); }
.entry-content a { color: var(--color-navy); }
.entry-content img { border-radius: var(--radius-md); }
.entry-content blockquote {
  border-left: 4px solid var(--color-green);
  padding-left: 20px;
  margin-block: 24px;
  color: var(--color-text-secondary);
  font-style: italic;
}
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td {
  text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--color-border);
}

/* Standard WordPress alignment + caption classes. */
.alignleft { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { margin-inline: 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption {
  font-size: 0.85rem; color: var(--color-text-secondary); margin-top: 8px; text-align: center;
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Sticky-footer: keeps the footer at the bottom on short pages (e.g. 404). */
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; }

/* Error banner above a form (mirrors .form-success, red instead of green). */
.form-error {
  display: none;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-error-bg);
  border: 1px solid #f5c6c2;
  color: var(--color-error);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 22px;
  font-size: 0.95rem;
}
.form-error svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.form-error.visible { display: flex; }

/* ==========================================================================
   Colour scheme: Black & Gold
   Applied when Customize > Helperlink: Brand > Colour scheme is set to gold.
   Only the tokens change — every component reads these variables, so the
   whole site re-skins without touching component CSS.
   ========================================================================== */

body.scheme-gold {
  /* "Navy" role becomes near-black. */
  --color-navy: #14110b;
  --color-navy-dark: #0a0806;
  --color-navy-light: #2e2718;
  --color-navy-tint: #f7f2e6;

  /* "Green" role becomes gold. Darkened from the banner's bright gold so
     text and buttons keep a readable contrast ratio on white. */
  --color-green: #9a7826;
  --color-green-dark: #7d611c;
  --color-green-tint: #faf4e4;

  --color-border: #eae4d6;
  --color-bg-alt: #faf8f3;
}

/* On dark bands, use the brighter display gold from the banner. */
body.scheme-gold .section-navy .eyebrow,
body.scheme-gold .final-cta .eyebrow { color: #e8c96a !important; }

body.scheme-gold .section-navy,
body.scheme-gold .final-cta,
body.scheme-gold .site-footer {
  background-image: linear-gradient(180deg, #14110b 0%, #0a0806 100%);
}

/* Gold hairline above the footer, echoing the banner's edge. */
body.scheme-gold .site-footer {
  border-top: 2px solid #b8912f;
}

body.scheme-gold .footer-contact svg { color: #e8c96a; }
body.scheme-gold .checklist .check-icon { background: #f5ecd6; color: #7d611c; }
body.scheme-gold .step-number { background: var(--color-navy); }
body.scheme-gold .chip.active { background: var(--color-navy); }

/* ==========================================================================
   Homepage banner
   ========================================================================== */
.site-banner { display: block; line-height: 0; }
.site-banner img {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 900px) {
  .site-banner { border-radius: 0; }
}

/* ==========================================================================
   Icon feature grid (verification / standard sections)
   ========================================================================== */
.icon-feature {
  text-align: center;
  padding: 28px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.icon-feature:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.icon-feature .icon-badge {
  margin-inline: auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
}
.icon-feature .icon-badge svg { width: 28px; height: 28px; }
.icon-feature h3 {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.icon-feature p { color: var(--color-text-secondary); font-size: 0.92rem; }

/* On dark sections */
.section-navy .icon-feature {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
}
.section-navy .icon-feature h3 { color: #fff; }
.section-navy .icon-feature p { color: rgba(255,255,255,0.7); }

/* ==========================================================================
   Comparison (Traditional way vs The Helperlink way)
   ========================================================================== */
.compare {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 860px) {
  .compare { grid-template-columns: 1fr auto 1fr; gap: 24px; }
}

.compare-col {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
  background: #fff;
}
.compare-col h3 {
  font-size: 1.15rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.compare-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-col li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.97rem; }
.compare-col li svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; }

.compare-col.is-old { background: var(--color-bg-alt); }
.compare-col.is-old h3 { color: var(--color-text-secondary); }
.compare-col.is-old li { color: var(--color-text-secondary); }
.compare-col.is-old li svg { color: #c0392b; }

.compare-col.is-new { border-color: var(--color-green); border-width: 2px; box-shadow: var(--shadow-md); }
.compare-col.is-new li svg { color: var(--color-green); }

.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}
@media (min-width: 860px) {
  .compare-vs {
    width: 52px;
    writing-mode: horizontal-tb;
  }
  .compare-vs span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-navy);
    color: #fff;
  }
}
.compare-vs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
}

/* ==========================================================================
   Brand experience journey
   ========================================================================== */
.journey {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: journey;
}
@media (min-width: 700px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .journey { grid-template-columns: repeat(5, 1fr); } }

.journey-step {
  position: relative;
  padding: 26px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
}
.journey-step .journey-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8fd6b4;
  display: block;
  margin-bottom: 12px;
}
body.scheme-gold .journey-step .journey-label { color: #e8c96a; }
.journey-step p {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.45;
}

/* ==========================================================================
   Big numbered steps ("01 — Tell Us What You Need")
   ========================================================================== */
.numbered-steps {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.numbered-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
}
.numbered-step:last-child { border-bottom: 0; }

@media (min-width: 640px) {
  .numbered-step {
    grid-template-columns: 104px 1fr;
    gap: 28px;
    align-items: start;
    padding: 30px 0;
  }
}

.numbered-step__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--color-green);
  letter-spacing: -0.02em;
}
@media (min-width: 640px) {
  .numbered-step__num { font-size: 2.6rem; text-align: right; }
}

.numbered-step__body h3 { font-size: 1.18rem; margin-bottom: 6px; }
.numbered-step__body p { color: var(--color-text-secondary); }

/* On the alt background the divider needs a touch more contrast. */
.section-alt .numbered-step { border-bottom-color: #e0e4ea; }
body.scheme-gold .section-alt .numbered-step { border-bottom-color: #e6dfcd; }
