:root {
    --gc-purple: #6B21A8;
    --gc-purple-dark: #5B1A94;
    --gc-purple-light: #7C3AED;
    --gc-lavender: #F5F0FF;
    --gc-lavender-2: #EDE4FF;
    --gc-text: #1F2937;
    --gc-muted: #6B7280;
    --gc-white: #FFFFFF;
    --gc-border: #E5E7EB;
    --gc-success: #059669;
    --gc-radius: 12px;
    --gc-shadow: 0 4px 24px rgba(107, 33, 168, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--gc-text);
    background: var(--gc-white);
    margin: 0;
    line-height: 1.5;
}

a {
    color: var(--gc-purple);
    text-decoration: none;
}

    a:hover {
        color: var(--gc-purple-dark);
    }

/* Top bar */
.gc-topbar {
    background: #Faf8ff;
    border-bottom: 1px solid var(--gc-border);
    font-size: 0.8rem;
    color: var(--gc-muted);
    padding: 0.4rem 0;
}

    .gc-topbar .badge-trust {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        margin-right: 1rem;
    }

        .gc-topbar .badge-trust svg {
            width: 14px;
            height: 14px;
            color: var(--gc-success);
        }

/* Navbar */
.gc-navbar {
    background: var(--gc-white);
    border-bottom: 1px solid var(--gc-border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.gc-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gc-text);
}

.gc-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gc-purple), var(--gc-purple-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
}

.gc-nav-link {
    color: var(--gc-text) !important;
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px;
}

    .gc-nav-link:hover {
        background: var(--gc-lavender);
        color: var(--gc-purple) !important;
    }

.btn-gc-primary {
    background: var(--gc-purple);
    color: white !important;
    border: none;
    border-radius: 10px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    transition: background 0.2s;
}

    .btn-gc-primary:hover {
        background: var(--gc-purple-dark);
        color: white !important;
    }

.btn-gc-outline {
    background: transparent;
    color: var(--gc-purple) !important;
    border: 2px solid var(--gc-purple);
    border-radius: 10px;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
}

    .btn-gc-outline:hover {
        background: var(--gc-lavender);
    }

/* Hero */
.gc-hero {
    background: linear-gradient(135deg, #Faf5ff 0%, #F3E8FF 50%, #EDE4FF 100%);
    padding: 3.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

    .gc-hero h1 {
        font-size: clamp(1.75rem, 4vw, 2.75rem);
        font-weight: 800;
        line-height: 1.2;
        color: var(--gc-text);
        margin-bottom: 1rem;
    }

        .gc-hero h1 span {
            color: var(--gc-purple);
        }

    .gc-hero .lead {
        font-size: 1.1rem;
        color: var(--gc-muted);
        max-width: 520px;
        margin-bottom: 1.5rem;
    }

.gc-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: var(--gc-muted);
}

.gc-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

    .gc-trust-item strong {
        color: var(--gc-text);
        display: block;
        font-size: 0.85rem;
    }

.gc-form-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: var(--gc-shadow);
    border: 1px solid var(--gc-border);
}

    .gc-form-card h3 {
        font-size: 1.15rem;
        font-weight: 700;
        margin-bottom: 0.25rem;
    }

    .gc-form-card .sub {
        font-size: 0.85rem;
        color: var(--gc-muted);
        margin-bottom: 1.25rem;
    }

/* Partner logos */
.gc-partners {
    padding: 2rem 0;
    text-align: center;
    background: white;
}

    .gc-partners h6 {
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--gc-muted);
        font-size: 0.8rem;
        margin-bottom: 1.25rem;
    }

.gc-partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2.5rem;
    opacity: 0.75;
}

    .gc-partner-logos span {
        font-weight: 600;
        color: #4B5563;
        font-size: 0.95rem;
    }

/* How it works */
.gc-section {
    padding: 3.5rem 0;
}

.gc-section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.gc-section-sub {
    text-align: center;
    color: var(--gc-muted);
    margin-bottom: 2.5rem;
}

.gc-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.gc-step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.gc-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gc-lavender);
    color: var(--gc-purple);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
}

