/* ==========================================================================
   Fabulous Cleaning Concept — Deluxe Legal Pages Styles (Terms & Privacy)
   Palette: Dark Charcoal (#0e0d0c, #181614) & Metallic Gold (#C28726, #E1A93B, #F8CC61, #FAEBAB)
   ========================================================================== */

.legal-page-hero {
    background: linear-gradient(180deg, #181614 0%, #0e0d0c 100%);
    border-bottom: 1px solid rgba(194, 135, 38, 0.3);
    padding: 100px 0 60px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.legal-page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 300px;
    background: radial-gradient(circle, rgba(194, 135, 38, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(194, 135, 38, 0.14);
    border: 1px solid rgba(248, 204, 97, 0.4);
    color: #F8CC61;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}

.legal-badge i,
.legal-badge svg {
    width: 16px;
    height: 16px;
    color: #E1A93B;
}

.legal-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.2rem;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.legal-hero-subtitle {
    font-size: 1.18rem;
    color: #FAEBAB;
    opacity: 0.92;
    max-width: 720px;
    margin: 0 auto 12px;
    line-height: 1.6;
    font-weight: 400;
}

.legal-hero-meta {
    font-size: 0.88rem;
    color: rgba(248, 204, 97, 0.75);
    margin: 0;
}

/* Page Body & Container */
.legal-page-section {
    background: #0e0d0c;
    min-height: 80vh;
    padding: 60px 0 100px;
    position: relative;
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-card {
    background: linear-gradient(180deg, #1c1a17 0%, #12110f 100%);
    border: 1px solid rgba(194, 135, 38, 0.3);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
    padding: 55px 50px;
    position: relative;
}

/* Section styling inside card */
.legal-section-block {
    margin-bottom: 45px;
}

.legal-section-block:last-child {
    margin-bottom: 0;
}

.legal-h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.7rem;
    color: #F8CC61;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(194, 135, 38, 0.22);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
}

.legal-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(194, 135, 38, 0.25), rgba(121, 68, 8, 0.35));
    border: 1px solid rgba(248, 204, 97, 0.35);
    color: #FAEBAB;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    flex-shrink: 0;
}

.legal-h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FAEBAB;
    margin: 22px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-card p {
    color: #d0c6b8;
    line-height: 1.85;
    font-size: 1.02rem;
    margin-bottom: 16px;
}

.legal-card strong {
    color: #ffffff;
    font-weight: 600;
}

.legal-list {
    list-style: none;
    margin: 18px 0 24px;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-list li {
    position: relative;
    padding-left: 28px;
    color: #d0c6b8;
    line-height: 1.8;
    font-size: 1rem;
}

.legal-list li::before {
    content: "✦";
    position: absolute;
    left: 4px;
    top: 0;
    color: #C28726;
    font-size: 0.88rem;
}

/* Contact Info Box */
.legal-contact-card {
    background: rgba(24, 22, 20, 0.85);
    border: 1.5px solid rgba(194, 135, 38, 0.45);
    border-radius: 16px;
    padding: 32px 30px;
    margin-top: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.legal-contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #F8CC61 0%, #C28726 100%);
}

.legal-contact-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.legal-contact-header i,
.legal-contact-header svg {
    width: 24px;
    height: 24px;
    color: #F8CC61;
}

.legal-contact-header h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    color: #ffffff;
    margin: 0;
}

.legal-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 15px;
}

.legal-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #d0c6b8;
    font-size: 0.96rem;
    line-height: 1.6;
}

.legal-contact-item i,
.legal-contact-item svg {
    width: 18px;
    height: 18px;
    color: #C28726;
    margin-top: 3px;
    flex-shrink: 0;
}

.legal-contact-item a {
    color: #F8CC61;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.legal-contact-item a:hover {
    color: #FAEBAB;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page-hero {
        padding: 85px 0 45px;
    }

    .legal-hero-title {
        font-size: 2.3rem;
    }

    .legal-hero-subtitle {
        font-size: 1.05rem;
    }

    .legal-card {
        padding: 35px 22px;
        border-radius: 16px;
    }

    .legal-h2 {
        font-size: 1.4rem;
    }

    .legal-contact-card {
        padding: 24px 18px;
    }

    .legal-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   404 Deluxe Error Page Styles
   ========================================================================== */
.error-page-section {
    background: #0e0d0c;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 100px;
    position: relative;
    overflow: hidden;
}

.error-page-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    height: 450px;
    background: radial-gradient(circle, rgba(194, 135, 38, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.error-card {
    background: linear-gradient(180deg, #1c1a17 0%, #12110f 100%);
    border: 1px solid rgba(194, 135, 38, 0.3);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
    padding: 60px 48px;
    text-align: center;
    max-width: 720px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.error-code {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 7.5rem;
    font-weight: 700;
    line-height: 1;
    margin: 10px 0 20px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #FAEBAB 0%, #F8CC61 30%, #E1A93B 70%, #C28726 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 25px rgba(194, 135, 38, 0.25));
}

.error-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.error-desc {
    color: #d0c6b8;
    font-size: 1.12rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.error-actions .btn-gold-solid,
.error-actions .btn-gold-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-gold-solid {
    background: linear-gradient(135deg, #C28726 0%, #E1A93B 50%, #F8CC61 100%);
    color: #181614 !important;
    box-shadow: 0 8px 24px rgba(194, 135, 38, 0.4);
    border: none;
}

.btn-gold-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(225, 169, 59, 0.55);
}

.btn-gold-outline {
    background: rgba(24, 22, 20, 0.6);
    color: #FAEBAB !important;
    border: 1.5px solid rgba(248, 204, 97, 0.5);
    backdrop-filter: blur(8px);
}

.btn-gold-outline:hover {
    background: rgba(194, 135, 38, 0.15);
    border-color: #F8CC61;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.error-support-bar {
    padding-top: 25px;
    border-top: 1px solid rgba(194, 135, 38, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.error-support-bar a {
    color: #F8CC61;
    font-weight: 600;
    text-decoration: none;
}

.error-support-bar a:hover {
    color: #FAEBAB;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .error-card {
        padding: 40px 24px;
        border-radius: 18px;
    }
    .error-code {
        font-size: 5rem;
    }
    .error-title {
        font-size: 1.7rem;
    }
    .error-desc {
        font-size: 1rem;
    }
    .error-actions {
        flex-direction: column;
    }
    .error-actions .btn-gold-solid,
    .error-actions .btn-gold-outline {
        width: 100%;
        justify-content: center;
    }
}

