/**
 * pages.css — shared styles for the standalone content pages
 * (About, FAQ, Locations, Reviews, Contact). Loaded on top of main.css
 * for any page using a "template-page-*" template. See dto_page_assets().
 */

/* ---------- Page hero band ---------- */
.page-hero {
    background: linear-gradient(180deg, var(--color-bg-blue) 0%, var(--color-bg-soft) 100%);
    padding: 64px 0 52px;
    text-align: center;
}
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4.2vw, 46px);
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 14px;
    line-height: 1.15;
}
.page-hero .page-hero-sub {
    max-width: 680px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 17px;
    line-height: 1.7;
}

/* ---------- Generic page wrapper ---------- */
.page-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}
.page-wrap.narrow { max-width: 820px; }
.page-block { margin-bottom: 48px; }
.page-block:last-child { margin-bottom: 0; }
.page-block h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 16px;
}
.page-block h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 10px;
}
.page-block p {
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 16px;
}
.page-block p:last-child { margin-bottom: 0; }

/* ---------- About highlight cards ---------- */
.about-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 28px;
}
.about-point {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px 22px;
    box-shadow: var(--shadow-sm);
}
.about-point .about-icon { font-size: 26px; display: block; margin-bottom: 10px; }
.about-point h3 { margin-bottom: 8px; font-size: 18px; }
.about-point p { font-size: 15px; margin: 0; color: var(--color-text-muted); }

/* ---------- FAQ accordion (native details/summary) ---------- */
.faq-list { border-top: 1px solid var(--color-border); }
.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 44px 20px 4px;
    position: relative;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-primary);
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer {
    padding: 0 4px 22px;
}
.faq-item .faq-answer p {
    margin: 0 0 12px;
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.7;
}
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Locations ---------- */
.loc-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}
.loc-card-body { padding: 30px 30px 8px; }
.loc-card .loc-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 6px;
}
.loc-card h2 { margin-bottom: 12px; }
.loc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}
.loc-pill {
    background: var(--color-bg-blue);
    color: var(--color-primary-dark);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
}
.loc-tours {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 26px;
}
.loc-tour-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.loc-tour-link:hover { border-color: var(--color-primary); color: var(--color-primary); }
.loc-map iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
    border-top: 1px solid var(--color-border);
}

/* ---------- Reviews ---------- */
.reviews-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}
.reviews-summary .stars { color: var(--color-star); font-size: 22px; letter-spacing: 2px; }
.reviews-summary .reviews-score { font-weight: 700; color: var(--color-navy); font-size: 18px; }
.reviews-vendor {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 36px;
}
.reviews-vendor h2 { margin-bottom: 6px; }
.reviews-vendor .reviews-vendor-sub { color: var(--color-text-muted); margin-bottom: 22px; }
.reviews-embed {
    min-height: 120px;
    border-radius: var(--radius-md);
}
.reviews-embed.placeholder {
    border: 1px dashed var(--color-border);
    background: var(--color-bg-soft);
    padding: 28px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 15px;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}
.contact-info .contact-row {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}
.contact-info .contact-row:last-child { border-bottom: 0; }
.contact-info .contact-icon { font-size: 22px; flex-shrink: 0; }
.contact-info .contact-row strong { display: block; color: var(--color-navy); margin-bottom: 4px; }
.contact-info .contact-row span,
.contact-info .contact-row a { color: var(--color-text-muted); font-size: 15px; text-decoration: none; }
.contact-info .contact-row a:hover { color: var(--color-primary); }
.contact-form {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
}
.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 6px;
}
.contact-form .field { margin-bottom: 18px; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-bg-soft);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-bg);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn { width: 100%; justify-content: center; }
.contact-note { font-size: 13px; color: var(--color-text-muted); margin-top: 14px; text-align: center; }

@media (max-width: 760px) {
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
