/* =========================================================
   Pflegeadler Startseite – Marken- und Orientierungsseite
   Wird ausschließlich auf der Frontpage geladen.
   ========================================================= */

:root {
    --pa-home-primary: #2F628C;
    --pa-home-primary-dark: #0E4A73;
    --pa-home-deep: #003556;
    --pa-home-accent: #39AFE4;
    --pa-home-text: #0B2F47;
    --pa-home-copy: #36566B;
    --pa-home-muted: #617687;
    --pa-home-soft: #F2F7FA;
    --pa-home-soft-blue: #E7F1F7;
    --pa-home-border: rgba(47, 98, 140, .15);
    --pa-home-shadow-sm: 0 12px 32px rgba(0, 53, 86, .08);
    --pa-home-shadow-md: 0 22px 58px rgba(0, 53, 86, .12);
    --pa-home-radius-sm: 16px;
    --pa-home-radius: 24px;
    --pa-home-radius-lg: 34px;
    --pa-home-container: 1180px;
}

.pa-home-page {
    overflow: clip;
    color: var(--pa-home-text);
    background: #fff;
}

.pa-home-page *,
.pa-home-page *::before,
.pa-home-page *::after {
    box-sizing: border-box;
}

.pa-home-page img {
    max-width: 100%;
}

.pa-home-container {
    width: min(calc(100% - 40px), var(--pa-home-container));
    margin-inline: auto;
}

.pa-home-section {
    padding: clamp(72px, 8vw, 108px) 0;
}

.pa-home-section-soft {
    background: var(--pa-home-soft);
}

.pa-home-section-head {
    max-width: 700px;
    margin-bottom: clamp(34px, 4vw, 52px);
}

.pa-home-section-head-center {
    margin-inline: auto;
    text-align: center;
}

.pa-home-section-head h2,
.pa-home-appeal h2,
.pa-home-founder h2,
.pa-home-final h2,
.pa-home-principle h2 {
    margin: 0;
    color: var(--pa-home-text);
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 850;
}

.pa-home-section-head > p:last-child,
.pa-home-founder-copy > p,
.pa-home-final-card > div > p:last-child {
    margin: 1rem 0 0;
    color: var(--pa-home-copy);
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.72;
}

.pa-home-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0 0 14px;
    padding: 6px 12px;
    border: 1px solid rgba(47, 98, 140, .16);
    border-radius: 999px;
    background: rgba(47, 98, 140, .08);
    color: var(--pa-home-primary-dark);
    font-size: .76rem;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.pa-home-eyebrow-light {
    border-color: rgba(255, 255, 255, .20);
    background: rgba(255, 255, 255, .10);
    color: #fff;
}

.pa-home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.pa-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}

.pa-home-button svg,
.pa-home-text-link svg,
.pa-home-situation-card > a svg,
.pa-home-card-cta svg,
.pa-home-tool-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.pa-home-button:hover,
.pa-home-button:focus-visible {
    transform: translateY(-2px);
    text-decoration: none;
}

.pa-home-button-primary {
    background: var(--pa-home-primary);
    color: #fff;
    box-shadow: 0 12px 28px rgba(47, 98, 140, .20);
}

.pa-home-button-primary:hover,
.pa-home-button-primary:focus-visible {
    background: var(--pa-home-primary-dark);
    color: #fff;
    box-shadow: 0 16px 32px rgba(14, 74, 115, .25);
}

.pa-home-button-secondary {
    border-color: rgba(47, 98, 140, .25);
    background: rgba(255, 255, 255, .92);
    color: var(--pa-home-primary-dark);
    box-shadow: 0 8px 22px rgba(0, 53, 86, .07);
}

.pa-home-button-secondary:hover,
.pa-home-button-secondary:focus-visible {
    border-color: rgba(47, 98, 140, .45);
    color: var(--pa-home-deep);
    box-shadow: 0 12px 28px rgba(0, 53, 86, .12);
}

.pa-home-button-white {
    background: #fff;
    color: var(--pa-home-deep);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .15);
}

