/* ====================================
   pages.css – styles cho about, privacy, contact
   ==================================== */

/* ---- Page hero ---- */
.page-main {
    padding-bottom: 2rem;
}

.page-hero {
    text-align: center;
    padding: 3rem 1rem 2.5rem;
}

.page-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: .8rem;
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .6rem;
}

.page-hero p {
    color: #64748b;
    font-size: 1rem;
}

/* ---- Page sections ---- */
.page-section {
    background: #fff;
    border: 1.5px solid #bfdbfe;
    border-radius: 10px;
    padding: 2rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(59, 130, 246, .08);
}

.page-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid #bfdbfe;
}

.page-section p {
    color: #374151;
    font-size: .96rem;
    line-height: 1.75;
    margin-bottom: .7rem;
}

.page-section a {
    color: #3b82f6;
    text-decoration: none;
}

.page-section a:hover {
    text-decoration: underline;
}

/* ---- Card grid (about) ---- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 1.2rem;
}

.info-card {
    background: #f0f9ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 10px;
    padding: 1.3rem;
    text-align: center;
}

.info-card-icon {
    font-size: 2rem;
    margin-bottom: .6rem;
}

.info-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .4rem;
}

.info-card p {
    font-size: .86rem;
    color: #64748b;
    margin: 0;
}

/* ---- Team row ---- */
.team-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 1.2rem;
}

.team-card {
    background: #f8fafc;
    border: 1.5px solid #bfdbfe;
    border-radius: 10px;
    padding: 1.4rem;
    text-align: center;
}

.team-avatar {
    font-size: 2.5rem;
    margin-bottom: .6rem;
}

.team-card h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .35rem;
}

.team-card p {
    font-size: .85rem;
    color: #64748b;
    margin: 0;
}

/* ---- FAQ simple ---- */
.faq-simple {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: .5rem;
}

.faq-simple-item {
    background: #f8fafc;
    border-left: 3px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.2rem;
}

.faq-simple-item h3 {
    font-size: .95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: .3rem;
}

.faq-simple-item p {
    font-size: .88rem;
    color: #475569;
    margin: 0;
}

/* ---- Policy list ---- */
.policy-list {
    list-style: none;
    margin: .8rem 0;
}

.policy-list li {
    padding: .55rem 0 .55rem 1.5rem;
    position: relative;
    font-size: .93rem;
    color: #374151;
    line-height: 1.7;
    border-bottom: 1px solid #f1f5f9;
}

.policy-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: 700;
}

.policy-list li:last-child {
    border-bottom: none;
}

/* ---- Policy table ---- */
.policy-table-wrap {
    overflow-x: auto;
    margin: 1rem 0;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.policy-table th,
.policy-table td {
    padding: .7rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.policy-table th {
    background: #f0f9ff;
    font-weight: 700;
    color: #1e293b;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.policy-table td code {
    background: #f1f5f9;
    padding: .15rem .45rem;
    border-radius: 4px;
    font-size: .85rem;
    color: #2563eb;
}

/* ---- Contact layout ---- */
.contact-layout {
    gap: 1.5rem;
    align-items: start;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.contact-channel:last-child {
    border-bottom: none;
}

.contact-channel-icon {
    font-size: 1.5rem;
    width: 42px;
    height: 42px;
    background: #f0f9ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1e293b;
}

.contact-channel h3 {
    font-size: .85rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .15rem;
}

.contact-channel a {
    font-size: .95rem;
    color: #3b82f6;
    font-weight: 600;
}

.contact-note {
    font-size: .78rem;
    color: #94a3b8;
    margin-top: .8rem;
    text-align: center;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {

    .card-grid,
    .team-row {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }
}