/* ========================================
   Prices Page - Full Detailing Package
   SIR'S Detailing (Like services.html)
======================================== */

/* ========================================
   Page Background
======================================== */

body.prices-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/v109_1092.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
    opacity: 0.4;
}

body.prices-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(13, 13, 13, 0.9) 0%,
            rgba(33, 35, 39, 0.7) 30%,
            rgba(90, 96, 104, 0.5) 60%,
            rgba(13, 13, 13, 0.8) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Never allow a child slider to widen or drag the Prices page sideways. */
html,
body.prices-page,
body.prices-page #page,
body.prices-page > .prices-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

/* iOS can still rubber-band a page sideways even when its scroll width is
   correct. Lock the page gesture to the vertical axis on Prices only. */
html,
body.prices-page,
body.prices-page #page {
    overscroll-behavior-x: none;
    touch-action: pan-y;
}

/* Keep Bootstrap's closed off-canvas menu out of the render tree. Its
   translated 400px panel otherwise sits to the right of the viewport. */
body.prices-page #mobileMenu {
    max-width: 100vw;
}

body.prices-page #mobileMenu:not(.show):not(.showing):not(.hiding) {
    display: none !important;
}

/* Calendly injects min-width: 320px inline. Inside Bootstrap's padded mobile
   column only 282px may be available, so the widget otherwise protrudes. */
.prices-page .calendly-inline-widget,
.prices-page .calendly-inline-widget iframe {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.prices-page .reviews-slider-v2,
.prices-page .reviews-slider-v2 .slider-wrapper {
    max-width: 100%;
    overflow-x: hidden !important;
}

.prices-page .reviews-slider-v2 .slider-track {
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden !important;
    overscroll-behavior-x: contain;
    touch-action: pan-y;
}

/* ========================================
   Service Hero Section
======================================== */

.prices-page .service-hero {
    position: relative;
    padding-top: 100px;
    padding-bottom: 40px;
    min-height: auto;
    text-align: center;
    background: linear-gradient(180deg,
            rgba(13, 13, 13, 0.8) 0%,
            rgba(33, 35, 39, 0.5) 100%);
}

.prices-page .service-hero__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 30px;
    line-height: 1em;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: var(--shadow-text);
    margin-bottom: 20px;
    color: var(--color-text-white);
}

