/* ============================================================
   PJL TELECOM — SITE CSS ON THE CLOVEN TEMPLATE
   Load order (includes/head-assets.php):
     bootstrap.min.css -> all.css (Font Awesome 5 Pro) -> default.css (spacing utils)
     -> style.css (Cloven sections) -> pjl.css (this file)
   This file:
     1. TOKENS      Cloven palette, plus the old site.css token names remapped so
                    every page's inline <style> block keeps working.
     2. LEGACY      site.css content components (tables, calculator, cards...)
                    carried over so un-rebuilt markup still renders.
     3. CLOVEN+PJL  overrides that put the template look on everything.
   Bump PJL_CSS_VER in includes/head-assets.php after editing.
   ============================================================ */

/* ============================================
   1. TOKENS
   ============================================ */
:root {
    /* Cloven palette */
    --pjl-blue: #0154f7;
    --pjl-blue-2: #3b7eff;
    --pjl-blue-deep: #0042c4;
    --pjl-blue-tint: #e6eefe;
    --pjl-orange: #f86e03;
    --pjl-orange-deep: #d15b00;
    --pjl-coral: #fc5546;
    --pjl-navy: #101e3b;
    --pjl-navy-2: #0e2b5c;
    --pjl-navy-3: #14346b;
    --pjl-grey: #eef3f9;
    --pjl-ink: #222222;
    --pjl-heading: #222222;
    --pjl-text: #5b6577;      /* template's #8a8a8a fails WCAG AA on white; this passes */
    --pjl-muted: #7d8696;
    --pjl-line: #e3e8ef;
    --pjl-green: #12a150;
    --pjl-red: #e5483b;
    --pjl-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --pjl-radius: 6px;
    --pjl-shadow: 0px 10px 30px 0px rgba(14, 43, 92, 0.08);
    --pjl-shadow-lg: 0px 20px 50px 0px rgba(14, 43, 92, 0.14);

    /* Old site.css names, remapped (page inline styles use these) */
    --navy-primary: var(--pjl-navy-2);
    --navy-dark: var(--pjl-navy);
    --navy-mid: var(--pjl-navy-3);
    --blue-accent: var(--pjl-blue);
    --blue-strong: var(--pjl-blue);
    --blue-light: var(--pjl-blue-2);
    --blue-lighter: var(--pjl-blue-tint);
    --white: #FFFFFF;
    --gray-50: #f6f8fc;
    --gray-100: var(--pjl-grey);
    --gray-200: var(--pjl-line);
    --gray-600: var(--pjl-text);
    --gray-700: #444c5c;
    --gray-900: var(--pjl-ink);
    --green-success: var(--pjl-green);
    --red-error: var(--pjl-red);
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    --spacing-3xl: 7rem;
    --font-family: var(--pjl-font);
    --radius-md: 5px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --shadow-sm: 0 2px 6px rgba(14, 43, 92, 0.05);
    --shadow-md: 0 6px 16px rgba(14, 43, 92, 0.08);
    --shadow-lg: var(--pjl-shadow);
    --shadow-xl: var(--pjl-shadow-lg);
}

/* ============================================
   2. LEGACY COMPONENTS (from site.css)
   ============================================ */
/* (legacy .container dropped: Bootstrap's container is used) */

.section {
    padding: var(--spacing-3xl) 0;
}

.section-tight {
    padding: var(--spacing-2xl) 0;
}

.section-alt {
    background: var(--gray-50);
}

.eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-accent);
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-top: var(--spacing-md);
    line-height: 1.7;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.features-grid .fade-in:nth-child(1),
.problem-cards .fade-in:nth-child(1) { transition-delay: 0s; }
.features-grid .fade-in:nth-child(2),
.problem-cards .fade-in:nth-child(2) { transition-delay: 0.1s; }
.features-grid .fade-in:nth-child(3),
.problem-cards .fade-in:nth-child(3) { transition-delay: 0.2s; }
.features-grid .fade-in:nth-child(4),
.problem-cards .fade-in:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   HERO — deep navy, subtle signal texture
   ============================================ */
.hero {
    padding-top: 160px;
    padding-bottom: var(--spacing-3xl);
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-mid) 55%, var(--navy-primary) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 80%;
    height: 160%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(96, 165, 250, 0.12) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 40%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
}

.hero-subheadline {
    font-size: 1.375rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    font-weight: 400;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.stat-badge:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Split hero variant — copy left, visual right */
.hero--split {
    min-height: 0;
}

.hero--split .hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero--split .hero-content {
    text-align: left;
    margin: 0;
    max-width: none;
}

.hero--split .hero-subheadline {
    margin-left: 0;
    margin-right: 0;
}

.hero--split .hero-cta {
    justify-content: flex-start;
}

.hero-checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem var(--spacing-md);
    margin-top: var(--spacing-xl);
    list-style: none;
}

.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9375rem;
    font-weight: 500;
}

.hero-checklist svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--green-success);
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-visual svg {
    width: 100%;
    max-width: 480px;
    height: auto;
}

@media (max-width: 900px) {
    .hero--split .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual svg {
        max-width: 340px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: var(--spacing-2xl);
    }

    .hero-subheadline {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero--split .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--white);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--gray-200);
}

.trust-text {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.0625rem;
    font-weight: 500;
}

/* ============================================
   ICON TILES (SVG replacement for emoji icons)
   ============================================ */
.icon-tile {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: var(--blue-lighter);
    color: var(--blue-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    flex-shrink: 0;
}

.icon-tile svg {
    width: 28px;
    height: 28px;
}

.icon-tile--center {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CARD SECTIONS (problem / features / generic)
   ============================================ */
.problem-section {
    background: var(--white);
    padding: var(--spacing-3xl) 0;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.problem-card {
    text-align: center;
    padding: var(--spacing-xl);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: var(--blue-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.problem-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--navy-primary);
}

.problem-card p {
    font-size: 1rem;
    line-height: 1.7;
}

.features-preview {
    background: var(--gray-50);
    padding: var(--spacing-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--blue-accent);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--blue-accent), var(--blue-light));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    line-height: 1.7;
}

.features-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* ============================================
   COMPARISON TABLE / STRIP
   ============================================ */
.compare-section {
    background: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-3xl);
}

.compare-table-wrap {
    overflow-x: auto;
    margin-top: var(--spacing-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 1rem;
    min-width: 560px;
}

.compare-table th,
.compare-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.compare-table thead th {
    background: var(--gray-50);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table .compare-col-pjl {
    background: rgba(219, 234, 254, 0.45);
    font-weight: 600;
    color: var(--navy-primary);
}

.compare-table thead .compare-col-pjl {
    background: var(--navy-primary);
    color: var(--white);
}

.compare-check {
    color: var(--green-success);
    font-weight: 700;
}

.compare-cross {
    color: var(--red-error);
    font-weight: 700;
}

.compare-note {
    margin-top: var(--spacing-md);
    text-align: center;
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* ============================================
   SAVINGS CALCULATOR
   ============================================ */
.calc-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    margin-top: var(--spacing-xl);
}

.calc-inputs {
    padding: var(--spacing-xl);
}

.calc-field {
    margin-bottom: var(--spacing-md);
}

.calc-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--navy-primary);
    margin-bottom: 0.375rem;
}

