/* For Patients Page */

.patient-page {
    --patient-title: #153941;
    --patient-text: #536a70;
    --patient-muted: #7a9196;
    --patient-green: #147d75;
    --patient-green-dark: #0c5d58;
    --patient-mint: #dff4ef;
    --patient-mint-soft: #f2faf8;
    --patient-line: #dbe9e6;
    --patient-white: #ffffff;
    --patient-sand: #f8f5ee;
    --patient-shadow: 0 20px 60px rgba(24, 68, 72, 0.10);

    overflow: hidden;
    color: var(--patient-text);
    background: #ffffff;
}

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

.patient-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.patient-page h1,
.patient-page h2,
.patient-page h3,
.patient-page p {
    margin-top: 0;
}

.patient-page h1,
.patient-page h2,
.patient-page h3 {
    color: var(--patient-title);
}

.patient-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--patient-green);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.patient-kicker::before {
    width: 22px;
    height: 1px;
    background: currentColor;
    content: "";
}

/* Hero */

.patient-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 14%, rgba(104, 191, 176, 0.12), transparent 28%),
        radial-gradient(circle at 90% 15%, rgba(110, 183, 211, 0.10), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fbfb 52%, #eff7f6 100%);
}

.patient-hero::before {
    position: absolute;
    inset: 0;
    opacity: 0.14;
    pointer-events: none;
    background-image: radial-gradient(rgba(20, 125, 117, 0.18) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to right, #000, transparent 58%);
    content: "";
}

.patient-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    align-items: center;
    gap: 70px;
    min-height: 670px;
    padding: 88px 0 105px;
}

.patient-hero-copy {
    position: relative;
    z-index: 2;
}

.patient-hero h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: clamp(42px, 5.4vw, 68px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.patient-hero-lead {
    max-width: 700px;
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 1.8;
}

.patient-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.patient-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.patient-btn:hover {
    transform: translateY(-3px);
}

.patient-btn-primary {
    color: #ffffff;
    background: var(--patient-green);
    box-shadow: 0 14px 30px rgba(20, 125, 117, 0.20);
}

.patient-btn-primary:hover {
    color: #ffffff;
    background: var(--patient-green-dark);
}

.patient-btn-outline {
    color: var(--patient-title);
    border-color: #b9d4cf;
    background: rgba(255, 255, 255, 0.78);
}

.patient-btn-outline:hover {
    color: var(--patient-green);
    border-color: var(--patient-green);
}

.patient-btn-light {
    flex: 0 0 auto;
    color: var(--patient-green-dark);
    background: #ffffff;
}

.patient-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--patient-line);
    background: var(--patient-line);
}

.patient-trust div {
    padding: 18px;
    background: rgba(255, 255, 255, 0.85);
}

.patient-trust strong,
.patient-trust span {
    display: block;
}

.patient-trust strong {
    margin-bottom: 5px;
    color: var(--patient-title);
    font-size: 13px;
    font-weight: 600;
}

.patient-trust span {
    color: var(--patient-muted);
    font-size: 11px;
    line-height: 1.5;
}

.patient-hero-panel {
    position: relative;
    padding: 38px;
    border: 1px solid #cbe1dc;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: var(--patient-shadow);
}

.patient-hero-panel::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--patient-green);
    content: "";
}

