/* ============================================================
   cat-page.css — shared CSS for all category landing pages (cp-)
   ============================================================ */
.cp-page { margin-top: 0; }
.cp-container { max-width: 1180px; margin: 0 auto; padding: 0 5%; }

/* Hero */
.cp-hero {
    position: relative; overflow: hidden; min-height: 78vh; display: flex; align-items: flex-end;
    padding: 150px 0 72px;
}
.cp-hero__bg { position: absolute; inset: 0; }
.cp-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(1.12) contrast(1.04); }
.cp-hero__bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,3,6,0.5) 0%, rgba(10,3,6,0.15) 35%, rgba(10,3,6,0.85) 78%, #0A0306 100%),
        linear-gradient(90deg, rgba(10,3,6,0.78) 0%, rgba(10,3,6,0.25) 60%, rgba(10,3,6,0.05) 100%);
}
.cp-hero__inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 5%; width: 100%; }
.cp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--tsf-pink-2); }
.cp-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--tsf-grad); }
.cp-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.05; max-width: 860px; margin: 16px 0 18px; text-shadow: 0 10px 40px rgba(0,0,0,0.55); }
.cp-hero__lead { font-size: clamp(1rem, 1.35vw, 1.2rem); color: #EBD8E4; max-width: 640px; margin-bottom: 28px; text-shadow: 0 2px 14px rgba(0,0,0,0.6); }
.cp-hero__actions { margin-bottom: 24px; }
.cp-hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.85rem; font-weight: 600; color: #D9C3D2; }
.cp-hero__trust span { display: flex; align-items: center; gap: 6px; }
.cp-hero__trust span::before { content: '✓'; color: var(--tsf-pink-2); font-weight: 800; }

/* Breadcrumb */
.cp-breadcrumb { border-bottom: 1px solid var(--tsf-line); padding: 12px 0; }
.cp-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.82rem; color: var(--tsf-dim); }
.cp-breadcrumb ol li + li::before { content: '›'; margin-right: 8px; opacity: .5; }
.cp-breadcrumb a { color: var(--tsf-muted); }
.cp-breadcrumb a:hover { color: var(--tsf-pink-2); }

/* Sections */
.cp-section { padding: 84px 0; position: relative; }
.cp-section--dark { background: linear-gradient(180deg, #14060B, #0A0306); border-top: 1px solid var(--tsf-line); border-bottom: 1px solid var(--tsf-line); }
.cp-section--tint { background: radial-gradient(900px 400px at 80% 0%, rgba(155,27,74,0.14), transparent 70%); }
.cp-page h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0 28px; max-width: 800px; }
.cp-page .tsf-cta-band h2 {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.cp-section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--tsf-pink-2); }
.cp-section-label::before { content: ''; width: 22px; height: 1px; background: var(--tsf-grad); }

/* Split */
.cp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cp-split__text p { font-size: 1.08rem; color: var(--tsf-muted); margin: 0 0 16px; }
.cp-split__right { display: grid; gap: 20px; }
.cp-split__visual { aspect-ratio: 4 / 3; }
.cp-split__visual::before { content: ''; position: absolute; inset: -12px; border-radius: 24px; z-index: -1; background: var(--tsf-grad); opacity: .25; filter: blur(28px); }
.cp-split__aside { background: var(--tsf-card); border: 1px solid var(--tsf-line-2); border-radius: 16px; padding: 26px 28px; }
.cp-split__aside h3 { font-size: 1.1rem; margin-bottom: 12px; }
.cp-split__aside ul { list-style: none; }
.cp-split__aside li { position: relative; padding-left: 26px; margin-bottom: 9px; color: var(--tsf-text); font-size: 0.95rem; }
.cp-split__aside li::before { content: '♥'; position: absolute; left: 0; top: 0; color: var(--tsf-pink); font-size: 0.8rem; }

/* Steps */
.cp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cp-step { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 26px 0; border-top: 1px solid var(--tsf-line-2); }
.cp-step__num { font-family: var(--tsf-font-d); font-size: 2.2rem; font-weight: 700; line-height: 1; background: var(--tsf-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cp-step h3 { font-size: 1.2rem; }
.cp-step p { color: var(--tsf-muted); font-size: 0.97rem; }

/* Cards */
.cp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cp-card { padding: 28px 26px; }
.cp-card__icon { font-size: 1.6rem; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,36,88,0.10); border: 1px solid var(--tsf-line-2); margin-bottom: 14px; }
.cp-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.cp-card p { color: var(--tsf-muted); font-size: 0.95rem; }

/* Why list */
.cp-why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.cp-why-item { display: flex; gap: 18px; align-items: flex-start; }
.cp-why-item__icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; background: var(--tsf-grad); box-shadow: var(--tsf-glow); }
.cp-why-item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.cp-why-item p { color: var(--tsf-muted); font-size: 0.97rem; }