.pa-home-button-white:hover,
.pa-home-button-white:focus-visible {
    background: #F6FAFC;
    color: var(--pa-home-deep);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .19);
}

.pa-home-button-outline-light {
    border-color: rgba(255, 255, 255, .52);
    background: transparent;
    color: #fff;
}

.pa-home-button-outline-light:hover,
.pa-home-button-outline-light:focus-visible {
    border-color: #fff;
    background: rgba(255, 255, 255, .10);
    color: #fff;
}

.pa-home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--pa-home-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.pa-home-text-link:hover,
.pa-home-text-link:focus-visible,
.pa-home-underlink a:hover,
.pa-home-underlink a:focus-visible {
    text-decoration: underline;
    text-underline-offset: .2em;
}

.pa-home-text-link-light {
    color: #fff;
}

/* Hero */
.pa-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(66px, 7vw, 104px) 0 clamp(82px, 9vw, 128px);
    background:
        radial-gradient(circle at 15% 8%, rgba(57, 175, 228, .13), transparent 30%),
        linear-gradient(135deg, #fff 0%, #F7FAFC 53%, #E6F0F6 100%);
}

.pa-home-hero::before {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0 0 0 auto;
    width: min(41vw, 680px);
    border-bottom-left-radius: 150px;
    background: linear-gradient(155deg, var(--pa-home-primary) 0%, var(--pa-home-primary-dark) 100%);
}

.pa-home-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: -180px;
    right: -130px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(57, 175, 228, .16);
}

.pa-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(340px, .94fr);
    align-items: center;
    gap: clamp(44px, 6vw, 82px);
}

.pa-home-hero-copy {
    max-width: 690px;
}

.pa-home-hero h1 {
    max-width: 680px;
    margin: 0;
    color: var(--pa-home-text);
    font-size: clamp(2.625rem, 4.8vw, 4.25rem);
    font-weight: 880;
    line-height: 1.02;
    letter-spacing: -.05em;
}

.pa-home-hero-lead {
    max-width: 650px;
    margin: 24px 0 0;
    color: var(--pa-home-copy);
    font-size: clamp(1.05rem, 1.45vw, 1.22rem);
    line-height: 1.7;
}

.pa-home-hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    max-width: 680px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.pa-home-hero-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #244A62;
    font-size: .92rem;
    font-weight: 750;
    line-height: 1.42;
}

.pa-home-hero-points li:last-child {
    grid-column: 1 / -1;
}

.pa-home-hero-points span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border-radius: 50%;
    background: rgba(47, 98, 140, .10);
    color: var(--pa-home-primary);
}

.pa-home-hero-points svg {
    width: 16px;
    height: 16px;
}

.pa-home-hero-media {
    min-width: 0;
}

.pa-home-hero-photo {
    position: relative;
    width: min(100%, 520px);
    margin-inline: auto;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 44px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 30px 76px rgba(0, 53, 86, .24);
}

.pa-home-hero-photo::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 28px -22px -22px 28px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 48px;
    background: rgba(255, 255, 255, .08);
}

.pa-home-hero-photo > img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 36px;
    object-fit: cover;
    object-position: center;
}

.pa-home-hero-note {
    position: absolute;
    left: -42px;
    bottom: 28px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: min(320px, calc(100% - 22px));
    padding: 16px 17px;
    border: 1px solid rgba(47, 98, 140, .13);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 48px rgba(0, 53, 86, .20);
}

.pa-home-hero-note > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: rgba(47, 98, 140, .10);
    color: var(--pa-home-primary);
}

.pa-home-hero-note svg {
    width: 20px;
    height: 20px;
}

.pa-home-hero-note p {
    margin: 0;
    color: #173B53;
    font-size: .92rem;
    font-weight: 760;
    line-height: 1.45;
}

/* Trust strip */
.pa-home-trust {
    position: relative;
    z-index: 3;
    margin-top: -38px;
}

.pa-home-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--pa-home-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--pa-home-shadow-md);
}

.pa-home-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 19px 20px;
    color: inherit;
    text-decoration: none;
}