.gc-step h5 {
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.gc-step p {
    font-size: 0.9rem;
    color: var(--gc-muted);
    margin: 0;
}

/* Services cards */
.gc-service-card {
    background: white;
    border: 1px solid var(--gc-border);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    transition: box-shadow 0.2s, border-color 0.2s;
}

    .gc-service-card:hover {
        box-shadow: var(--gc-shadow);
        border-color: var(--gc-purple-light);
    }

    .gc-service-card h4 {
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

    .gc-service-card ul {
        list-style: none;
        padding: 0;
        margin: 1rem 0;
    }

        .gc-service-card ul li {
            padding: 0.35rem 0;
            font-size: 0.95rem;
            color: var(--gc-muted);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

            .gc-service-card ul li::before {
                content: "✓";
                color: var(--gc-success);
                font-weight: 700;
            }

/* Stats bar */
.gc-stats {
    background: var(--gc-lavender);
    border-radius: 16px;
    padding: 1.75rem 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    text-align: center;
    margin: 2.5rem 0;
}

.gc-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gc-purple);
}

.gc-stat span {
    font-size: 0.85rem;
    color: var(--gc-muted);
}

/* CTA band */
.gc-cta-band {
    background: linear-gradient(90deg, var(--gc-purple), var(--gc-purple-light));
    color: white;
    padding: 2.5rem 0;
    border-radius: 0;
    text-align: center;
}

    .gc-cta-band h3 {
        font-weight: 800;
        margin-bottom: 0.5rem;
    }

    .gc-cta-band p {
        opacity: 0.9;
        margin-bottom: 1.25rem;
    }

    .gc-cta-band .btn {
        margin: 0.25rem;
        border-radius: 10px;
        font-weight: 600;
        padding: 0.6rem 1.5rem;
    }

.btn-white {
    background: white;
    color: var(--gc-purple) !important;
    border: none;
}

.btn-outline-white {
    background: transparent;
    color: white !important;
    border: 2px solid white;
}

/* Footer */
.gc-footer {
    background: #1a0b2e;
    color: #D1D5DB;
    padding: 3rem 0 1.5rem;
    font-size: 0.9rem;
}

    .gc-footer h6 {
        color: white;
        font-weight: 700;
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .gc-footer a {
        color: #9CA3AF;
    }

        .gc-footer a:hover {
            color: white;
        }

    .gc-footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .gc-footer ul li {
            margin-bottom: 0.4rem;
        }

.gc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: #9CA3AF;
}

/* Multi-step form */
.gc-form-progress {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

    .gc-form-progress .step-dot {
        flex: 1;
        height: 4px;
        background: var(--gc-border);
        border-radius: 2px;
    }

        .gc-form-progress .step-dot.active {
            background: var(--gc-purple);
        }

        .gc-form-progress .step-dot.done {
            background: var(--gc-success);
        }

.form-option {
    border: 2px solid var(--gc-border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: border-color 0.15s, background 0.15s;
    display: block;
}

    .form-option:hover {
        border-color: var(--gc-purple-light);
        background: var(--gc-lavender);
    }

    .form-option.selected {
        border-color: var(--gc-purple);
        background: var(--gc-lavender);
        font-weight: 600;
    }

    .form-option input {
        display: none;
    }

/* Disclaimer */
.gc-disclaimer {
    font-size: 0.8rem;
    color: var(--gc-muted);
    background: #F9FAFB;
    border-left: 3px solid var(--gc-purple);
    padding: 0.75rem 1rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

/* Mobile sticky CTA */
.gc-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--gc-border);
    padding: 0.75rem 1rem;
    z-index: 999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}

@media (max-width: 767px) {
    .gc-mobile-cta {
        display: flex;
        gap: 0.5rem;
    }

        .gc-mobile-cta .btn {
            flex: 1;
        }

    .gc-hero {
        padding: 2rem 0 3rem;
    }

    body {
        padding-bottom: 70px;
    }
}

.form-control, .form-select {
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--gc-border);
}

    .form-control:focus, .form-select:focus {
        border-color: var(--gc-purple-light);
        box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    }

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.alert-gc {
    border-radius: 10px;
    border: none;
    background: var(--gc-lavender);
    color: var(--gc-purple-dark);
}


/* Brand logo */
.gc-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
}

