.prices-page {
    background: #111;
}

.prices-hero {
    min-height: 58vh;
    display: flex;
    align-items: flex-end;
    padding: 150px 6% 85px;
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.32)
        ),
        url("../images/hero.jpg") center / cover no-repeat;
}

.prices-hero-content {
    max-width: 850px;
}

.page-label,
.section-label {
    margin-bottom: 14px;
    color: #d62828;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.prices-hero h2 {
    margin-bottom: 22px;
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1;
}

.prices-hero p:last-child {
    max-width: 700px;
    color: #d0d0d0;
    font-size: 20px;
    line-height: 1.7;
}

/* Intro */

.pricing-intro {
    display: grid;
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    max-width: 1250px;
    margin: 0 auto;
    padding: 110px 6% 65px;
}

.rate-card,
.pricing-explanation {
    padding: 40px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.015)
        );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.rate-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 290px;
    align-self: start;
    border-color: rgba(214, 40, 40, 0.55);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.rate-value {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 14px;
    margin-bottom: 22px;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}

.rate-amount {
    font-size: clamp(66px, 7vw, 94px);
    font-weight: 800;
    letter-spacing: -3px;
}

.rate-unit {
    color: #ef4444;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: none;
}

.rate-card > p:last-child {
    color: #aaa;
    line-height: 1.7;
}

.pricing-explanation h2 {
    margin-bottom: 22px;
    font-size: clamp(36px, 5vw, 54px);
}

.pricing-explanation > p:last-child {
    color: #bdbdbd;
    font-size: 18px;
    line-height: 1.8;
}

/* Table */

.price-list-section {
    padding: 55px 6% 115px;
}

.section-heading {
    max-width: 780px;
    margin: 0 auto 58px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 18px;
    font-size: clamp(38px, 5vw, 58px);
}

.section-heading > p:last-child {
    color: #bdbdbd;
    font-size: 18px;
    line-height: 1.7;
}

.price-table-wrap {
    max-width: 1250px;
    margin: 0 auto;
    overflow: hidden;
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table thead {
    background:
        linear-gradient(
            90deg,
            rgba(214, 40, 40, 0.96),
            rgba(170, 28, 28, 0.96)
        );
}

.price-table th {
    padding: 20px 24px;
    color: #fff;
    font-size: 15px;
    letter-spacing: 0.6px;
    text-align: left;
    text-transform: uppercase;
}

.price-table th:nth-child(2),
.price-table th:nth-child(3),
.price-table td:nth-child(2),
.price-table td:nth-child(3) {
    text-align: center;
}

.price-table td {
    padding: 21px 24px;
    color: #d0d0d0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    font-size: 17px;
}

.price-table tbody tr {
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.price-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.035);
}

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

.price-table td:nth-child(3) {
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.price-table small {
    display: block;
    margin-top: 7px;
    color: #8f8f8f;
    font-size: 14px;
    line-height: 1.5;
}

.featured-price {
    background: rgba(214, 40, 40, 0.065);
}

.featured-price td:first-child {
    border-left: 3px solid #d62828;
}

/* Notes */

.pricing-notes {
    padding: 100px 6%;
    background: #181818;
}

.notes-card {
    max-width: 1250px;
    margin: 0 auto;
}

.notes-card > h2 {
    margin-bottom: 42px;
    font-size: clamp(36px, 5vw, 54px);
}

.note-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.note-grid article {
    padding: 30px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.045),
            rgba(255, 255, 255, 0.012)
        );
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.note-grid span {
    display: block;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.16);
    font-size: 34px;
    font-weight: 800;
}

.note-grid p {
    color: #b8b8b8;
    line-height: 1.75;
}

/* CTA */

.prices-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;
    padding: 85px 8%;
    background:
        linear-gradient(
            90deg,
            #111,
            #171717
        );
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.prices-cta > div {
    max-width: 760px;
}

.prices-cta h2 {
    margin-bottom: 16px;
    font-size: clamp(34px, 5vw, 52px);
}

.prices-cta p:last-child {
    color: #bdbdbd;
    font-size: 18px;
    line-height: 1.7;
}

.prices-button {
    flex-shrink: 0;
    padding: 16px 28px;
    color: #fff;
    background: #d62828;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.prices-button:hover {
    background: #ef233c;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(214, 40, 40, 0.25);
}

/* Responsive */

@media (max-width: 1000px) {
    .pricing-intro {
        grid-template-columns: 1fr;
    }

    .note-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .prices-hero,
    .pricing-intro,
    .price-list-section,
    .pricing-notes,
    .prices-cta {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rate-card,
    .pricing-explanation {
        padding: 28px 22px;
    }

    .price-table-wrap {
        overflow: visible;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .price-table,
    .price-table tbody,
    .price-table tr,
    .price-table td {
        display: block;
        width: 100%;
    }

    .price-table thead {
        display: none;
    }

    .price-table tr {
        margin-bottom: 16px;
        overflow: hidden;
        background: #191919;
        border: 1px solid rgba(255, 255, 255, 0.085);
        border-radius: 10px;
    }

    .price-table td {
        display: grid;
        grid-template-columns: minmax(115px, 0.8fr) 1.4fr;
        gap: 16px;
        padding: 15px 18px;
        text-align: left !important;
    }

    .price-table td::before {
        content: attr(data-label);
        color: #8d8d8d;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.6px;
        text-transform: uppercase;
    }

    .featured-price td:first-child {
        border-left: none;
        border-top: 3px solid #d62828;
    }
}
