/**
 * Services Preview Cards, Textured Overview & Booking Strip
 *
 * @package OncoDermCare
 */

.services-preview-section {
    padding-bottom: 0;
}

/* --------------------------------------------------------------------------
   1. 4-Column Cards Grid
   -------------------------------------------------------------------------- */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}

@media (min-width: 1024px) {
    .services-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-preview-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    aspect-ratio: 3 / 4;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.service-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.service-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.service-card-image-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-preview-card:hover .service-card-image-wrap img {
    transform: scale(1.06);
}

.service-card-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(31, 36, 33, 0.05) 0%, rgba(31, 36, 33, 0.45) 50%, rgba(31, 36, 33, 0.88) 100%);
    transition: opacity var(--transition-fast);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.75rem 1.25rem;
    text-align: center;
    z-index: 2;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 0.95rem + 0.3vw, 1.25rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.fotofinder-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-white);
    margin-top: 0.35rem;
}

.fotofinder-brand-badge .ff-icon {
    color: #E63946;
    font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   2. Textured Scope of Practice Panel
   -------------------------------------------------------------------------- */
.services-textured-banner {
    padding: clamp(3rem, 2rem + 3vw, 5rem) 0;
    border-top: 1px solid rgba(198, 146, 85, 0.15);
    border-bottom: 1px solid rgba(198, 146, 85, 0.15);
}

.services-overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .services-overview-grid {
        grid-template-columns: 280px 1fr;
        gap: 3.5rem;
    }
}

.services-big-heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 2rem + 2vw, 3.8rem);
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(198, 146, 85, 0.45);
    line-height: 1;
    margin: 0;
}

.services-description-lead {
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.overview-btn-wrap {
    display: flex;
}

/* --------------------------------------------------------------------------
   3. Superdoc Booking CTA Strip
   -------------------------------------------------------------------------- */
.cta-booking-banner {
    background-color: var(--color-canvas);
    padding: clamp(2.5rem, 1.5rem + 2vw, 4rem) 0;
    border-bottom: 1px solid rgba(198, 146, 85, 0.15);
}

.cta-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-banner-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cta-banner-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.75rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.cta-banner-btn {
    padding: 0.95rem 2.25rem;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}