/*
Theme Name:   KayaDesk Child
Theme URI:    https://kayadesk.com/
Description:  Blocksy child theme for KayaDesk LLC — managed virtual staffing agency. Custom CSS organized in sections; designed to be paired with the included synced patterns and Spectra blocks. Do NOT add custom CSS via the Customizer Custom CSS panel; everything belongs in this file.
Author:       KayaDesk LLC
Author URI:   https://kayadesk.com/
Template:     blocksy
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  kayadesk-child
*/

/* ====================================================================
   BRAND TOKENS
   --------------------------------------------------------------------
   Brand colors and font families are duplicated in theme.json so they
   are available as Gutenberg block presets too. If you change values
   here, update theme.json to match.
   ==================================================================== */

:root {
  /* Brand palette */
  --kd-navy:        #121e37;
  --kd-navy-deep:   #0a1228;
  --kd-green:       #12be62;
  --kd-green-deep:  #0e9a4f;
  --kd-teal:        #0b96b0;
  --kd-paper:       #f6f4ef;
  --kd-white:       #ffffff;
  --kd-ink:         #14192a;
  --kd-ink-soft:    #1f2738;
  --kd-muted:       #5a6172;
  --kd-line:        #e6e2d8;

  /* Typography (Blocksy Customizer loads Manrope + Inter from Google Fonts) */
  --kd-font-display: 'Manrope', -apple-system, "Segoe UI", Roboto, sans-serif;
  --kd-font-body:    'Inter', -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --kd-radius:      14px;
  --kd-radius-lg:   20px;
  --kd-shadow-md:   0 8px 28px rgba(10,18,40,0.08);
  --kd-shadow-lg:   0 14px 48px rgba(10,18,40,0.12);
  --kd-transition:  220ms cubic-bezier(.22,.61,.36,1);
}

/* ====================================================================
   GLOBAL ROOT BEHAVIOR
   --------------------------------------------------------------------
   Modern defaults: smooth scroll anchored to the sticky header,
   reduced-motion override, focus ring that's visible without being
   garish. Applies site-wide.
   ==================================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* offset for sticky header on anchor jumps */
}

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

:focus-visible {
  outline: 2px solid var(--kd-green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Don't show double outline on buttons */
.wp-block-button__link:focus-visible {
  outline-offset: 4px;
}

/* Selection color */
::selection {
  background: var(--kd-green);
  color: var(--kd-navy-deep);
}


/* ====================================================================
   EYEBROW
   --------------------------------------------------------------------
   Small tag above a section title or hero h1. Set this via Spectra
   Advanced Heading > Eyebrow custom class, or as an inline Paragraph
   with class "kd-eyebrow".
   ==================================================================== */

.kd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--kd-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kd-green-deep);
  margin: 0 0 18px;
}
.kd-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ====================================================================
   HERO PATTERNS
   --------------------------------------------------------------------
   Used by the "Hero" pattern. The hero is built on a core/cover block
   with a Pexels/uploaded background image; .kd-hero wraps it for the
   gradient overlay and copy styling.
   ==================================================================== */

