/* ================================================
   PERFECTLEDGERS — styles.css
   Shared stylesheet for all pages
   Fonts: Cormorant Garamond (headings) + DM Sans (body)
   ================================================ */

/* ------------------------------------------------
   1. TOKENS
   ------------------------------------------------ */
:root {
  /* Brand */
  --green:        #1A3D35;
  --green-hover:  #255C4E;
  --green-tint:   #EDF3F1;
  --green-rule:   #C9DEDA;

  /* Neutrals */
  --ink:          #141918;
  --ink-mid:      #3D4744;
  --muted:        #6E7B77;
  --border:       #E3ECEA;
  --cream:        #F4F2ED;
  --white:        #FFFFFF;

  /* Type */
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'DM Sans', sans-serif;

  /* Scale — keep it tight, 5 sizes only */
  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-lg:   1.125rem;
  --t-xl:   clamp(1.375rem, 2vw, 1.5rem);
  --t-2xl:  clamp(1.875rem, 3.5vw, 2.5rem);
  --t-3xl:  clamp(2.5rem, 5vw, 4rem);

  /* Space */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  1.5rem;
  --sp-lg:  3rem;
  --sp-xl:  5.5rem;
  --section: 6rem;
  --gutter: 1.5rem;

  /* Shape */
  --r:    6px;
  --r-lg: 12px;

  /* Elevation — shadow only, no heavy borders */
  --sh-sm: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --sh-md: 0 4px 16px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.05);

  /* Motion */
  --ease: 0.2s ease;
}

/* ------------------------------------------------
   2. RESET
   ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  font-size: var(--t-base);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }

/* ------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------ */

/* Only two fonts. Serif for headings, sans for everything else. */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl);  }

p {
  line-height: 1.75;
  color: var(--ink-mid);
}

.label {
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

/* ------------------------------------------------
   4. LAYOUT
   ------------------------------------------------ */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section) 0; }

.section-head {
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: var(--sp-lg);
}

.section-head p {
  font-size: var(--t-base);
  color: var(--muted);
}

/* ------------------------------------------------
   5. BUTTONS
   ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: var(--t-sm);
  font-weight: 500;
  padding: 0.8rem 1.6rem;
  border-radius: var(--r);
  transition: all var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-hover);
  box-shadow: 0 4px 18px rgba(26,61,53,0.28);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid var(--green);
  color: var(--green);
  background: transparent;
}
.btn-outline:hover {
  background: var(--green-tint);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--green);
}
.btn-white:hover {
  box-shadow: var(--sh-sm);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  background: transparent;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
}

.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ------------------------------------------------
   6. NAVIGATION
   ------------------------------------------------ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo img { height: 28px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-links a {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-mid);
  padding: 0.5rem 0.9rem;
  border-radius: var(--r);
  transition: color var(--ease), background var(--ease);
}

.nav-links a:hover {
  color: var(--green);
  background: var(--green-tint);
}

.nav-links a.active {
  color: var(--green);
  font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: var(--sp-md);
  flex-direction: column;
  gap: 0;
  z-index: 99;
  overflow-y: auto;
}

.mobile-menu a {
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--ink);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: block;
}

.mobile-menu .btn {
  margin-top: var(--sp-sm);
  justify-content: center;
}

.mobile-menu a.btn-primary {
  color: var(--white);
}

.mobile-menu.open { display: flex; }

/* ------------------------------------------------
   6b. MARKET DROPDOWN (nav)
   ------------------------------------------------ */
.market-dropdown { position: relative; }

.market-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-mid);
  padding: 0.55rem 0.9rem;
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  background: transparent;
  transition: all var(--ease);
}

.market-dropdown-toggle:hover,
.market-dropdown.open .market-dropdown-toggle {
  border-color: var(--green);
  color: var(--green);
}

.market-dropdown-toggle svg {
  width: 10px; height: 10px;
  transition: transform var(--ease);
  flex-shrink: 0;
}

.market-dropdown.open .market-dropdown-toggle svg { transform: rotate(180deg); }