.panel-label {
    display: block;
    margin-bottom: 10px;
    color: var(--patient-green);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.patient-hero-panel h2 {
    margin-bottom: 24px;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.3;
}

.patient-hero-panel ul {
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.patient-hero-panel li {
    position: relative;
    padding: 11px 0 11px 28px;
    border-bottom: 1px solid var(--patient-line);
    font-size: 14px;
}

.patient-hero-panel li::before {
    position: absolute;
    left: 0;
    color: var(--patient-green);
    content: "✓";
    font-weight: 700;
}

.patient-panel-note {
    padding: 20px;
    color: #ffffff;
    background: var(--patient-green-dark);
}

.patient-panel-note span,
.patient-panel-note a {
    display: block;
}

.patient-panel-note span {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 11px;
    text-transform: uppercase;
}

.patient-panel-note a {
    color: #ffffff;
    font-size: 21px;
    font-weight: 600;
}

/* Symptom alert */

.patient-alert {
    padding: 46px 0;
    background: var(--patient-mint-soft);
    border-top: 1px solid var(--patient-line);
    border-bottom: 1px solid var(--patient-line);
}

.patient-alert-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.patient-alert h2 {
    margin-bottom: 0;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.3;
}

.patient-symptoms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.patient-symptoms span {
    padding: 10px 13px;
    border: 1px solid #cce2dd;
    background: #ffffff;
    color: var(--patient-title);
    font-size: 12px;
    font-weight: 500;
}

/* Sections */

.patient-section {
    padding: 100px 0;
}

.patient-heading {
    max-width: 820px;
    margin-bottom: 48px;
}

.patient-heading h2,
.patient-prepare-copy h2,
.patient-final-cta h2 {
    margin-bottom: 20px;
    font-size: clamp(34px, 4.2vw, 52px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.14;
}

.patient-heading p,
.patient-prepare-copy p {
    font-size: 16px;
    line-height: 1.85;
}

/* Journey */

.patient-journey {
    background: #ffffff;
}

.patient-journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.patient-journey-card {
    min-height: 285px;
    padding: 28px;
    border: 1px solid var(--patient-line);
    background: #ffffff;
    transition: 0.3s ease;
}

.patient-journey-card:hover {
    transform: translateY(-6px);
    border-color: #a8d3ca;
    box-shadow: var(--patient-shadow);
}

.journey-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 48px;
    border-radius: 50%;
    color: var(--patient-green);
    background: var(--patient-mint);
    font-size: 11px;
    font-weight: 600;
}

.patient-journey-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 500;
}

.patient-journey-card p {
    margin-bottom: 0;
    color: var(--patient-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* Prepare */

.patient-prepare {
    background: var(--patient-mint-soft);
}

.patient-prepare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 75px;
}

.patient-check-list {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.patient-check-list li {
    position: relative;
    padding: 14px 0 14px 34px;
    border-bottom: 1px solid var(--patient-line);
    color: var(--patient-title);
    font-size: 14px;
    font-weight: 500;
}

.patient-check-list li::before {
    position: absolute;
    left: 0;
    top: 14px;
    width: 21px;
    height: 21px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--patient-green);
    background: var(--patient-mint);
    content: "✓";
    font-size: 11px;
}

.patient-question-panel {
    padding: 36px;
    border: 1px solid #c9dfda;
    background: #ffffff;
    box-shadow: var(--patient-shadow);
}

.patient-question-panel h3 {
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
}

.patient-question-list {
    display: grid;
    gap: 12px;
}

.patient-question-list div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--patient-line);
}

.patient-question-list span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--patient-green);
    background: var(--patient-mint);
    font-size: 11px;
    font-weight: 600;
}

.patient-question-list p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.6;
}

/* Support */

.patient-support {
    background: var(--patient-sand);
}

.patient-support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.patient-support-card {
    min-height: 270px;
    padding: 28px;
    border: 1px solid #e6dfd2;
    background: rgba(255, 255, 255, 0.85);
    transition: 0.3s ease;
}

.patient-support-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
}

.patient-support-card>span {
    display: block;
    margin-bottom: 44px;
    color: var(--patient-green);
    font-size: 12px;
    font-weight: 600;
}

.patient-support-card h3 {
    margin-bottom: 12px;
    font-size: 23px;
    font-weight: 500;
}

.patient-support-card p {
    margin-bottom: 0;
    color: var(--patient-muted);
    font-size: 13px;
    line-height: 1.75;
}

/* FAQ */

.patient-faq {
    background: #ffffff;
}

.patient-faq-list {
    max-width: 900px;
}

.patient-faq-item {
    margin-bottom: 14px;
    border: 1px solid var(--patient-line);
    background: #ffffff;
}

.patient-faq-item summary {
    position: relative;
    padding: 20px 56px 20px 22px;
    color: var(--patient-title);
    cursor: pointer;
    list-style: none;
    font-size: 16px;
    font-weight: 500;
}

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

.patient-faq-item summary::after {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--patient-green);
    content: "+";
    font-size: 24px;
    font-weight: 400;
}

.patient-faq-item[open] summary::after {
    content: "−";
}

