/* ==========================================
   COMPONENTS
   Legacy Protection Services
========================================== */

/* ==========================================
   SURFACE / CARD COMPONENTS
========================================== */

.site-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid rgba(16, 24, 40, 0.06);
    border-radius: 18px;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.site-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.1);
    border-color: rgba(214, 154, 59, 0.2);
}

.site-card--sm {
    padding: 1rem 1.1rem;
    border-radius: 14px;
}

.site-card--lg {
    padding: clamp(1.5rem, 2.4vw, 2.25rem);
    border-radius: 22px;
}

.site-card--dark {
    background: #111111;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.site-card--dark:hover {
    border-color: rgba(214, 154, 59, 0.28);
}

.site-card--dark h1,
.site-card--dark h2,
.site-card--dark h3,
.site-card--dark h4,
.site-card--dark h5,
.site-card--dark h6 {
    color: var(--color-white);
}

.site-card--dark p,
.site-card--dark li,
.site-card--dark small {
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   CONTENT CARD PATTERNS
========================================== */

.content-card__eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: var(--font-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

.content-card__title {
    margin: 0 0 0.7rem;
    font-size: var(--font-lg);
    line-height: var(--line-snug);
    color: var(--color-black);
}

.content-card__text {
    margin: 0;
    font-size: var(--font-sm);
    line-height: 1.7;
    color: var(--color-text-light);
}

.site-card--dark .content-card__title {
    color: var(--color-white);
}

.site-card--dark .content-card__text {
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================
   SERVICE PANEL
   Use for reusable service-style content blocks
========================================== */

.service-panel {
    position: relative;
    background: var(--color-white);
    border: 1px solid rgba(16, 24, 40, 0.06);
    border-radius: 20px;
    padding: clamp(1.4rem, 2vw, 2rem);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.06);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(16, 24, 40, 0.1);
    border-color: rgba(214, 154, 59, 0.22);
}

.service-panel__title {
    margin: 0 0 0.85rem;
    font-size: var(--font-lg);
    line-height: var(--line-snug);
    color: var(--color-black);
}

.service-panel__text {
    margin: 0;
    font-size: var(--font-sm);
    line-height: 1.72;
    color: var(--color-text-light);
}

/* ==========================================
   BADGE / LABEL
========================================== */

.ui-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: var(--font-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(214, 154, 59, 0.1);
    color: var(--color-primary-dark);
    border: 1px solid rgba(214, 154, 59, 0.18);
}

.ui-badge--dark {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.12);
}

/* ==========================================
   DIVIDERS
========================================== */

.section-divider {
    width: 100%;
    height: 1px;
    background: rgba(16, 24, 40, 0.08);
}

.section-divider--light {
    background: rgba(255, 255, 255, 0.12);
}

/* ==========================================
   MEDIA OBJECT
   Useful for compact aligned content blocks
========================================== */

.media-inline {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
}

.media-inline__body {
    min-width: 0;
}

.media-inline__title {
    margin: 0 0 0.35rem;
    font-size: var(--font-base);
    line-height: 1.4;
    color: var(--color-black);
}

.media-inline__text {
    margin: 0;
    font-size: var(--font-sm);
    line-height: 1.65;
    color: var(--color-text-light);
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 767.98px) {
    .site-card,
    .service-panel {
        border-radius: 16px;
        padding: 1.2rem 1rem;
    }

    .site-card--lg {
        padding: 1.4rem 1.15rem;
        border-radius: 18px;
    }

    .content-card__title,
    .service-panel__title {
        font-size: var(--font-base);
    }

    .content-card__text,
    .service-panel__text,
    .media-inline__text {
        font-size: 0.86rem;
        line-height: 1.65;
    }
}