:root {
    --firm-green: #16a34a;
    --firm-green-light: #dcfce7;
    --firm-green-dark: #14532d;
    --firm-navy: #0f172a;
    --firm-slate: #1e293b;
    --firm-border: #e2e8f0;
}

.sherpa-hero {
    background: linear-gradient(180deg, #090d16 0%, #0f172a 100%);
    color: #ffffff;
    padding: clamp(6rem, 8vw, 9.5rem) 0 clamp(4.5rem, 6vw, 7rem);
    position: relative;
    overflow: hidden;
}

.sherpa-hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -10%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.sherpa-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.sherpa-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.6rem 1.6rem;
    border-radius: 9999px;
    color: #34d399;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}

.sherpa-hero__title {
    font-family: var(--font-geist), -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(3.2rem, 4.8vw, 5.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 2.2rem;
    color: #ffffff;
    max-width: 82rem;
}

.sherpa-hero__subtitle {
    font-size: clamp(1.7rem, 2vw, 2.05rem);
    line-height: 1.6;
    color: #cbd5e1;
    max-width: 78rem;
    margin-bottom: 3.2rem;
    font-weight: 400;
}

.sherpa-checklist {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 3.6rem;
    max-width: 72rem;
}

.sherpa-check-row {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    font-size: 1.55rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.sherpa-check-row i {
    color: #34d399;
    flex-shrink: 0;
    margin-top: 0.2rem;
    width: 1.8rem;
    height: 1.8rem;
}

.sherpa-corridor-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 3rem clamp(2rem, 3.5vw, 3.6rem);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    margin-top: -3.5rem;
    position: relative;
    z-index: 10;
}

.sherpa-corridor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.4rem;
    margin-top: 2.4rem;
}

.sherpa-corridor-item {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sherpa-corridor-item__title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.65rem;
    font-weight: 700;
    color: #0f172a;
}

.sherpa-corridor-item__desc {
    font-size: 1.45rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

.sherpa-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 2.4rem;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sherpa-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.sherpa-step-num {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: #059669;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.45rem;
    margin-bottom: 1.6rem;
}

.sherpa-faq-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 2.4rem;
    margin-bottom: 1.4rem;
}

.sherpa-faq-question {
    font-size: 1.7rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sherpa-faq-answer {
    font-size: 1.52rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* Hero */
.attorney-hero {
    background: linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
    color: #ffffff;
    padding: clamp(6rem, 9vw, 10rem) 0 clamp(5rem, 7vw, 8rem);
    position: relative;
    overflow: hidden;
}

@media (max-width: 1100px) {

    .attorney-hero,
    .sherpa-hero {
        padding: clamp(12rem, 9vw, 10rem) 0 clamp(5rem, 7vw, 8rem);
    }
}


.attorney-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(89, 214, 156, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.attorney-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(89, 214, 156, 0.1);
    border: 1px solid rgba(89, 214, 156, 0.3);
    padding: 0.6rem 1.6rem;
    border-radius: 9999px;
    color: #59d69c;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2.2rem;
}

.attorney-hero__title {
    font-family: var(--font-heading), sans-serif;
    font-size: clamp(3.2rem, 5.2vw, 5.8rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    max-width: 900px;
}

.attorney-hero__subtitle {
    font-size: clamp(1.7rem, 2.1vw, 2.1rem);
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 780px;
    margin-bottom: 3.2rem;
}

.attorney-hero__actions {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.attorney-hero__trust-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
    padding-top: 3.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
    .attorney-hero__trust-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .attorney-hero__trust-bar {
        grid-template-columns: 1fr;
    }
}

.attorney-hero__trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.attorney-hero__trust-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 0.8rem;
    background: rgba(89, 214, 156, 0.12);
    color: #59d69c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.attorney-hero__trust-title {
    font-size: 1.45rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.2rem;
}

.attorney-hero__trust-desc {
    font-size: 1.25rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* Provenance Section */
.attorney-provenance {
    background: #ffffff;
    padding: clamp(5rem, 7vw, 8rem) 0;
    border-bottom: 1px solid #f1f5f9;
}

.attorney-provenance__card {
    background: #f8fafc;
    border: 1px solid var(--firm-border);
    border-radius: 1.6rem;
    padding: clamp(2.4rem, 4vw, 4rem);
}

.attorney-provenance__header {
    max-width: 800px;
    margin-bottom: 3.2rem;
}

.attorney-provenance__title {
    font-size: clamp(2.4rem, 3.4vw, 3.4rem);
    font-weight: 700;
    color: var(--firm-navy);
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

.attorney-provenance__body {
    font-size: 1.65rem;
    color: #475569;
    line-height: 1.65;
}

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

@media (max-width: 960px) {
    .attorney-provenance__pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .attorney-provenance__pillars {
        grid-template-columns: 1fr;
    }
}

.attorney-pillar {
    background: #ffffff;
    border: 1px solid var(--firm-border);
    border-radius: 1.2rem;
    padding: 2.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.attorney-pillar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.attorney-pillar__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: #f0fdf4;
    color: var(--firm-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
}

.attorney-pillar__title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--firm-navy);
    margin-bottom: 0.6rem;
}

.attorney-pillar__desc {
    font-size: 1.35rem;
    color: #64748b;
    line-height: 1.5;
}

/* Practice Workflows */
.firm-grid-section {
    background: #ffffff;
    padding: clamp(5rem, 8vw, 9rem) 0;
}

.firm-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
    margin-top: 3.6rem;
}

@media (max-width: 820px) {
    .firm-cards-grid {
        grid-template-columns: 1fr;
    }
}

.firm-card {
    background: #ffffff;
    border: 1px solid var(--firm-border);
    border-radius: 1.6rem;
    padding: clamp(2.4rem, 3.5vw, 3.6rem);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.firm-card__badge {
    display: inline-block;
    background: #f0fdf4;
    color: var(--firm-green-dark);
    border: 1px solid #bbf7d0;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.4rem;
    align-self: flex-start;
}

.firm-card__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--firm-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.firm-card__desc {
    font-size: 1.55rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.firm-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.4rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.firm-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.45rem;
    color: #334155;
    line-height: 1.45;
}

.firm-card__list li i {
    color: var(--firm-green);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Turnaround Matrix */
.turnaround-section {
    background: #f8fafc;
    padding: clamp(5rem, 8vw, 9rem) 0;
    border-top: 1px solid var(--firm-border);
    border-bottom: 1px solid var(--firm-border);
}

.turnaround-table-wrap {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid var(--firm-border);
    border-radius: 1.4rem;
    margin-top: 3.2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.turnaround-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 640px;
}

.turnaround-table th {
    background: #0f172a;
    color: #ffffff;
    padding: 1.6rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.turnaround-table td {
    padding: 1.6rem 2rem;
    font-size: 1.45rem;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

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

.turnaround-table tr:hover td {
    background: #f8fafc;
}

.badge-rush {
    display: inline-block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 0.2rem 0.8rem;
    border-radius: 0.4rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.badge-std {
    display: inline-block;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 0.2rem 0.8rem;
    border-radius: 0.4rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Operational Pillars */
.attorney-ops {
    background: #0f172a;
    color: #ffffff;
    padding: clamp(6rem, 9vw, 10rem) 0;
}

.attorney-ops__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
    margin-top: 4rem;
}

@media (max-width: 960px) {
    .attorney-ops__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .attorney-ops__grid {
        grid-template-columns: 1fr;
    }
}

.attorney-ops__card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.4rem;
    padding: 2.8rem;
}

.attorney-ops__badge {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #59d69c;
    margin-bottom: 1rem;
    display: block;
}

.attorney-ops__card-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.attorney-ops__card-desc {
    font-size: 1.45rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Calendly Booking Section */
.calendly-section {
    background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
    color: #ffffff;
    padding: clamp(6rem, 8vw, 9rem) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.calendly-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(89, 214, 156, 0.3);
    border-radius: 2rem;
    padding: clamp(3rem, 5vw, 5rem);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.6rem;
    align-items: center;
}

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

.calendly-title {
    font-size: clamp(2.6rem, 3.8vw, 3.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.6rem;
}

.calendly-desc {
    font-size: 1.65rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 2.4rem;
}

.calendly-reasons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.calendly-reasons li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: #e2e8f0;
}

.calendly-reasons li i {
    color: #59d69c;
    flex-shrink: 0;
}

.calendly-action-box {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.6rem;
    padding: 3.2rem;
    text-align: center;
}

.calendly-avatar {
    width: 7.2rem;
    height: 7.2rem;
    border-radius: 50%;
    border: 2px solid #59d69c;
    margin: 0 auto 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    color: #59d69c;
    font-size: 2.8rem;
    font-weight: 700;
}

/* Matter Intake Section */
.matter-intake {
    background: #ffffff;
    padding: clamp(6rem, 9vw, 10rem) 0;
}

.matter-intake__card {
    background: #ffffff;
    border: 1px solid var(--firm-border);
    border-radius: 1.8rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
    padding: clamp(2.4rem, 4vw, 4.4rem);
    max-width: 860px;
    margin: 3.6rem auto 0;
}

.matter-intake__step {
    margin-bottom: 3.2rem;
}

.matter-intake__step-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--firm-navy);
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.matter-intake__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.matter-intake__pill {
    background: #f8fafc;
    border: 1px solid var(--firm-border);
    color: #475569;
    padding: 0.9rem 1.6rem;
    border-radius: 0.8rem;
    font-size: 1.45rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.matter-intake__pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--firm-navy);
}

.matter-intake__pill--active {
    background: #f0fdf4 !important;
    border-color: #16a34a !important;
    color: #166534 !important;
    box-shadow: 0 0 0 1px #16a34a;
}

.matter-intake__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

@media (max-width: 680px) {
    .matter-intake__row {
        grid-template-columns: 1fr;
    }
}

.matter-intake__input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.matter-intake__label {
    font-size: 1.35rem;
    font-weight: 600;
    color: #334155;
}

.matter-intake__input,
.matter-intake__select {
    background: #ffffff;
    border: 1px solid var(--firm-border);
    border-radius: 0.8rem;
    padding: 1.1rem 1.4rem;
    font-size: 1.5rem;
    color: var(--firm-navy);
    transition: border-color 0.15s ease;
}

.matter-intake__input:focus,
.matter-intake__select:focus {
    outline: none;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.matter-intake__submit {
    width: 100%;
    padding: 1.4rem 2rem;
    font-size: 1.65rem;
    font-weight: 600;
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    margin-top: 1rem;
}

.matter-intake__success {
    display: none;
    text-align: center;
    padding: 3rem 1.5rem;
}

/* FAQ */
.attorney-faq {
    background: #f8fafc;
    padding: clamp(5rem, 8vw, 9rem) 0;
    border-top: 1px solid var(--firm-border);
}

/* Trust & Provenance Bar */
.trust-heritage {
    background: radial-gradient(circle at 50% 0%, #0d1e3d 0%, #060c1d 100%);
    border-top: 1px solid rgba(89, 214, 156, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(5.6rem, 7vw, 7.8rem) 0;
    position: relative;
    z-index: 2;
}

.trust-heritage__inner {
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
    align-items: center;
    text-align: center;
    max-width: 1060px;
    margin: 0 auto;
}

.trust-heritage__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(89, 214, 156, 0.1);
    border: 1px solid rgba(89, 214, 156, 0.32);
    color: #59d69c;
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.55rem 1.6rem;
    border-radius: 9999px;
}

.trust-heritage__title {
    font-family: var(--font-heading), sans-serif;
    font-size: clamp(2.8rem, 4.2vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.025em;
    max-width: 860px;
}

.trust-heritage__desc {
    font-size: 1.65rem;
    color: #cbd5e1;
    line-height: 1.65;
    max-width: 820px;
}

.trust-heritage__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 1.4rem;
}

@media (max-width: 960px) {
    .trust-heritage__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .trust-heritage__grid {
        grid-template-columns: 1fr;
    }
}

.trust-heritage__item {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 2.4rem 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.trust-heritage__item:hover {
    border-color: rgba(89, 214, 156, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.trust-heritage__item-icon {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 12px;
    background: rgba(89, 214, 156, 0.12);
    border: 1px solid rgba(89, 214, 156, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #59d69c;
}

.trust-heritage__item-title {
    color: #ffffff;
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 1.3;
}

.trust-heritage__item-desc {
    color: #94a3b8;
    font-size: 1.35rem;
    line-height: 1.5;
}

/* Firm Workflow Grid Section */
.firm-workflow {
    background: linear-gradient(180deg, #020617 0%, #0a132c 100%);
    padding: clamp(7rem, 9vw, 10rem) 0;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.firm-workflow__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
    margin-top: 4.8rem;
}

@media (max-width: 980px) {
    .firm-workflow__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .firm-workflow__grid {
        grid-template-columns: 1fr;
    }
}

.firm-workflow__card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 3.2rem 2.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    transition: all 0.3s ease;
}

.firm-workflow__card:hover {
    border-color: rgba(89, 214, 156, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.firm-workflow__q {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #59d69c;
}

.firm-workflow__title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.28;
}

.firm-workflow__body {
    font-size: 1.45rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Matter Intake Section */
.matter-intake {
    background: #ffffff;
    color: #0f172a;
    padding: clamp(7rem, 9vw, 10rem) 0;
}

.matter-intake__card {
    max-width: 880px;
    margin: 4.4rem auto 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: clamp(2.8rem, 5vw, 4.6rem);
    box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.08);
}

.matter-intake__step {
    margin-bottom: 3.2rem;
}

.matter-intake__step-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.matter-intake__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.matter-intake__pill {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 1rem 1.8rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.matter-intake__pill:hover {
    border-color: #59d69c;
    color: #0f172a;
    background: #f0fdf4;
}

.matter-intake__pill--active {
    border-color: #22c55e !important;
    background: #f0fdf4 !important;
    color: #166534 !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

.matter-intake__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 640px) {
    .matter-intake__row {
        grid-template-columns: 1fr;
    }
}

.matter-intake__input-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.matter-intake__label {
    font-size: 1.35rem;
    font-weight: 600;
    color: #475569;
}

.matter-intake__input,
.matter-intake__select {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    padding: 1.2rem 1.6rem;
    font-size: 1.45rem;
    color: #0f172a;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.matter-intake__input:focus,
.matter-intake__select:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.matter-intake__submit {
    width: 100%;
    padding: 1.6rem;
    font-size: 1.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: 14px;
    margin-top: 1rem;
    cursor: pointer;
}

.matter-intake__success {
    display: none;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    padding: 3.6rem 2.4rem;
    text-align: center;
    color: #166534;
}