
.pricing-page {
    overflow: hidden;
}

/* Hero */
.pricing-hero {
    padding: 120px 20px 80px;
    background: #f4fbfc;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(1, 151, 178, 0.08);
    top: -160px;
    right: -120px;
}

.pricing-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 198, 0, 0.14);
    bottom: -150px;
    left: -100px;
}

.pricing-hero-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.pricing-eyebrow {
    display: inline-block;
    background: rgba(1, 151, 178, 0.12);
    color: #0197B2;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-hero h1 {
    color: #0b2a2f;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.25;
    margin-bottom: 20px;
}

.pricing-hero h1 span {
    color: #0197B2;
}

.pricing-hero p {
    color: #334b50;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.pricing-hero a {
    color: #0197B2;
    font-weight: 600;
    text-decoration: none;
}

.pricing-hero a:hover {
    text-decoration: underline;
}

.pricing-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.pricing-ctas .schedule-button {
    width: auto;
}

/* Hero price card */
.pricing-hero-card {
    background: #ffffff;
    border: 1px solid rgba(1, 151, 178, 0.17);
    border-radius: 25px;
    padding: 36px;
    box-shadow: 0 25px 65px rgba(11, 42, 47, 0.12);
}

.pricing-hero-card h2 {
    color: #0b2a2f;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 18px;
}

.price-highlight {
    background: #0197B2;
    color: #ffffff;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 22px;
}

.price-highlight strong {
    display: block;
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 8px;
}

.price-highlight span {
    font-size: 15px;
    font-weight: 600;
}

.pricing-hero-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-hero-list li {
    position: relative;
    padding-left: 28px;
    color: #334b50;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.pricing-hero-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0197B2;
    font-weight: 800;
}

/* General sections */
.pricing-section {
    padding: 75px 0;
}

.pricing-section-light {
    background: #f4fbfc;
}

.pricing-title {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 42px;
}

.pricing-title h2 {
  
  
    margin-bottom: 16px;
  font-weight: 500;
  font-size: 34px;
  line-height: 61px;
  color: #0b2a2f;
}

.pricing-title h2 span {
    color: #0197B2;
}

.pricing-title p {
    color: #334b50;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Factors */
.pricing-factor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.pricing-factor-card {
    background: #ffffff;
    border: 1px solid #dcecef;
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 8px 25px rgba(11, 42, 47, 0.06);
    transition: all 0.3s ease;
}

.pricing-factor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(1, 151, 178, 0.16);
    border-color: rgba(1, 151, 178, 0.35);
}

.pricing-factor-card h3 {
    color: #0b2a2f;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.pricing-factor-card p {
    color: #334b50;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Pricing cards */
.service-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-price-card {
    background: #ffffff;
    border: 1px solid #dcecef;
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: 0 12px 35px rgba(11, 42, 47, 0.07);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-price-card::before {
    content: "";
    position: absolute;
    height: 5px;
    background: #0197B2;
    top: 0;
    left: 0;
    right: 0;
}

.service-price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(1, 151, 178, 0.17);
}

.service-price-card h3 {
    color: #0b2a2f;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 500;
    margin-bottom: 10px;
}

.service-price-card p {
    color: #334b50;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.service-price-card .price {
    color: #0197B2;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
}

/* Price tables */
.price-table-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
}

.price-table-card .table {
    margin-bottom: 0;
}