.kd-hero {
  position: relative;
  min-height: 640px;
  padding: 120px 0;
  display: flex;
  align-items: center;
  isolation: isolate;
  background-color: var(--kd-navy);
}
.kd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    rgba(10,18,40,0.96) 0%,
    rgba(10,18,40,0.86) 40%,
    rgba(10,18,40,0.55) 70%,
    rgba(10,18,40,0.32) 100%
  );
}
.kd-hero .wp-block-cover__inner-container,
.kd-hero .uagb-container-inner-blocks-wrap {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.kd-hero h1 {
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: var(--kd-white);
  margin: 0 0 22px;
  max-width: 18ch;
}
.kd-hero h1 em,
.kd-hero h1 .has-brand-green-color {
  font-style: normal;
  color: var(--kd-green);
}
.kd-hero p {
  font-family: var(--kd-font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.84);
  max-width: 56ch;
  margin: 0 0 28px;
}
.kd-hero .wp-block-buttons { gap: 12px; }

/* Sub-page hero (smaller, for /about, /services, /admin, /careers, etc.) */
.kd-hero--sub { min-height: 480px; padding: 80px 0; }
.kd-hero--sub h1 { font-size: clamp(2rem, 4vw, 3rem); }

@media (max-width: 720px) {
  .kd-hero { min-height: 540px; padding: 80px 0; }
  .kd-hero--sub { min-height: 420px; padding: 60px 0; }
  .kd-hero::before {
    background: linear-gradient(180deg,
      rgba(10,18,40,0.92) 0%,
      rgba(10,18,40,0.80) 60%,
      rgba(10,18,40,0.55) 100%);
  }
}

/* ====================================================================
   PAGE BANNER
   --------------------------------------------------------------------
   Breadcrumb bar that sits under the global header on every interior
   page. Set via the "Page Banner" synced pattern.
   ==================================================================== */

.kd-page-banner {
  background: var(--kd-navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
  font-family: var(--kd-font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.kd-page-banner a { color: rgba(255,255,255,0.65); }
.kd-page-banner a:hover { color: var(--kd-green); }
.kd-page-banner .kd-sep { margin: 0 8px; color: rgba(255,255,255,0.30); }

/* ====================================================================
   PATH CARDS
   --------------------------------------------------------------------
   Three-up service line cards used on the Services hub and Home page.
   Built with Spectra Container + Info Box.
   ==================================================================== */

.kd-path-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px)  { .kd-path-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .kd-path-cards { grid-template-columns: repeat(3, 1fr); } }

.kd-path-card {
  background: var(--kd-white);
  border: 1px solid var(--kd-line);
  border-radius: var(--kd-radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--kd-transition), transform var(--kd-transition), box-shadow var(--kd-transition);
}
.kd-path-card:hover {
  transform: translateY(-3px);
  border-color: var(--kd-green-deep);
  box-shadow: var(--kd-shadow-md);
}
.kd-path-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kd-teal);
}
.kd-path-card h3 {
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--kd-navy);
  letter-spacing: -0.018em;
  margin: 0;
}
.kd-path-card p {
  color: var(--kd-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.kd-path-card-price {
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--kd-green-deep);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--kd-line);
}

/* ====================================================================
   LIST ROWS
   --------------------------------------------------------------------
   Editorial numbered rows ("01 / The hiring cycle", etc.). Used on the
   home page "Why business owners get stuck" section. Built with a
   Spectra Container per row.
   ==================================================================== */

.kd-list-rows .kd-list-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--kd-line);
}
.kd-list-rows .kd-list-row:last-child { border-bottom: 0; }
.kd-list-row-num {
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--kd-green-deep);
  letter-spacing: -0.01em;
}
.kd-list-row h3 {
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--kd-navy);
  margin: 0 0 8px;
  line-height: 1.25;
}
.kd-list-row p {
  color: var(--kd-ink-soft);
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
  max-width: 60ch;
}
@media (max-width: 720px) {
  .kd-list-rows .kd-list-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ====================================================================
   AMENITY GRID (a.k.a. "includes" grid)
   --------------------------------------------------------------------
   Two-column checked deliverables list. Used inside service detail
   pages under "What's included". Built with a Spectra Container that
   wraps a list of paragraphs with class .kd-amenity.
   ==================================================================== */

.kd-amenity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 40px;
}
@media (min-width: 720px) { .kd-amenity-grid { grid-template-columns: 1fr 1fr; } }

