/* ── TOKENS ──────────────────────────────────────────────── */
:root {
    --primary:    #f85606;
    --primary-lt: #fff3ee;
    --green:      #2e7d32;
    --green-lt:   #e8f5e9;
    --blue:       #1565c0;
    --blue-lt:    #e3f2fd;
    --red-lt:     #fce4ec;
    --muted:      #666;
    --bg:         #f5f6fa;
    --white:      #ffffff;
    --radius:     10px;
    --radius-lg:  16px;
    --shadow:     0 2px 16px rgba(0,0,0,0.07);
    --shadow-md:  0 4px 24px rgba(0,0,0,0.10);
    --ease:       0.25s ease;

    --surface:  #141414;
    --card:     #1a1a1a;
    --border:   rgba(255,255,255,0.07);
    --card-glass: rgba(255,255,255,0.07);
    --accent:   #c8f04a;
    --accent2:  #4af0a0;
    --text:     #f0ede6;
    --serif:    'DM Serif Display', Georgia, serif;
    --sans:     'DM Sans', system-ui, sans-serif;
    --radius:   12px;
    --radius-lg:20px;
    --header-h: 70px;
    --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  }

/* ── HERO ────────────────────────────────────────────────── */
.support-hero {
    background: linear-gradient(135deg, #2ecc71 0%, #e67e22 100%);
    padding: 3.5rem 2rem 2.5rem;
    text-align: center;
    color: white;
}

.support-hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.support-hero-content h1 i {
    font-size: 2.2rem;
}

.support-hero-content p {
    font-size: 1rem;
    opacity: 0.92;
    margin-bottom: 1.2rem;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 13px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-status .status-dot {
    width: 9px; height: 9px;
    background: #a8ff78;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(168,255,120,0.3);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(168,255,120,0.3); }
    50%       { box-shadow: 0 0 0 6px rgba(168,255,120,0.1); }
}

.status-divider {
    opacity: 0.5;
}

/* ── MAIN BODY ───────────────────────────────────────────── */
.body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    background: var(--bg);
    align-items: start;
    margin-bottom: 70px;
}

/* ── SECTION HEADING ─────────────────────────────────────── */
.section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.4rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border);
}

.section-heading i {
    font-size: 1.5rem;
    color: var(--primary);
}

.section-heading h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0;
}

/* ── FAQ SECTION ─────────────────────────────────────────── */
.faq-section {
    background: var(--card-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    grid-row: 1 / 3;
}

.faq-search {
    position: relative;
    margin-bottom: 1.4rem;
}

.faq-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: var(--muted);
}

.faq-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    background: var(--bg);
    transition: var(--ease);
    color: var(--text);
}

.faq-search input:focus {
    border-color: var(--primary);
    background: var(--muted);
    outline: none;
    box-shadow: 0 0 0 3px rgba(248,86,6,0.08);
}

.faq-item {
    border: 1px solid var(--border);
    margin-bottom: 0.75rem;
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--ease);
}

.faq-item.open,
.faq-item:hover {
    box-shadow: 0 2px 12px rgba(248,86,6,0.08);
}

.faq-item.open {
    border-color: rgba(248,86,6,0.25);
}

.faq-question {
    padding: 1rem 1.1rem;
    background: rgba(200,240,74,0.06);
    border: 1px solid rgba(200,240,74,0.2) !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background var(--ease);
}

.faq-item.open .faq-question {
    background: var(--surface);
}

.faq-question h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    margin: 0;
}

.toggle-icon i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform var(--ease);
    flex-shrink: 0;
}

.faq-answer {
    padding: 1rem 1.1rem;
    display: none;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
    border-top: 1px solid var(--border);
    background: var(--card);
}

.faq-answer ol, .faq-answer ul {
    padding-left: 1.2rem;
    margin-top: 0.5rem;
}

.faq-answer li {
    list-style: decimal;
    margin-bottom: 4px;
}

.faq-answer ul li {
    list-style: disc;
}

.faq-answer p + p {
    margin-top: 0.5rem;
}