.prices-page .service-hero__buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.prices-page .btn-outline-custom {
    background: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    box-shadow: 0px 4px 8px rgba(1, 1, 1, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.prices-page .btn-outline-custom:hover {
    background: rgba(255, 92, 0, 0.2);
    color: var(--color-text-white);
    border-color: var(--color-primary);
}

.prices-page .service-hero .btn-primary-custom {
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 4px;
}

/* ========================================
   Quick Package Selector
======================================== */

.quick-packages {
    position: relative;
    padding: clamp(56px, 7vw, 92px) 0 clamp(62px, 8vw, 104px);
    background: #111316;
    color: #fff;
    overflow: hidden;
}

.quick-packages .container {
    max-width: 1320px;
}

.quick-packages__heading {
    max-width: 900px;
    margin: 0 auto clamp(34px, 5vw, 58px);
    text-align: center;
}

.quick-packages__title {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(30px, 4.2vw, 56px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.quick-packages__subtitle {
    max-width: 680px;
    margin: 18px auto 0;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-body);
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.45;
}

.quick-packages__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.quick-package-card {
    --quick-accent: #00b8c2;
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(25px, 4vw, 34px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--quick-accent);
    border-radius: 24px;
    background: #fff;
    color: #111316;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.quick-package-card--premium {
    --quick-accent: var(--color-primary);
    border-color: rgba(255, 92, 0, 0.7);
    background: #0b0c0e;
    color: #fff;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.35);
}

.quick-package-card--diamond {
    --quick-accent: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: #20d7df;
    color: #071113;
}

.quick-package-card__badge {
    margin: 0;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quick-package-card__topline {
    display: flex;
    min-height: 26px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.quick-package-card__topline .quick-package-card__eyebrow {
    margin-bottom: 0;
}

.quick-package-card__topline .quick-package-card__badge {
    transform: translateY(-5px);
}

.quick-package-card__header {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(9, 15, 17, 0.14);
}

.quick-package-card--premium .quick-package-card__header {
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

.quick-package-card__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--quick-accent);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.quick-package-card--basic .quick-package-card__eyebrow {
    color: #008990;
}

.quick-package-card--diamond .quick-package-card__eyebrow {
    color: #071113;
}

.quick-package-card__title {
    margin: 0;
    color: inherit;
    font-family: var(--font-heading);
    font-size: clamp(25px, 2.35vw, 34px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.quick-package-card__features {
    flex: 1 1 auto;
    padding: 23px 0 22px;
}

.quick-package-card__intro,
.quick-package-card__upgrade {
    font-family: var(--font-body);
}

.quick-package-card__intro {
    margin: 0 0 13px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.quick-package-card__upgrade {
    margin: -3px 0 13px;
    color: currentColor;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    opacity: 0.7;
}

.quick-package-card__features ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.quick-package-card__features li {
    position: relative;
    margin: 0;
    padding-left: 27px;
    color: inherit;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 550;
    line-height: 1.38;
}

.quick-package-card__features li::before {
    content: '✓';
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--quick-accent);
    color: #071113;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.quick-package-card--basic .quick-package-card__features li::before {
    background: #00d2dc;
}

.quick-package-card--premium .quick-package-card__features li::before {
    color: #fff;
}

.quick-package-card__duration {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 20px;
    padding: 8px 12px;
    border: 1px solid rgba(9, 15, 17, 0.16);
    border-radius: 999px;
    color: inherit;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.quick-package-card--premium .quick-package-card__duration {
    border-color: rgba(255, 255, 255, 0.2);
}

.quick-package-card__time-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.72;
}

.quick-package-card__prices {
    display: grid;
    gap: 10px;
    margin-bottom: 23px;
    padding-top: 20px;
    border-top: 1px solid rgba(9, 15, 17, 0.14);
}

.quick-package-card--premium .quick-package-card__prices {
    border-top-color: rgba(255, 255, 255, 0.14);
}

.quick-package-card__prices div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.quick-package-card__prices span {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.quick-package-card__prices strong {
    color: var(--quick-accent);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(31px, 3vw, 40px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.035em;
}

.quick-package-card--basic .quick-package-card__prices strong {
    color: #008990;
}

.quick-package-card--diamond .quick-package-card__prices strong {
    color: #071113;
}

.quick-package-card__button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #00d2dc;
    color: #071113;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.035em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-package-card--premium .quick-package-card__button {
    background: var(--color-primary);
    color: #fff;
}

.quick-package-card--diamond .quick-package-card__button {
    background: #071113;
    color: #fff;
}

.quick-package-card__button:hover,
.quick-package-card__button:focus-visible {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.quick-package-card--premium .quick-package-card__button:hover,
.quick-package-card--premium .quick-package-card__button:focus-visible,
.quick-package-card--diamond .quick-package-card__button:hover,
.quick-package-card--diamond .quick-package-card__button:focus-visible {
    color: #fff;
}

.quick-package-card__button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (min-width: 992px) {
    .quick-packages__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .quick-package-card--premium {
        z-index: 1;
        transform: translateY(-12px);
    }

}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
    .quick-package-card {
        transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    }

    .quick-package-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 22px 48px rgba(0, 0, 0, 0.3);
    }

    .quick-package-card--premium:hover {
        transform: translateY(-17px);
        box-shadow: 0 28px 58px rgba(0, 0, 0, 0.42);
    }
}

@media (max-width: 575.98px) {
    .quick-packages .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .quick-package-card {
        border-radius: 20px;
    }

    .quick-package-card__title {
        font-size: 27px;
    }

    .quick-package-card__features li {
        font-size: 15px;
    }

    .quick-package-card__prices strong {
        font-size: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .quick-package-card,
    .quick-package-card__button {
        transition: none;
    }
}

/* ========================================
   Pricing Cards (Stages of Work)
======================================== */

.prices-page .stages-work {
    position: relative;
    background: linear-gradient(180deg,
            rgba(13, 13, 13, 0.5) 0%,
            rgba(33, 35, 39, 0.4) 50%,
            rgba(13, 13, 13, 0.5) 100%);
}

.pricing-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.pricing-card {
    position: relative;
    background: rgba(224, 224, 224, 0.6);
    border-radius: 30px;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card__header {
    padding: 20px 30px;
}

.pricing-card__level {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.1em;
    letter-spacing: -0.02em;
    background: linear-gradient(61deg, #00E1EB 0%, #83FAFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
}

.pricing-card__title {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 30px;
    line-height: 1em;
    color: rgba(13, 13, 13, 0.8);
    margin: 0;
}

.pricing-card__features {
    padding: 0 30px 20px;
}

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

.pricing-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2em;
    color: rgba(13, 13, 13, 0.95);
    margin-bottom: 15px;
}

.pricing-card__features li img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card__footer {
    background: var(--gradient-primary);
    padding: 20px 30px;
    border-radius: 8px 8px 30px 30px;
}

.pricing-card__prices {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.3em;
    text-transform: uppercase;
    color: var(--color-text-white);
}

.price-value {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    line-height: 1em;
    text-transform: uppercase;
    color: var(--color-text-white);
}

.pricing-card__arrow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

.pricing-card__arrow img {
    width: 23px;
    height: 33px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Featured Card (Level 3) */
.pricing-card--featured {
    border: 2px solid var(--color-primary);
}

.pricing-card--featured .pricing-card__footer {
    background: linear-gradient(156deg, #B33A00 0%, #FF5C00 45%);
}

/* ========================================
   Gallery Section
======================================== */

.gallery-section {
    position: relative;
    background: linear-gradient(135deg,
            rgba(13, 13, 13, 0.4) 0%,
            rgba(33, 35, 39, 0.3) 100%);
    overflow: hidden;
}

.gallery-section .section-subtitle {
    text-align: left;
    width: auto;
    display: inline-block;
}

.gallery-section .section-title {
    text-align: left;
}

.gallery-section .section-title::after {
    left: 0;
    transform: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item--tall {
    grid-row: span 2;
}

/* ========================================
   Experience Section
======================================== */

.experience-section {
    position: relative;
    background: linear-gradient(180deg,
            rgba(13, 13, 13, 0.5) 0%,
            rgba(33, 35, 39, 0.4) 50%,
            rgba(13, 13, 13, 0.6) 100%);
    overflow: hidden;
}

.experience-features {
    margin-bottom: 30px;
}

.exp-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.exp-feature:hover {
    background: rgba(255, 92, 0, 0.1);
    transform: translateX(5px);
}

.exp-feature__icon {
    width: 12px;
    height: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

.exp-feature__content h4 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2em;
    color: var(--color-text-light);
    text-shadow: var(--shadow-text-small);
    margin-bottom: 8px;
}

.exp-feature__content p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4em;
    color: var(--color-text-muted);
    margin: 0;
}

.experience-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.experience-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.experience-image:hover img {
    transform: scale(1.05);
}

/* ========================================
   Responsive - Tablet
======================================== */

@media (min-width: 768px) {
    .prices-page .service-hero {
        padding-top: 120px;
        padding-bottom: 50px;
    }

    .prices-page .service-hero__title {
        font-size: 42px;
    }

    .prices-page .service-hero__buttons {
        gap: 20px;
    }

    .pricing-card__title {
        font-size: 36px;
    }

    .pricing-card__features li {
        font-size: 16px;
    }

    .gallery-grid {
        gap: 15px;
    }
}

/* ========================================
   Responsive - Desktop
======================================== */

@media (min-width: 992px) {
    .prices-page .service-hero {
        padding-top: 140px;
        padding-bottom: 80px;
        text-align: center;
    }

    .prices-page .service-hero__title {
        font-size: 56px;
        margin-bottom: 30px;
    }

    .prices-page .service-hero__buttons {
        justify-content: center;
        gap: 25px;
    }

    .prices-page .service-hero .btn-primary-custom,
    .prices-page .btn-outline-custom {
        padding: 15px 35px;
        font-size: 20px;
    }

    /* Pricing Cards - Horizontal Layout */
    .prices-page .stages-work .container {
        max-width: 1400px;
    }

    .pricing-cards-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        align-items: start;
    }

    .pricing-card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .pricing-card__features {
        flex: 1;
    }

    .pricing-card__arrow {
        display: none;
    }

    .pricing-card__title {
        font-size: 28px;
    }

    .pricing-card__features li {
        font-size: 15px;
    }

    /* Gallery - 4 columns */
    .gallery-section .container {
        max-width: 1200px;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .gallery-item--tall {
        grid-row: span 1;
    }

    .gallery-item {
        height: 250px;
    }

    /* Experience - Side by side */
    .experience-section .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
        max-width: 1200px;
    }

    .experience-section .section-title {
        text-align: left;
        margin-bottom: 30px;
    }

    .experience-section .section-title::after {
        left: 0;
        transform: none;
    }

    .exp-feature__content h4 {
        font-size: 20px;
    }

    .exp-feature__content p {
        font-size: 16px;
    }

    .experience-image {
        max-height: 500px;
    }
}

/* ========================================
   Responsive - Large Desktop
======================================== */

@media (min-width: 1200px) {
    .prices-page .service-hero__title {
        font-size: 64px;
    }

    .pricing-card__title {
        font-size: 32px;
    }

    .pricing-card__features li {
        font-size: 16px;
    }

    .gallery-item {
        height: 300px;
    }

    .experience-section .container {
        gap: 80px;
    }
}

/* ========================================
   Responsive - Extra Large Desktop
======================================== */

@media (min-width: 1400px) {
    .pricing-cards-wrapper {
        gap: 40px;
    }

    .pricing-card__title {
        font-size: 36px;
    }

    .pricing-card__features li {
        font-size: 17px;
    }

    .price-label,
    .price-value {
        font-size: 20px;
    }
}


/* ========================================
   Hero with Background Image
======================================== */

.prices-page .service-hero--with-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.prices-page .service-hero--with-bg .service-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(13, 13, 13, 0.7) 0%,
            rgba(33, 35, 39, 0.6) 50%,
            rgba(13, 13, 13, 0.85) 100%);
    z-index: 0;
}

.prices-page .service-hero--with-bg .container {
    position: relative;
    z-index: 1;
}