.kd-amenity {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--kd-line);
  font-size: 0.95rem;
  color: var(--kd-ink-soft);
  line-height: 1.55;
  margin: 0;
}
.kd-amenity::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background-color: var(--kd-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath fill='none' stroke='%23121e37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 9l3 3 5-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.kd-amenity strong {
  display: block;
  color: var(--kd-navy);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ====================================================================
   RATE TABLE
   --------------------------------------------------------------------
   Block style for core/table — pricing/comparison tables that pick up
   brand styling automatically. Apply by selecting the Table block,
   then choosing "KayaDesk rate table" from Block Styles.

   Registration: see functions.php > kayadesk_register_block_styles().
   ==================================================================== */

.wp-block-table.is-style-kd-rate-table {
  font-family: var(--kd-font-body);
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: 1px solid var(--kd-line);
  border-radius: var(--kd-radius);
  overflow: hidden;
}
.wp-block-table.is-style-kd-rate-table table { border: 0; }
.wp-block-table.is-style-kd-rate-table thead {
  background: var(--kd-navy);
  color: var(--kd-white);
}
.wp-block-table.is-style-kd-rate-table thead th {
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 22px;
  text-align: left;
  letter-spacing: -0.01em;
  border: 0;
}
.wp-block-table.is-style-kd-rate-table tbody td {
  padding: 14px 22px;
  border: 0;
  border-top: 1px solid var(--kd-line);
  font-size: 0.95rem;
  color: var(--kd-ink-soft);
  vertical-align: top;
}
.wp-block-table.is-style-kd-rate-table tbody tr:first-child td { border-top: 0; }
.wp-block-table.is-style-kd-rate-table tbody td:first-child {
  color: var(--kd-navy);
  font-weight: 600;
}
.wp-block-table.is-style-kd-rate-table tbody td:last-child {
  font-family: var(--kd-font-display);
  font-weight: 700;
  color: var(--kd-green-deep);
  white-space: nowrap;
}

/* ====================================================================
   FAQ ACCORDION
   --------------------------------------------------------------------
   Built on core/details — no plugin needed. Each FAQ entry is a
   <details> block; we restyle the summary and animate the chevron.
   ==================================================================== */

.kd-faq .wp-block-details {
  border-bottom: 1px solid var(--kd-line);
  padding: 0;
  background: transparent;
}
.kd-faq .wp-block-details summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 60px 22px 0;
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--kd-navy);
  position: relative;
  letter-spacing: -0.015em;
}
.kd-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.kd-faq .wp-block-details summary::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--kd-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312be62' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  transform: translateY(-50%);
  transition: transform var(--kd-transition);
}
.kd-faq .wp-block-details[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312be62' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.kd-faq .wp-block-details p {
  padding: 0 0 22px;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--kd-ink-soft);
  max-width: 70ch;
}

/* ====================================================================
   MOBILE STICKY CTA
   --------------------------------------------------------------------
   Always-visible booking bar at the bottom of mobile viewports. The
   markup is in the Header Builder > Sticky element via Blocksy
   Customizer; this CSS makes it brand-correct.
   ==================================================================== */

.kd-sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--kd-white);
  border-top: 1px solid var(--kd-line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -6px 20px rgba(10,18,40,0.08);
}
.kd-sticky-cta-text { line-height: 1.2; flex: 1; min-width: 0; }
.kd-sticky-cta-text strong {
  display: block;
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--kd-navy);
}
.kd-sticky-cta-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--kd-muted);
  margin-top: 2px;
}
.kd-sticky-cta .wp-block-button__link,
.kd-sticky-cta .kd-btn {
  background: var(--kd-green);
  color: var(--kd-navy-deep);
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.88rem;
  white-space: nowrap;
}
@media (max-width: 900px) { .kd-sticky-cta { display: flex; } }

/* ====================================================================
   SECTION WRAPPER + UTILITIES
   --------------------------------------------------------------------
   General-purpose helpers used across all patterns. Apply via the
   "Advanced > HTML anchor / Additional CSS class" panel on any block.
   ==================================================================== */

.kd-section            { padding: 80px 0; }
.kd-section--tight     { padding: 56px 0; }
.kd-section--paper     { background: var(--kd-paper); }
.kd-section--navy      { background: var(--kd-navy); color: var(--kd-white); }
.kd-section--navy h2,
.kd-section--navy h3   { color: var(--kd-white); }
.kd-section--navy p    { color: rgba(255,255,255,0.78); }