.pa-home-trust-item + .pa-home-trust-item {
    border-left: 1px solid var(--pa-home-border);
}

.pa-home-trust-item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    background: var(--pa-home-soft-blue);
    color: var(--pa-home-primary);
}

.pa-home-trust-item svg {
    width: 20px;
    height: 20px;
}

.pa-home-trust-item p {
    min-width: 0;
    margin: 0;
}

.pa-home-trust-item strong,
.pa-home-trust-item small {
    display: block;
}

.pa-home-trust-item strong {
    color: var(--pa-home-text);
    font-size: .92rem;
    line-height: 1.35;
}

.pa-home-trust-item small {
    margin-top: 3px;
    color: var(--pa-home-muted);
    font-size: .78rem;
    line-height: 1.4;
}

.pa-home-trust-link {
    transition: background-color .2s ease;
}

.pa-home-trust-link:hover,
.pa-home-trust-link:focus-visible {
    background: #F7FAFC;
    text-decoration: none;
}

/* Cards and shared icons */
.pa-home-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 17px;
    background: var(--pa-home-soft-blue);
    color: var(--pa-home-primary);
}

.pa-home-card-icon svg {
    width: 27px;
    height: 27px;
}

.pa-home-card-label {
    margin: 0 0 8px;
    color: var(--pa-home-primary);
    font-size: .75rem;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* Situation cards */
.pa-home-situation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pa-home-situation-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--pa-home-border);
    border-radius: var(--pa-home-radius);
    background: #fff;
    box-shadow: var(--pa-home-shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pa-home-situation-card:hover,
.pa-home-situation-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(47, 98, 140, .34);
    box-shadow: var(--pa-home-shadow-md);
}

.pa-home-situation-card .pa-home-card-icon {
    margin-bottom: 22px;
}

.pa-home-situation-card h3 {
    margin: 0;
    color: var(--pa-home-text);
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    font-weight: 830;
    line-height: 1.22;
    letter-spacing: -.02em;
}

.pa-home-situation-card > p:not(.pa-home-card-label) {
    margin: 14px 0 22px;
    color: var(--pa-home-copy);
    line-height: 1.65;
}

.pa-home-situation-card > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: auto;
    color: var(--pa-home-primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.pa-home-situation-card > a:hover,
.pa-home-situation-card > a:focus-visible,
.pa-home-card-links a:hover,
.pa-home-card-links a:focus-visible {
    text-decoration: underline;
    text-underline-offset: .2em;
}

.pa-home-situation-card-featured {
    border-color: rgba(47, 98, 140, .24);
    background: linear-gradient(145deg, #fff 0%, #F4F9FC 100%);
}

.pa-home-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: auto;
}

.pa-home-card-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(47, 98, 140, .19);
    border-radius: 999px;
    background: #fff;
    color: var(--pa-home-primary-dark);
    font-size: .85rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.pa-home-underlink {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 28px 0 0;
    color: var(--pa-home-copy);
    line-height: 1.55;
    text-align: center;
}

.pa-home-underlink > span {
    display: inline-flex;
    color: var(--pa-home-primary);
}

.pa-home-underlink svg {
    width: 19px;
    height: 19px;
}

.pa-home-underlink a {
    color: var(--pa-home-primary-dark);
    font-weight: 800;
}

.pa-home-underlink-center {
    margin-top: 32px;
}

/* Process */
.pa-home-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pa-home-process-grid::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 16.5%;
    right: 16.5%;
    height: 2px;
    background: linear-gradient(90deg, rgba(47, 98, 140, .18), rgba(57, 175, 228, .48), rgba(47, 98, 140, .18));
}

.pa-home-process-card {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 30px 26px 27px;
    border: 1px solid var(--pa-home-border);
    border-radius: var(--pa-home-radius);
    background: #fff;
    box-shadow: var(--pa-home-shadow-sm);
    text-align: center;
}

.pa-home-process-number {
    position: absolute;
    top: 22px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--pa-home-primary);
    color: #fff;
    font-size: .82rem;
    font-weight: 850;
}