.gc-logo-img {
    height: 42px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

    .gc-logo-img.lg {
        height: 56px;
        max-width: 260px;
    }

    .gc-logo-img.sm {
        height: 32px;
        max-width: 140px;
    }

    .gc-logo-img.login {
        height: 72px;
        max-width: 280px;
        margin: 0 auto 1rem;
        display: block;
    }

.gc-footer .gc-logo-img {
    height: 40px;
    filter: brightness(1.05);
}

.admin-sidebar .gc-logo-img {
    height: 36px;
    max-width: 160px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem 1rem;
}

@media (max-width: 576px) {
    .gc-logo-img {
        height: 36px;
        max-width: 160px;
    }
}

/* =========================================================
   Homepage — match GoldConnect design mockup
   ========================================================= */
.text-purple {
    color: #6B21A8 !important;
}

.hp-hero {
    position: relative;
    padding: 3.5rem 0 4.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 40%, #ede9fe 100%);
}

.hp-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(167, 139, 250, 0.25), transparent 60%), radial-gradient(ellipse 50% 40% at 20% 80%, rgba(233, 213, 255, 0.5), transparent 50%);
    pointer-events: none;
}

.hp-hero-title {
    font-size: clamp(1.85rem, 4.2vw, 2.85rem);
    font-weight: 800;
    line-height: 1.18;
    color: #1e1b4b;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.hp-title-underline {
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 2px;
    margin: 0.75rem 0 1.25rem;
}

.hp-hero-lead {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    max-width: 28rem;
}

.hp-btn-primary {
    background: #6B21A8;
    color: #fff !important;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.15s;
}

    .hp-btn-primary:hover {
        background: #5B1A94;
        color: #fff !important;
        transform: translateY(-1px);
    }

.hp-btn-outline {
    background: #fff;
    color: #6B21A8 !important;
    border: 2px solid #6B21A8;
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

    .hp-btn-outline:hover {
        background: #f5f0ff;
    }

.hp-btn-white {
    background: #fff;
    color: #6B21A8 !important;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
}

.hp-btn-ghost {
    background: transparent;
    color: #fff !important;
    border: 2px solid #fff;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
}

.hp-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 0.5rem;
}

.hp-pill {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

    .hp-pill strong {
        display: block;
        color: #1e1b4b;
        font-size: 0.85rem;
    }

    .hp-pill small {
        display: block;
        font-size: 0.75rem;
    }

.hp-pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ede9fe;
    color: #6B21A8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.hp-hero-visual {
    position: relative;
    min-height: 320px;
}

.hp-hero-jewelry {
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: 0 20px 50px rgba(107, 33, 168, 0.15);
    margin-left: auto;
    display: block;
}

.hp-lead-card {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: min(340px, 92%);
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem 1.35rem;
    box-shadow: 0 16px 48px rgba(91, 33, 182, 0.18);
    border: 1px solid #f3e8ff;
}

    .hp-lead-card h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #1e1b4b;
        margin-bottom: 0.15rem;
    }

.hp-lead-sub {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.hp-input {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0.65rem 0.9rem !important;
    font-size: 0.9rem;
    background: #f8fafc;
}

    .hp-input:focus {
        border-color: #a78bfa !important;
        box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25) !important;
        background: #fff;
    }

.hp-secure-note {
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
    margin: 0.75rem 0 0;
}

@media (max-width: 991px) {
    .hp-hero-visual {
        min-height: auto;
    }

    .hp-hero-jewelry {
        margin: 0 auto 1rem;
        max-width: 100%;
    }

    .hp-lead-card {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        margin-top: -2rem;
    }
}

/* Partners strip */
.hp-partners {
    padding: 2rem 0 1.5rem;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.hp-section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6B21A8;
    margin-bottom: 1.25rem;
}

.hp-partner-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.75rem;
    margin-bottom: 0.75rem;
}

.hp-partner-logo {
    font-weight: 700;
    font-size: 0.9rem;
    color: #64748b;
    opacity: 0.85;
    letter-spacing: -0.01em;
}

.hp-partner-more {
    background: #f5f0ff;
    color: #6B21A8;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
}

.hp-link-muted {
    font-size: 0.85rem;
    color: #6B21A8;
    font-weight: 500;
}

/* Sections */
.hp-section {
    padding: 3.5rem 0;
}

.hp-section-soft {
    background: linear-gradient(180deg, #faf5ff 0%, #fff 100%);
}

.hp-section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 2.25rem;
    letter-spacing: -0.02em;
}

/* Steps */
.hp-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0.5rem 0;
}

.hp-step {
    flex: 1 1 140px;
    max-width: 200px;
    text-align: center;
    padding: 0.5rem;
}

.hp-step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.5rem;
    border-radius: 50%;
    background: #f3e8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #6B21A8;
}

.hp-step-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 0.35rem;
}