@media (min-width: 1024px) {
  .kd-section { padding: 100px 0; }
  .kd-section--tight { padding: 72px 0; }
}
@media (min-width: 1280px) {
  .kd-section { padding: 112px 0; }
}

/* Section title pattern (used by Spectra Advanced Heading) */
.kd-section-title {
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--kd-navy);
  margin: 0 0 16px;
  max-width: 22ch;
}
.kd-section-title em,
.kd-section-title .kd-accent,
.kd-section-title .has-brand-green-color {
  font-style: normal;
  color: var(--kd-green-deep);
  font-weight: 700;
}
.kd-section-sub {
  font-family: var(--kd-font-body);
  font-size: 1.02rem;
  color: var(--kd-muted);
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 0 36px;
}

/* Inline accent — used inside h1/h2/h3 instead of <em>. Renders as a
   colored, bold, non-italic word/phrase. Sass-style usage:
   <h2>Stop managing your staff. <span class="kd-accent">Start running your business.</span></h2> */
.kd-accent {
  font-style: normal;
  font-weight: 700;
  color: var(--kd-green-deep);
}
.kd-hero h1 .kd-accent,
.kd-cta-box h2 .kd-accent,
.has-brand-navy-background-color .kd-accent {
  color: var(--kd-green);
}

/* CTA box used at the bottom of every page */
.kd-cta-box {
  background: var(--kd-navy);
  color: var(--kd-white);
  border-radius: var(--kd-radius-lg);
  padding: 56px 44px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.kd-cta-box::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(18,190,98,0.32) 0%, transparent 70%);
  z-index: -1;
}
.kd-cta-box h2 {
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--kd-white);
  margin: 0 0 12px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.kd-cta-box h2 em,
.kd-cta-box h2 .has-brand-green-color { font-style: normal; color: var(--kd-green); }
.kd-cta-box p { color: rgba(255,255,255,0.78); margin: 0; }
@media (min-width: 880px) {
  .kd-cta-box { grid-template-columns: 1.4fr 1fr; gap: 36px; padding: 64px 56px; }
}

/* Trust bar pinned under photo heroes */
.kd-trust-bar {
  background: var(--kd-white);
  border-bottom: 1px solid var(--kd-line);
  padding: 18px 0;
}
.kd-trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 36px;
  font-family: var(--kd-font-body);
  font-size: 0.86rem;
  color: var(--kd-muted);
}
.kd-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kd-trust-item strong { color: var(--kd-ink); font-weight: 600; }

/* Tool/integration pill (used on service detail pages) */
.kd-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--kd-line);
  background: var(--kd-white);
  border-radius: 999px;
  font-family: var(--kd-font-body);
  font-size: 0.85rem;
  color: var(--kd-ink-soft);
  font-weight: 500;
  margin: 0 8px 8px 0;
}
.kd-tool::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--kd-teal);
}


/* ====================================================================
   PRICING CARDS (Social Media tiers)
   --------------------------------------------------------------------
   Three-tier pricing card grid. Middle card visually elevated. Used by
   the kayadesk/pricing-cards pattern on the Social Media page.
   ==================================================================== */

.kd-pricing-cards {
  gap: 20px;
}
@media (max-width: 768px) {
  .kd-pricing-cards { gap: 14px; }
}

.kd-pricing-card {
  background: var(--kd-white);
  border: 1px solid var(--kd-line);
  border-radius: var(--kd-radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  transition: transform var(--kd-transition), box-shadow var(--kd-transition);
}
.kd-pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--kd-shadow-md);
}

.kd-pricing-card--featured {
  border: 1px solid var(--kd-green);
  position: relative;
}
.kd-pricing-card--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--kd-radius-lg);
  pointer-events: none;
  box-shadow: 0 0 0 1px var(--kd-green), 0 14px 48px rgba(18,190,98,0.18);
}
@media (min-width: 1024px) {
  .kd-pricing-card--featured {
    transform: scale(1.04);
  }
  .kd-pricing-card--featured:hover {
    transform: scale(1.04) translateY(-4px);
  }
}