/* Image strip */
.cp-img-strip { padding: 0 5%; }
.cp-img-strip__inner { max-width: 1180px; margin: 0 auto; aspect-ratio: 21 / 8; }
.cp-img-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Safety */
.cp-safety { background: linear-gradient(180deg, transparent, rgba(155,27,74,0.06)); }
.cp-safety__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cp-safety__item { background: var(--tsf-card); border: 1px solid var(--tsf-line); border-radius: 14px; padding: 22px 22px; }
.cp-safety__item h3 { font-size: 1.02rem; margin-bottom: 8px; font-family: var(--tsf-font-b); font-weight: 700; }
.cp-safety__item p { color: var(--tsf-muted); font-size: 0.93rem; }

/* FAQ */
.cp-faq-list { max-width: 820px; }
.cp-faq-item { border-bottom: 1px solid var(--tsf-line); }
.cp-faq-item:first-child { border-top: 1px solid var(--tsf-line); }
.cp-faq-item summary { list-style: none; cursor: pointer; padding: 20px 50px 20px 0; position: relative; font-weight: 700; font-size: 1.02rem; color: #fff; }
.cp-faq-item summary::-webkit-details-marker { display: none; }
.cp-faq-item summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,36,88,0.14); color: var(--tsf-pink-2); font-weight: 800; transition: transform .25s, background .2s; }
.cp-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--tsf-pink); color: #fff; }
.cp-faq-answer { padding: 0 0 22px; }
.cp-faq-answer p { color: var(--tsf-muted); }
.cp-faq-answer a { color: var(--tsf-pink-2); text-decoration: underline; }

/* Related */
.cp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cp-related-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 12px; background: var(--tsf-card); border: 1px solid var(--tsf-line); color: #fff; font-weight: 600; transition: border-color .2s, background .2s, transform .2s; }
.cp-related-link:hover { border-color: var(--tsf-pink); background: rgba(255,36,88,0.10); transform: translateY(-2px); }
.cp-related-link span { color: var(--tsf-pink-2); }
.cp-related-link--all { background: rgba(255,36,88,0.10); border-color: var(--tsf-line-2); }

/* Geo */
.cp-geo { padding: 72px 0 84px; border-top: 1px solid var(--tsf-line); }
.cp-geo__block { margin-bottom: 44px; }
.cp-geo__block:last-child { margin-bottom: 0; }
.cp-geo__title, .cp-page .cp-geo__title { font-size: 1.6rem; margin: 10px 0 18px; }
.cp-geo-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cp-geo-tab { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--tsf-line); background: transparent; color: var(--tsf-muted); font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all .2s; }
.cp-geo-tab:hover { border-color: var(--tsf-pink); color: #fff; }
.cp-geo-tab--active { background: var(--tsf-grad); color: #fff; border-color: transparent; box-shadow: var(--tsf-glow); }
.cp-geo__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cp-geo__grid--states { grid-template-columns: repeat(4, 1fr); }
.cp-geo__link { display: block; padding: 11px 14px; border-radius: 10px; background: var(--tsf-card); border: 1px solid var(--tsf-line); color: var(--tsf-text); font-size: 0.9rem; font-weight: 500; transition: all .2s; }
.cp-geo__link:hover { border-color: var(--tsf-pink); color: #fff; background: rgba(255,36,88,0.10); }

/* Responsive */
@media (max-width: 1024px) {
    .cp-cards, .cp-safety__grid, .cp-related-grid { grid-template-columns: repeat(2, 1fr); }
    .cp-geo__grid { grid-template-columns: repeat(3, 1fr); }
    .cp-geo__grid--states { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .cp-hero { min-height: 70vh; padding: 120px 0 56px; }
    .cp-split, .cp-why-list { grid-template-columns: 1fr; gap: 32px; }
    .cp-steps { grid-template-columns: 1fr; gap: 12px; }
    .cp-section { padding: 60px 0; }
    .cp-img-strip__inner { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
    .cp-cards, .cp-safety__grid, .cp-related-grid { grid-template-columns: 1fr; }
    .cp-geo__grid, .cp-geo__grid--states { grid-template-columns: repeat(2, 1fr); }
    .cp-hero__actions .tsf-btn { width: 100%; }
}