.patient-faq-item div {
    padding: 0 22px 20px;
}

.patient-faq-item p {
    margin-bottom: 0;
    color: var(--patient-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* Contact */

.patient-contact {
    background: #ffffff;
}

.patient-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.patient-contact-card {
    padding: 28px;
    text-align: center;
    border: 1px solid var(--patient-line);
    background: #ffffff;
    transition: 0.3s ease;
}

.patient-contact-card:hover {
    transform: translateY(-5px);
    border-color: #a7d0c8;
    box-shadow: var(--patient-shadow);
}

.contact-label {
    display: block;
    margin-bottom: 10px;
    color: var(--patient-green);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.patient-contact-card strong,
.patient-contact-card small {
    display: block;
}

.patient-contact-card strong {
    margin-bottom: 5px;
    color: var(--patient-title);
    font-size: 19px;
    font-weight: 500;
}

.patient-contact-card small {
    color: var(--patient-muted);
    font-size: 12px;
}

.patient-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 42px;
    padding: 50px;
    color: #ffffff;
    background:
        radial-gradient(circle at 100% 0, rgba(101, 199, 180, 0.24), transparent 34%),
        var(--patient-green-dark);
}

.patient-final-cta .patient-kicker,
.patient-final-cta h2 {
    color: #ffffff;
}

.patient-final-cta h2 {
    max-width: 760px;
    margin-bottom: 12px;
}

.patient-final-cta p {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.74);
}

/* Responsive */

@media (max-width: 1000px) {
    .patient-hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .patient-hero-panel {
        max-width: 650px;
    }

    .patient-journey-grid,
    .patient-support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {

    .patient-alert-inner,
    .patient-prepare-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .patient-contact-grid {
        grid-template-columns: 1fr;
    }

    .patient-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .patient-section {
        padding: 72px 0;
    }

    .patient-hero-grid {
        min-height: auto;
        padding: 65px 0 90px;
    }

    .patient-hero h1 {
        font-size: 40px;
    }

    .patient-trust,
    .patient-journey-grid,
    .patient-support-grid {
        grid-template-columns: 1fr;
    }

    .patient-hero-panel,
    .patient-question-panel {
        padding: 25px;
    }

    .patient-final-cta {
        padding: 34px 24px;
    }

    .patient-btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .patient-hero h1 {
        font-size: 35px;
    }

    .patient-heading h2,
    .patient-prepare-copy h2,
    .patient-final-cta h2 {
        font-size: 32px;
    }

    .patient-hero-panel h2,
    .patient-question-panel h3 {
        font-size: 25px;
    }

    .patient-alert h2 {
        font-size: 27px;
    }
}


.patient-resource-section {
    padding: 85px 0;
    overflow: hidden;
    background: #f7faf9;
}

.patient-resource-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* Heading */

.patient-resource-heading {
    max-width: 880px;
    margin: 0 auto 45px;
    text-align: center;
}

.patient-resource-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-bottom: 14px;

    color: #d97706;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;

    text-transform: uppercase;
}

.patient-resource-kicker::before,
.patient-resource-kicker::after {
    width: 28px;
    height: 1px;

    background: currentColor;

    content: "";
}

.patient-resource-heading h2 {
    margin: 0 0 16px;

    color: #065f46;

    font-family: Inter, "Segoe UI", Arial, sans-serif;

    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;

    letter-spacing: -0.04em;
    line-height: 1.12;
}

.patient-resource-heading p {
    max-width: 800px;
    margin: 0 auto;

    color: #687a74;

    font-size: 16px;
    line-height: 1.8;
}


/* 4 Cards per row */

.patient-resource-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 22px;
}


/* Card */