.price-badge {
    display: inline-block;
    background: rgba(1, 151, 178, 0.09);
    color: #0197B2;
    border: 1px solid rgba(1, 151, 178, 0.22);
    border-radius: 50px;
    padding: 7px 14px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-note {
    color: #334b50;
    font-size: 16px;
    line-height: 1.8;
    margin-top: 22px;
}

/* Service details */
.pricing-detail-list {
    max-width: 1050px;
    margin: 0 auto;
}

.pricing-detail-item {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #e8eeee;
}

.pricing-detail-item:last-child {
    border-bottom: 0;
}

.pricing-detail-item h3 {
    color: #0b2a2f;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0;
}

.pricing-detail-item p {
    color: #334b50;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 0;
}

.pricing-detail-item a {
    color: #0197B2;
    font-weight: 600;
    text-decoration: none;
}

.pricing-detail-item a:hover {
    text-decoration: underline;
}

/* Included cards */
.included-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.included-card {
    background: #ffffff;
    border: 1px solid #dcecef;
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 8px 25px rgba(11, 42, 47, 0.06);
}

.included-icon {
    width: 42px;
    height: 42px;
    background: #0197B2;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 16px;
}

.included-card h3 {
    color: #0b2a2f;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 8px;
}

.included-card p {
    color: #334b50;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Fixed pricing box */
.fixed-price-box {
    background: #0197B2;
    color: #ffffff;
    border-radius: 25px;
    padding: 48px;
    box-shadow: 0 25px 65px rgba(11, 42, 47, 0.12);
}

.fixed-price-box h2 {
    color: #ffffff;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 18px;
}

.fixed-price-box p {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 0;
}

.fixed-price-box a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

/* Pricing CTA */
.pricing-cta {
    background: #0197B2;
    color: #ffffff;
    padding: 75px 0;
}

.pricing-cta-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 35px;
    align-items: center;
}

.pricing-cta h2 {
    color: #ffffff;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 18px;
}

.pricing-cta p {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 12px;
}

/* Pricing FAQ: use existing FAQ color style */
.pricing-faq {
    max-width: 980px;
    margin: 0 auto;
}

.pricing-faq .accordion-item {
    border: 1px solid #e1ecee;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
}

.pricing-faq .accordion-button {
    font-weight: 600;
    color: #0b2a2f;
    background: #f4fbfc;
}

.pricing-faq .accordion-button:not(.collapsed) {
    background: #0197B2;
    color: #ffffff;
}

.pricing-faq .accordion-body {
    color: #334b50;
    line-height: 1.8;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1199px) {
    .pricing-factor-grid,
    .included-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 991px) {
    .pricing-hero-wrap,
    .pricing-cta-wrap {
        grid-template-columns: 1fr;
    }

    .pricing-hero {
        padding: 95px 20px 65px;
    }

    .pricing-hero h1,
    .pricing-title h2,
    .fixed-price-box h2,
    .pricing-cta h2 {
        font-size: 32px;
    }

    .pricing-detail-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .pricing-section {
        padding: 55px 0;
    }

    .pricing-factor-grid,
    .service-price-grid,
    .included-grid {
        grid-template-columns: 1fr;
    }

    .pricing-hero-card,
    .fixed-price-box {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .pricing-hero h1,
    .pricing-title h2,
    .fixed-price-box h2,
    .pricing-cta h2 {
        font-size: 28px;
    }

    .pricing-hero p,
    .pricing-title p,
    .pricing-cta p {
        font-size: 16px;
    }

    .pricing-ctas {
        flex-direction: column;
    }

    .pricing-ctas .schedule-button,
    .pricing-ctas .btn-estimate {
        width: 100%;
        text-align: center;
    }

    .price-highlight strong {
        font-size: 36px;
    }

    .price-table-card .table thead {
        display: none;
    }

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

    .price-table-card .table tr {
        padding: 16px;
        border-bottom: 1px solid #e8eeee;
    }

    .price-table-card .table tr:last-child {
        border-bottom: 0;
    }

    .price-table-card .table th,
    .price-table-card .table td {
        border-bottom: 0;
        padding: 7px 0;
    }

    .price-table-card .table tbody th {
        font-size: 17px;
        color: #0b2a2f;
    }

    .price-table-card .table td::before {
        content: attr(data-label);
        display: block;
        color: #0b2a2f;
        font-weight: 700;
        font-size: 13px;
        margin-bottom: 2px;
    }
}

@media (max-width: 480px) {
    .pricing-hero {
        padding: 80px 16px 50px;
    }

    .pricing-hero h1,
    .pricing-title h2,
    .fixed-price-box h2,
    .pricing-cta h2 {
        font-size: 25px;
    }

    .service-price-card,
    .pricing-factor-card,
    .included-card {
        padding: 22px 18px;
    }
}


/* ================================
   Pricing Page Tables
   MattressClean Theme
================================ */

.price-table-card {
    width: 100%;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e1ecee;
    box-shadow: 0 12px 35px rgba(11, 42, 47, 0.07);
}

/* Works for both class="price-table" and Bootstrap class="table" inside pricing page */
.price-table-card table,
.price-table {
    width: 100% !important;
    min-width: 720px;
    border-collapse: collapse !important;
    margin: 0 !important;
    background: #ffffff;
    table-layout: fixed;
}

.price-table-card thead,
.price-table thead {
    background: #0197B2 !important;
    color: #ffffff !important;
}

.price-table-card th,
.price-table-card td,
.price-table th,
.price-table td {
    padding: 18px 22px !important;
    font-size: 16px;
    line-height: 1.6;
    vertical-align: middle;
    border-bottom: 1px solid #e8eeee !important;
    text-align: left;
}

.price-table-card thead th,
.price-table thead th {
    color: #ffffff !important;
    font-weight: 700;
    white-space: nowrap;
}

.price-table-card tbody th,
.price-table tbody th {
    color: #0b2a2f;
    font-weight: 700;
}

.price-table-card tbody td,
.price-table tbody td {
    color: #334b50;
    font-weight: 500;
}

.price-table-card tbody tr:nth-child(even),
.price-table tbody tr:nth-child(even) {
    background: #f4fbfc;
}

.price-table-card tbody tr:hover,
.price-table tbody tr:hover {
    background: #eef9fb;
}

.price-table-card tbody tr:last-child th,
.price-table-card tbody tr:last-child td,
.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

/* Price badge */
.price-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 151, 178, 0.09);
    color: #0197B2;
    border: 1px solid rgba(1, 151, 178, 0.22);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

/* Table wrapper scroll for tablets */
.table-responsive,
.price-table-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Mobile card-style table */
@media (max-width: 767px) {
    .price-table-card {
        border-radius: 18px;
    }

    .price-table-card table,
    .price-table {
        min-width: 100%;
    }

    .price-table-card thead,
    .price-table thead {
        display: none;
    }

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

    .price-table-card tr,
    .price-table tr {
        padding: 16px 18px;
        border-bottom: 1px solid #e8eeee;
    }

    .price-table-card tr:last-child,
    .price-table tr:last-child {
        border-bottom: 0;
    }

    .price-table-card th,
    .price-table-card td,
    .price-table th,
    .price-table td {
        padding: 6px 0 !important;
        border-bottom: 0 !important;
    }

    .price-table-card tbody th,
    .price-table tbody th {
        font-size: 18px;
        margin-bottom: 6px;
        color: #0b2a2f;
    }

    .price-table-card td::before,
    .price-table td::before {
        content: attr(data-label);
        display: block;
        color: #0b2a2f;
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .price-badge {
        margin-top: 4px;
    }
}