/* ============================================ */
/*    Pricing pages (Web Design / SEO / Resources) */
/* ============================================ */

.pricing-section {
    padding: var(--sectionPadding);
    background-color: #fff;
}

.pricing-section .cs-container {
    width: 100%;
    max-width: 1280px;
    margin: auto;
}

/* Responsive grid: 1 col mobile, 2 col tablet, 3 col desktop */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

@media (min-width: 600px) and (max-width: 899px) {
    /* Single centered column on small tablets — avoids odd 2-col + orphan layout */
    .pricing-grid {
        grid-template-columns: minmax(0, 28rem);
        justify-content: center;
        gap: 1.75rem;
    }
}

@media (min-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1440px) {
    .pricing-section .cs-container {
        max-width: 1400px;
    }
    .pricing-grid {
        gap: 2.5rem;
    }
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.25rem 1.75rem;
    background-color: #fff;
    border: 1px solid #e6e6ed;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(26, 26, 26, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(26, 26, 26, 0.08);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 14px 32px rgba(185, 72, 55, 0.18);
}

@media (min-width: 900px) {
    .pricing-card.featured {
        transform: translateY(-8px);
    }
    .pricing-card.featured:hover {
        transform: translateY(-12px);
    }
}

.pricing-card .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.35rem 0.9rem;
    background-color: var(--primary);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eef0f4;
}

.pricing-header .plan-name {
    margin: 0;
    font-size: 1.5rem;
    color: var(--headerColor);
}

.pricing-header .plan-tag {
    margin: 0.4rem 0 0;
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.feature-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    flex-grow: 1;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    color: var(--bodyTextColor);
    font-size: 0.95rem;
    line-height: 1.45;
}

.feature-list .check {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;
    background-color: rgba(185, 72, 55, 0.12);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.price-block {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eef0f4;
    text-align: center;
}

.price-block .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--headerColor);
}

.price-block .cycle {
    margin-left: 0.25rem;
    font-size: 1rem;
    color: var(--bodyTextColor);
}

.plan-cta {
    margin-top: 1.25rem;
    width: 100%;
    text-align: center;
    justify-content: center;
    color: #fff !important;
}

.plan-cta:hover {
    color: #fff !important;
}

/* ============================================ */
/*           Sample sites gallery (Web Design)   */
/* ============================================ */

.sample-gallery {
    padding: var(--sectionPadding);
    background-color: #fafbfc;
}

.sample-gallery .cs-container {
    width: 100%;
    max-width: 1280px;
    margin: auto;
}

.sample-gallery .cs-content {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 2.5rem;
}

.sample-gallery .cs-content .cs-title,
.sample-gallery .cs-content .cs-topper {
    margin-left: auto;
    margin-right: auto;
}

/* 2 rows of 4 on desktop; collapses cleanly down to mobile */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1440px) {
    .sample-gallery .cs-container {
        max-width: 1400px;
    }
    .gallery-grid {
        gap: 1.75rem;
    }
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 14px rgba(26, 26, 26, 0.06);
    aspect-ratio: 4 / 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(26, 26, 26, 0.12);
}

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

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

/* ============================================ */
/*           Closing CTA with banner background  */
/* ============================================ */

.pricing-cta {
    position: relative;
    padding: var(--sectionPadding);
    color: #fff;
    text-align: center;
    background-image: url("/assets/images/banner-sm.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

@media (min-width: 601px) {
    .pricing-cta {
        background-image: url("/assets/images/banner.webp");
    }
}

.pricing-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(26, 26, 26, 0.65);
    z-index: 0;
}

.pricing-cta .cs-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.pricing-cta h2 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.pricing-cta p {
    margin: 0 0 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.pricing-cta .cs-button-solid {
    color: #fff !important;
}

.pricing-cta .cs-button-solid:hover {
    color: #fff !important;
}

/* ============================================ */
/*           Resources hub                       */
/* ============================================ */

.resources-hub {
    padding: var(--sectionPadding);
    background-color: #fff;
}

.resources-hub .cs-container {
    width: 100%;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.resources-hub .cs-content {
    max-width: 48rem;
    margin: 0 auto 3rem;
}

.resources-hub .cs-content .cs-title,
.resources-hub .cs-content .cs-topper {
    margin-left: auto;
    margin-right: auto;
}

.resources-hub .cs-text {
    margin-top: 1rem;
    color: var(--bodyTextColor);
    line-height: 1.6;
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.resource-link-card {
    display: block;
    padding: 2.25rem;
    background-color: #fafbfc;
    border: 1px solid #e6e6ed;
    border-radius: 12px;
    text-align: left;
    color: var(--bodyTextColor);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.resource-link-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(26, 26, 26, 0.08);
}

.resource-link-card h3 {
    margin: 0 0 0.75rem;
    color: var(--headerColor);
    font-size: 1.5rem;
}

.resource-link-card p {
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

.resource-cta {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}
