/* =================================================================
 * Tourwill — Homepage FAQ Teaser
 * File: assets/css/components/home-faq-teaser.css
 *
 * Sits between the testimonials section and the global footer on the
 * front page. Visually echoes the FAQ page's design language (teal +
 * gold + cream cards) but stays compact — eyebrow / heading / blurb /
 * CTA on top, four featured question links underneath.
 *
 * Scoped to .home-faq__* — nothing global.
 * ================================================================= */

.home-faq {
    --hf-teal:        #134e4a;
    --hf-teal-dark:   #0c3a37;
    --hf-gold:        #8B6914;
    --hf-gold-bg:     #fef7d6;
    --hf-bg:          #f8f8f6;
    --hf-card:        #ffffff;
    --hf-text:        #1f2937;
    --hf-text-muted:  #5f6b6a;
    --hf-border:      #e8e6df;
    --hf-radius-md:   12px;
    --hf-radius-lg:   16px;
    --hf-radius-pill: 999px;
    --hf-shadow-sm:   0 1px 2px rgba(15, 23, 22, 0.04);
    --hf-shadow-md:   0 4px 16px rgba(15, 23, 22, 0.06);

    background: var(--hf-bg);
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.home-faq__container {
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 2vw, 1.5rem);
}

.home-faq__head {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto clamp(1.25rem, 2.5vw, 2rem);
}
.home-faq__eyebrow {
    color: var(--hf-gold);
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    line-height: 1;
    margin: 0 0 0.4rem;
    /* Caveat picked up from site-typography.css */
}
.home-faq__heading {
    color: var(--hf-teal);
    font-size: clamp(1.55rem, 3.2vw, 2.3rem);
    line-height: 1.15;
    margin: 0 0 0.75rem;
}
.home-faq__heading em,
.home-faq em {
    /* Inherit the heading's color (teal) — overrides any browser
     * default that might dim italics. */
    color: var(--hf-teal);
    font-style: italic;
}
.home-faq__desc {
    color: var(--hf-text-muted);
    font-size: clamp(0.95rem, 1.1vw, 1rem);
    line-height: 1.6;
    margin: 0 auto 1.25rem;
    max-width: 36rem;
}
.home-faq__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.3rem;
    background: var(--hf-teal);
    color: #fff;
    border-radius: var(--hf-radius-pill);
    text-decoration: none;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    transition: background 0.18s ease, transform 0.18s ease, gap 0.18s ease;
}
.home-faq__btn:hover {
    background: var(--hf-teal-dark);
    transform: translateY(-1px);
    gap: 0.7rem;
}
.home-faq__btn svg { width: 16px; height: 16px; }

/* Featured peek cards */
.home-faq__peek {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}
.home-faq__peek-item { min-width: 0; }
.home-faq__peek-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--hf-card);
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: var(--hf-teal);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    height: 100%;
    box-shadow: var(--hf-shadow-sm);
}
.home-faq__peek-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--hf-shadow-md);
    border-color: var(--hf-gold);
}
.home-faq__peek-icon {
    flex: none;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--hf-gold-bg);
    color: var(--hf-gold);
}
.home-faq__peek-icon svg { width: 18px; height: 18px; }
.home-faq__peek-q {
    flex: 1;
    min-width: 0;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.3;
    color: var(--hf-teal);
    /* clamp to 2 lines on small viewports for tidiness */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-faq__peek-chev {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--hf-text-muted);
    transition: color 0.18s ease, transform 0.18s ease;
}
.home-faq__peek-chev svg { width: 16px; height: 16px; }
.home-faq__peek-link:hover .home-faq__peek-chev {
    color: var(--hf-gold);
    transform: translateX(2px);
}

@media (max-width: 980px) {
    .home-faq__peek { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .home-faq__peek { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .home-faq * {
        transition: none !important;
    }
}
