/* ============================================================
   ROE PET SERVICES — Inner Page Styles
   Only rules unique to inner pages (not layout/nav/footer).
   Layout variables and shared structure live in styles.css.
   ============================================================ */

/* ── Inner page wrapper ── */
/* Matches homepage section-inner: same 1200px container, same padding */
.page-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 48px var(--section-pad-h) var(--section-pad-v);
}
@media (max-width: 968px) { .page-wrap { padding: 36px 20px 80px; } }
@media (max-width: 640px) { .page-wrap { padding: 28px 20px 80px; } }

/* ── Breadcrumb ── */
.breadcrumb {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--primary-dark); font-weight: 500; }

/* ── Back-to link ── */
.back-to-services {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.2s, gap 0.2s;
}
.back-to-services:hover { color: var(--primary-dark); gap: 10px; }

/* ── Section header (same as homepage .section-header) ── */
/* Inner pages can use this to match the homepage section feel */
.page-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}
.page-section-header h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); color: var(--primary-dark); margin-bottom: 12px; }
.page-section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ── Page sections ── */
.page-section { margin-bottom: 4rem; }
.page-section > h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--section-color-1);
    letter-spacing: -0.02em;
}
.page-section > h3 { font-size: 1.15rem; color: var(--primary-dark); margin: 1.5rem 0 0.6rem; letter-spacing: -0.01em; }
.page-section p { color: var(--text-muted); line-height: 1.85; margin-bottom: 0.85rem; }
.page-section ul, .page-section ol { color: var(--text-muted); padding-left: 1.4rem; line-height: 1.85; margin-bottom: 1rem; }
.page-section li { margin-bottom: 0.5rem; }
.page-section li strong { color: var(--text); }

/* ── Service sub-nav ── */
.service-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2.5rem;
    padding: 16px 20px;
    background: var(--cream);
    border-radius: 14px;
    border: 1px solid var(--border);
}
@media (max-width: 640px) {
    .service-subnav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 12px 16px;
        gap: 6px;
        border-radius: 10px;
    }
    .service-subnav::-webkit-scrollbar { display: none; }
}
.service-subnav a {
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-muted);
    background: white;
    border: 1px solid var(--border);
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.service-subnav a:hover   { color: var(--primary); border-color: var(--primary-light); }
.service-subnav a.current { background: var(--primary); color: white; border-color: var(--primary); font-weight: 600; }

/* ── Service hero image ── */
.service-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 3.5rem;
    box-shadow: 0 30px 70px rgba(31,122,114,0.10), 0 8px 24px rgba(0,0,0,0.05);
    transition: transform 0.6s ease;
}
.service-hero-img:hover { transform: scale(1.01); }
@media (max-width: 968px) { .service-hero-img { height: 260px; } }
@media (max-width: 640px) { .service-hero-img { height: 200px; border-radius: 14px; } }

/* ── Pricing tables ── */
.price-table-wrap {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin: 1.2rem 0 2rem;
    box-shadow: 0 4px 16px var(--shadow);
}
.price-table-wrap table { width: 100%; border-collapse: collapse; }
.price-table-wrap thead th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 13px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
}
.price-table-wrap tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
.price-table-wrap tbody tr:last-child { border-bottom: none; }
.price-table-wrap tbody tr:hover { background: var(--cream); }
.price-table-wrap td { padding: 12px 20px; font-size: 0.93rem; color: var(--text); vertical-align: top; }
.price-table-wrap td:last-child { font-weight: 600; color: var(--primary); white-space: nowrap; }
.price-table-wrap .row-group td { background: var(--section-color-1); font-weight: 600; color: var(--primary-dark); font-size: 0.85rem; padding: 8px 20px; text-transform: uppercase; letter-spacing: 0.4px; }
.price-table-wrap .row-group td:last-child { color: var(--primary-dark); }
@media (max-width: 640px) {
    .price-table-wrap td, .price-table-wrap thead th { padding: 10px 14px; font-size: 0.88rem; }
}

