/* ==================================================
   REFINED COMPONENT STYLING — SERVICES & FEEDBACK CARDS
   ================================================== */

/* --- Card Base (Shared Foundation) --- */
.card {
    background-color: rgba(18, 18, 31, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: var(--space-md) var(--space-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
                background-color 350ms cubic-bezier(0.16, 1, 0.3, 1),
                border-color 350ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle top border accent line (illuminates on hover) */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    opacity: 0.15;
    transition: opacity 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base card hover states */
.card:hover {
    transform: translateY(-4px);
    background-color: rgba(26, 26, 46, 0.8);
    border-color: rgba(96, 165, 250, 0.25);
    box-shadow: 0 20px 40px rgba(var(--brand-primary-rgb), 0.06), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.card:hover::before {
    opacity: 1;
}

/* ==================================================
   SERVICES / COMMISSIONS CARD REDESIGN
   ================================================== */

.service-card {
    height: 100%;
    justify-content: space-between;
    gap: var(--space-sm);
}

.service-header {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-2xs);
}

.service-icon {
    font-size: 1.1rem;
    color: var(--brand-primary);
    filter: drop-shadow(0 0 8px rgba(var(--brand-primary-rgb), 0.5));
    line-height: 1;
}

.service-card h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: 0.02em;
}

.service-meta {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-secondary);
    margin-top: -4px;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    max-width: none;
}

/* Premium checklist features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: var(--space-sm);
}

.service-features li {
    font-size: 0.85rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
}

.service-features li span {
    color: var(--brand-primary);
    font-weight: bold;
    font-size: 0.95rem;
}

/* Micro call-to-action button inside card */
.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 300ms cubic-bezier(0.16, 1, 0.3, 1),
                border-color 300ms cubic-bezier(0.16, 1, 0.3, 1),
                transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    cursor: pointer;
}

.service-card:hover .service-btn {
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.15), rgba(var(--brand-secondary-rgb), 0.15));
    border-color: rgba(96, 165, 250, 0.45);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.service-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.25), rgba(var(--brand-secondary-rgb), 0.25)) !important;
}

/* ==================================================
   CLIENT FEEDBACK / TESTIMONIALS CARD REDESIGN
   ================================================== */

.feedback-card {
    background-color: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 300ms cubic-bezier(0.16, 1, 0.3, 1),
                border-color 300ms cubic-bezier(0.16, 1, 0.3, 1),
                background-color 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Override top border accent for feedback cards */
.feedback-card::before {
    display: none;
}

/* Softer card hover state matching reference exactly */
.feedback-card:hover {
    transform: translateY(-4px);
    background-color: #0e1422;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

/* Gold Star Rating row */
.feedback-stars {
    font-size: 0.95rem;
    letter-spacing: 2px;
    color: #eab308; /* Gold Star Color matching reference yellow gold */
    margin: 0 0 16px 0;
    line-height: 1;
}

/* Testimonial Quote typography matching reference style exactly */
.feedback-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    color: #cbd5e1; /* Slate white matching reference color */
    margin: 0 0 16px 0;
    max-width: none;
    text-align: left;
}

/* Cyan Accent Author Name prefixed with em-dash */
.feedback-client {
    font-family: var(--font-body);
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--brand-primary); /* Cyan accent color matching reference blue */
    letter-spacing: 0.01em;
    margin: 0;
    display: inline-block;
    line-height: 1.2;
}

.feedback-client::before {
    content: '— ';
}