.pa-home-process-card .pa-home-card-icon {
    margin-bottom: 20px;
}

.pa-home-process-card h3 {
    margin: 0;
    color: var(--pa-home-text);
    font-size: 1.28rem;
    font-weight: 830;
}

.pa-home-process-card p {
    margin: 12px 0 0;
    color: var(--pa-home-copy);
    line-height: 1.65;
}

/* Widerspruch section */
.pa-home-appeal {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(78px, 8vw, 112px) 0;
    background: linear-gradient(135deg, var(--pa-home-deep) 0%, #0E4A73 58%, #155B86 100%);
    color: #fff;
}

.pa-home-appeal::after {
    content: '';
    position: absolute;
    z-index: -1;
    right: -120px;
    bottom: -180px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(57, 175, 228, .13);
}

.pa-home-appeal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
    align-items: center;
    gap: clamp(42px, 7vw, 88px);
}

.pa-home-appeal-copy {
    max-width: 690px;
}

.pa-home-appeal h2 {
    color: #fff;
}

.pa-home-appeal-copy > p:not(.pa-home-eyebrow):not(.pa-home-appeal-note) {
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 1.06rem;
    line-height: 1.72;
}

.pa-home-appeal-copy ul {
    display: grid;
    gap: 11px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.pa-home-appeal-copy li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 720;
}

.pa-home-appeal-copy li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border-radius: 50%;
    background: rgba(57, 175, 228, .22);
}

.pa-home-appeal-copy li svg {
    width: 15px;
    height: 15px;
}

.pa-home-appeal-note {
    max-width: 650px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .66);
    font-size: .84rem;
    line-height: 1.55;
}

.pa-home-lawyer-card {
    overflow: hidden;
    width: min(100%, 410px);
    margin-inline: auto;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 28px 65px rgba(0, 0, 0, .24);
}

.pa-home-lawyer-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 22%;
}

.pa-home-lawyer-card-body {
    padding: 22px 24px 24px;
}

.pa-home-lawyer-card-body p,
.pa-home-lawyer-card-body h3,
.pa-home-lawyer-card-body span {
    display: block;
}

.pa-home-lawyer-card-body p {
    margin: 0 0 4px;
    color: var(--pa-home-primary);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.pa-home-lawyer-card-body h3 {
    margin: 0;
    color: var(--pa-home-text);
    font-size: 1.42rem;
    font-weight: 850;
}

.pa-home-lawyer-card-body span {
    margin-top: 8px;
    color: var(--pa-home-copy);
    font-size: .94rem;
    line-height: 1.55;
}

/* Antrag / Höherstufung */
.pa-home-applications {
    background: #fff;
}

.pa-home-application-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.pa-home-application-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--pa-home-border);
    border-radius: var(--pa-home-radius-lg);
    background: #fff;
    box-shadow: var(--pa-home-shadow-sm);
}

.pa-home-application-image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--pa-home-soft-blue);
}

.pa-home-application-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.pa-home-application-card:hover .pa-home-application-image img,
.pa-home-application-card:focus-within .pa-home-application-image img {
    transform: scale(1.025);
}

.pa-home-application-body {
    padding: clamp(24px, 3vw, 34px);
}

.pa-home-application-body h3 {
    margin: 0;
    color: var(--pa-home-text);
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    font-weight: 850;
    line-height: 1.16;
    letter-spacing: -.025em;
}

.pa-home-application-body > p:not(.pa-home-card-label) {
    margin: 15px 0 0;
    color: var(--pa-home-copy);
    line-height: 1.68;
}

.pa-home-application-body ul {
    display: grid;
    gap: 9px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.pa-home-application-body li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #31566C;
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.48;
}

.pa-home-application-body li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    margin-top: 1px;
    border-radius: 50%;
    background: rgba(47, 98, 140, .10);
    color: var(--pa-home-primary);
}

.pa-home-application-body li svg {
    width: 13px;
    height: 13px;
}

.pa-home-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 24px;
    color: var(--pa-home-primary-dark);
    font-weight: 820;
    text-decoration: none;
}