/* ── Note / Info boxes ── */
.note-box {
    background: #FFF8E7;
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    margin: 1.5rem 0;
}
.note-box p, .note-box li { color: var(--text); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.3rem; }
.note-box ul { padding-left: 1.3rem; margin: 0.5rem 0 0; }
.note-box strong { color: var(--primary-dark); }

.info-box {
    background: var(--section-color-1);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 1.5rem 0;
    border: 1px solid rgba(59,190,179,0.2);
}
.info-box p, .info-box li { color: var(--text); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.3rem; }

/* ── CTA box ── */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 48px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}
.cta-box::before { content: ''; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; background: rgba(255,255,255,0.05); border-radius: 50%; pointer-events: none; }
.cta-box h3 { color: white; font-size: 1.6rem; margin-bottom: 8px; }
.cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-size: 1rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-box .cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-box a.cta-btn { display: inline-flex; align-items: center; gap: 8px; background: white; color: var(--primary-dark) !important; padding: 13px 24px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 0.95rem; transition: all 0.25s; }
.cta-box a.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.cta-box a.cta-btn.secondary { background: rgba(255,255,255,0.15); color: white !important; border: 1px solid rgba(255,255,255,0.3); }
.cta-box a.cta-btn.secondary:hover { background: rgba(255,255,255,0.25); }
@media (max-width: 640px) { .cta-box { padding: 32px 24px; } }

/* ── Testimonial pull-quote ── */
.testimonial-pull {
    background: var(--cream);
    border-left: 4px solid var(--accent);
    border-radius: 0 14px 14px 0;
    padding: 20px 24px;
    margin: 2rem 0;
}
.testimonial-pull blockquote { font-style: italic; color: var(--text); font-size: 1rem; line-height: 1.7; margin: 0 0 10px; }
.testimonial-pull cite { font-style: normal; font-weight: 600; font-size: 0.85rem; color: var(--primary-dark); display: flex; align-items: center; gap: 8px; }
.testimonial-pull cite::before { content: '★★★★★'; color: #FFB800; font-size: 0.75rem; }

/* ── Emergency strip ── */
.emergency-strip {
    background: linear-gradient(135deg, #FFF0ED 0%, #FFE4E0 100%);
    border: 2px solid var(--accent-coral);
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 2rem;
}
.emergency-strip .emg-icon { font-size: 1.4rem; animation: emergencyPulse 1.5s infinite; }
.emergency-strip strong { color: var(--primary-dark); font-size: 1rem; }
.emergency-strip span { color: var(--text-muted); font-size: 0.9rem; }
.emergency-strip a { margin-left: auto; background: var(--accent-coral); color: white !important; padding: 10px 18px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem; white-space: nowrap; transition: all 0.25s; }
.emergency-strip a:hover { background: #e07e73; transform: translateY(-1px); }

/* ── Feature grid (about / why-us) ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 1.5rem 0; }
.feature-card { background: white; border: 1.5px solid var(--border); border-radius: 20px; padding: 28px; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-shadow: 0 4px 24px var(--shadow-diffuse); }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(31,122,114,0.09); border-color: var(--primary-light); }
.feature-card-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.feature-card h3 { font-size: 1rem; color: var(--primary-dark); margin-bottom: 6px; letter-spacing: -0.01em; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ── About two-col ── */
.about-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-bottom: 3.5rem; }
.about-two-col img { width: 100%; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.09); }

/* ── Testimonials full grid ── */
.testimonials-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 2.5rem; }
.testimonials-full-grid .testimonial-card { background: white; border-radius: 20px; padding: 28px; border: 1.5px solid var(--border); transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); display: flex; flex-direction: column; box-shadow: 0 4px 24px var(--shadow-diffuse); }
.testimonials-full-grid .testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(31,122,114,0.09); }
.testimonials-full-grid .testimonial-card p { flex: 1; font-style: italic; font-size: 0.95rem; line-height: 1.8; color: var(--text); margin-bottom: 16px; }

