/*
Theme Name: RelievAgents
Theme URI: https://relievagents.com
Template: twentytwentyfive
Author: RelievAgents
Description: Child theme of Twenty Twenty-Five that adds the RelievAgents landing page, custom brand styling, and block patterns for the header, footer, and homepage.
Version: 1.9
Requires at least: 6.5
Tested up to: 6.5
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: relievagents
*/

:root {
    --navy: #1E2D5F;
    --navy-deep: #131F44;
    --crimson: #8B1E3F;
    --crimson-deep: #6B1730;
    --gold: #C9A961;
    --gold-soft: #D9BE7E;
    --cream: #FAF6EE;
    --cream-warm: #F4ECDD;
    --ink: #1A1A1A;
    --ink-soft: #3A3A3A;
    --muted: #6B6B6B;
    --line: rgba(30, 45, 95, 0.12);
    --line-soft: rgba(30, 45, 95, 0.06);
    --gradient: linear-gradient(135deg, #8B1E3F 0%, #1E2D5F 100%);
    --shadow-soft: 0 1px 3px rgba(30, 45, 95, 0.06), 0 8px 24px rgba(30, 45, 95, 0.04);
    --shadow-lift: 0 4px 12px rgba(30, 45, 95, 0.08), 0 24px 60px rgba(30, 45, 95, 0.10);
    --shadow-image: 0 20px 50px rgba(30, 45, 95, 0.18), 0 8px 20px rgba(30, 45, 95, 0.12);
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

  body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-feature-settings: "ss01", "cv11";
  }

  ::selection { background: var(--crimson); color: var(--cream); }

  .display {
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
  }

  .container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
  section { padding: 100px 0; position: relative; }

  /* ----- Nav (block pattern) -----
     The header template part contains a Group block with the class
     'ra-nav' applied. On the homepage, WordPress adds 'home' to <body>,
     so we use 'body.home .ra-nav' to scope the transparent-over-hero
     state to the homepage only. */

  .ra-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 246, 238, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    width: 100%;
    transition: background 0.3s, border-color 0.3s;
  }
  /* Homepage: header floats over hero, transparent by default */
  body.home .ra-nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
  }
  /* Homepage on scroll: header becomes fixed and solid */
  body.home .ra-nav.is-scrolled {
    position: fixed;
    background: rgba(250, 246, 238, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    animation: navSlide 0.3s ease;
  }
  @keyframes navSlide {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
  }

  /* Inner container of the header */
  .ra-nav .ra-nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  /* Brand (logo + site title) */
  .ra-nav .ra-brand {
    display: flex !important;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
  .ra-nav .ra-brand .wp-block-site-logo {
    line-height: 0;
  }
  .ra-nav .ra-brand .wp-block-site-logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    transition: filter 0.3s;
  }
  .ra-nav .ra-brand .wp-block-site-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
    transition: color 0.3s;
  }
  .ra-nav .ra-brand .wp-block-site-title a {
    color: inherit;
    text-decoration: none;
  }
  /* Homepage transparent state: cream brand */
  body.home .ra-nav:not(.is-scrolled) .ra-brand .wp-block-site-title {
    color: var(--cream);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  }
  body.home .ra-nav:not(.is-scrolled) .ra-brand .wp-block-site-logo img {
    filter:
      drop-shadow(0 0 8px rgba(250, 246, 238, 0.5))
      drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  }

  /* Navigation links (WordPress Navigation block) */
  .ra-nav .wp-block-navigation {
    gap: 36px;
  }
  .ra-nav .wp-block-navigation .wp-block-navigation-item__content {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 400;
    transition: color 0.2s;
  }
  .ra-nav .wp-block-navigation .wp-block-navigation-item__content:hover {
    color: var(--crimson);
  }
  body.home .ra-nav:not(.is-scrolled) .wp-block-navigation .wp-block-navigation-item__content {
    color: rgba(250, 246, 238, 0.85);
  }
  body.home .ra-nav:not(.is-scrolled) .wp-block-navigation .wp-block-navigation-item__content:hover {
    color: var(--gold);
  }

  /* Button block as the nav CTA */
  .ra-nav .wp-block-button.ra-nav-cta .wp-block-button__link {
    padding: 10px 22px;
    background: var(--gradient);
    color: var(--cream);
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.94rem;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
  }
  .ra-nav .wp-block-button.ra-nav-cta .wp-block-button__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(139, 30, 63, 0.25);
  }

  /* ----- Buttons ----- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; padding: 16px 32px; border-radius: 100px;
    font-family: inherit; font-size: 1rem; font-weight: 500;
    text-decoration: none; cursor: pointer; border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--gradient); color: var(--cream);
    box-shadow: 0 4px 14px rgba(139, 30, 63, 0.28);
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(139, 30, 63, 0.40);
  }
  .btn-secondary {
    background: transparent; color: var(--navy);
    border: 1.5px solid var(--line);
  }
  .btn-secondary:hover {
    border-color: var(--navy); background: var(--cream-warm);
  }
  .btn-outline-light {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(250, 246, 238, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .btn-outline-light:hover {
    background: rgba(250, 246, 238, 0.1);
    border-color: var(--cream);
  }
  .btn-light {
    background: var(--cream);
    color: var(--ink);
  }
  .btn-light:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
  }
  .btn-arrow { transition: transform 0.25s ease; }
  .btn:hover .btn-arrow { transform: translateX(3px); }

  /* ----- Section Label ----- */
  .section-label {
    display: inline-flex; align-items: center; gap: 16px;
    font-size: 0.95rem; font-weight: 600; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--crimson);
    margin-bottom: 28px;
  }
  .section-label::before, .section-label::after {
    content: ''; width: 36px; height: 1.5px;
    background: currentColor; opacity: 0.7;
  }
  .about .section-label, .algorithm .section-label,
  .final .section-label, .hero .section-label { color: var(--gold); }
  .contact-left .section-label::before { display: none; }
  .hero .section-label::before { display: none; }

  /* ===== HERO (Full-bleed) ===== */
  .hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
    color: var(--cream);
  }
  .hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image: url('/wp-content/uploads/2026/06/hero.jpg');
    background-size: cover;
    background-position: center right;
  }
  .hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
      linear-gradient(to right,
        rgba(15, 24, 56, 0.88) 0%,
        rgba(15, 24, 56, 0.68) 35%,
        rgba(15, 24, 56, 0.30) 65%,
        rgba(15, 24, 56, 0.10) 100%
      ),
      linear-gradient(to bottom,
        rgba(15, 24, 56, 0.35) 0%,
        transparent 30%,
        transparent 70%,
        rgba(15, 24, 56, 0.45) 100%
      );
  }
  .hero-content {
    position: relative; z-index: 2;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
  }
  .hero-inner {
    max-width: 720px;
  }

  /* Hero Badge — adjust for dark backdrop */
  .hero-badge {
    display: inline-flex; align-items: stretch;
    background: rgba(250, 246, 238, 0.95);
    border: 1px solid rgba(250, 246, 238, 0.4);
    border-radius: 10px;
    margin-bottom: 32px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    font-size: 0.78rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .hero-badge .badge-status {
    background: rgba(139, 30, 63, 0.10);
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 14px;
    color: var(--crimson);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-right: 1px solid rgba(30, 45, 95, 0.15);
  }
  .hero-badge .badge-text {
    display: inline-flex; align-items: center;
    padding: 9px 16px;
    color: var(--ink-soft);
    font-weight: 500;
  }
  .hero-badge .badge-text strong {
    color: var(--ink); font-weight: 600;
    margin-left: 6px;
  }
  .status-dot {
    position: relative; width: 7px; height: 7px;
    background: var(--crimson); border-radius: 50%; flex-shrink: 0;
  }
  .status-dot::after {
    content: ''; position: absolute; inset: -3px;
    border-radius: 50%; background: var(--crimson);
    opacity: 0.4;
    animation: pulse-ring 2.2s ease-out infinite;
  }
  @keyframes pulse-ring {
    0% { transform: scale(0.7); opacity: 0.5; }
    100% { transform: scale(2); opacity: 0; }
  }

  .hero h1 {
    font-size: clamp(2.6rem, 7vw, 5.6rem);
    color: var(--cream);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1;
    margin-bottom: 28px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  }

  .hero-sub {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: rgba(250, 246, 238, 0.92);
    max-width: 580px;
    margin-bottom: 40px;
    line-height: 1.55;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
  }
  .hero-ctas {
    display: flex; gap: 14px; flex-wrap: wrap;
    margin-bottom: 56px;
  }

  .hero-trust {
    display: flex; align-items: center; flex-wrap: nowrap;
    gap: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(250, 246, 238, 0.18);
    color: rgba(250, 246, 238, 0.82);
    font-size: 0.88rem;
  }
  .hero-trust span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
  .hero-trust svg { color: var(--gold); flex-shrink: 0; }

  /* ----- Differentiator ----- */
  .differentiator { padding: 100px 0; }
  .diff-card {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    padding: 70px 60px;
    color: var(--cream);
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-lift);
  }
  .diff-card::before {
    content: ''; position: absolute;
    top: -50%; right: -20%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.18) 0%, transparent 60%);
    border-radius: 50%;
  }
  .diff-tag {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gold-soft); margin-bottom: 28px; font-weight: 600;
    position: relative;
  }
  .diff-tag::before {
    content: ''; width: 36px; height: 1.5px;
    background: var(--gold-soft); opacity: 0.7;
  }
  .diff-card h2 {
    font-size: clamp(1.85rem, 4.5vw, 3.2rem);
    line-height: 1.1; letter-spacing: -0.03em;
    margin-bottom: 24px; max-width: 800px;
    position: relative; font-weight: 600;
  }
  .diff-card p {
    font-size: 1.15rem; max-width: 620px;
    line-height: 1.6; opacity: 0.92; position: relative;
  }

  /* ----- Algorithm ----- */
  .algorithm {
    background: var(--navy-deep);
    color: var(--cream);
    position: relative;
    overflow: hidden;
  }
  .algorithm::before {
    content: ''; position: absolute;
    top: 50%; left: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.12) 0%, transparent 60%);
    border-radius: 50%;
    transform: translateY(-50%);
  }
  .algorithm::after {
    content: ''; position: absolute;
    bottom: -200px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139, 30, 63, 0.18) 0%, transparent 60%);
    border-radius: 50%;
  }
  .algo-head { text-align: center; max-width: 760px; margin: 0 auto 72px; position: relative; }
  .algo-head h2 {
    font-size: clamp(2rem, 4.8vw, 3.4rem);
    margin-bottom: 22px;
    letter-spacing: -0.03em;
    font-weight: 600;
  }
  .algo-head p {
    color: rgba(250, 246, 238, 0.78);
    font-size: 1.1rem;
    line-height: 1.6;
  }
  .algo-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto 64px;
    position: relative;
  }
  .algo-step {
    background: rgba(250, 246, 238, 0.04);
    border: 1px solid rgba(250, 246, 238, 0.10);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: background 0.3s, border-color 0.3s;
  }
  .algo-step:hover {
    background: rgba(250, 246, 238, 0.07);
    border-color: rgba(201, 169, 97, 0.4);
  }
  .algo-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--cream);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
  }
  .algo-step h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    color: var(--cream);
  }
  .algo-step p {
    color: rgba(250, 246, 238, 0.72);
    font-size: 0.93rem;
    line-height: 1.55;
  }
  .algo-arrow {
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    padding: 0 8px;
    opacity: 0.6;
  }
  .algo-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid rgba(250, 246, 238, 0.10);
    padding-top: 48px;
    position: relative;
  }
  .algo-pillar {
    text-align: center;
    padding: 0 16px;
  }
  .algo-pillar .pillar-mark {
    color: var(--gold);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
  }
  .algo-pillar h4 {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .algo-pillar p {
    color: rgba(250, 246, 238, 0.72);
    font-size: 0.92rem;
    line-height: 1.55;
  }

  /* ----- Section heading ----- */
  .section-head {
    text-align: center; max-width: 720px; margin: 0 auto 64px;
  }
  .section-head h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--ink); margin-bottom: 18px; font-weight: 600;
    letter-spacing: -0.03em;
  }
  .section-head p {
    color: var(--ink-soft); font-size: 1.08rem; line-height: 1.6;
  }

  /* ----- How It Works ----- */
  .steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  }
  .step {
    background: var(--cream); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 40px 28px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  }
  .step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    border-color: transparent;
  }
  .step-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    color: var(--cream); margin-bottom: 24px;
    box-shadow: 0 8px 18px rgba(139, 30, 63, 0.18);
  }
  .step-num {
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--muted);
    margin-bottom: 8px;
  }
  .step h3 {
    font-size: 1.25rem; font-weight: 600; color: var(--ink);
    margin-bottom: 12px; letter-spacing: -0.02em;
  }
  .step p {
    color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55;
  }
  .steps-cta { text-align: center; margin-top: 56px; }

  /* ----- Services (BENTO) ----- */
  .services { background: var(--cream-warm); }
  .service-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .service {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
  }
  .service:hover {
    transform: translateY(-3px);
    border-color: var(--crimson);
    box-shadow: var(--shadow-soft);
  }
  .service.featured {
    grid-row: span 2;
    background: var(--cream);
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
  }
  .service.featured::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(139, 30, 63, 0.06) 0%, transparent 70%);
    border-radius: 50%;
  }
  .service.featured .service-tag {
    display: inline-flex;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--crimson);
    margin-bottom: 18px;
    position: relative;
  }
  .service-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    color: var(--cream); margin-bottom: 22px;
    flex-shrink: 0;
  }
  .service.featured .service-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
  }
  .service h3 {
    font-size: 1.15rem; font-weight: 600; color: var(--ink);
    margin-bottom: 10px; letter-spacing: -0.02em;
  }
  .service.featured h3 {
    font-size: 1.6rem;
    margin-bottom: 14px;
    letter-spacing: -0.025em;
  }
  .service p {
    color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55;
  }
  .service.featured p {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .service-list {
    list-style: none;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
    position: relative;
  }
  .service-list li {
    font-size: 0.86rem;
    color: var(--muted);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .service-list li::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
  }
  .service-note {
    text-align: center; margin-top: 36px;
    color: var(--muted); font-size: 1rem;
  }

  /* ===== WHY US (with integrated image) ===== */
  .why { padding: 100px 0; }
  .why-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: stretch;
    margin-top: 12px;
  }
  .why-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-image);
    min-height: 580px;
    align-self: stretch;
  }
  .why-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
  }
  .why-image-wrap::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom,
      transparent 0%,
      transparent 55%,
      rgba(19, 31, 68, 0.35) 100%);
    z-index: 1;
  }
  .why-image-wrap::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 169, 97, 0.35);
    z-index: 2;
    pointer-events: none;
  }
  .why-image-tag {
    position: absolute;
    bottom: 28px;
    left: 28px;
    right: 28px;
    z-index: 3;
    color: var(--cream);
    font-size: 1.02rem;
    line-height: 1.5;
    font-weight: 400;
  }
  .why-image-tag strong {
    color: var(--gold);
    font-weight: 600;
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .why-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .why-card {
    padding: 32px 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    transition: transform 0.3s, border-color 0.3s;
  }
  .why-card:hover {
    transform: translateX(4px);
    border-color: var(--crimson);
  }
  .why-card h3 {
    font-size: 1.3rem; font-weight: 600; color: var(--ink);
    margin-bottom: 10px; letter-spacing: -0.025em;
  }
  .why-card p {
    color: var(--ink-soft); font-size: 0.96rem; line-height: 1.55;
  }

  /* ----- About ----- */
  .about {
    background: var(--navy-deep); color: var(--cream);
    position: relative; overflow: hidden;
  }
  .about::before {
    content: ''; position: absolute;
    top: -200px; right: -200px; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(139, 30, 63, 0.18) 0%, transparent 60%);
    border-radius: 50%;
  }
  .about-inner { max-width: 980px; margin: 0 auto; position: relative; }
  .about-head { text-align: center; margin-bottom: 64px; }
  .about-head h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 18px; letter-spacing: -0.03em; font-weight: 600;
  }
  .about-intro {
    color: rgba(250, 246, 238, 0.78);
    font-size: 1.08rem; max-width: 620px; margin: 0 auto;
  }
  .founders {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 32px; margin-bottom: 56px;
  }
  .founder {
    background: rgba(250, 246, 238, 0.04);
    border: 1px solid rgba(250, 246, 238, 0.10);
    border-radius: var(--radius); padding: 36px;
    transition: background 0.3s, border-color 0.3s;
  }
  .founder:hover {
    background: rgba(250, 246, 238, 0.07);
    border-color: rgba(201, 169, 97, 0.4);
  }
  .founder-photo {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    color: var(--cream); font-size: 1.5rem; font-weight: 600;
    margin-bottom: 22px; letter-spacing: -0.02em;
    overflow: hidden;
  }
  .founder-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
  }
  .founder h3 {
    font-size: 1.3rem; font-weight: 600;
    margin-bottom: 4px; letter-spacing: -0.02em;
  }
  .founder-role {
    color: var(--gold); font-size: 0.78rem; letter-spacing: 0.18em;
    text-transform: uppercase; margin-bottom: 18px; font-weight: 600;
  }
  .founder p {
    color: rgba(250, 246, 238, 0.78);
    font-size: 0.96rem; line-height: 1.6;
  }
  .about-summary {
    text-align: center;
    border-top: 1px solid rgba(250, 246, 238, 0.10);
    padding-top: 40px;
    color: rgba(250, 246, 238, 0.85);
    font-size: 1.1rem;
    line-height: 1.6; max-width: 720px;
    margin: 0 auto; font-weight: 300;
  }

  /* ----- Pricing ----- */
  .pricing { background: var(--cream); }
  .price-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; max-width: 1100px; margin: 0 auto 80px;
  }
  .price-card {
    background: var(--cream); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 44px 36px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .price-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lift);
  }
  .price-card.featured {
    background: var(--cream); border: 2px solid transparent;
    background-image: linear-gradient(var(--cream), var(--cream)), var(--gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transform: scale(1.02); box-shadow: var(--shadow-lift);
  }
  .price-badge {
    position: absolute; top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--gradient); color: var(--cream);
    padding: 6px 18px; border-radius: 100px;
    font-size: 0.74rem; letter-spacing: 0.14em;
    text-transform: uppercase; font-weight: 600; white-space: nowrap;
  }
  .price-card h3 {
    font-size: 1.35rem; font-weight: 600; color: var(--ink);
    margin-bottom: 6px; letter-spacing: -0.025em;
  }
  .price-hours {
    color: var(--muted); font-size: 0.9rem; margin-bottom: 28px;
  }
  .price-amount {
    display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px;
  }
  .price-amount .currency {
    font-size: 1.4rem; font-weight: 500; color: var(--ink-soft);
  }
  .price-amount .num {
    font-size: 3.2rem; font-weight: 700; color: var(--ink);
    letter-spacing: -0.04em; line-height: 1;
  }
  .price-amount .per {
    color: var(--muted); font-size: 0.95rem; margin-left: 4px;
  }
  .price-amount .custom {
    font-size: 2.1rem; color: var(--ink);
    font-weight: 500; line-height: 1.2;
    letter-spacing: -0.025em;
  }
  .price-rate {
    color: var(--crimson); font-size: 0.88rem;
    font-weight: 500; margin-bottom: 28px;
  }
  .price-rate.muted { color: var(--muted); }
  .price-features { list-style: none; margin-bottom: 32px; }
  .price-features li {
    padding: 10px 0; border-bottom: 1px solid var(--line-soft);
    color: var(--ink-soft); font-size: 0.95rem;
    display: flex; align-items: flex-start; gap: 12px;
  }
  .price-features li:last-child { border-bottom: none; }
  .price-features li::before {
    content: ''; width: 16px; height: 16px;
    border-radius: 50%; background: var(--gradient);
    flex-shrink: 0; margin-top: 4px;
    background-image: var(--gradient), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2 2 4-4' stroke='%23FAF6EE' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 10px;
    background-position: center;
    background-repeat: no-repeat;
  }
  .price-cta { width: 100%; text-align: center; }

  /* ----- Compare ----- */
  .compare {
    max-width: 1000px; margin: 0 auto;
    background: var(--cream-warm);
    border-radius: var(--radius-lg);
    padding: 56px 48px; border: 1px solid var(--line);
  }
  .compare-head {
    text-align: center; margin-bottom: 40px;
  }
  .compare-head .section-label {
    margin-bottom: 18px;
  }
  .compare h3 {
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    margin-bottom: 12px;
    letter-spacing: -0.03em; font-weight: 600;
    color: var(--ink);
  }
  .compare-head p {
    color: var(--ink-soft);
    font-size: 1rem;
  }
  .compare-table {
    width: 100%; border-collapse: collapse;
    background: var(--cream);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
  }
  .compare-table th, .compare-table td {
    padding: 18px 20px; text-align: left;
    font-size: 0.95rem; border-bottom: 1px solid var(--line);
    vertical-align: top;
  }
  .compare-table th {
    font-size: 0.74rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    background: var(--cream-warm);
  }
  .compare-table th:first-child { color: var(--muted); }
  .compare-table th:nth-child(2) { color: var(--muted); }
  .compare-table th:nth-child(3) { color: var(--crimson); }
  .compare-table td:first-child { color: var(--ink); font-weight: 600; }
  .compare-table td:nth-child(2) { color: var(--muted); }
  .compare-table td:nth-child(3) {
    color: var(--ink); font-weight: 500;
    background: rgba(139, 30, 63, 0.03);
  }
  .compare-table tr:last-child td { border-bottom: none; }
  .compare-table .check {
    display: inline-block;
    margin-right: 6px;
    color: var(--crimson);
  }

  /* ----- Testimonials ----- */
  .testimonials { background: var(--cream-warm); }
  .testi-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  .testi {
    background: var(--cream); border-radius: var(--radius);
    padding: 36px 32px; border: 1px solid var(--line);
    position: relative;
  }
  .testi::before {
    content: '"'; position: absolute;
    top: 12px; right: 28px; font-size: 4rem;
    color: var(--crimson); opacity: 0.18;
    line-height: 1; font-weight: 700;
  }
  .testi-stars {
    color: var(--gold); margin-bottom: 18px;
    font-size: 0.9rem; letter-spacing: 2px;
  }
  .testi-quote {
    font-size: 1.02rem; line-height: 1.55;
    color: var(--ink-soft); margin-bottom: 28px;
    font-weight: 400; min-height: 90px;
  }
  .testi-quote.placeholder {
    color: var(--muted); opacity: 0.55;
  }
  .testi-author { display: flex; align-items: center; gap: 12px; }
  .testi-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    color: var(--cream);
    font-weight: 600;
    font-size: 0.86rem;
    letter-spacing: -0.01em;
    flex-shrink: 0;
  }
  .testi-name { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
  .testi-role { color: var(--muted); font-size: 0.85rem; }

  /* ----- FINAL CTA (image background) ----- */
  .final {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 140px 0;
    color: var(--cream);
  }
  .final-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image: url('/wp-content/uploads/2026/06/final-cta-skier.jpg');
    background-size: cover;
    background-position: center;
  }
  .final-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(19, 31, 68, 0.82) 0%, rgba(139, 30, 63, 0.65) 100%);
  }
  .final-inner {
    position: relative; z-index: 2;
    max-width: 760px;
    padding: 0 24px;
  }
  .final h2 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--cream);
    margin-bottom: 24px;
    font-weight: 600;
  }
  .final p {
    color: rgba(250, 246, 238, 0.92);
    font-size: 1.18rem;
    line-height: 1.6;
    margin-bottom: 44px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ----- Contact ----- */
  .contact { background: var(--cream-warm); padding: 100px 0; }
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; max-width: 1080px; margin: 0 auto; align-items: start;
  }
  .contact-left h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--ink); margin-bottom: 18px;
    letter-spacing: -0.03em; font-weight: 600; line-height: 1.1;
  }
  .contact-left > p {
    color: var(--ink-soft); font-size: 1.02rem;
    margin-bottom: 36px; line-height: 1.6;
  }
  .contact-info { margin-top: 36px; }
  .contact-info-item {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 16px; color: var(--ink-soft); font-size: 0.98rem;
  }
  .contact-info-item .icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--cream); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--crimson); flex-shrink: 0;
  }
  .contact-form {
    background: var(--cream); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 40px;
  }
  .form-group { margin-bottom: 20px; }
  .form-group label {
    display: block; font-size: 0.84rem; font-weight: 500;
    color: var(--ink-soft); margin-bottom: 8px; letter-spacing: 0.02em;
  }
  .form-group input, .form-group textarea {
    width: 100%; padding: 14px 16px;
    background: var(--cream-warm); border: 1px solid var(--line);
    border-radius: 10px; font-family: inherit;
    font-size: 0.98rem; color: var(--ink);
    transition: border-color 0.2s, background 0.2s;
  }
  .form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--crimson); background: var(--cream);
  }
  .form-group textarea { resize: vertical; min-height: 100px; }
  .form-submit { width: 100%; margin-top: 8px; }

  /* ----- Footer (block pattern) -----
     The footer template part wraps content in a Group block with the
     class 'ra-footer'. Deep navy, matching the original design. */
  .ra-footer {
    background: var(--navy-deep);
    padding: 60px 0 36px;
  }
  .ra-footer .ra-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
  }
  .ra-footer .ra-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
  }
  .ra-footer .ra-footer-brand .wp-block-site-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(250, 246, 238, 0.35));
  }
  .ra-footer .ra-footer-brand .wp-block-site-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -0.025em;
  }
  .ra-footer .ra-footer-brand .wp-block-site-title a {
    color: inherit;
    text-decoration: none;
  }
  .ra-footer .ra-footer-tagline {
    color: rgba(250, 246, 238, 0.55);
    font-size: 0.95rem;
    margin: 0;
  }
  .ra-footer .wp-block-navigation {
    gap: 24px;
  }
  .ra-footer .wp-block-navigation .wp-block-navigation-item__content {
    color: rgba(250, 246, 238, 0.75);
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.2s;
  }
  .ra-footer .wp-block-navigation .wp-block-navigation-item__content:hover {
    color: var(--gold);
  }
  .ra-footer .ra-footer-bottom {
    max-width: 1240px;
    margin: 36px auto 0;
    padding: 24px 24px 0;
    border-top: 1px solid rgba(250, 246, 238, 0.12);
    font-size: 0.85rem;
    color: rgba(250, 246, 238, 0.45);
    text-align: center;
  }

  /* ----- Reveal ----- */
  .reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.in-view { opacity: 1; transform: translateY(0); }

  /* ----- Responsive ----- */
  @media (max-width: 960px) {
    section { padding: 80px 0; }
    .hero { padding: 100px 0 60px; min-height: 88vh; }
    .hero-bg { background-position: 70% center; }
    .hero-overlay {
      background:
        linear-gradient(to right,
          rgba(15, 24, 56, 0.82) 0%,
          rgba(15, 24, 56, 0.62) 100%
        );
    }

    .steps { grid-template-columns: repeat(2, 1fr); }
    .why-layout { grid-template-columns: 1fr; gap: 28px; }
    .why-image-wrap { min-height: 360px; aspect-ratio: 4/3; }
    .founders { grid-template-columns: 1fr; }
    .price-grid { grid-template-columns: 1fr; max-width: 460px; }
    .price-card.featured { transform: none; }
    .testi-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .diff-card { padding: 50px 40px; }

    .algo-flow { grid-template-columns: 1fr; gap: 16px; }
    .algo-arrow { transform: rotate(90deg); padding: 4px 0; }
    .algo-pillars { grid-template-columns: 1fr; gap: 32px; }

    .service-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .service.featured { grid-row: auto; grid-column: span 2; }

    .compare-table th, .compare-table td { padding: 14px 14px; font-size: 0.88rem; }
    .final { min-height: 60vh; padding: 100px 0; }
  }

  @media (max-width: 640px) {
    section { padding: 64px 0; }
    .container { padding: 0 20px; }
    .hero { padding: 90px 0 50px; min-height: 80vh; }
    .hero-content { padding: 0 20px; }
    .hero-trust { gap: 14px 20px; font-size: 0.82rem; flex-wrap: wrap; }

    /* Mobile nav handling for the block-pattern header.
       The Navigation block has its own responsive behavior; we just
       ensure the overall header padding tightens. */
    .ra-nav .ra-nav-inner { padding: 14px 18px; }
    .ra-nav .wp-block-navigation { gap: 0; }

    .steps { grid-template-columns: 1fr; }
    .diff-card { padding: 40px 28px; }
    .diff-card::after { font-size: 1.5rem; top: 20px; right: 24px; }
    .compare { padding: 36px 22px; }
    .compare-table th, .compare-table td { padding: 12px 10px; font-size: 0.8rem; }
    .contact-form { padding: 28px 24px; }
    .footer-inner { flex-direction: column; }
    .section-label { font-size: 0.85rem; gap: 12px; }
    .section-label::before, .section-label::after { width: 24px; }

    .service-grid { grid-template-columns: 1fr; }
    .service.featured { grid-column: span 1; }

    .hero-badge { font-size: 0.72rem; }
    .hero-badge .badge-status { padding: 8px 12px; gap: 6px; }
    .hero-badge .badge-text { padding: 8px 14px; }

    .why-image-tag { left: 18px; right: 18px; bottom: 18px; font-size: 0.95rem; }
    .why-card { padding: 26px 24px; }
  }
