﻿/* =========================================================
   MIHS FAQ — New Brand Palette
   Teal #008fa5 · Sand #c4b49a · Bronze #9e896c · Ink #10252e
========================================================= */
.mihs-faq-page {
    --faq-teal: #008fa5;
    --faq-blue: #89a2b1;
    --faq-sand: #c4b49a;
    --faq-bronze: #9e896c;
    --faq-stone: #c7c3bd;
    --faq-grey: #90908c;
    --faq-ink: #10252e;
    --faq-ink-2: #19343f;
    --faq-teal-deep: #00707f;
    --faq-bronze-deep: #7a6749;
    --faq-teal-soft: #4cc3d6;
    --faq-cream: #f5f3ef;
    --faq-text: #1a2b32;
    --faq-muted: #5f6867;
    --faq-line: rgba(16, 37, 46, 0.10);
    background: #fff;
    color: var(--faq-text);
}

/* Hero */
.mihs-faq-hero {
    position: relative;
    padding: 88px 0 72px;
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 82% 18%, rgba(0, 143, 165, 0.22), transparent 34%), radial-gradient(circle at 8% 100%, rgba(196, 180, 154, 0.10), transparent 32%), linear-gradient(125deg, #0c1f27 0%, #10252e 55%, #19343f 100%);
}

.mihs-faq-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}

.mihs-faq-hero__glow--1 {
    width: 360px;
    height: 360px;
    right: -80px;
    top: -120px;
    background: rgba(0, 143, 165, 0.14);
}

.mihs-faq-hero__glow--2 {
    width: 280px;
    height: 280px;
    left: -60px;
    bottom: -100px;
    background: rgba(196, 180, 154, 0.10);
}

.mihs-faq-hero__grid {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.mihs-faq-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 36px;
    align-items: end;
}

.mihs-faq-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--faq-sand);
}

.mihs-faq-eyebrow__line {
    width: 28px;
    height: 1px;
    background: var(--faq-sand);
}

.mihs-faq-hero h1 {
    margin: 0;
    font-family: "DM Sans", "Inter", system-ui, sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

    .mihs-faq-hero h1 span {
        color: var(--faq-sand);
    }

.mihs-faq-hero__copy > p {
    margin: 16px 0 0;
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.74);
}

.mihs-faq-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
}

    .mihs-faq-hero__meta strong {
        display: block;
        font-size: 10px;
        letter-spacing: 0.14em;
        color: var(--faq-sand);
    }

    .mihs-faq-hero__meta span {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.85);
    }

.mihs-faq-hero__meta-div {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.18);
}

.mihs-faq-hero__card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 22px 22px 18px;
    backdrop-filter: blur(10px);
}

.mihs-faq-hero__card-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--faq-sand);
    margin-bottom: 12px;
}

.mihs-faq-hero__card ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.mihs-faq-hero__card li a {
    display: block;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    .mihs-faq-hero__card li a:hover {
        color: var(--faq-sand);
    }

.mihs-faq-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

    .mihs-faq-hero__cta b {
        color: var(--faq-sand);
    }

/* Body */
.mihs-faq-body {
    padding: 56px 0 90px;
    background: var(--faq-cream);
}

.mihs-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}

.mihs-faq-block {
    margin-bottom: 36px;
}

.mihs-faq-block__head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.mihs-faq-block__num {
    flex: 0 0 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--faq-ink);
    color: var(--faq-sand);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mihs-faq-block__head h2 {
    margin: 0 0 4px;
    font-family: "DM Sans", "Inter", system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--faq-ink);
}

.mihs-faq-block__head p {
    margin: 0;
    font-size: 14px;
    color: var(--faq-muted);
}

/* Accordion */
.mihs-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mihs-faq-item {
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(16, 37, 46, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

    .mihs-faq-item.is-open {
        border-color: rgba(0, 143, 165, 0.40);
        box-shadow: 0 12px 32px rgba(16, 37, 46, 0.08);
    }

.mihs-faq-item__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--faq-ink);
}

.mihs-faq-item__icon {
    flex: 0 0 28px;
    height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    color: var(--faq-ink);
    font-style: normal;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.mihs-faq-item.is-open .mihs-faq-item__icon {
    background: var(--faq-sand);
    color: var(--faq-ink);
}

.mihs-faq-item__panel {
    display: none;
    padding: 0 18px 18px;
    color: var(--faq-muted);
    font-size: 14.5px;
    line-height: 1.7;
}

.mihs-faq-item.is-open .mihs-faq-item__panel {
    display: block;
}

.mihs-faq-item__panel p {
    margin: 0 0 10px;
}

.mihs-faq-item__panel a {
    color: var(--faq-ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 143, 165, 0.50);
}

    .mihs-faq-item__panel a:hover {
        color: var(--faq-teal-deep);
    }

/* Aside */
.mihs-faq-aside {
    position: sticky;
    top: 84px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mihs-faq-aside-card {
    background: #fff;
    border: 1px solid var(--faq-line);
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 10px 28px rgba(16, 37, 46, 0.05);
}

.mihs-faq-aside-card__label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--faq-teal-deep);
    margin-bottom: 10px;
}

.mihs-faq-aside-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--faq-ink);
}

.mihs-faq-aside-card p {
    margin: 0 0 14px;
    font-size: 13.5px;
    color: var(--faq-muted);
    line-height: 1.55;
}

.mihs-faq-aside-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--faq-ink);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 10px;
}

    .mihs-faq-aside-btn b {
        color: var(--faq-sand);
    }

.mihs-faq-aside-link {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--faq-ink);
    text-decoration: none;
    padding: 6px 0;
}

    .mihs-faq-aside-link:hover {
        color: var(--faq-teal-deep);
    }

.mihs-faq-aside-card--dark {
    background: linear-gradient(145deg, #10252e, #19343f);
    border: 0;
    color: #fff;
}

    .mihs-faq-aside-card--dark .mihs-faq-aside-card__label {
        color: var(--faq-sand);
    }

    .mihs-faq-aside-card--dark strong {
        display: block;
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .mihs-faq-aside-card--dark span:last-child {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.7);
    }

/* Responsive */
@media (max-width: 991px) {
    .mihs-faq-hero__inner,
    .mihs-faq-layout {
        grid-template-columns: 1fr;
    }

    .mihs-faq-aside {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .mihs-faq-hero {
        padding: 72px 0 56px;
    }

    .mihs-faq-hero__meta-div {
        display: none;
    }

    .mihs-faq-aside {
        grid-template-columns: 1fr;
    }

    .mihs-faq-body {
        padding: 40px 0 70px;
    }
}
