/* =============================================================
   pages.css — Page-specific styles for Vick's Expertune
   Replaces inline <style> blocks and style= attributes
   ============================================================= */

/* ── Logo ── */
#logo-img a#logo { display: none; }

#logo-img img {
    height: 75px;
    width: auto;
    display: block;
    max-width: none;
    margin: 0 auto;
}

/* ── Desktop / Mobile image toggle ── */
.desktop { display: block; }
.mobile  { display: none; }

@media (max-width: 767px) {
    .desktop { display: none !important; }
    .mobile  { display: block; margin: 0 auto; }
}

/* ── Shared inline-style replacements ── */
#footer h3,
#footer .links        { text-align: center; }
#footer .links i      { padding: 10px; }

.contact-info li i    { margin-right: 8px; color: #1e3a5f; }
.cta-btn i            { margin-right: 8px; }

.copyright .menu      { text-align: center; }
.icons                { text-align: center; }

.footer-faq-link      { text-align: center; margin-bottom: 0.75rem; }
.footer-faq-link a    { color: #1e3a5f; font-weight: 600; font-size: 0.95rem; }

iframe                { border: 0; }

.ext-link-icon        { font-size: 0.7em; }

/* ── Snap Finance banner ── */
.snap-finance         { text-align: center; }
.snap-finance img     { box-shadow: 4px 2px 6px #010101; border: none; display: block; margin: 0 auto; }

/* ── Business hours block (index footer) ── */
.business-hours              { text-align: center; }
.business-hours h3           { margin-bottom: 0.5rem; color: #1e3a5f; }
.business-hours p            { margin: 0; }

/* ── CTA section utility rules ── */
.blog-cta h3,
.article-cta h3,
.location-notes h3    { margin-top: 0; }

.blog-cta > p,
.article-cta > p      { margin-bottom: 0.8rem; }

.location-notes > p   { margin-bottom: 0; }

.location-cta         { margin-top: 1rem; }

/* =============================================================
   HOME PAGE
   ============================================================= */
#banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem !important;
    position: relative;
}

#banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(30,58,95,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

#banner .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

#banner .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#banner .hero-content .tagline {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.hero-btn-primary             { background: #fff; color: #1e3a5f; }
.hero-btn-primary:hover       { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); background: #1e3a5f; color: #fff; }
.hero-btn-secondary           { background: linear-gradient(135deg, #e8740e 0%, #f59e0b 100%); color: #fff; }
.hero-btn-secondary:hover     { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(232,116,14,0.4); color: #fff; }

.trust-strip {
    background: #f4f7fb;
    border-top: 1px solid #dbe4f1;
    border-bottom: 1px solid #dbe4f1;
    padding: 1rem 0;
}

.trust-strip ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-weight: 600;
    color: #1e3a5f;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.highlight-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover   { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.highlight-card i       { font-size: 3rem; color: #1e3a5f; margin-bottom: 1rem; }
.highlight-card h3      { color: #1e3a5f; margin-bottom: 0.75rem; font-size: 1.3rem; }
.highlight-card p       { color: #666; margin: 0.25rem 0; font-size: 1rem; }
.highlight-card a       { color: #1e3a5f; text-decoration: none; font-weight: 600; }
.highlight-card a:hover { text-decoration: underline; }

.promo-banner {
    background: linear-gradient(135deg, #e8740e 0%, #f59e0b 100%);
    color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.promo-banner h2              { font-size: 1.8rem; margin: 0 0 0.5rem 0; }
.promo-banner p               { font-size: 1.1rem; margin: 0 0 0.5rem 0; opacity: 0.95; }
.promo-banner .offer-terms    { font-size: 0.9rem; opacity: 0.9; margin: 0.5rem 0 0.9rem 0; }

.promo-claim-btn {
    display: inline-block;
    background: #fff;
    color: #1e3a5f;
    padding: 0.6rem 1.1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
}

.promo-claim-btn:hover { background: #1e3a5f; color: #fff; }

/* ── Coupon ── */
.coupon {
    border: 3px dashed #e8740e;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    background: #fff;
    max-width: 360px;
    margin: 0 auto;
}

.coupon-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: #9c4a06; /* was #e8740e — failed WCAG AA contrast on white */
    font-weight: 700;
    margin: 0 0 0.4rem 0;
}

.coupon-offer {
    font-size: 2rem;
    font-weight: 800;
    color: #1e3a5f;
    margin: 0 0 0.4rem 0;
    line-height: 1.1;
}

.coupon-detail {
    font-size: 0.95rem;
    color: #444;
    margin: 0 0 0.75rem 0;
}

.coupon-terms {
    font-size: 0.75rem;
    color: #666; /* was #888 — failed WCAG AA contrast */
    margin: 0;
    border-top: 1px dashed #ddd;
    padding-top: 0.75rem;
}

.two-col-section {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.two-col-section > div { flex: 1; min-width: 300px; }

.location-section h3    { text-align: center; color: #1e3a5f; font-size: 1.5rem; margin-bottom: 1rem; }
.location-section iframe { border-radius: 8px; }

.footer-contact   { text-align: center; margin-bottom: 1.5rem; }

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #1e3a5f;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.footer-btn:hover { transform: scale(1.05); background: #2d5a87; color: #fff; }

#footer .footer-buttons a.footer-btn,
#footer .footer-buttons a.footer-btn:visited,
#footer .footer-buttons a.footer-btn:hover,
#footer .footer-buttons a.footer-btn:focus { color: #fff !important; border-bottom: 0 !important; }

.contact-info          { list-style: none; padding: 0; margin: 0; }
.contact-info li       { margin: 0.5rem 0; }
.contact-info a        { color: inherit; }

/* ── Home intro paragraph ── */
.home-intro           { max-width: 800px; margin: 0 auto; text-align: center; }
.home-intro h2        { color: #1e3a5f; font-size: 1.8rem; margin-bottom: 0.75rem; }
.home-intro p         { font-size: 1.1rem; line-height: 1.8; color: #444; margin: 0; }

/* ── Home blog preview ── */
.home-blog            { text-align: center; }
.home-blog h2         { color: #1e3a5f; font-size: 1.8rem; margin-bottom: 1.5rem; }

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.home-blog-grid .post-card h3       { font-size: 1.15rem; margin-bottom: 0.5rem; }
.home-blog-grid .post-card h3 a     { color: #1e3a5f; text-decoration: none; }
.home-blog-grid .post-card h3 a:hover { text-decoration: underline; }

.home-blog-more       { margin-top: 1.5rem; }

@media (max-width: 767px) {
    #banner { min-height: auto !important; height: auto !important; padding: 3rem 1.5rem !important; }
    #banner .hero-content h1      { font-size: 1.8rem; }
    #banner .hero-content .tagline { font-size: 1.1rem; margin-bottom: 1.5rem; }
    .hero-buttons  { flex-direction: column; gap: 0.75rem; }
    .hero-btn      { width: auto; justify-content: center; padding: 0.5rem 1rem; font-size: 0.85rem; }
    .two-col-section { flex-direction: column; }
    .highlights-grid { grid-template-columns: 1fr; }
    .trust-strip ul  { gap: 0.75rem; font-size: 0.92rem; }
    .home-blog-grid  { grid-template-columns: 1fr; }
}

/* =============================================================
   ABOUT PAGE
   ============================================================= */
.about-header           { text-align: center; margin-bottom: 2rem; }
.about-header h1        { font-size: 2.5rem; margin-bottom: 1rem; line-height: 1.2; }
.about-header .tagline  { color: #1e3a5f; font-size: 1.3rem; font-weight: 600; line-height: 1.4; }

.about-story {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #1e3a5f;
}

.about-story h3 { color: #1e3a5f; margin-top: 0; display: flex; align-items: center; gap: 0.5rem; }
.about-story p  { font-size: 1.1rem; line-height: 1.8; margin-bottom: 0; }

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight-item        { text-align: center; padding: 1.5rem; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.highlight-item i      { font-size: 2.5rem; color: #1e3a5f; margin-bottom: 1rem; }
.highlight-item h4     { margin: 0 0 0.5rem 0; color: #333; font-size: 1.1rem; }
.highlight-item p      { margin: 0; color: #666; font-size: 0.95rem; }

.about-cta {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.about-cta h3 { margin: 0 0 0.5rem 0; font-size: 1.4rem; }
.about-cta p  { margin: 0 0 1rem 0; opacity: 0.9; }

@media (max-width: 767px) {
    .about-highlights { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   BLOG PAGE
   ============================================================= */
/* ── Blog filter pills ── */
.blog-filters {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center !important;
    align-items: center;
    margin: 0 auto 2rem auto;
    text-align: center;
    width: 100%;
}

button.filter-pill,
button.filter-pill:hover,
button.filter-pill:focus,
button.filter-pill:active {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    border: 1.5px solid #ccd5e0 !important;
    border-radius: 50px;
    background: #fff !important;
    background-image: none !important;
    color: #444 !important;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    line-height: 1.4;
    min-width: 0;
    letter-spacing: 0;
}

button.filter-pill:hover { background: #f0f4f8 !important; background-image: none !important; border-color: #1e3a5f !important; color: #1e3a5f !important; }
button.filter-pill.active,
button.filter-pill.active:hover { background: #1e3a5f !important; background-image: none !important; color: #fff !important; border-color: #1e3a5f !important; }

/* ── Blog post tags ── */
.post-tags             { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.post-tag              { display: inline-block; padding: 0.15rem 0.6rem; background: #eef2f7; color: #1e3a5f; font-size: 0.78rem; font-weight: 600; border-radius: 50px; }

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.post-card          { background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); padding: 1.5rem; display: flex; flex-direction: column; }
.post-card h2       { font-size: 1.3rem; margin-bottom: 0.6rem; }
.post-card p        { margin-bottom: 1rem; color: #555; flex: 1; }
.post-card .cta-btn-light { border: 2px solid #1e3a5f; align-self: flex-start; font-size: 0.95rem; padding: 0.5rem 1.2rem; }
.post-meta          { color: #666; /* was #777, AA fail */ font-size: 0.95rem; margin-bottom: 0.9rem; }

.blog-cta {
    margin-top: 2rem;
    background: #f5f8fc;
    border-left: 4px solid #1e3a5f;
    border-radius: 8px;
    padding: 1.5rem;
}

/* =============================================================
   BLOG POST PAGE
   ============================================================= */
.article-header       { margin-bottom: 1.5rem; }
.article-content p    { margin-bottom: 1.1rem; }
.article-content h2   { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.article-content ul   { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.2rem; }
.article-content ul li { margin-bottom: 0.6rem; }
.article-content table         { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; }
.article-content table th      { font-weight: 700; padding: 0.5rem 0.75rem; border-bottom: 2px solid #1e3a5f; text-align: left; }
.article-content table td      { padding: 0.45rem 0.75rem; border-bottom: 1px solid #eee; }
.article-content table td:last-child,
.article-content table th:last-child { text-align: center; }

.article-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f5f8fc;
    border-left: 4px solid #1e3a5f;
    border-radius: 8px;
}

/* =============================================================
   LOCATION PAGE
   ============================================================= */
.location-shell   { max-width: 980px; margin: 0 auto; }
.location-header  { text-align: center; margin-bottom: 1.6rem; }
.location-header h1 { font-size: 2.2rem; margin-bottom: 0.45rem; }
.location-header p  { margin: 0; color: #666; }

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 1.3rem;
    align-items: start;
    margin-top: 1rem;
}

.location-card    { background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); padding: 1.3rem; }
.location-card h2 { margin-top: 0; margin-bottom: 0.7rem; font-size: 1.25rem; }
.location-list    { margin: 0; padding: 0; list-style: none; }
.location-list li { margin-bottom: 0.65rem; }

.map-embed {
    width: 100%;
    height: 430px;
    border-radius: 8px;
}

.location-notes {
    margin-top: 1rem;
    background: #f5f8fc;
    border-left: 4px solid #1e3a5f;
    border-radius: 8px;
    padding: 1rem 1.2rem;
}

@media (max-width: 900px) {
    .location-grid { grid-template-columns: 1fr; }
    .map-embed     { height: 360px; }
}

/* =============================================================
   SERVICES PAGE
   ============================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: start;
}

.service-card         { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.service-card:hover   { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

.service-card-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-card-header:hover         { background: linear-gradient(135deg, #2d5a87 0%, #3d6a97 100%); }
.service-card-header i             { font-size: 2rem; width: 50px; text-align: center; }
.service-card-header h3            { margin: 0; font-size: 1.2rem; flex: 1; }
.service-card-header .toggle-icon  { font-size: 1rem; transition: transform 0.3s ease; }
.service-card.open .toggle-icon    { transform: rotate(180deg); }

.service-card-body                 { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.service-card.open .service-card-body { max-height: 1000px; }

.service-card-body ul    { list-style: none; padding: 1rem 1.25rem; margin: 0; }
.service-card-body li    { padding: 0.5rem 0; border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 0.5rem; }
.service-card-body li:last-child { border-bottom: none; }
.service-card-body li::before    { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: #28a745; font-size: 0.8rem; }

.services-header    { text-align: center; margin-bottom: 2rem; }
.services-header h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.services-header p  { color: #666; font-size: 1.1rem; }

.services-cta {
    background: linear-gradient(135deg, #e8740e 0%, #f59e0b 100%);
    color: #fff;
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.services-cta h3 { margin: 0 0 1rem 0; font-size: 1.5rem; }

/* ── Service landing page cards (index) ── */
.service-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

a.service-page-card,
a.service-page-card:visited,
a.service-page-card:hover,
a.service-page-card:focus {
    display: block;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1.5rem 1.25rem;
    text-align: center;
    text-decoration: none !important;
    color: inherit !important;
    border-bottom: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.service-page-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.service-page-card i     { font-size: 2.5rem; color: #1e3a5f; margin-bottom: 0.75rem; display: block; }
.service-page-card h3    { color: #1e3a5f; margin: 0 0 0.5rem 0; font-size: 1.15rem; }
.service-page-card p     { color: #666; margin: 0; font-size: 0.95rem; }

/* ── Service landing page content ── */
.service-landing .article-content h2 { color: #1e3a5f; }

/* Selectors carry .article-content to outrank `.article-content ul` (line 445),
   which was re-adding disc markers + padding on top of the checkmarks */
.service-checklist,
.article-content ul.service-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.5rem;
}

.service-checklist li,
.article-content ul.service-checklist li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    margin-bottom: 0;
}

.service-checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #28a745;
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 0.6rem;
}

.service-related       { margin-top: 2.5rem; }
.service-related > h2  { color: #1e3a5f; font-size: 1.4rem; margin-bottom: 1rem; border-bottom: 2px solid #eee; padding-bottom: 0.5rem; }

.service-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.service-related-grid .post-card { padding: 1.25rem; }
.service-related-grid .post-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.service-related-grid .post-card h3 a { color: #1e3a5f; text-decoration: none; }
.service-related-grid .post-card h3 a:hover { text-decoration: underline; }
.service-related-grid .post-card p { font-size: 0.92rem; color: #555; margin: 0; }

a.service-link-card,
a.service-link-card:visited,
a.service-link-card:hover,
a.service-link-card:focus {
    display: block;
    background: #f5f8fc;
    border-radius: 8px;
    padding: 1.25rem;
    text-decoration: none !important;
    color: inherit !important;
    border-bottom: none !important;
    transition: background 0.2s ease;
}

a.service-link-card:hover { background: #e8eef6; }
.service-link-card i     { color: #1e3a5f; margin-right: 0.5rem; }
.service-link-card h3    { color: #1e3a5f; margin: 0 0 0.3rem 0; font-size: 1.05rem; }
.service-link-card p     { color: #666; margin: 0; font-size: 0.92rem; }

@media (max-width: 767px) {
    .services-grid { grid-template-columns: 1fr; }
    .service-card-header h3 { font-size: 1rem; }
    .service-pages-grid { grid-template-columns: 1fr 1fr; }
    .service-checklist { grid-template-columns: 1fr; }
    .service-related-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   FAQ PAGE
   ============================================================= */
.faq-header           { text-align: center; margin-bottom: 2rem; }
.faq-header h1        { font-size: 2.5rem; margin-bottom: 0.5rem; }
.faq-header p         { color: #666; font-size: 1.1rem; }

.faq-section          { margin-bottom: 2rem; }
.faq-section > h2     { color: #1e3a5f; font-size: 1.4rem; margin-bottom: 1rem; border-bottom: 2px solid #eee; padding-bottom: 0.5rem; }

.faq-item             { border: 1px solid #d5dde8; border-radius: 8px; margin-bottom: 0.75rem; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }

.faq-question {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    background: #eef2f7;
    padding: 1rem 1.25rem;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e3a5f;
    line-height: 1.4;
    user-select: none;
}

.faq-question:hover { background: #e3e9f1; }
.faq-toggle           { font-size: 0.85rem; color: #1e3a5f; transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-toggle { transform: rotate(180deg); }

.faq-answer           { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p         { padding: 0.75rem 1.25rem 1rem 1.25rem; margin: 0; color: #444; line-height: 1.7; }
.faq-answer a         { color: #1e3a5f; font-weight: 600; }

/* ── Abbreviated FAQ (homepage, about) ── */
.faq-preview          { margin-top: 2rem; }
.faq-preview > h2     { color: #1e3a5f; text-align: center; font-size: 1.8rem; margin-bottom: 1.5rem; }
.faq-preview .faq-more { text-align: center; margin-top: 1.25rem; }

@media (max-width: 767px) {
    .faq-question { font-size: 0.95rem; padding: 0.85rem 1rem; }
}

/* Mobile: show map above contact info in footer */
@media (max-width: 840px) {
    #footer > .container > .row {
        display: flex;
        flex-direction: column;
    }
    #footer > .container > .row > .col-6:last-child {
        order: -1;
    }
}

/* ── Google Business rating widget (from Places API) ── */
.gbp-rating { margin: 0.75rem 0 1.25rem; font-size: 0.95rem; }
.gbp-rating a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.7rem; border: 1px solid #e2e2ec; border-radius: 6px; background: #fffef6; transition: background .15s; }
.gbp-rating a:hover { background: #fff6d6; }
.gbp-stars { color: #f5a623; letter-spacing: 1px; font-size: 1.05rem; }
.gbp-count { color: #555; }

/* ── Customer reviews (auto-refreshed via Places API) ── */
.reviews-wrapper { padding: 2.5rem 0 2rem; }
.reviews-header { text-align: center; margin-bottom: 1.5rem; }
.reviews-header h2 { color: #1e3a5f; font-size: 1.9rem; margin-bottom: 0.4rem; }
.reviews-header a { color: #555; text-decoration: none; font-weight: 500; }
.reviews-header a:hover { color: #1e3a5f; }
.reviews-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}
.reviews-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 0.25rem 1rem;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    background: #fff;
    border: 1px solid #e2e2ec;
    border-radius: 10px;
    padding: 1.25rem 1.3rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    scroll-snap-align: start;
}
@media (max-width: 900px) {
    .review-card { flex-basis: calc((100% - 1.25rem) / 2); }
}
@media (max-width: 640px) {
    .review-card { flex-basis: 100%; }
    .reviews-carousel { padding: 0 2rem; }
}
.reviews-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid #d8dce8;
    background: #fff;
    color: #1e3a5f;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0;
}
.reviews-nav:hover { background: #1e3a5f; color: #fff; }
.reviews-nav:disabled { opacity: 0.35; cursor: default; }
.reviews-prev { left: 0; }
.reviews-next { right: 0; }
.review-stars { color: #f5a623; font-size: 1.05rem; letter-spacing: 1px; }
.review-card blockquote {
    margin: 0;
    padding: 0;
    font-size: 0.97rem;
    line-height: 1.55;
    color: #333;
    font-style: normal;
    border: none;
}
.review-card figcaption { font-size: 0.85rem; color: #666; margin-top: auto; }
.review-when { color: #666; } /* was #999 — failed WCAG AA contrast */

/* ── Why Vick's differentiator callout (service pages) ── */
.why-vicks {
    background: linear-gradient(135deg, #f8faff 0%, #fffef6 100%);
    border: 1px solid #d8dce8;
    border-left: 4px solid #1e3a5f;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0 2rem;
}
.why-vicks h3 {
    color: #1e3a5f;
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
}
.why-vicks ul { margin: 0; padding-left: 1.1rem; }
.why-vicks li { margin-bottom: 0.4rem; font-size: 0.95rem; line-height: 1.5; }
.why-vicks li:last-child { margin-bottom: 0; }
.why-vicks strong { color: #1e3a5f; }

/* ── Sticky nav + Book CTA ── */
#nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
@media screen and (max-width: 840px) {
    #nav { display: none; }
}
#nav > ul > li.nav-cta {
    margin-left: 1.25em;
}
#nav > ul > li.nav-cta a {
    background: #ff7a1a;
    color: #fff !important;
    padding: 0.55em 1.15em;
    margin: 0.5em 0;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.15s ease;
}
#nav > ul > li.nav-cta a:hover { background: #e06500; }
#nav > ul > li.nav-cta:before { display: none !important; }

/* Mobile nav panel: style the Book CTA link too */
#navPanel .link.nav-cta-link {
    background: #ff7a1a;
    color: #fff !important;
    font-weight: 600;
}
