/* =====================================================
   Digital Menu Book — Legal & Info Pages
   ===================================================== */

/* ---- Base ---- */
.legal-page {
    font-family: 'Outfit', sans-serif;
    color: #1a202c;
    background: #fff;
}

/* ---- Page Hero Banner ---- */
.page-hero {
    background: linear-gradient(155deg, #0F172A 0%, #1E293B 40%, #334155 70%, #0F172A 100%);
    padding: 100px 0 64px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 28px 28px;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,107,53,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,107,53,0.12);
    border: 1px solid rgba(255,107,53,0.25);
    color: #ffb89a;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-hero-badge i { color: #FF6B35; font-size: 10px; }

.page-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
}

.page-hero-title span { color: #FF6B35; }

.page-hero-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
}

.page-hero-meta strong { color: rgba(255,255,255,0.7); font-weight: 600; }

/* Breadcrumb */
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.page-breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.page-breadcrumb a:hover { color: #FF6B35; text-decoration: none; }
.page-breadcrumb i { font-size: 10px; }
.page-breadcrumb span { color: rgba(255,255,255,0.7); }

/* ---- Main layout ---- */
.legal-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 80px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

.legal-wrap.no-toc {
    display: block;
    max-width: 900px;
}

/* ---- TOC Sidebar ---- */
.legal-toc {
    position: sticky;
    top: 88px;
}

.legal-toc-title {
    font-size: 11px;
    font-weight: 700;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.legal-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.legal-toc a {
    display: block;
    font-size: 13px;
    color: #718096;
    padding: 7px 12px;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    line-height: 1.4;
    font-weight: 500;
    text-decoration: none;
}

.legal-toc a:hover {
    color: #0A2540;
    background: #f7fafc;
    border-left-color: #FF6B35;
}

.legal-toc a.active {
    color: #FF6B35;
    background: rgba(255,107,53,0.06);
    border-left-color: #FF6B35;
    font-weight: 600;
}

/* ---- Content ---- */
.legal-content { min-width: 0; }

.legal-section {
    margin-bottom: 48px;
    scroll-margin-top: 96px;
}

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

.legal-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0A2540;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f4f8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section-title .section-num {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255,107,53,0.1);
    color: #FF6B35;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legal-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin: 24px 0 10px;
}

.legal-section p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-section ul,
.legal-section ol {
    padding-left: 20px;
    margin-bottom: 14px;
}

.legal-section li {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 6px;
}

.legal-section a {
    color: #FF6B35;
    font-weight: 600;
}

.legal-section a:hover { text-decoration: underline; }

/* Info box */
.legal-infobox {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #FF6B35;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.7;
}

.legal-infobox strong { color: #0A2540; }

.legal-infobox.blue  { border-left-color: #4299E1; }
.legal-infobox.green { border-left-color: #00D4AA; }
.legal-infobox.warn  { border-left-color: #F6AD55; background: #fffbf5; }

/* Last updated bar */
.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f4f8;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: #718096;
    margin-bottom: 32px;
    font-weight: 500;
}

.legal-updated i { color: #FF6B35; font-size: 12px; }

/* ---- Contact page specific ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 22px;
    transition: all 0.25s;
}

.contact-card:hover {
    border-color: #FF6B35;
    box-shadow: 0 4px 16px rgba(255,107,53,0.1);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}

.contact-card-icon.orange  { background: rgba(255,107,53,0.1);  color: #FF6B35; }
.contact-card-icon.teal    { background: rgba(0,212,170,0.1);   color: #00D4AA; }
.contact-card-icon.blue    { background: rgba(66,153,225,0.1);  color: #4299E1; }
.contact-card-icon.purple  { background: rgba(139,92,246,0.1);  color: #8B5CF6; }

.contact-card-label {
    font-size: 11px;
    font-weight: 700;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.contact-card-value {
    font-size: 15px;
    font-weight: 700;
    color: #0A2540;
    margin-bottom: 4px;
    line-height: 1.4;
}

.contact-card-sub {
    font-size: 12px;
    color: #718096;
    line-height: 1.5;
}

.contact-card a {
    color: #FF6B35;
    font-weight: 600;
}

/* Address block */
.address-block {
    background: #0A2540;
    border-radius: 16px;
    padding: 32px 28px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

.address-block-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-block-title i { color: #FF6B35; }

.address-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.address-line i {
    color: #FF6B35;
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 14px;
}

/* Contact form */
.contact-form-wrap {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 28px;
}

.contact-form-wrap h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0A2540 !important;
    margin-bottom: 20px !important;
    border: none !important;
    margin-top: 0 !important;
}

.cf-field { margin-bottom: 18px; }

.cf-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 6px;
}

.cf-input,
.cf-select,
.cf-textarea {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #1a202c;
    padding: 11px 14px;
    outline: none;
    transition: all 0.2s;
    appearance: none;
}

.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus {
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
}

.cf-textarea { resize: vertical; min-height: 120px; }

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.cf-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #FF6B35;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.cf-submit:hover {
    background: #e55a2b;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255,107,53,0.35);
}

/* About page specifics */
.about-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}

.about-value-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 18px;
}

.about-value-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; margin-bottom: 12px;
}

.about-value-title {
    font-size: 14px; font-weight: 700; color: #0A2540; margin-bottom: 6px;
}

.about-value-desc {
    font-size: 13px !important; color: #718096 !important; line-height: 1.6 !important; margin: 0 !important;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .legal-wrap { grid-template-columns: 1fr; }
    .legal-toc { display: none; }
    .page-hero-title { font-size: 32px; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
    .legal-wrap { padding: 40px 16px 60px; }
    .page-hero { padding: 90px 0 48px; }
    .page-hero-title { font-size: 26px; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-values-grid { grid-template-columns: 1fr; }
    .cf-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form-wrap { padding: 24px 18px; }
}