/* ----- Full-width template safety net -----
   On the "RelievAgents Full Width" template, ensure nothing inside the
   post content gets capped by the parent theme's constrained layout. */
.page-template-page-full-width .wp-block-post-content,
.page-template-page-full-width .wp-block-post-content > * {
  max-width: none;
}
.page-template-page-full-width .wp-block-post-content {
  padding-left: 0;
  padding-right: 0;
}

/* ----- VA Intake nav item -----
   A navigation link with the extra class 'va-intake' (set in the block's
   Advanced > Additional CSS classes) renders as a gold-outlined pill so it
   stands apart from the regular nav items. */

/* Header, solid nav state */
.ra-nav .wp-block-navigation-item.va-intake .wp-block-navigation-item__content {
  color: var(--crimson);
  border: 1px solid var(--gold);
  border-radius: 100px;
  padding: 6px 14px;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ra-nav .wp-block-navigation-item.va-intake .wp-block-navigation-item__content:hover {
  color: var(--cream);
  background: var(--crimson);
  border-color: var(--crimson);
}

/* Header, transparent-over-hero state (homepage, not scrolled) */
body.home .ra-nav:not(.is-scrolled) .wp-block-navigation-item.va-intake .wp-block-navigation-item__content {
  color: var(--gold);
  border-color: rgba(201, 169, 97, 0.6);
}
body.home .ra-nav:not(.is-scrolled) .wp-block-navigation-item.va-intake .wp-block-navigation-item__content:hover {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}

/* Footer (navy) */
.ra-footer .wp-block-navigation-item.va-intake .wp-block-navigation-item__content {
  color: var(--gold);
  border: 1px solid rgba(201, 169, 97, 0.45);
  border-radius: 100px;
  padding: 4px 12px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ra-footer .wp-block-navigation-item.va-intake .wp-block-navigation-item__content:hover {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}

/* ----- Kill parent-theme top spacing on the full-width template -----
   Twenty Twenty-Five adds block-gap margins and root padding to the
   site wrapper. On the homepage the nav floats over the hero (out of
   normal flow), which exposes that spacing as a cream strip above the
   page. Zero it out on this template. */
.page-template-page-full-width .wp-site-blocks {
  padding-top: 0;
  padding-bottom: 0;
}
.page-template-page-full-width .wp-site-blocks > * {
  margin-block-start: 0 !important;
}
.page-template-page-full-width .wp-block-post-content {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.page-template-page-full-width main {
  margin-block-start: 0 !important;
}

/* ----- Stronger top-gap elimination for the homepage -----
   Collapse the header template-part wrapper on the homepage so it cannot
   reserve flow space or carry inherited block-gap margins, and zero out
   wrapper spacing under body.home as well as the template class. */
body.home header.wp-block-template-part,
body.home .wp-block-template-part:has(> .ra-nav) {
  display: contents;
}
body.home .wp-site-blocks {
  padding-top: 0 !important;
}
body.home .wp-site-blocks > * {
  margin-block-start: 0 !important;
}
body.home .wp-block-post-content,
body.home .wp-block-post-content > .hero {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
}

/* ----- VA Intake: automatic targeting by URL -----
   Applies the pill styling to any nav link pointing at the Google
   Script intake form, with no manual CSS class required. */

/* Header, solid nav state */
.ra-nav .wp-block-navigation-item__content[href*="script.google.com"] {
  color: var(--crimson);
  border: 1px solid var(--gold);
  border-radius: 100px;
  padding: 6px 14px;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ra-nav .wp-block-navigation-item__content[href*="script.google.com"]:hover {
  color: var(--cream);
  background: var(--crimson);
  border-color: var(--crimson);
}

/* Header, transparent-over-hero state (homepage, not scrolled) */
body.home .ra-nav:not(.is-scrolled) .wp-block-navigation-item__content[href*="script.google.com"] {
  color: var(--gold);
  border-color: rgba(201, 169, 97, 0.6);
}
body.home .ra-nav:not(.is-scrolled) .wp-block-navigation-item__content[href*="script.google.com"]:hover {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}

/* Footer (navy) */
.ra-footer .wp-block-navigation-item__content[href*="script.google.com"] {
  color: var(--gold);
  border: 1px solid rgba(201, 169, 97, 0.45);
  border-radius: 100px;
  padding: 4px 12px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ra-footer .wp-block-navigation-item__content[href*="script.google.com"]:hover {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}

/* ----- Contact Form 7 integration -----
   The CF7 form template reuses .form-group markup, so inputs inherit
   the existing design. These rules cover CF7-specific elements. */
.contact-form .wpcf7-form-control-wrap {
  display: block;
}
.contact-form input[type="submit"] {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form .wpcf7-not-valid-tip {
  display: block;
  color: var(--crimson);
  font-size: 0.82rem;
  margin-top: 6px;
}
.contact-form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.contact-form .wpcf7-form.sent .wpcf7-response-output {
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.08);
}
.contact-form .wpcf7-form.invalid .wpcf7-response-output,
.contact-form .wpcf7-form.failed .wpcf7-response-output {
  border-color: var(--crimson);
  background: rgba(139, 30, 63, 0.05);
}
.contact-form .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

/* ----- CF7 polish: tighten spacing to match the original form ----- */
.contact-form .form-group br {
  display: none;
}
.contact-form .form-group p,
.contact-form .wpcf7-form > p {
  margin: 0;
}
.contact-form .form-group label {
  margin-bottom: 8px;
}
.contact-form .form-group textarea {
  height: 130px;
  min-height: 100px;
}
.contact-form input[type="submit"] {
  outline: none;
}
.contact-form input[type="submit"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