.market-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 110;
}

.market-dropdown.open .market-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.market-dropdown-menu a {
  display: block;
  font-size: var(--t-sm);
  color: var(--ink-mid);
  padding: 0.6rem 0.75rem;
  border-radius: var(--r);
}

.market-dropdown-menu a:hover { background: var(--green-tint); color: var(--green); }

/* ------------------------------------------------
   7. HERO
   ------------------------------------------------ */
.hero {
  background: var(--white);
  padding: 5.5rem 0 5rem;
}

.hero-inner {
  max-width: 680px;
}

/* Split hero: content + inline lead form (homepage) */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.hero-form-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 1.35rem 1.75rem;
  overflow: hidden;
}

.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
}

.hero-form-card .label { margin-bottom: 0.25rem; }
.hero-form-card h3 { font-size: var(--t-lg); margin-bottom: 0.9rem; }
.hero-form-card .form-group { margin-bottom: 0.6rem; }
.hero-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.hero .label { margin-bottom: 1.5rem; }

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: var(--t-lg);
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--t-xs);
  color: var(--muted);
  padding: 0.3rem 0;
}

.trust-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ------------------------------------------------
   8. PAIN SECTION
   ------------------------------------------------ */
.pain {
  background: var(--green);
  padding: 5rem 0;
}

.pain .label   { color: rgba(255,255,255,0.4); }
.pain h2       { color: var(--white); }

.pain-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 6rem;
  align-items: start;
}

.pain-heading { display: flex; flex-direction: column; gap: 1rem; padding-top: 0.5rem; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.pain-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.pain-card { display: flex; flex-direction: column; gap: 0.75rem; }

.pain-num {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.pain-card h3 {
  font-size: var(--t-xl);
  color: var(--white);
}

.pain-card p {
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

/* ------------------------------------------------
   9. SERVICES
   ------------------------------------------------ */
.services { background: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--ease), transform var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.service-card:hover::after { transform: scaleX(1); }

.service-num {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--green);
  text-transform: uppercase;
}

.service-card h3 { margin-bottom: 0.125rem; }
.service-card > p { font-size: var(--t-sm); color: var(--muted); }

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.375rem;
}

.service-list li {
  font-size: var(--t-sm);
  color: var(--ink-mid);
  padding-left: 1.1rem;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.57em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.addons-bar {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  box-shadow: var(--sh-sm);
}

.addons-label {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.addon-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.addon-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green);
  background: var(--green-tint);
  border: 1px solid var(--green-rule);
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
}

/* ------------------------------------------------
   9b. COMPARISON TABLE (per-client vs FTE seat)
   ------------------------------------------------ */
.compare-wrap { overflow-x: auto; }

.compare-table {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  min-width: 560px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}

.compare-table > div {
  padding: 1.05rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  font-size: var(--t-sm);
}

.compare-table > div:nth-last-child(-n+3) { border-bottom: none; }

.compare-head {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--cream);
}

.compare-label { font-weight: 500; color: var(--ink); }
.compare-them  { color: var(--muted); }

.compare-us {
  color: var(--green);
  font-weight: 500;
  background: var(--green-tint);
}
.compare-us.compare-head { color: var(--green); background: var(--green-tint); }

/* ------------------------------------------------
   9c. PRICING TIERS
   ------------------------------------------------ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--ease), transform var(--ease);
}

.pricing-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }

.pricing-card.featured {
  border-color: var(--green);
  box-shadow: 0 4px 18px rgba(26,61,53,0.14);
}

.pricing-badge {
  position: absolute;
  top: -11px;
  left: 1.6rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
}

.pricing-tier {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.pricing-price {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}
.pricing-price span {
  display: block;
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.3rem;
  letter-spacing: 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.25rem;
}
.pricing-features li {
  font-size: var(--t-sm);
  color: var(--ink-mid);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.pricing-note {
  font-size: var(--t-xs);
  color: var(--muted);
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* Checklist with green ticks (service cards) */
.check-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; }
.check-list li {
  font-size: var(--t-sm);
  color: var(--ink-mid);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--green);
  font-weight: 600;
}