/* ── FAQ page ── */
.faq-page-list { max-width: 760px; margin: 0 auto; }
.faq-page-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-page-item:first-child { border-top: 1px solid var(--border); }
.faq-toggle { width: 100%; background: none; border: none; padding: 20px 4px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; font-family: 'Fraunces', serif; font-size: 1.02rem; font-weight: 600; color: var(--primary-dark); gap: 12px; transition: color 0.2s; }
.faq-toggle:hover { color: var(--primary); }
.faq-toggle-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--cream); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; line-height: 1; transition: all 0.3s; color: var(--primary); font-family: 'DM Sans', sans-serif; font-weight: 400; }
.faq-page-item.open .faq-toggle { color: var(--primary); }
.faq-page-item.open .faq-toggle-icon { background: var(--primary); color: white; border-color: var(--primary); transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-page-item.open .faq-body { max-height: 400px; padding-bottom: 20px; }
.faq-body p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; padding-right: 40px; }

/* ── Contact page ── */
.contact-two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.contact-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 2rem; }
.contact-info-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; transition: all 0.25s; }
.contact-info-card:hover { border-color: var(--primary-light); box-shadow: 0 6px 20px var(--shadow); transform: translateY(-2px); }
.contact-info-card .card-icon { font-size: 1.5rem; margin-bottom: 4px; }
.contact-info-card h4 { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); font-family: 'DM Sans', sans-serif; margin: 0; }
.contact-info-card .card-value { font-weight: 700; font-size: 1.05rem; color: var(--primary-dark); }
.contact-info-card a { color: var(--primary); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.contact-info-card a:hover { text-decoration: underline; }
.contact-info-card .card-note { font-size: 0.78rem; color: var(--text-muted); margin: 0; }
.contact-sidebar { position: sticky; top: 100px; }
.contact-map-placeholder { background: var(--section-color-1); border-radius: 14px; height: 200px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 2.5rem; margin-bottom: 1.5rem; border: 1px solid var(--border); }
.contact-hours-box { background: var(--cream); border-radius: 14px; padding: 20px; border: 1px solid var(--border); }
.contact-hours-box h4 { font-size: 0.9rem; color: var(--primary-dark); margin-bottom: 12px; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 7px 0; border-bottom: 1px solid var(--border); color: var(--text-muted); }
.hours-row:last-child { border-bottom: none; }
.hours-row strong { color: var(--text); font-weight: 600; }
.social-links-row { display: flex; gap: 12px; margin: 1.5rem 0; flex-wrap: wrap; }
.social-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; text-decoration: none; border: 2px solid var(--border); color: var(--text); background: white; transition: all 0.2s; }
.social-pill:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.payment-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1rem; }
.payment-chip { background: var(--section-color-1); border: 1px solid rgba(59,190,179,0.25); border-radius: 8px; padding: 8px 16px; font-size: 0.85rem; font-weight: 600; color: var(--primary-dark); }

/* ── Videos page ── */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin: 2rem 0; }
.video-item { background: var(--cream); border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; }
.video-item:hover { transform: translateY(-4px); box-shadow: 0 12px 36px var(--shadow-strong); }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-item-content { padding: 18px 20px; }
.video-item-content h3 { font-size: 1rem; color: var(--primary-dark); margin-bottom: 6px; }
.video-item-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── Responsive (inner pages) ── */
@media (max-width: 968px) {
    .about-two-col, .contact-two-col { grid-template-columns: 1fr; }
    .contact-sidebar { position: static; }
    .feature-grid, .testimonials-full-grid, .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .feature-grid, .testimonials-full-grid, .contact-cards-grid { grid-template-columns: 1fr; }
    .about-two-col { gap: 32px; }
}