.kd-pricing-name {
  font-family: var(--kd-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kd-muted);
  margin: 0;
}
.kd-pricing-card--featured .kd-pricing-name {
  color: var(--kd-green);
}
.kd-most-popular {
  color: var(--kd-green) !important;
}

.kd-pricing-amount {
  font-family: var(--kd-font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--kd-navy);
  letter-spacing: -0.03em;
  margin: 8px 0 4px;
}
.kd-pricing-card--featured .kd-pricing-amount {
  color: var(--kd-white);
}
.kd-pricing-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--kd-muted);
  letter-spacing: 0;
  margin-left: 4px;
}
.kd-pricing-card--featured .kd-pricing-amount span {
  color: rgba(255,255,255,0.7);
}

.kd-pricing-card p {
  font-size: 0.95rem;
  color: var(--kd-ink-soft);
  line-height: 1.6;
}
.kd-pricing-card--featured p { color: rgba(255,255,255,0.84); }

.kd-pricing-features {
  list-style: none;
  padding: 0;
  margin: 12px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kd-pricing-features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--kd-ink-soft);
  line-height: 1.5;
}
.kd-pricing-card--featured .kd-pricing-features li {
  color: rgba(255,255,255,0.92);
}
.kd-pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--kd-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath fill='none' stroke='%23121e37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 7l2 2 4-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.kd-pricing-card .wp-block-button__link {
  margin-top: auto;
}

/* ====================================================================
   BELIEFS / RELATED PAGES — card styles
   --------------------------------------------------------------------
   Cards used by kayadesk/beliefs-grid and kayadesk/related-pages.
   ==================================================================== */

.kd-belief {
  padding: 32px 0;
  border-bottom: 1px solid var(--kd-line);
}
.kd-belief:last-child { border-bottom: 0; }
.kd-belief-num {
  font-family: var(--kd-font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--kd-green-deep);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.kd-belief h3 {
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--kd-navy);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.kd-belief p {
  font-size: 0.96rem;
  color: var(--kd-ink-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 56ch;
}

.kd-related-card {
  background: var(--kd-white);
  border: 1px solid var(--kd-line);
  border-radius: var(--kd-radius);
  padding: 26px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--kd-transition), border-color var(--kd-transition);
}
.kd-related-card:hover {
  transform: translateY(-2px);
  border-color: var(--kd-green-deep);
}
.kd-related-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kd-teal);
  margin: 0;
}
.kd-related-card h4 {
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--kd-navy);
  margin: 0;
  letter-spacing: -0.015em;
}
.kd-related-card p {
  font-size: 0.92rem;
  color: var(--kd-muted);
  line-height: 1.55;
  margin: 0;
}
.kd-related-card a {
  color: var(--kd-green-deep);
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}
.kd-related-card a:hover { text-decoration: underline; }

/* ====================================================================
   TIMELINE STEPS (kayadesk/timeline)
   ==================================================================== */

.kd-timeline-step {
  display: grid !important;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--kd-line);
}
.kd-timeline-step:last-child { border-bottom: 0; }
.kd-timeline-step .kd-eyebrow { margin-bottom: 6px; }
.kd-timeline-step h3 {
  font-family: var(--kd-font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--kd-navy);
  letter-spacing: -0.018em;
  margin: 0 0 8px;
}
.kd-timeline-step p {
  color: var(--kd-ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  max-width: 60ch;
}
@media (max-width: 720px) {
  .kd-timeline-step { grid-template-columns: 1fr; gap: 8px; }
}

/* ====================================================================
   FLUID TYPE — last refinement for 1280px and above
   --------------------------------------------------------------------
   Modern fluid sizing using clamp so headings scale smoothly between
   720, 1024, and 1280 without jarring jumps at each breakpoint.
   ==================================================================== */

@media (min-width: 1280px) {
  .kd-hero h1   { font-size: clamp(3rem, 4.4vw, 4.4rem); }
  .kd-section-title { font-size: clamp(2.2rem, 3.4vw, 3.1rem); }
  .kd-section { padding: 120px 0; }
}