/* Compact numbered steps (contact sidebar) */
.mini-steps { display: flex; flex-direction: column; gap: 1.1rem; }
.mini-step { display: flex; gap: 0.9rem; align-items: flex-start; }
.mini-step-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-step h4 { font-family: var(--sans); font-size: var(--t-sm); font-weight: 500; color: var(--ink); margin-bottom: 0.15rem; }
.mini-step p { font-size: var(--t-xs); color: var(--muted); line-height: 1.55; }

/* Two-column "what's included" checklist (pricing) */
.tier-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
}
.tier-includes-head {
  font-family: var(--sans);
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
}

/* Trust cards on a dark green section (compliance) */
.section-dark { background: var(--green); }
.section-dark .label { color: rgba(255,255,255,0.45); }
.section-dark h2 { color: var(--white); }
.section-dark .section-head p { color: rgba(255,255,255,0.6); }

.trust-grid.on-dark .trust-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
}
.trust-grid.on-dark .trust-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
  box-shadow: none;
}
.trust-grid.on-dark .trust-card h3 { color: var(--white); }
.trust-grid.on-dark .trust-card p  { color: rgba(255,255,255,0.55); }
.trust-grid.on-dark .trust-icon { background: rgba(255,255,255,0.08); }
.trust-grid.on-dark .trust-icon svg { color: var(--white); }

/* ------------------------------------------------
   10. HOW IT WORKS
   ------------------------------------------------ */
.how { background: var(--white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 1.35rem;
  left: calc(12.5% + 1.35rem);
  right: calc(12.5% + 1.35rem);
  height: 1px;
  background: var(--border);
}

.step { display: flex; flex-direction: column; gap: 1rem; }

.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step h3 { font-size: var(--t-xl); }
.step p  { font-size: var(--t-sm); color: var(--muted); }

/* ------------------------------------------------
   11. FREE OFFER BLOCK
   ------------------------------------------------ */
.offer {
  background: var(--ink);
  padding: 4.5rem 0;
}

.offer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.875rem;
}

.offer-badge .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4DD8A4;
  box-shadow: 0 0 0 3px rgba(77,216,164,0.18);
}

.offer h2 {
  color: var(--white);
  margin-bottom: 0.875rem;
}

.offer p {
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.55);
  max-width: 520px;
}

.offer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}

.offer-note {
  font-size: var(--t-xs);
  color: rgba(255,255,255,0.3);
  text-align: right;
  line-height: 1.6;
}

/* ------------------------------------------------
   12. WHY US
   ------------------------------------------------ */
.why { background: var(--cream); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.trust-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--ease), transform var(--ease);
}

.trust-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }

.trust-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.trust-icon {
  width: 36px; height: 36px;
  background: var(--green-tint);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.trust-icon svg { width: 17px; height: 17px; color: var(--green); }

.trust-card h3 { font-size: 1.05rem; }
.trust-card p  { font-size: var(--t-sm); color: var(--muted); }

/* ------------------------------------------------
   13. FOUNDER
   ------------------------------------------------ */
.founder { background: var(--white); }

.founder-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.founder-photo {
  width: 180px; height: 220px;
  border-radius: var(--r-lg);
  background: var(--green-tint);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.5rem;
}

.founder-photo svg { color: var(--green); width: 48px; height: 48px; opacity: 0.2; }
.founder-photo span { font-size: var(--t-xs); color: var(--muted); text-align: center; padding: 0 1rem; line-height: 1.5; }

.founder-text { display: flex; flex-direction: column; gap: 1.25rem; }

.founder-text blockquote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  padding-left: 1.5rem;
  border-left: 3px solid var(--green);
}

.founder-meta { display: flex; flex-direction: column; gap: 0.2rem; }
.founder-name { font-size: var(--t-sm); font-weight: 500; color: var(--ink); }
.founder-role { font-size: var(--t-xs); color: var(--muted); }