/* Principle and tools */
.pa-home-principle {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 910px;
    margin: 0 auto clamp(54px, 6vw, 74px);
    padding: 25px 28px;
    border: 1px solid rgba(47, 98, 140, .14);
    border-radius: var(--pa-home-radius);
    background: #fff;
    box-shadow: var(--pa-home-shadow-sm);
}

.pa-home-principle > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 19px;
    background: var(--pa-home-primary);
    color: #fff;
}

.pa-home-principle svg {
    width: 30px;
    height: 30px;
}

.pa-home-principle p {
    margin: 0 0 4px;
    color: var(--pa-home-primary);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.pa-home-principle h2 {
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.pa-home-tools-head {
    margin-bottom: 34px;
}

.pa-home-tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.pa-home-tool-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--pa-home-border);
    border-radius: var(--pa-home-radius);
    background: #fff;
    color: inherit;
    box-shadow: var(--pa-home-shadow-sm);
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pa-home-tool-card:hover,
.pa-home-tool-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(47, 98, 140, .35);
    box-shadow: var(--pa-home-shadow-md);
    text-decoration: none;
}

.pa-home-tool-card .pa-home-card-icon {
    margin-bottom: 18px;
}

.pa-home-tool-card h3 {
    margin: 0;
    color: var(--pa-home-text);
    font-size: 1.18rem;
    font-weight: 830;
}

.pa-home-tool-card > p {
    margin: 11px 0 20px;
    color: var(--pa-home-copy);
    font-size: .93rem;
    line-height: 1.58;
}

.pa-home-tool-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: var(--pa-home-primary-dark);
    font-size: .88rem;
    font-weight: 820;
}

/* Founder */
.pa-home-founder {
    background: #fff;
}

.pa-home-founder-grid {
    display: grid;
    grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr) minmax(270px, .86fr);
    align-items: center;
    gap: clamp(30px, 5vw, 64px);
}

.pa-home-founder-photo {
    overflow: hidden;
    border: 10px solid #fff;
    border-radius: var(--pa-home-radius-lg);
    background: var(--pa-home-soft-blue);
    box-shadow: var(--pa-home-shadow-md);
}

.pa-home-founder-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.pa-home-founder-copy h2 {
    margin-bottom: 0;
}

.pa-home-founder-copy blockquote {
    margin: 23px 0 0;
    padding: 18px 20px;
    border-left: 4px solid var(--pa-home-accent);
    border-radius: 0 16px 16px 0;
    background: var(--pa-home-soft);
    color: #173B53;
    font-size: 1.02rem;
    font-weight: 650;
    line-height: 1.66;
}

.pa-home-founder-name {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 18px !important;
}

.pa-home-founder-name strong {
    color: var(--pa-home-text);
}

.pa-home-founder-name span {
    color: var(--pa-home-muted);
    font-size: .9rem;
}

.pa-home-founder-copy .pa-home-text-link {
    margin-top: 18px;
}

.pa-home-confidence {
    padding: 27px;
    border: 1px solid var(--pa-home-border);
    border-radius: var(--pa-home-radius);
    background: var(--pa-home-soft);
}

.pa-home-confidence h3 {
    margin: 0;
    color: var(--pa-home-text);
    font-size: 1.25rem;
    font-weight: 830;
}

.pa-home-confidence ul {
    display: grid;
    gap: 18px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.pa-home-confidence li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pa-home-confidence li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 11px;
    background: #fff;
    color: var(--pa-home-primary);
    box-shadow: 0 7px 18px rgba(0, 53, 86, .07);
}

.pa-home-confidence li svg {
    width: 18px;
    height: 18px;
}

.pa-home-confidence strong {
    display: block;
    color: var(--pa-home-text);
    font-size: .94rem;
}

.pa-home-confidence p {
    margin: 4px 0 0;
    color: var(--pa-home-copy);
    font-size: .86rem;
    line-height: 1.5;
}

/* FAQ */
.pa-home-faq {
    background: var(--pa-home-soft);
}