.faq-no-results {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.faq-no-results i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.faq-no-results a {
    color: var(--primary);
    text-decoration: underline;
}

/* ── RIGHT COLUMN ────────────────────────────────────────── */
.right-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── CONTACT OPTIONS ─────────────────────────────────────── */
.contact-options {
    background: var(--card-glass);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow var(--ease), transform var(--ease);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-card-info {
    flex: 1;
    min-width: 0;
}

.contact-card-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 2px;
}

.contact-card-info p {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0 0 4px;
}

.availability {
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.availability i { font-size: 0.85rem; }

.dot-green {
    width: 7px; height: 7px;
    background: #4caf50;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Contact buttons */
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
    text-decoration: none;
    border: none;
    flex-shrink: 0;
}

.chat-btn     { background: var(--green-lt); color: var(--green); }
.chat-btn:hover { background: var(--green); color: white; }

.email-btn    { background: var(--blue-lt); color: var(--blue); }
.email-btn:hover { background: var(--blue); color: white; }

.phone-btn    { background: var(--red-lt); color: #c62828; }
.phone-btn:hover { background: #c62828; color: white; }

.whatsapp-btn { background: #e8f5e9; color: #1b5e20; }
.whatsapp-btn:hover { background: #25d366; color: white; }

/* ── SUPPORT HOURS ───────────────────────────────────────── */
.support-hours {
    background: var(--card-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.hours-list {
    list-style: none;
    padding: 0; margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text);
}

.hours-list li:last-child { border-bottom: none; }

.hours-list li span:last-child {
    font-weight: 600;
    color: var(--green);
}

.hours-list li.closed span:last-child {
    color: #c62828;
}

.hours-note {
    margin-top: 0.9rem;
    font-size: 0.8rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hours-note i { color: var(--primary); }

/* ── TICKET SYSTEM ───────────────────────────────────────── */
.ticket-system {
    grid-column: 1 / -1;
    background: var(--card-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.ticket-note {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    padding: 0.8rem 1rem;
    background: var(--bg);
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.ticket-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.req { color: var(--primary); }
.optional { color: var(--muted); font-weight: 400; font-size: 0.8rem; }

.ticket-form input[type=text],
.ticket-form select,
.ticket-form textarea {
    width: 100%;
    padding: 0.72rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--bg);
    transition: var(--ease);
    font-family: inherit;
}

.ticket-form input[type=text]:focus,
.ticket-form select:focus,
.ticket-form textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: rgba(200,240,74,0.06);
    box-shadow: 0 0 0 3px rgba(248,86,6,0.08);
}

.ticket-form textarea {
    resize: vertical;
    min-height: 120px;
}

.file-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-hint {
    font-size: 0.8rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.submit-ticket-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 2.2rem;
    background: rgb(60, 189, 31);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--ease);
}

.submit-ticket-btn:hover {
    background: #d94a02;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(248,86,6,0.3);
}

.submit-ticket-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.ticket-success {
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    background: var(--green-lt);
    color: var(--green);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-success i { font-size: 1.3rem; }

/* ── BOTTOM NAV ──────────────────────────────────────────── */
/*.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    display: none;
    justify-content: space-around;
    align-items: center;
    background: white;
    border-top: 1px solid var(--border);
    padding: 8px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.07);
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    color: var(--muted);
    text-decoration: none;
    transition: var(--ease);
    padding: 4px 8px;
    border-radius: 8px;
}

.bottom-nav a i {
    font-size: 1.4rem;
}

.bottom-nav a.active,
.bottom-nav a:hover {
    color: var(--primary);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .body {
        grid-template-columns: 1fr 1fr;
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .support-hero-content h1 { font-size: 1.5rem; }

    .body {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .faq-section { grid-row: auto; }

    .ticket-system { grid-column: 1; }

    .form-row { grid-template-columns: 1fr; }

    .bottom-nav { display: flex; }

    .contact-card {
        flex-wrap: wrap;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }

    .hero-status {
        flex-direction: column;
        gap: 6px;
    }

    .status-divider { display: none; }
}

@media (max-width: 480px) {
    .support-hero { padding: 2.5rem 1rem 2rem; }
    .support-hero-content h1 { font-size: 1.2rem; }
    .ticket-system { padding: 1.2rem; }
    .submit-ticket-btn { width: 100%; justify-content: center; }
}

/* ── CHAT WIDGET (kept for reference) ───────────────────── */
.chat-widget {
    position: fixed;
    bottom: 20px; right: 20px;
    width: 300px; height: 400px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    background: white;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 10px;
    background: var(--primary);
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.message {
    margin: 5px;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
    font-size: 0.88rem;
}

.message.user {
    background: var(--primary);
    color: white;
    margin-left: auto;
}

.message.operator {
    background: #f1f1f1;
    margin-right: auto;
}

.chat-input {
    padding: 10px;
    border-top: 1px solid var(--border);
}