.cert-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.375rem; }

.cert-badge {
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--green);
  background: var(--green-tint);
  border: 1px solid var(--green-rule);
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* ------------------------------------------------
   13b. TESTIMONIALS
   ------------------------------------------------ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: var(--t-sm);
  color: var(--ink-mid);
  line-height: 1.75;
}

.testimonial-meta { display: flex; align-items: center; gap: 0.75rem; }

.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: var(--t-sm);
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial-name { font-size: var(--t-sm); font-weight: 500; color: var(--ink); }
.testimonial-role { font-size: var(--t-xs); color: var(--muted); }

/* ------------------------------------------------
   14. FAQ
   ------------------------------------------------ */
.faq { background: var(--cream); }

.faq-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 6rem;
  align-items: start;
}

.faq-sidebar .label   { margin-bottom: 0.75rem; }
.faq-sidebar h2       { margin-bottom: 1rem; }
.faq-sidebar p        { font-size: var(--t-sm); color: var(--muted); }
.faq-sidebar .btn     { margin-top: 1.75rem; }

.faq-list { display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
  user-select: none;
  transition: color var(--ease);
}

.faq-q:hover { color: var(--green); }

.faq-toggle {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--ease);
}

.faq-toggle svg { width: 10px; height: 10px; color: var(--muted); transition: transform var(--ease), color var(--ease); }
.faq-item.open .faq-toggle { background: var(--green); border-color: var(--green); }
.faq-item.open .faq-toggle svg { color: var(--white); transform: rotate(45deg); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s ease;
}

.faq-a-inner {
  padding-bottom: 1.25rem;
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.8;
}

.faq-item.open .faq-a { max-height: 320px; }

/* ------------------------------------------------
   15. CTA BANNER
   ------------------------------------------------ */
.cta-banner {
  background: var(--green);
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }

.cta-banner p {
  color: rgba(255,255,255,0.65);
  font-size: var(--t-base);
  max-width: 460px;
  margin: 0 auto 2.25rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* ------------------------------------------------
   16. FOOTER
   ------------------------------------------------ */
.site-footer {
  background: var(--ink);
  padding: 4rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  max-width: 200px;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.5);
  margin-top: 1.125rem;
  transition: color var(--ease);
}

.footer-email:hover { color: var(--white); }
.footer-email svg { width: 13px; height: 13px; flex-shrink: 0; }

.footer-col h4 {
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.25rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-col a {
  font-size: var(--t-sm);
  color: rgba(255,255,255,0.48);
  transition: color var(--ease);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  padding-top: 2rem;
}

.footer-bottom p { font-size: var(--t-xs); color: rgba(255,255,255,0.28); }

.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: var(--t-xs); color: rgba(255,255,255,0.28); transition: color var(--ease); }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ------------------------------------------------
   17. SCROLL ANIMATION
   ------------------------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.48s ease, transform 0.48s ease;
}

.fade-up.visible { opacity: 1; transform: none; }

/* ------------------------------------------------
   18. RESPONSIVE
   ------------------------------------------------ */