.patient-resource-card {
    position: relative;

    min-height: 255px;

    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;

    padding: 28px 22px 24px;

    overflow: hidden;

    border: 1px solid #dce8e4;
    border-radius: 8px;

    background: #ffffff;

    box-shadow:
        0 8px 28px rgba(6, 95, 70, 0.06);

    text-align: center;
    text-decoration: none;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* Decorative circle */

.patient-resource-card::before {
    position: absolute;

    top: -58px;
    right: -58px;

    width: 128px;
    height: 128px;

    border: 1px solid rgba(6, 95, 70, 0.10);
    border-radius: 50%;

    content: "";

    transition:
        transform 0.4s ease,
        border-color 0.4s ease;
}


/* Small accent line */

.patient-resource-card::after {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    width: 0;
    height: 3px;

    margin: auto;

    background: #f59e0b;

    content: "";

    transition: width 0.35s ease;
}


.patient-resource-card:hover {
    transform: translateY(-7px);

    border-color: rgba(6, 95, 70, 0.38);

    background: #ffffff;

    box-shadow:
        0 22px 48px rgba(6, 95, 70, 0.13);
}

.patient-resource-card:hover::before {
    transform: scale(1.2);

    border-color: rgba(245, 158, 11, 0.25);
}

.patient-resource-card:hover::after {
    width: 100%;
}


/* PDF Icon */

.patient-resource-icon {
    position: relative;
    z-index: 2;

    width: 74px;
    height: 90px;

    margin-bottom: 17px;

    transition:
        transform 0.3s ease;
}

.patient-resource-card:hover .patient-resource-icon {
    transform: translateY(-4px) scale(1.03);
}

.patient-resource-icon svg {
    display: block;

    width: 100%;
    height: 100%;

    overflow: visible;

    filter:
        drop-shadow(0 9px 12px rgba(6, 95, 70, 0.18));
}


/* PDF Paper - Requested Green */

.pdf-paper {
    fill: #065f46;
}


/* Folded corner */

.pdf-corner {
    fill: #f59e0b;
}


/* Bottom shade */

.pdf-shade {
    fill: #034a37;
    opacity: 0.82;
}


/* Lines inside PDF */

.pdf-line {
    fill: rgba(255, 255, 255, 0.78);
}


/* PDF badge */

.pdf-badge {
    fill: #d97706;
}


/* PDF text */

.pdf-text {
    fill: #ffffff;

    font-family: Inter, Arial, sans-serif;

    font-size: 28px;
    font-weight: 800;

    letter-spacing: 3px;
}


/* Content */

.patient-resource-content {
    position: relative;
    z-index: 2;

    width: 100%;
}


/* Patient Guide label */

.patient-resource-type {
    display: block;

    margin-bottom: 7px;

    color: #d97706;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}


/* Resource title */

.patient-resource-card h3 {
    margin: 0;

    color: #173d33;

    font-family: Inter, "Segoe UI", Arial, sans-serif;

    font-size: 16px;
    font-weight: 600;

    line-height: 1.5;
}


/* View Guide */

.patient-resource-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    max-height: 0;
    margin-top: 0;

    overflow: hidden;

    color: #065f46;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.07em;

    opacity: 0;

    text-transform: uppercase;

    transition:
        max-height 0.3s ease,
        margin-top 0.3s ease,
        opacity 0.3s ease;
}

.patient-resource-link::after {
    color: #d97706;

    content: "→";

    font-size: 16px;

    transition:
        transform 0.3s ease;
}

.patient-resource-card:hover .patient-resource-link {
    max-height: 30px;

    margin-top: 9px;

    opacity: 1;
}

.patient-resource-card:hover .patient-resource-link::after {
    transform: translateX(4px);
}


/* Tablet */

@media (max-width: 1050px) {

    .patient-resource-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* Small Tablet */

@media (max-width: 780px) {

    .patient-resource-section {
        padding: 65px 0;
    }

    .patient-resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .patient-resource-card {
        min-height: 245px;
    }

}


/* Mobile */

@media (max-width: 520px) {

    .patient-resource-section {
        padding: 50px 0;
    }

    .patient-resource-container {
        width: 90%;
    }

    .patient-resource-heading {
        margin-bottom: 32px;
    }

    .patient-resource-heading h2 {
        font-size: 30px;
    }

    .patient-resource-heading p {
        font-size: 15px;
        line-height: 1.7;
    }

    .patient-resource-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .patient-resource-card {
        min-height: 225px;

        padding: 25px 20px;
    }

    .patient-resource-icon {
        width: 68px;
        height: 83px;

        margin-bottom: 14px;
    }

    .patient-resource-card h3 {
        font-size: 16px;
    }

    .patient-resource-link {
        max-height: 30px;
        margin-top: 9px;

        opacity: 1;
    }

}