.pa-home-faq-grid {
    display: grid;
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(38px, 7vw, 88px);
}

.pa-home-faq .pa-home-section-head {
    position: sticky;
    top: 120px;
    margin-bottom: 0;
}

.pa-home-faq .pa-home-section-head .pa-home-text-link {
    margin-top: 20px;
}

.pa-home-faq-list {
    display: grid;
    gap: 12px;
}

.pa-home-faq-item {
    overflow: hidden;
    border: 1px solid var(--pa-home-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 53, 86, .055);
}

.pa-home-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 62px;
    padding: 17px 20px;
    color: var(--pa-home-text);
    font-weight: 800;
    line-height: 1.42;
    cursor: pointer;
    list-style: none;
}

.pa-home-faq-item summary::-webkit-details-marker {
    display: none;
}

.pa-home-faq-item summary:focus-visible {
    outline: 3px solid rgba(57, 175, 228, .35);
    outline-offset: -3px;
}

.pa-home-faq-toggle {
    position: relative;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: var(--pa-home-soft-blue);
}

.pa-home-faq-toggle::before,
.pa-home-faq-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 2px;
    border-radius: 2px;
    background: var(--pa-home-primary-dark);
    transform: translate(-50%, -50%);
}

.pa-home-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform .2s ease;
}

.pa-home-faq-item[open] .pa-home-faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.pa-home-faq-answer {
    padding: 0 20px 20px;
}

.pa-home-faq-answer p {
    margin: 0;
    color: var(--pa-home-copy);
    line-height: 1.68;
}

/* Final CTA */
.pa-home-final {
    padding: clamp(72px, 8vw, 104px) 0;
    background: #fff;
}

.pa-home-final-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
    align-items: center;
    gap: 40px;
    padding: clamp(38px, 5vw, 62px);
    border-radius: var(--pa-home-radius-lg);
    background: linear-gradient(135deg, var(--pa-home-deep) 0%, var(--pa-home-primary) 100%);
    box-shadow: var(--pa-home-shadow-md);
}

.pa-home-final-card::after {
    content: '';
    position: absolute;
    z-index: -1;
    right: -100px;
    bottom: -180px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(57, 175, 228, .16);
}

.pa-home-final h2 {
    color: #fff;
}

.pa-home-final-card > div > p:last-child {
    color: rgba(255, 255, 255, .78);
}

.pa-home-final-actions {
    justify-content: flex-end;
    margin-top: 0;
}

.pa-home-final-note {
    margin: 16px 0 0;
    color: var(--pa-home-muted);
    font-size: .84rem;
    line-height: 1.5;
    text-align: center;
}

/* Tablet */
@media (max-width: 1080px) {
    .pa-home-hero-grid,
    .pa-home-appeal-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
        gap: 38px;
    }

    .pa-home-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pa-home-trust-item:nth-child(3),
    .pa-home-trust-item:nth-child(4) {
        border-top: 1px solid var(--pa-home-border);
    }

    .pa-home-trust-item:nth-child(3) {
        border-left: 0;
    }

    .pa-home-tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pa-home-founder-grid {
        grid-template-columns: minmax(250px, .78fr) minmax(0, 1.22fr);
    }

    .pa-home-confidence {
        grid-column: 1 / -1;
    }

    .pa-home-confidence ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pa-home-hero {
        padding-top: 56px;
    }

    .pa-home-hero::before {
        inset: auto 0 0;
        width: 100%;
        height: 43%;
        border-bottom-left-radius: 0;
        border-top-left-radius: 90px;
    }

    .pa-home-hero-grid,
    .pa-home-appeal-grid,
    .pa-home-faq-grid,
    .pa-home-final-card {
        grid-template-columns: 1fr;
    }

    .pa-home-hero-copy {
        max-width: none;
    }

    .pa-home-hero-media {
        margin-top: 8px;
    }

    .pa-home-hero-photo {
        width: min(100%, 580px);
    }

    .pa-home-hero-note {
        left: 18px;
    }

    .pa-home-situation-grid,
    .pa-home-process-grid {
        grid-template-columns: 1fr;
    }

    .pa-home-process-grid::before {
        top: 34px;
        bottom: 34px;
        left: 37px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(47, 98, 140, .18), rgba(57, 175, 228, .48), rgba(47, 98, 140, .18));
    }

    .pa-home-process-card {
        padding-left: 80px;
        text-align: left;
    }

    .pa-home-process-number {
        left: 22px;
    }

    .pa-home-lawyer-card {
        width: min(100%, 520px);
    }

    .pa-home-appeal-copy {
        max-width: none;
    }

    .pa-home-faq .pa-home-section-head {
        position: static;
        margin-bottom: 32px;
    }

    .pa-home-final-actions {
        justify-content: flex-start;
    }
}