.hp-step h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e1b4b;
    margin-bottom: 0.25rem;
}

.hp-step p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
}

.hp-step-line {
    width: 40px;
    height: 2px;
    background: repeating-linear-gradient(90deg, #c4b5fd 0 6px, transparent 6px 10px);
    margin-top: 2rem;
    flex-shrink: 0;
}

/* Services */
.hp-service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 8px 30px rgba(107, 33, 168, 0.06);
    height: 100%;
}

.hp-service-loan {
    background: linear-gradient(135deg, #faf5ff, #fff);
}

.hp-service-sell {
    background: linear-gradient(135deg, #fff7ed, #fff);
}

.hp-service-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #6B21A8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hp-service-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 0.5rem;
}

.hp-service-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.hp-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

    .hp-check-list li {
        font-size: 0.88rem;
        color: #475569;
        padding: 0.2rem 0;
    }

        .hp-check-list li::before {
            content: "✓ ";
            color: #059669;
            font-weight: 700;
        }

.hp-service-img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

/* Stats */
.hp-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    box-shadow: 0 4px 24px rgba(107, 33, 168, 0.06);
    border: 1px solid #f1f5f9;
    text-align: center;
}

.hp-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #6B21A8;
}

.hp-stat span {
    font-size: 0.75rem;
    color: #94a3b8;
}

@media (max-width: 767px) {
    .hp-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Why choose */
.hp-why-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #ede9fe, #f5f0ff);
    min-height: 280px;
}

.hp-why-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    opacity: 0.85;
}

.hp-why-shield {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: linear-gradient(135deg, rgba(237, 233, 254, 0.7), rgba(245, 240, 255, 0.85));
}

.hp-why-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: #faf5ff;
    height: 100%;
}

.hp-why-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(107, 33, 168, 0.08);
}

.hp-why-item h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: #1e1b4b;
}

.hp-why-item p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0;
}

/* Testimonials */
.hp-testimonial {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    height: 100%;
}

    .hp-testimonial p {
        font-size: 0.9rem;
        color: #475569;
        margin: 0;
        line-height: 1.55;
    }

.hp-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.hp-stars {
    color: #f59e0b;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Articles */
.hp-article {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.15s;
}

    .hp-article:hover {
        box-shadow: 0 12px 32px rgba(107, 33, 168, 0.12);
        transform: translateY(-3px);
    }

    .hp-article img {
        width: 100%;
        height: 140px;
        object-fit: cover;
    }

.hp-article-body {
    padding: 1rem;
}

.hp-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6B21A8;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hp-article h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e1b4b;
    margin: 0.4rem 0 0.5rem;
    line-height: 1.35;
}

.hp-read {
    font-size: 0.8rem;
    color: #6B21A8;
    font-weight: 600;
}

/* CTA band */
.hp-cta {
    background: linear-gradient(90deg, #6B21A8, #7c3aed 50%, #8b5cf6);
    color: #fff;
    padding: 3rem 1rem;
    text-align: center;
}

    .hp-cta h2 {
        font-size: clamp(1.25rem, 2.5vw, 1.65rem);
        font-weight: 800;
        margin-bottom: 0.5rem;
    }

    .hp-cta p {
        opacity: 0.9;
        margin-bottom: 0;
        font-size: 0.95rem;
    }

/* --- Responsive hardening (all devices) --- */
html { -webkit-text-size-adjust: 100%; }
img, video, svg { max-width: 100%; height: auto; }
.table-responsive { -webkit-overflow-scrolling: touch; }

@media (max-width: 575.98px) {
  .gc-form-card { padding: 1rem !important; border-radius: 12px; }
  .gc-section { padding-left: 0.75rem; padding-right: 0.75rem; }
  h1, .h1 { font-size: 1.5rem !important; }
  .btn { min-height: 44px; }
  .gc-mobile-cta { display: flex; gap: 0.5rem; padding: 0.6rem; }
  .gc-mobile-cta .btn { flex: 1; font-size: 0.9rem; }
}

@media (min-width: 576px) {
  .gc-mobile-cta { display: none; }
}

/* Prevent horizontal overflow from wide tables / pre */
body { overflow-x: hidden; }
main { min-width: 0; }

/* Client validation helpers */
.field-error { color: #b91c1c; font-size: 0.8rem; margin-top: 0.25rem; display: none; }
.field-error.show { display: block; }
.is-invalid { border-color: #dc2626 !important; }