@media (max-width: 1024px) {
  .pain-layout  { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps-grid   { grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .steps-grid::before { display: none; }
  .offer-inner  { grid-template-columns: 1fr; gap: 2rem; }
  .offer-cta    { align-items: flex-start; }
  .offer-note   { text-align: left; }
  .faq-layout   { grid-template-columns: 1fr; gap: 2.5rem; }
  .founder-inner { grid-template-columns: 1fr; }
  .founder-photo { width: 100%; height: 160px; }
  .footer-top   { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero-split   { grid-template-columns: 1fr; gap: 2.5rem; }
  .trust-grid.cols-4 { grid-template-columns: repeat(2,1fr); }
  .testimonial-grid  { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .pain-grid.cols-4 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root { --section: 4rem; }
  .nav-links { display: none; }
  .nav-right .btn-outline { display: none; }
  .market-dropdown { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid    { grid-template-columns: 1fr; }
  .trust-grid.cols-4 { grid-template-columns: 1fr; }
  .pain-grid     { grid-template-columns: 1fr; gap: 2rem; }
  .pain-grid.cols-4 { grid-template-columns: 1fr; }
  .tier-includes { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top    { grid-template-columns: 1fr; }
  .hero-form-card .form-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions  { flex-direction: column; }
  .steps-grid   { grid-template-columns: 1fr; }
}

/* ================================================
   INNER PAGE COMPONENTS
   ================================================ */

/* Page hero (smaller than homepage) */
.page-hero {
  background: var(--white);
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}
.page-hero .label { margin-bottom: 1rem; }
.page-hero h1 { margin-bottom: 0.875rem; max-width: 680px; }
.page-hero p  { font-size: var(--t-lg); color: var(--muted); max-width: 560px; }

/* Service detail blocks */
.service-detail { padding: 4rem 0; border-top: 1px solid var(--border); }
.service-detail:first-of-type { border-top: none; padding-top: 0; }
.service-detail-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 5rem;
  align-items: start;
}
.service-detail-meta { display: flex; flex-direction: column; gap: 0.875rem; }
.service-detail-meta h2 { font-size: var(--t-2xl); }
.service-detail-meta p  { font-size: var(--t-base); color: var(--muted); }
.included-list { display: flex; flex-direction: column; gap: 0.625rem; }
.included-item {
  display: flex; gap: 0.875rem; align-items: flex-start;
  padding: 1rem 1.125rem;
  background: var(--cream);
  border-radius: var(--r);
}
.included-item svg { color: var(--green); flex-shrink: 0; margin-top: 2px; width: 15px; height: 15px; }
.included-item div h4 { font-family: var(--sans); font-size: var(--t-sm); font-weight: 500; color: var(--ink); margin-bottom: 0.125rem; }
.included-item div p  { font-size: var(--t-xs); color: var(--muted); line-height: 1.55; }

/* Contact layout & form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.125rem; margin-bottom: 2.5rem; }
.ci-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon { width: 36px; height: 36px; background: var(--green-tint); border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon svg { width: 16px; height: 16px; color: var(--green); }
.ci-text h4 { font-family: var(--sans); font-size: var(--t-sm); font-weight: 500; color: var(--ink); margin-bottom: 0.2rem; }
.ci-text p, .ci-text a { font-size: var(--t-sm); color: var(--muted); line-height: 1.6; }
.ci-text a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.125rem; }
.form-group label { font-size: var(--t-sm); font-weight: 500; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans); font-size: var(--t-sm); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 0.75rem 1rem;
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(26,61,53,0.07); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236E7B77' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.form-group small { font-size: var(--t-xs); color: var(--muted); }
.form-status { display: none; padding: 1rem 1.25rem; border-radius: var(--r); margin-top: 1rem; font-size: var(--t-sm); }
.form-status.success { display: block; background: var(--green-tint); color: var(--green); border: 1px solid var(--green-rule); }
.form-status.error   { display: block; background: #FEF2F2; color: #DC2626; border: 1px solid #FECACA; }

/* Prose (privacy policy, terms) */
.prose { max-width: 720px; }
.prose h2 { font-size: var(--t-xl); margin: 2.5rem 0 0.875rem; }
.prose h3 { font-family: var(--sans); font-size: var(--t-base); font-weight: 500; color: var(--ink); margin: 1.5rem 0 0.5rem; }
.prose p  { font-size: var(--t-sm); color: var(--muted); margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { font-size: var(--t-sm); color: var(--muted); margin-bottom: 0.4rem; line-height: 1.7; }
.prose a  { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink-mid); font-weight: 500; }
.prose-meta { font-size: var(--t-xs); color: var(--muted); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }

/* Steps list (how it works page) */
.steps-detail { display: flex; flex-direction: column; gap: 0; }
.step-detail {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step-detail:last-child { border-bottom: none; }
.step-detail-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-detail-content h3 { margin-bottom: 0.5rem; font-size: var(--t-xl); }
.step-detail-content p { font-size: var(--t-base); color: var(--muted); margin-bottom: 1rem; }
.step-detail-list { display: flex; flex-direction: column; gap: 0.4rem; }
.step-detail-list li { font-size: var(--t-sm); color: var(--ink-mid); padding-left: 1.1rem; position: relative; }
.step-detail-list li::before { content: ''; position: absolute; left: 0; top: 0.57em; width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

/* Value cards (about page) */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: var(--sp-lg); }
.value-card { padding: 2rem 1.75rem; background: var(--cream); border-radius: var(--r-lg); }
.value-card h3 { font-size: var(--t-xl); margin-bottom: 0.75rem; }
.value-card p  { font-size: var(--t-sm); color: var(--muted); }

/* UAE stat bar */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 3rem;
}
.stat-bar-item { background: rgba(26,61,53,0.6); padding: 1.75rem; text-align: center; }
.stat-bar-num { font-family: var(--serif); font-size: 2.25rem; font-weight: 600; color: var(--white); line-height: 1; margin-bottom: 0.4rem; }
.stat-bar-label { font-size: var(--t-xs); color: rgba(255,255,255,0.55); letter-spacing: 0.06em; }

@media (max-width: 1024px) {
  .service-detail-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: 1fr; }
}

/* ================================================
   BLOG / ARTICLE
   ================================================ */
.article-meta-row { display: flex; align-items: center; gap: 0.75rem; }
.article-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green);
  background: var(--green-tint); border: 1px solid var(--green-rule);
  padding: 0.28rem 0.75rem; border-radius: 20px;
}
.article-readtime { font-size: var(--t-xs); color: var(--muted); }
.article-head h1 { margin: 1.25rem 0 0.75rem; max-width: 780px; }
.article-dek { font-size: var(--t-lg); color: var(--muted); max-width: 660px; }
.article-byline { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.article-byline-name { font-size: var(--t-sm); font-weight: 500; color: var(--ink); }
.article-byline-date { font-size: var(--t-xs); color: var(--muted); }

.article-hero-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, var(--green), var(--green-hover));
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: var(--t-sm);
  margin: 2.5rem 0;
}

.blog-layout { display: grid; grid-template-columns: 1fr 290px; gap: 0 4rem; align-items: start; }
.blog-layout > .article-head { grid-column: 1; grid-row: 1; }
.blog-main { grid-column: 1; grid-row: 2; }
.blog-main .prose { max-width: none; }

.blog-sidebar { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 88px; display: flex; flex-direction: column; gap: 1.25rem; }
.blog-widget { border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; }
.blog-widget-label {
  font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1rem;
}
.blog-toc { display: flex; flex-direction: column; gap: 0.6rem; }
.blog-toc a { font-size: var(--t-sm); color: var(--ink-mid); transition: color var(--ease); }
.blog-toc a:hover { color: var(--green); }

.blog-widget-dark { background: var(--green); border: none; }
.blog-widget-dark .blog-widget-label { color: rgba(255,255,255,0.5); }
.blog-widget-dark p { color: rgba(255,255,255,0.7); font-size: var(--t-sm); margin-bottom: 1rem; line-height: 1.6; }
.blog-widget-cream { background: var(--cream); border: none; }
.blog-widget-cream p { color: var(--muted); font-size: var(--t-sm); margin-bottom: 1rem; line-height: 1.6; }

.inline-cta { background: var(--cream); border-radius: var(--r-lg); padding: 2.5rem; text-align: center; margin: 3rem 0 0; }
.inline-cta h3 { margin-bottom: 0.5rem; }
.inline-cta p { color: var(--muted); margin-bottom: 1.5rem; }

.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 420px; margin: 1.5rem auto 0; text-align: left; }

@media (max-width: 900px) {
  .blog-layout { display: flex; flex-direction: column; gap: 0; }
  .blog-layout > .article-head { order: 1; }
  .blog-sidebar { order: 2; position: static; margin-bottom: 2rem; }
  .blog-main { order: 3; }
}