/* Mobile */
@media (max-width: 720px) {
    .pa-home-container {
        width: min(calc(100% - 32px), var(--pa-home-container));
    }

    .pa-home-section {
        padding: 64px 0;
    }

    .pa-home-section-head {
        margin-bottom: 30px;
    }

    .pa-home-hero {
        padding: 46px 0 82px;
    }

    .pa-home-hero h1 {
        font-size: clamp(2.45rem, 12vw, 3.6rem);
    }

    .pa-home-hero-points {
        grid-template-columns: 1fr;
    }

    .pa-home-hero-points li:last-child {
        grid-column: auto;
    }

    .pa-home-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .pa-home-button {
        width: 100%;
    }

    .pa-home-hero-photo {
        padding: 7px;
        border-radius: 32px;
    }

    .pa-home-hero-photo > img {
        border-radius: 26px;
    }

    .pa-home-hero-note {
        position: relative;
        left: auto;
        bottom: auto;
        width: calc(100% - 18px);
        margin: -34px auto 0;
    }

    .pa-home-trust {
        margin-top: -26px;
    }

    .pa-home-trust-grid {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .pa-home-trust-item + .pa-home-trust-item,
    .pa-home-trust-item:nth-child(3),
    .pa-home-trust-item:nth-child(4) {
        border-top: 1px solid var(--pa-home-border);
        border-left: 0;
    }

    .pa-home-situation-card,
    .pa-home-process-card,
    .pa-home-tool-card,
    .pa-home-confidence {
        padding: 22px;
    }

    .pa-home-application-grid,
    .pa-home-tool-grid,
    .pa-home-founder-grid,
    .pa-home-confidence ul {
        grid-template-columns: 1fr;
    }

    .pa-home-process-card {
        padding-left: 72px;
    }

    .pa-home-process-grid::before {
        left: 34px;
    }

    .pa-home-principle {
        align-items: flex-start;
        padding: 22px;
    }

    .pa-home-principle > span {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .pa-home-application-card {
        border-radius: 26px;
    }

    .pa-home-founder-photo {
        width: min(100%, 390px);
        margin-inline: auto;
    }

    .pa-home-final-card {
        gap: 26px;
        padding: 32px 24px;
        border-radius: 26px;
    }

    .pa-home-final-actions {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .pa-home-container {
        width: min(calc(100% - 24px), var(--pa-home-container));
    }

    .pa-home-eyebrow {
        font-size: .7rem;
    }

    .pa-home-hero h1 {
        font-size: clamp(2.25rem, 12vw, 3rem);
    }

    .pa-home-section-head h2,
    .pa-home-appeal h2,
    .pa-home-founder h2,
    .pa-home-final h2 {
        font-size: clamp(1.85rem, 9vw, 2.35rem);
    }

    .pa-home-card-links {
        align-items: stretch;
        flex-direction: column;
    }

    .pa-home-card-links a {
        justify-content: center;
    }

    .pa-home-underlink {
        align-items: flex-start;
        text-align: left;
    }

    .pa-home-principle {
        flex-direction: column;
    }

    .pa-home-faq-item summary {
        padding: 16px;
        font-size: .94rem;
    }

    .pa-home-faq-answer {
        padding: 0 16px 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pa-home-page *,
    .pa-home-page *::before,
    .pa-home-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