.calc-field input,
.calc-field select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.0625rem;
    font-family: var(--font-family);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-900);
    background: var(--white);
    transition: border-color 0.2s ease;
}

.calc-field input:focus,
.calc-field select:focus {
    outline: none;
    border-color: var(--blue-accent);
}

.calc-hint {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-top: 0.375rem;
}

.calc-result {
    background: linear-gradient(160deg, var(--navy-dark), var(--navy-primary));
    color: var(--white);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-md);
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--spacing-sm);
}

.calc-row-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.calc-row-value {
    font-size: 1.375rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.calc-row--savings {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: var(--spacing-md);
}

.calc-row--savings .calc-row-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--green-success);
}

.calc-disclaimer {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.calc-result .btn {
    margin-top: var(--spacing-sm);
}

@media (max-width: 768px) {
    .calc-card {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   INDUSTRY TILES ("Who we serve")
   ============================================ */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.industry-tile {
    display: block;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.industry-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-accent);
}

.industry-tile h3 {
    font-size: 1.125rem;
    color: var(--navy-primary);
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.industry-tile h3::after {
    content: '\2192';
    color: var(--blue-accent);
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.industry-tile:hover h3::after {
    transform: translateX(4px);
}

.industry-tile p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.industry-tile .icon-tile {
    width: 44px;
    height: 44px;
    margin-bottom: var(--spacing-sm);
}

.industry-tile .icon-tile svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   OWNER / REAL-PERSON SECTION
   ============================================ */
.owner-section {
    background: var(--gray-50);
    padding: var(--spacing-3xl) 0;
}

.owner-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
}

.owner-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-primary), var(--blue-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.owner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-body h3 {
    margin-bottom: var(--spacing-sm);
}

.owner-body p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.owner-meta {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.owner-meta a {
    color: var(--blue-strong);
    font-weight: 600;
    text-decoration: none;
}

.owner-meta a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .owner-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-section {
    background: var(--white);
    padding: var(--spacing-3xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--blue-accent);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.testimonial-quote {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.0625rem;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--navy-primary);
    font-size: 1.0625rem;
    margin-bottom: 0.25rem;
}

.author-title {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: block;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-accent);
}

.blog-card-tag {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--blue-accent);
}

.blog-card h3 {
    font-size: 1.125rem;
    margin: 0.5rem 0;
    color: var(--navy-dark);
}

.blog-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
    background: linear-gradient(160deg, var(--navy-primary), var(--blue-strong));
    color: var(--white);
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.final-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.7;
}

.final-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.final-cta .btn-secondary:hover {
    background: var(--white);
    color: var(--navy-primary);
    border-color: var(--white);
}

@media (max-width: 768px) {
    .final-cta-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ============================================
   STICKY CTA BAR
   ============================================ */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: var(--spacing-md) var(--spacing-lg);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.sticky-cta-text {
    color: var(--white);
    font-weight: 600;
    font-size: 1.0625rem;
}

.sticky-cta-actions {
    display: flex;
    gap: var(--spacing-md);
}

@media (max-width: 768px) {
    .sticky-cta {
        display: none;
    }
}


/* ============================================
   3. CLOVEN + PJL OVERRIDES
   ============================================ */

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--pjl-font);
    color: var(--pjl-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
p { font-size: 15px; line-height: 1.75; color: var(--pjl-text); }
h1, h2, h3, h4, h5, h6 { font-family: var(--pjl-font); color: var(--pjl-heading); line-height: 1.25; }
h1 { font-size: 48px; font-weight: 700; }
h2 { font-size: 38px; font-weight: 600; }
h3 { font-size: 22px; font-weight: 600; }
a { color: var(--pjl-blue); }
a:hover { color: var(--pjl-orange); }
img { height: auto; }
:focus-visible { outline: 3px solid var(--pjl-orange); outline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--pjl-orange); outline-offset: 2px;
}
@media (max-width: 767px) {
    h1 { font-size: 34px; }
    h2 { font-size: 28px; }
}
.container { padding-left: 16px; padding-right: 16px; }
@media (min-width: 1200px) { .container { max-width: 1170px; } }

/* Content lists keep their bullets (the template strips list-style globally) */
.pjl-prose ul, .pjl-list { list-style: disc; padding-left: 1.4em; }
.pjl-prose ol { list-style: decimal; padding-left: 1.4em; }
.pjl-prose li + li { margin-top: .4em; }
.pjl-prose p + p { margin-top: 1em; }

/* Bootstrap collisions with old page classes */
.form-row { margin-left: 0; margin-right: 0; }
.form-group { margin-bottom: 0; }
label { margin-bottom: 0; }
.card { word-wrap: normal; }

/* ---------- Header ---------- */
.header-area { position: sticky; top: -50px; z-index: 999; }
.header-top { background: var(--pjl-blue-2); }
.header-top .header-top-item { height: 50px; }
.header-top .header-top-item .header-left-side p { font-size: 14px; color: #fff; margin: 0; line-height: 50px; white-space: nowrap; }
.header-top .header-top-item .header-left-side p a { color: #fff; font-weight: 600; }
.header-top .header-top-item .header-left-side p a:hover { color: #fff; text-decoration: underline; }
.header-top .header-top-item .header-left-side p i { padding-right: 6px; }
.header-top .header-top-item .header-right-social ul { display: flex; gap: 22px; }
.header-top .header-top-item .header-right-social ul li a.pjl-top-link {
    width: auto; height: auto; background: none; border-radius: 0; margin: 0;
    line-height: 50px; font-size: 14px; font-weight: 500; color: #fff;
}
.header-top .header-top-item .header-right-social ul li a.pjl-top-link:hover { background: none; color: #fff; text-decoration: underline; }
.header-top .header-top-item .header-right-social ul li a.pjl-top-link i { padding-right: 5px; }

.header-nav, .header-nav.sticky { position: relative; top: auto; animation: none; background: var(--pjl-blue); }
.header-nav.sticky { box-shadow: 0 8px 20px rgba(1, 40, 120, 0.18); }
.header-nav .navigation .navbar .navbar-brand img { height: 34px; width: auto; display: block; }
.header-nav .navigation .navbar .navbar-nav .nav-item a { font-size: 16px; line-height: 90px; margin: 0 14px; }
.header-nav.sticky .navigation .navbar .navbar-nav .nav-item a { line-height: 76px !important; }
.header-nav .navigation .navbar .navbar-nav .nav-item a > i { padding-left: 3px; }
.header-nav .navigation .navbar .navbar-nav .nav-item a:hover { color: #fff; opacity: .85; }
.header-nav .navigation .navbar .navbar-nav .nav-item .sub-menu { width: 270px; border-top: 3px solid var(--pjl-orange); border-radius: 0 0 4px 4px; }
.header-nav .navigation .navbar .navbar-nav .nav-item .sub-menu > li a { color: #4a5263; font-size: 15px; line-height: 26px !important; padding: 10px 22px; opacity: 1; }
.header-nav .navigation .navbar .navbar-nav .nav-item .sub-menu > li:hover > a { opacity: 1; }
.header-nav .navigation .navbar .navbar-btn a { line-height: 50px; padding: 0 30px; }
.header-nav .navigation .navbar .navbar-btn a:hover { background: var(--pjl-orange); border-color: var(--pjl-orange); }
.header-nav .navigation .navbar .navbar-btn a:hover::before { border-color: #fff; }
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .header-nav .navigation .navbar .navbar-nav .nav-item a { font-size: 14px; margin: 0 8px; padding: 0; }
    .header-nav .navigation .navbar .navbar-brand img { height: 28px; }
    .header-nav .navigation .navbar .navbar-btn a { padding: 0 22px; font-size: 13px; }
}
@media (max-width: 991px) {
    .header-nav { padding: 14px 0; }
    .header-nav .navigation .navbar .navbar-collapse { top: calc(100% + 14px); max-height: calc(100vh - 120px); overflow-y: auto; }
    .header-nav .navigation .navbar .navbar-collapse.show { display: block; }
    .header-nav .navigation .navbar .navbar-nav .nav-item a,
    .header-nav.sticky .navigation .navbar .navbar-nav .nav-item a { line-height: 44px !important; margin: 0; }
    .header-nav .navigation .navbar .navbar-nav .nav-item .sub-menu { width: 100%; border-top: 0; background: rgba(255,255,255,.08); }
    .header-nav .navigation .navbar .navbar-nav .nav-item .sub-menu.open { display: block; }
    .header-nav .navigation .navbar .navbar-nav .nav-item .sub-menu > li a { color: #fff; padding: 4px 18px; }
    .header-nav .navigation .navbar .navbar-nav .nav-item .sub-nav-toggler { height: 44px; padding: 0 16px; cursor: pointer; }
    .header-nav .navigation .navbar .navbar-nav .nav-item .sub-nav-toggler i { display: inline-block !important; }
}
@media (max-width: 575px) {
    .header-area { top: -40px; }
    .header-top .header-top-item { height: 40px; }
    .header-top .header-top-item .header-left-side p,
    .header-top .header-top-item .header-right-social ul li a.pjl-top-link { line-height: 40px; font-size: 13px; }
    .header-top .header-top-item .header-right-social ul { gap: 14px; }
    .header-nav .navigation .navbar .navbar-brand img { height: 28px; }
}

/* ---------- Buttons ---------- */
.main-btn { font-family: var(--pjl-font); text-transform: none; }
.main-btn:hover { color: #fff; }
.main-btn.main-btn-white { background: #fff; border-color: #fff; color: var(--pjl-ink); }
.main-btn.main-btn-white::before { border-color: var(--pjl-orange); }
.main-btn.main-btn-white::after { border-color: transparent; }
.main-btn.main-btn-white:hover { background: var(--pjl-orange); border-color: var(--pjl-orange); color: #fff; }
.main-btn.main-btn-white:hover::before { border-color: #fff; }
.main-btn.main-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.main-btn.main-btn-outline:hover { background: #fff; color: var(--pjl-ink); border-color: #fff; }
.main-btn.main-btn-outline:hover::before, .main-btn.main-btn-outline:hover::after { border-color: var(--pjl-orange); }
.pjl-link-arrow { font-weight: 600; color: var(--pjl-orange); font-size: 15px; }
.pjl-link-arrow i { padding-left: 6px; transition: transform .2s; }
.pjl-link-arrow:hover { color: var(--pjl-blue); }
.pjl-link-arrow:hover i { transform: translateX(4px); }
.pjl-btn-row { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; }

/* Legacy .btn family, restyled as Cloven buttons */
.btn {
    position: relative; display: inline-block; font-family: var(--pjl-font); font-size: 15px; font-weight: 600;
    line-height: 53px; padding: 0 36px; border-radius: 5px; border: 1px solid transparent;
    text-transform: none; white-space: nowrap; box-shadow: none; transition: all .4s ease-out;
}
.btn::before, .btn::after { content: ''; position: absolute; border-radius: 50%; transition: all .3s; }
.btn::before { right: 13px; bottom: 11px; height: 10px; width: 10px; border: 2px solid currentColor; opacity: .9; }
.btn::after { left: 13px; top: 11px; height: 8px; width: 8px; border: 2px solid currentColor; opacity: .9; }
.btn:hover { transform: none; box-shadow: none; }
.btn-primary, .btn-primary:not(:disabled):not(.disabled):active { background: var(--pjl-blue); border-color: var(--pjl-blue); color: #fff; box-shadow: none; }
.btn-primary:hover, .btn-primary:focus { background: var(--pjl-orange); border-color: var(--pjl-orange); color: #fff; box-shadow: none; }
.btn-secondary, .btn-secondary:not(:disabled):not(.disabled):active { background: #fff; color: var(--pjl-ink); border-color: var(--pjl-line); }
.btn-secondary:hover, .btn-secondary:focus { background: var(--pjl-blue); border-color: var(--pjl-blue); color: #fff; }
.btn-white { background: #fff; color: var(--pjl-ink); border-color: #fff; }
.btn-white::before { border-color: var(--pjl-orange); }
.btn-white::after { border-color: transparent; }
.btn-white:hover { background: var(--pjl-orange); border-color: var(--pjl-orange); color: #fff; }
.btn-white:hover::before { border-color: #fff; }
.btn-orange { background: var(--pjl-orange); border-color: var(--pjl-orange); color: #fff; }
.btn-orange:hover { background: var(--pjl-blue); border-color: var(--pjl-blue); color: #fff; }
/* Inside dark bands, secondary reads as an outline button */
.final-cta .btn-secondary, .cta-section .btn-secondary, .cta-band .btn-secondary, .hero .btn-secondary,
.requst-quote-area .btn-secondary, .pjl-dark .btn-secondary {
    background: transparent; color: #fff; border-color: rgba(255,255,255,.6);
}
.final-cta .btn-secondary:hover, .cta-section .btn-secondary:hover, .cta-band .btn-secondary:hover, .hero .btn-secondary:hover,
.requst-quote-area .btn-secondary:hover, .pjl-dark .btn-secondary:hover { background: #fff; color: var(--pjl-ink); border-color: #fff; }

/* ---------- Section titles (Cloven two-tone) ---------- */
.section-title .title { color: var(--pjl-muted); }
.section-title .title span { color: var(--pjl-heading); }
.section-title .title span span { color: var(--pjl-orange); }
.section-title p { color: var(--pjl-text); font-size: 18px; line-height: 1.6; padding-top: 14px; padding-bottom: 46px; }
.section-title.section-title-2 .title { color: #b9c3d6; }
.section-title.section-title-2 p { color: #c9d2e3; }
.section-title.pjl-tight p { padding-bottom: 0; }
.section-title .title { display: block; text-transform: none; text-wrap: balance; }
.section-title .title > span { display: block; }
.section-title .title > span > span { display: inline; }

/* Old .section-header markup gets the same treatment */
.section-header { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.section-header h2 { font-size: 44px; font-weight: 600; color: var(--pjl-heading); line-height: 1.25; text-wrap: balance; }
.section-header .eyebrow { display: block; font-size: 30px; font-weight: 300; letter-spacing: 0; text-transform: none; color: var(--pjl-muted); margin-bottom: 4px; }
.section-subtitle { font-size: 18px; color: var(--pjl-text); margin-top: 16px; line-height: 1.65; font-weight: 400; }
.eyebrow { color: var(--pjl-orange); }
@media (max-width: 767px) {
    .section-header h2 { font-size: 30px; }
    .section-header .eyebrow { font-size: 22px; }
    .section-title p, .section-subtitle { font-size: 16px; }
}

/* ---------- Section rhythm ---------- */
.section { padding: 110px 0; }
.section-tight { padding: 80px 0; }
.section-alt, .pjl-grey-bg { background: var(--pjl-grey); }
.pjl-section { padding: 120px 0; position: relative; }
.pjl-section-sm { padding: 80px 0; position: relative; }
@media (max-width: 767px) {
    .section, .pjl-section { padding: 72px 0; }
    .section-tight, .pjl-section-sm { padding: 56px 0; }
}

/* Dark bands */
.pjl-dark { background: var(--pjl-navy); color: #c9d2e3; }
.pjl-dark h2, .pjl-dark h3, .pjl-dark h4 { color: #fff; }
.pjl-dark p { color: #c9d2e3; }
.pjl-globe-bg { background: var(--pjl-navy) url(../cloven/images/features-bg.jpg) center/cover no-repeat; }
.pjl-contour-bg { background-color: var(--pjl-blue-2); background-image: url(../cloven/images/working-line.png); background-size: cover; background-position: center; }
.pjl-map-bg { background-image: url(../cloven/images/services-map-2.png); background-repeat: no-repeat; background-position: center; background-size: contain; }

/* ---------- Home hero (Cloven banner) ---------- */
.banner-area.pjl-banner { margin-top: 0; }
.banner-area.pjl-banner::after {
    width: 52%;
    background-image: linear-gradient(160deg, rgba(16,30,59,.55), rgba(1,84,247,.35)), url(../cloven/images/features-bg.jpg);
    background-position: right center;
}
.banner-area.pjl-banner .banner-bg { height: auto; min-height: 660px; padding: 90px 0 100px; }
.banner-area.pjl-banner .banner-content { overflow: visible; }
.banner-area.pjl-banner .banner-content .title { font-size: 56px; line-height: 1.18; text-wrap: balance; }
.banner-area.pjl-banner .banner-content .title span { text-transform: none; display: block; }
.banner-area.pjl-banner .banner-content .title span span { display: inline; font-weight: 600; }
.banner-area.pjl-banner .banner-content > p { font-size: 17px; color: #4a5263; font-weight: 400; padding: 24px 40px 30px 0; max-width: 560px; }
.banner-area.pjl-banner .banner-shape-1 { left: 52%; bottom: 60px; width: 120px; height: 120px; }
.banner-area.pjl-banner .banner-shape-2 { left: 2%; top: 40px; animation: none; }
@media (max-width: 1399px) { .banner-area.pjl-banner .banner-shape-2 { display: none; } }
.banner-area .banner-content ul.pjl-hero-check { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; }
.banner-area .banner-content ul.pjl-hero-check li { margin: 0; font-size: 15px; font-weight: 500; color: var(--pjl-ink); }
.banner-area .banner-content ul.pjl-hero-check li i { color: var(--pjl-orange); padding-right: 8px; }
.pjl-hero-visual { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.pjl-hero-phone {
    width: 100%; max-width: 360px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35));
}
.pjl-hero-chip {
    position: relative; background: #fff; border-radius: 40px; padding: 10px 20px 10px 12px;
    display: flex; align-items: center; gap: 10px; box-shadow: var(--pjl-shadow-lg);
    font-weight: 600; font-size: 15px; color: var(--pjl-ink); white-space: nowrap;
    animation: pjlFloat 6s ease-in-out infinite;
}
.pjl-hero-chip i { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; background: var(--pjl-orange); }
.pjl-hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 18px; }
.pjl-hero-chip.chip-b { animation-delay: 3s; }
/* "$0 per-user fees" rides the phone's top-right corner, above the screen */
.pjl-hero-phone-wrap { position: relative; padding-top: 58px; }
.pjl-hero-chip.chip-a { position: absolute; top: 0; right: -18px; }
@media (max-width: 991px) { .pjl-hero-chip.chip-a { right: 0; } }
.pjl-hero-chip.chip-b i { background: var(--pjl-blue); }
@keyframes pjlFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 991px) {
    .banner-area.pjl-banner::after { display: none; }
    .banner-area.pjl-banner::before { width: 100%; transform: none; left: 0; }
    .banner-area.pjl-banner .banner-bg { min-height: 0; padding: 70px 0 80px; }
    .banner-area.pjl-banner .banner-shape-1 { display: none; }
    .pjl-hero-visual { margin-top: 50px; }
    .pjl-hero-phone { max-width: 260px; }
}
@media (max-width: 767px) {
    .banner-area.pjl-banner .banner-content .title { font-size: 34px; }
    .banner-area.pjl-banner .banner-content > p { padding-right: 0; font-size: 16px; }
    .banner-area .banner-content ul li { margin-top: 0; }
    .pjl-hero-chip { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .pjl-hero-chip, .banner-area .banner-shape-1, .banner-area .banner-shape-2 { animation: none; }
}

/* ---------- Inner page title banner ---------- */
.banner-area.page-title.pjl-page-title { margin-top: 0; background: #fff; }
.banner-area.page-title.pjl-page-title::after {
    display: block; width: 46%;
    background-image: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 40%), url(../cloven/images/features-bg.jpg);
    background-size: cover; background-position: right center;
}
.banner-area.page-title.pjl-page-title::before { width: 64%; left: -200px; transform: skewX(10deg); background: var(--pjl-grey); }
.banner-area.page-title.pjl-page-title .banner-bg { height: auto; min-height: 420px; padding: 80px 0; }
.banner-area.page-title .banner-bg .page-title-content { max-width: 680px; position: relative; z-index: 2; }
.banner-area.page-title .banner-bg .page-title-content .pjl-kicker { display: block; font-size: 26px; font-weight: 300; color: var(--pjl-muted); margin-bottom: 6px; }
.banner-area.page-title .banner-bg .page-title-content .title { font-size: 50px; line-height: 1.2; padding-bottom: 16px; text-wrap: balance; }
.banner-area.page-title .banner-bg .page-title-content .title span { color: var(--pjl-orange); font-weight: 500; }
.banner-area.page-title .banner-bg .page-title-content p.pjl-lead { font-size: 17px; color: #4a5263; padding-bottom: 22px; }
.banner-area.page-title .banner-bg .page-title-content nav .breadcrumb { margin: 0; }
.banner-area.page-title .banner-bg .page-title-content nav .breadcrumb li { font-size: 16px; }
.banner-area.page-title .banner-bg .page-title-content nav .breadcrumb li a { color: var(--pjl-ink); padding-right: 16px; }
.banner-area.page-title .banner-bg .page-title-content nav .breadcrumb li a:hover { color: var(--pjl-blue); }
.breadcrumb-item + .breadcrumb-item::before { padding-right: 16px; }
.banner-area.page-title .pjl-btn-row { margin-top: 6px; margin-bottom: 26px; }
.banner-area.page-title .banner-shape-2 { left: 30px; top: 40px; }
@media (max-width: 991px) {
    .banner-area.page-title.pjl-page-title::after { display: none; }
    .banner-area.page-title.pjl-page-title::before { width: 100%; left: 0; transform: none; }
    .banner-area.page-title.pjl-page-title .banner-bg { min-height: 0; padding: 64px 0; }
}
@media (max-width: 767px) {
    .banner-area.page-title .banner-bg .page-title-content .title { font-size: 34px; }
    .banner-area.page-title .banner-bg .page-title-content .pjl-kicker { font-size: 20px; }
    .banner-area.page-title .banner-shape-2 { display: none; }
}

/* Legacy .page-hero markup (pages not yet rebuilt) renders like the banner */
.page-hero {
    position: relative; overflow: hidden; background: var(--pjl-grey);
    padding: 90px 0 80px; text-align: left;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: 50px; color: var(--pjl-heading); max-width: 680px; }
.page-hero p { font-size: 17px; color: #4a5263; max-width: 640px; margin-top: 16px; }
@media (max-width: 767px) { .page-hero { padding: 64px 0; } .page-hero h1 { font-size: 34px; } }

/* Legacy navy .hero (service pages) gets the globe art */
.hero {
    padding-top: 110px; padding-bottom: 110px;
    background: linear-gradient(120deg, rgba(16,30,59,.96) 0%, rgba(16,30,59,.85) 45%, rgba(14,43,92,.55) 100%), url(../cloven/images/features-bg.jpg) center/cover no-repeat;
}
.hero::before, .hero::after { display: none; }
.hero h1 { color: #fff; }
.hero h1 span, .hero h1 em { color: var(--pjl-orange); font-style: normal; }
@media (max-width: 768px) { .hero { padding-top: 72px; padding-bottom: 72px; } }

/* ---------- Cards ---------- */
.icon-tile { background: var(--pjl-blue-tint); color: var(--pjl-blue); border-radius: 50%; width: 64px; height: 64px; }
.icon-tile svg { width: 28px; height: 28px; }
.problem-card, .feature-card, .industry-tile, .testimonial-card, .blog-card, .owner-card {
    border: 0; border-radius: var(--pjl-radius); box-shadow: var(--pjl-shadow); background: #fff;
}
.problem-card:hover, .feature-card:hover, .industry-tile:hover, .blog-card:hover {
    border-color: transparent; box-shadow: var(--pjl-shadow-lg); transform: translateY(-4px);
}
.problem-card, .feature-card { padding: 44px 34px; }
.problem-card h3, .feature-card h3, .industry-tile h3 { font-size: 20px; color: var(--pjl-heading); }
.feature-card { border-bottom: 3px solid transparent; }
.feature-card:hover { border-bottom-color: var(--pjl-orange); }
.industry-tile h3::after { content: '\f178'; font-family: 'Font Awesome 5 Pro'; font-weight: 300; color: var(--pjl-orange); }
.section-alt .problem-card, .section-alt .feature-card { box-shadow: none; }

/* Cloven feature tiles on the globe band */
.features-area.pjl-features { padding: 110px 0 120px; }
.features-area .features-item { padding: 46px 26px 40px; border-radius: 4px; height: calc(100% - 30px); }
.features-area .features-item .title { font-size: 19px; line-height: 1.4; padding: 22px 0 12px; }
.features-area .features-item p { font-size: 14px; line-height: 1.7; padding-bottom: 14px; }
.features-area .features-item:hover p { color: #fff; }

/* ---------- Comparison table ---------- */
.compare-table-wrap { border: 0; border-radius: var(--pjl-radius); box-shadow: var(--pjl-shadow-lg); }
.compare-table { font-size: 15px; }
.compare-table th, .compare-table td { padding: 18px 22px; border-bottom-color: var(--pjl-line); color: #444c5c; }
.compare-table thead th { background: var(--pjl-grey); color: var(--pjl-ink); font-size: 13px; }
.compare-table .compare-col-pjl { background: rgba(1, 84, 247, 0.06); color: var(--pjl-navy-2); }
.compare-table thead .compare-col-pjl { background: var(--pjl-blue); color: #fff; }
.compare-table tbody td:first-child { font-weight: 600; color: var(--pjl-ink); }

/* ---------- Savings calculator ---------- */
.calc-card { border: 0; border-radius: var(--pjl-radius); box-shadow: var(--pjl-shadow-lg); }
.calc-inputs { padding: 50px 46px; }
.calc-field label { font-weight: 600; color: var(--pjl-ink); font-size: 15px; margin-bottom: 8px; }
.calc-field input, .calc-field select {
    background: var(--pjl-grey); border: 1px solid transparent; border-radius: 4px; height: 60px; padding: 0 22px; font-size: 16px;
}
.calc-field input:focus, .calc-field select:focus { border-color: var(--pjl-blue); background: #fff; }
.calc-result { background: var(--pjl-blue) url(../cloven/images/working-line.png) center/cover; padding: 50px 46px; }
.calc-row-label { color: rgba(255,255,255,.88); }
.calc-row--savings .calc-row-value { color: #fff; font-size: 44px; }
.calc-row--savings { border-top-color: rgba(255,255,255,.3); }
.calc-disclaimer { color: rgba(255,255,255,.85); }
@media (max-width: 767px) { .calc-inputs, .calc-result { padding: 34px 24px; } }

/* ---------- Forms (generic) ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="search"],
select, textarea { font-family: var(--pjl-font); }

/* ---------- Fact counters ---------- */
.pjl-facts .fact-item .title { color: var(--pjl-blue); font-size: 46px; font-weight: 700; }
.pjl-facts .fact-item span { font-size: 15px; font-weight: 500; color: var(--pjl-text); padding-top: 6px; display: block; }

/* ---------- Owner / team band ---------- */
.pjl-owner { background: var(--pjl-navy); padding: 120px 0; position: relative; overflow: hidden; }
.pjl-owner::before { content: ''; position: absolute; inset: 0; background: url(../cloven/images/services-map-2.png) center/contain no-repeat; opacity: .08; pointer-events: none; }
.pjl-owner .team-title .title { color: #fff; font-weight: 300; font-size: 34px; line-height: 1.3; }
.pjl-owner .team-title .title span { font-weight: 600; font-size: 44px; color: #fff; }
.pjl-owner .team-title .title span span { color: var(--pjl-orange); font-weight: 500; }
.pjl-owner-card { position: relative; background: #fff; border-radius: var(--pjl-radius); padding: 50px 46px 46px; box-shadow: 30px 30px 0 rgba(1, 84, 247, .35); }
.pjl-owner-card h3 { font-size: 24px; margin-bottom: 14px; }
.pjl-owner-card p { margin-bottom: 14px; }
.pjl-owner-avatar {
    width: 84px; height: 84px; border-radius: 50%; background: var(--pjl-orange); color: #fff;
    font-size: 28px; font-weight: 700; display: flex; align-items: center; justify-content: center;
    margin-top: -92px; margin-bottom: 22px; border: 6px solid #fff;
}
.pjl-owner-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; font-size: 15px; }
@media (max-width: 991px) { .pjl-owner .team-title { margin-bottom: 70px; } }
@media (max-width: 767px) { .pjl-owner { padding: 80px 0; } .pjl-owner-card { padding: 46px 26px 30px; box-shadow: 14px 14px 0 rgba(1, 84, 247, .35); } }

/* ---------- Working process (blue contour band) ---------- */
.working-process.pjl-process { padding: 110px 0 120px; }
.working-process .working-item p { color: #fff; opacity: .92; font-size: 14px; }

/* ---------- Testimonials (Cloven cards, static grid) ---------- */
.testimonial-area.pjl-testimonials { padding: 110px 0 120px; }
.pjl-testimonials .testimonial-item { padding: 50px 30px 64px; height: calc(100% - 70px); position: relative; border-radius: 4px; }
.pjl-testimonials .testimonial-item .pjl-avatar {
    width: 80px; height: 80px; border-radius: 4px; background: var(--pjl-navy-2); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 24px;
    margin: -90px auto 0;
}
.pjl-testimonials .testimonial-item p { font-size: 15px; padding: 22px 0 18px; }
.pjl-testimonials .testimonial-item .title { font-size: 17px; }
.pjl-testimonials .testimonial-item .pjl-role { display: block; font-size: 13px; color: var(--pjl-muted); padding-top: 4px; }
.pjl-testimonials .testimonial-item > i { bottom: -24px; }

/* ---------- Blog cards ---------- */
.blog-card { padding: 36px 32px; border-top: 4px solid var(--pjl-blue); }
.blog-card:nth-child(2) { border-top-color: var(--pjl-orange); }
.blog-card:nth-child(3) { border-top-color: var(--pjl-coral); }
.blog-card-tag { color: var(--pjl-orange); background: none; padding: 0; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.blog-card h3 { font-size: 19px; line-height: 1.45; color: var(--pjl-heading); }

/* ---------- Request-quote CTA band (Cloven) ---------- */
.requst-quote-area.pjl-cta {
    background-color: var(--pjl-blue);
    background-image: url(../cloven/images/newsletter-dot.png), linear-gradient(120deg, var(--pjl-blue) 0%, #2f6bff 100%);
    background-size: cover; background-position: center; padding: 110px 0 120px;
}
.requst-quote-area.pjl-cta .requst-content span { font-size: 26px; font-weight: 300; color: #fff; }
.requst-quote-area.pjl-cta .requst-content .title { font-size: 46px; color: #fff; padding: 6px 0 18px; text-wrap: balance; }
.requst-quote-area.pjl-cta .requst-content p { color: rgba(255,255,255,.92); font-size: 17px; max-width: 640px; margin: 0 auto 36px; }
.requst-quote-area.pjl-cta .pjl-btn-row { justify-content: center; }
@media (max-width: 767px) { .requst-quote-area.pjl-cta .requst-content .title { font-size: 30px; } }

/* Legacy CTA blocks pick up the same look */
.final-cta, .cta-section, .cta-band, .about-cta, .article-cta, .blog-cta {
    background-color: var(--pjl-blue);
    background-image: url(../cloven/images/newsletter-dot.png), linear-gradient(120deg, var(--pjl-blue) 0%, #2f6bff 100%);
    background-size: cover; background-position: center; color: #fff;
}
.final-cta h2, .cta-section h2, .cta-band h2, .about-cta h2, .article-cta h2, .blog-cta h2,
.final-cta h3, .cta-section h3, .cta-band h3, .about-cta h3, .article-cta h3, .blog-cta h3 { color: #fff; }
.final-cta p, .cta-section p, .cta-band p, .about-cta p, .article-cta p, .blog-cta p { color: rgba(255,255,255,.92); }

/* ---------- Sticky CTA ---------- */
.sticky-cta { background: var(--pjl-navy); padding: 14px 24px; border-top: 3px solid var(--pjl-orange); }
.sticky-cta .btn { line-height: 44px; padding: 0 28px; }

/* ---------- Fade-in (visible at rest; JS hides only below-the-fold items) ---------- */
.fade-in { opacity: 1; transform: none; transition: opacity .6s ease-out, transform .6s ease-out; }
.fade-in.fade-pending { opacity: 0; transform: translateY(30px); }
.fade-in.visible { opacity: 1; transform: none; }

/* ---------- FAQ (Cloven accordion look for <details>) ---------- */
.pjl-faq details { background: #fff; border-radius: 4px; box-shadow: var(--pjl-shadow); margin-bottom: 16px; }
.pjl-faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 28px; font-weight: 600; font-size: 17px; color: var(--pjl-ink); position: relative; }
.pjl-faq summary::-webkit-details-marker { display: none; }
.pjl-faq summary::after { content: '\f067'; font-family: 'Font Awesome 5 Pro'; font-weight: 300; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); color: var(--pjl-orange); }
.pjl-faq details[open] summary { color: var(--pjl-blue); }
.pjl-faq details[open] summary::after { content: '\f068'; }
.pjl-faq details > div, .pjl-faq details > p { padding: 0 28px 24px; }

/* ---------- Footer ---------- */
.footer-area.footer { background: var(--pjl-navy); padding-top: 90px; color: #aeb7ca; position: relative; overflow: hidden; }
.footer-area.footer::before { content: ''; position: absolute; inset: 0; background: url(../cloven/images/working-line-2.png) center/cover no-repeat; opacity: .05; pointer-events: none; }
.footer-area .container { position: relative; }
.footer-area .footer-logo { padding-bottom: 50px; }
.footer-area .footer-logo img { height: 40px; width: auto; display: inline-block; }
.footer-area .footer-heading { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 22px; }
.footer-area .footer-widget { margin-top: 30px; }
.footer-area .footer-widget p { color: #aeb7ca; font-size: 14px; line-height: 1.8; }
.footer-area .footer-links li { line-height: 1.5; margin-bottom: 10px; }
.footer-area .footer-links li a { color: #aeb7ca; font-size: 14px; transition: color .2s, padding .2s; }
.footer-area .footer-links li a:hover { color: #fff; padding-left: 4px; }
.pjl-footer-badges { display: flex; gap: 18px; align-items: center; margin-top: 24px; }
.pjl-footer-badges img { height: 90px; width: auto; }
.pjl-footer-contact li { display: flex; gap: 14px; margin-bottom: 16px; font-size: 14px; color: #aeb7ca; line-height: 1.5; }
.pjl-footer-contact li i { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; color: var(--pjl-orange); font-size: 14px; }
.pjl-footer-contact li a { color: #fff; font-weight: 500; }
.pjl-footer-contact li a:hover { color: var(--pjl-orange); }
.pjl-footer-contact li small { display: block; color: #8d98ae; font-size: 12px; }
.pjl-footer-contact li > span { display: block; padding-top: 7px; }
.footer-area .footer-copyright {
    border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding: 26px 0 30px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; align-items: center;
}
.footer-area .footer-copyright p { color: #8d98ae; font-size: 14px; margin: 0; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom-links a { color: #8d98ae; font-size: 14px; }
.footer-bottom-links a:hover { color: #fff; }

/* ---------- Service cards (icon + text, Cloven services style) ---------- */
.pjl-service-card {
    position: relative; background: #fff; border-radius: var(--pjl-radius); box-shadow: var(--pjl-shadow);
    padding: 46px 36px 40px; height: 100%; transition: all .3s ease-out; overflow: hidden;
}
.pjl-service-card > i {
    width: 70px; height: 70px; border-radius: 50%; background: var(--pjl-blue-tint); color: var(--pjl-blue);
    font-size: 30px; display: inline-flex; align-items: center; justify-content: center; transition: all .3s;
}
.pjl-service-card h3 { font-size: 21px; padding: 26px 0 12px; }
.pjl-service-card p { margin-bottom: 12px; }
.pjl-service-card::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--pjl-orange); transition: width .4s; }
.pjl-service-card:hover { box-shadow: var(--pjl-shadow-lg); transform: translateY(-4px); }
.pjl-service-card:hover::after { width: 100%; }
.pjl-service-card:hover > i { background: var(--pjl-blue); color: #fff; }
.row > [class*="col-"] > .pjl-service-card { height: 100%; }

/* ---------- Industry tiles on the blue band ---------- */
.pjl-industry {
    display: block; height: 100%; padding: 34px 30px; border-radius: var(--pjl-radius);
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); color: #fff; transition: all .3s;
}
.pjl-industry > i { font-size: 34px; color: #fff; }
.pjl-industry h3 { color: #fff; font-size: 20px; padding: 18px 0 8px; }
.pjl-industry h3::after { content: '\f178'; font-family: 'Font Awesome 5 Pro'; font-weight: 300; padding-left: 10px; font-size: 16px; transition: padding .2s; }
.pjl-industry p { color: rgba(255,255,255,.9); font-size: 14px; }
.pjl-industry:hover { background: #fff; border-color: #fff; color: var(--pjl-ink); transform: translateY(-4px); }
.pjl-industry:hover > i { color: var(--pjl-orange); }
.pjl-industry:hover h3 { color: var(--pjl-ink); }
.pjl-industry:hover h3::after { padding-left: 16px; color: var(--pjl-orange); }
.pjl-industry:hover p { color: var(--pjl-text); }

/* ---------- Blog post cards ---------- */
.pjl-post {
    display: block; height: 100%; background: #fff; border-radius: var(--pjl-radius); box-shadow: var(--pjl-shadow);
    padding: 38px 34px 34px; border-top: 4px solid var(--pjl-blue); transition: all .3s;
}
.col-lg-4:nth-child(2) > .pjl-post { border-top-color: var(--pjl-orange); }
.col-lg-4:nth-child(3) > .pjl-post { border-top-color: var(--pjl-coral); }
.pjl-post-tag { font-size: 13px; font-weight: 600; color: var(--pjl-orange); text-transform: uppercase; letter-spacing: .08em; }
.pjl-post-tag i { padding-right: 6px; }
.pjl-post h3 { font-size: 19px; line-height: 1.45; padding: 16px 0 10px; color: var(--pjl-heading); }
.pjl-post p { margin-bottom: 16px; }
.pjl-post:hover { box-shadow: var(--pjl-shadow-lg); transform: translateY(-4px); }
.pjl-post:hover h3 { color: var(--pjl-blue); }

.compare-links { margin-top: 18px; text-align: center; font-size: 15px; color: var(--pjl-text); }
.compare-links a { font-weight: 600; }
.mb-30 { margin-bottom: 30px; }

/* Section titles on the blue contour band: all white, template "Working Process" style */
.pjl-contour-bg .section-title .title, .pjl-contour-bg .section-title p { color: rgba(255,255,255,.92); }
.pjl-contour-bg .section-title .title span, .pjl-contour-bg .section-title .title span span { color: #fff; }
.pjl-contour-bg .section-title .title span span { font-weight: 400; }
@media (max-width: 767px) {
    .pjl-facts .fact-item .title { font-size: 32px; }
    .pjl-owner .team-title .title { font-size: 24px; }
    .pjl-owner .team-title .title span { font-size: 32px; }
}
.pjl-industry { background: rgba(0, 52, 170, .42); }
.pjl-owner .team-title .title span { font-size: 40px; }
.main-btn { padding: 0 42px; }

/* ---------- Steps (Cloven "working process" look, numbered) ---------- */
.pjl-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 30px; counter-reset: pjlstep; }
.pjl-step { text-align: center; position: relative; }
.pjl-step .pjl-step-num {
    width: 110px; height: 110px; margin: 0 auto; border-radius: 50%; border: 2px dashed rgba(255,255,255,.75);
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 38px; font-weight: 300;
}
.pjl-step .pjl-step-num i { font-size: 40px; }
.pjl-step h4, .pjl-step h3 { color: #fff; font-size: 20px; padding: 22px 0 10px; }
.pjl-step p { color: rgba(255,255,255,.9); font-size: 14px; }
.pjl-step:not(:last-child)::after {
    content: ''; position: absolute; top: 55px; left: calc(50% + 70px); right: calc(-50% + 70px);
    border-top: 2px dashed rgba(255,255,255,.55);
}
@media (max-width: 991px) { .pjl-step::after { display: none; } }
/* Light variant (on white/grey) */
.pjl-steps.pjl-steps-light .pjl-step .pjl-step-num { border-color: var(--pjl-blue); color: var(--pjl-blue); background: #fff; }
.pjl-steps.pjl-steps-light .pjl-step h4, .pjl-steps.pjl-steps-light .pjl-step h3 { color: var(--pjl-heading); }
.pjl-steps.pjl-steps-light .pjl-step p { color: var(--pjl-text); }
.pjl-steps.pjl-steps-light .pjl-step:not(:last-child)::after { border-top-color: rgba(1,84,247,.35); }

/* ---------- Check list ---------- */
.pjl-check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15px; line-height: 1.6; color: #444c5c; }
.pjl-check-list li::before { content: '\f00c'; font-family: 'Font Awesome 5 Pro'; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--pjl-orange); }
.pjl-dark .pjl-check-list li, .pjl-contour-bg .pjl-check-list li { color: #e3e9f5; }
.pjl-dark .pjl-panel:not(.pjl-panel-blue) .pjl-check-list li, .pjl-contour-bg .pjl-panel:not(.pjl-panel-blue) .pjl-check-list li { color: #444c5c; }
.pjl-cross-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15px; line-height: 1.6; color: #444c5c; }
.pjl-cross-list li::before { content: '\f00d'; font-family: 'Font Awesome 5 Pro'; font-weight: 900; position: absolute; left: 2px; top: 1px; color: var(--pjl-red); }

/* ---------- Panels, split content, tags ---------- */
.pjl-panel { background: #fff; border-radius: var(--pjl-radius); box-shadow: var(--pjl-shadow); padding: 44px 40px; }
.pjl-panel.pjl-panel-blue { background: var(--pjl-blue) url(../cloven/images/working-line.png) center/cover; color: #fff; box-shadow: none; }
.pjl-panel.pjl-panel-blue h3, .pjl-panel.pjl-panel-blue h4 { color: #fff; }
.pjl-panel.pjl-panel-blue p, .pjl-panel.pjl-panel-blue li { color: rgba(255,255,255,.92); }
.pjl-panel.pjl-panel-orange { background: var(--pjl-orange); color: #fff; box-shadow: none; }
.pjl-panel.pjl-panel-orange h3, .pjl-panel.pjl-panel-orange h4, .pjl-panel.pjl-panel-orange p { color: #fff; }
@media (max-width: 767px) { .pjl-panel { padding: 32px 22px; } }
.pjl-split-title { font-size: 36px; font-weight: 300; color: var(--pjl-muted); line-height: 1.3; }
.pjl-split-title span { display: block; font-weight: 600; color: var(--pjl-heading); }
.pjl-split-title span span { display: inline; color: var(--pjl-orange); font-weight: 400; }
.pjl-split-sub { display: block; font-size: 17px; font-weight: 500; color: var(--pjl-text); padding: 12px 0 22px; border-bottom: 1px solid var(--pjl-line); margin-bottom: 22px; }
@media (max-width: 767px) { .pjl-split-title { font-size: 26px; } }
.pjl-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--pjl-orange); padding: 5px 12px; border-radius: 3px; }
.pjl-tag.pjl-tag-blue { background: var(--pjl-blue); }
.pjl-media { border-radius: var(--pjl-radius); overflow: hidden; box-shadow: var(--pjl-shadow-lg); }
.pjl-media img { display: block; width: 100%; height: auto; }

/* ---------- Pricing plans (Cloven pricing cards) ---------- */
.pjl-plan { background: #fff; border-radius: var(--pjl-radius); box-shadow: var(--pjl-shadow); padding: 46px 34px 40px; text-align: center; height: 100%; position: relative; border-top: 4px solid transparent; }
.pjl-plan.is-featured { border-top-color: var(--pjl-orange); box-shadow: var(--pjl-shadow-lg); }
.pjl-plan h3 { font-size: 24px; }
.pjl-plan .pjl-plan-sub { font-size: 14px; color: var(--pjl-text); padding-top: 8px; }
.pjl-plan .pjl-plan-price { font-size: 46px; font-weight: 700; color: var(--pjl-blue); padding: 22px 0 6px; line-height: 1; font-variant-numeric: tabular-nums; }
.pjl-plan .pjl-plan-price small { font-size: 16px; font-weight: 500; color: var(--pjl-text); }
.pjl-plan ul { text-align: left; margin: 24px 0 30px; }
.pjl-plan .pjl-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); }

/* ---------- Forms (Cloven quote-area inputs) ---------- */
.pjl-form label:not(:has(input)) { display: block; font-size: 15px; font-weight: 600; color: var(--pjl-ink); margin-bottom: 8px; }
.pjl-form input[type="text"], .pjl-form input[type="email"], .pjl-form input[type="tel"], .pjl-form input[type="number"],
.pjl-form input[type="url"], .pjl-form select, .pjl-form textarea {
    width: 100%; background: var(--pjl-grey); border: 1px solid transparent; border-radius: 4px;
    height: 60px; padding: 0 22px; font-size: 15px; color: var(--pjl-ink); transition: border-color .2s, background .2s;
}
.pjl-form textarea { height: auto; min-height: 150px; padding: 18px 22px; resize: vertical; }
.pjl-form input:focus, .pjl-form select:focus, .pjl-form textarea:focus { outline: none; border-color: var(--pjl-blue); background: #fff; }
.pjl-form ::placeholder { color: #9aa3b2; }
.pjl-form .pjl-field { margin-bottom: 22px; }
.requst-quote-area.pjl-cta::after, .requst-quote-area.pjl-cta::before { display: none; }

/* ---------- Fixes from page ports ---------- */
.requst-quote-area.pjl-cta .requst-content a { width: auto; }
.pjl-dark .pjl-panel:not(.pjl-panel-blue) p, .pjl-dark .pjl-panel:not(.pjl-panel-blue) li { color: var(--pjl-text); }
.pjl-dark .pjl-panel:not(.pjl-panel-blue) h3, .pjl-dark .pjl-panel:not(.pjl-panel-blue) h4 { color: var(--pjl-heading); }
.pjl-dark .pjl-split-title { color: #b9c3d6; }
.pjl-dark .pjl-split-title span { color: #fff; }
.pjl-dark .pjl-split-title span span { color: var(--pjl-orange); }
.section-title:not(:has(p)) { margin-bottom: 46px; }
@media (max-width: 575px) {
    .compare-table { min-width: 0; }
    .compare-table th, .compare-table td { padding: 12px 10px; font-size: 13px; }
}
.section-title p { font-weight: 400; }
.pjl-form input[type="date"], .pjl-form input[type="time"] {
    width: 100%; background: var(--pjl-grey); border: 1px solid transparent; border-radius: 4px; height: 60px; padding: 0 22px; font-size: 15px; color: var(--pjl-ink);
}
.pjl-form input[type="file"] { width: 100%; font-size: 14px; padding: 14px; background: var(--pjl-grey); border: 1px dashed #c3cddd; border-radius: 4px; }
.pjl-form input:focus-visible, .pjl-form select:focus-visible, .pjl-form textarea:focus-visible { outline: 3px solid var(--pjl-orange); outline-offset: 2px; }
@media (max-width: 767px) { .section-title .title { line-height: 1.3; } .section-title .title span { line-height: 1.25; } }
@media (max-width: 1399px) { .banner-area.page-title .banner-shape-2 { display: none; } }
.pjl-dark .pjl-split-sub { color: #c9d2e3; border-bottom-color: rgba(255,255,255,.15); }
.requst-quote-area.pjl-cta .requst-content a.main-btn { min-width: 215px; }
.pjl-trust { background: var(--pjl-navy); padding: 22px 0; }
.pjl-trust p { margin: 0; text-align: center; color: #fff; font-size: 16px; font-weight: 500; }
.pjl-trust p i { color: var(--pjl-orange); padding-right: 8px; }
