/* The sponsorship sales pages: promote-your-santa-experience.html and
   promote-your-halloween-event.html. Both share this layout -- hero, pricing
   cards, guarantee, how it works, what stays the same, questions -- and fill
   it with their own season's copy and prices.

   Loaded after tokens.css and styles.css, and only by those two pages, so
   everything here is scoped to .sponsor-page. The buy buttons all go to the
   portal's Promote page (portal.html#/promote), which sells the slot. */

.sponsor-page {
    flex: 1;
    width: 100%;
    --sp-teal-tint: #E7F3F3;
    --sp-coral-tint: #FFF1EC;
    --sp-shadow: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);
}
.sponsor-page .sp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; box-sizing: border-box; }
.sponsor-page svg { flex-shrink: 0; }
.sponsor-page a { color: var(--secondary); }

/* Buttons. The site's .button is a full-width block; these sit in a row. */
.sponsor-page .sp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    height: 48px; padding: 0 1.4rem; border-radius: 10px; box-sizing: border-box;
    font-size: 0.95rem; font-weight: 600; text-decoration: none; white-space: nowrap;
    border: 1px solid transparent; transition: background 0.15s ease;
}
.sponsor-page .sp-btn-primary { background: var(--primary-strong); color: #ffffff; }
.sponsor-page .sp-btn-primary:hover { background: var(--primary-strong-hover); }
.sponsor-page .sp-btn-secondary { background: #ffffff; color: var(--text-dark); border-color: var(--border); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05); }
.sponsor-page .sp-btn-secondary:hover { background: #F4F6F5; }
.sponsor-page .sp-btn-white { background: #ffffff; color: var(--secondary-dark); }
.sponsor-page .sp-btn-white:hover { background: #F2F9F8; }
.sponsor-page .sp-btn-block { width: 100%; }

/* ---- Hero ---- */
.sp-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; padding: 4rem 0 4.5rem; }
.sp-eyebrow { display: inline-flex; align-items: center; font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 999px; }
.sp-eyebrow-santa { background: #FEE2E2; color: #991B1B; }
.sp-eyebrow-halloween { background: #FFEDD5; color: #9A3412; }
.sp-hero h1 { font-size: 3.25rem; line-height: 1.04; letter-spacing: -0.025em; font-weight: 800; margin: 1.1rem 0; text-wrap: balance; }
.sp-hero h1 em { font-style: normal; color: var(--primary-strong); }
.sp-lede { font-size: 1.125rem; line-height: 1.6; color: #4A5757; margin: 0 0 1.75rem; max-width: 520px; }
.sp-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sp-checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.9rem; font-weight: 500; color: #3A4646; }
.sp-checks li { display: flex; align-items: center; gap: 0.45rem; }
.sp-checks svg { color: var(--secondary); }

/* The hero picture: a county page with a sponsored card on top. */
.sp-browser { background: #ffffff; border-radius: 16px; box-shadow: 0 30px 60px -12px rgba(16, 40, 40, 0.25), 0 0 0 1px rgba(16, 40, 40, 0.06); overflow: hidden; transform: rotate(1deg); }
.sp-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F3F2; border-bottom: 1px solid var(--border); }
.sp-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D4DBD9; }
.sp-browser-bar span { margin-left: 10px; flex: 1; min-width: 0; background: #ffffff; border-radius: 6px; font-size: 0.72rem; color: var(--text-muted); padding: 4px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sp-browser-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; background: var(--bg-page); }
.sp-browser-title { font-family: 'Outfit', 'Inter', sans-serif; font-weight: 700; font-size: 1.25rem; }
.sp-browser-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #7A4B00; }
.sp-browser-label.muted { color: var(--text-muted); margin-top: 0.25rem; }
.sp-mini { display: flex; gap: 0.75rem; align-items: center; background: #ffffff; border: 2px solid var(--border); border-radius: 14px; padding: 10px; }
.sp-mini-sponsored { border-color: var(--accent); box-shadow: 0 10px 24px -10px rgba(214, 150, 20, 0.55); }
.sp-mini img, .sp-mini-img { width: 96px; height: 64px; border-radius: 9px; object-fit: cover; flex-shrink: 0; background: #EEF1F0; }
.sp-mini img.faded { opacity: 0.55; }
.sp-mini b { display: block; font-family: 'Outfit', 'Inter', sans-serif; font-size: 0.95rem; }
.sp-mini-place { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: var(--text-muted); margin: 3px 0 6px; }
.sp-mini-tag { font-size: 0.68rem; font-weight: 700; background: #FFF1CC; color: #7A4B00; padding: 2px 8px; border-radius: 999px; }
.sp-skel { display: block; height: 10px; border-radius: 5px; background: #EEF1F0; width: 160px; max-width: 100%; margin: 5px 0; }
.sp-skel.short { width: 90px; }

/* ---- Sections ---- */
.sp-section { padding: 4.5rem 0; }
.sp-alt { background: #ffffff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sp-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.sp-head h2 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 0.6rem; }
.sp-head p { margin: 0; font-size: 1.03rem; color: var(--text-muted); line-height: 1.6; }
#prices { scroll-margin-top: var(--site-header-height); }

/* ---- Pricing ---- */
.sp-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 410px)); justify-content: center; gap: 1.5rem; }
.sp-price { position: relative; background: #ffffff; border: 1px solid var(--border); border-radius: 20px; padding: 1.9rem; box-shadow: var(--sp-shadow); }
.sp-price-hi { border: 2px solid var(--secondary); padding: calc(1.9rem - 1px); box-shadow: 0 20px 40px -16px rgba(15, 110, 110, 0.35); }
.sp-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--secondary); color: #ffffff; font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 999px; white-space: nowrap; }
.sp-price h3 { font-size: 1.4rem; margin: 0 0 0.4rem; }
.sp-price-desc { margin: 0; font-size: 0.92rem; color: var(--text-muted); line-height: 1.5; min-height: 2.8em; }
.sp-amount { display: flex; align-items: baseline; gap: 0.5rem; margin: 1.4rem 0; }
.sp-amount b { font-family: 'Outfit', 'Inter', sans-serif; font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.sp-amount span { font-size: 0.9rem; color: var(--text-muted); }
.sp-perks { list-style: none; margin: 1.5rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.9rem; line-height: 1.45; }
.sp-perks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.sp-perks svg { color: var(--secondary); margin-top: 2px; }
.sp-perks .sp-perk-all { font-weight: 600; }
.sp-fine { text-align: center; max-width: 640px; margin: 1.75rem auto 0; font-size: 0.85rem; line-height: 1.6; color: var(--text-muted); }

/* ---- Guarantee ---- */
.sp-guarantee-band { background: var(--secondary-dark); color: #ffffff; }
.sp-guarantee { display: flex; gap: 1.75rem; align-items: center; padding: 3.25rem 0; }
.sp-guarantee-badge { width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 0 0 2px rgba(255, 200, 87, 0.55); color: var(--accent); }
.sp-guarantee h2 { font-size: 1.9rem; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.sp-guarantee p { margin: 0; font-size: 0.97rem; line-height: 1.65; color: rgba(255, 255, 255, 0.85); max-width: 740px; }
.sp-guarantee code { background: rgba(255, 255, 255, 0.12); padding: 1px 6px; border-radius: 4px; font-size: 0.82rem; }
.sponsor-page .sp-guarantee a { color: var(--accent); font-weight: 600; text-decoration: none; display: inline-block; margin-top: 0.6rem; }
.sponsor-page .sp-guarantee a:hover { text-decoration: underline; }

/* ---- How it works ---- */
.sp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sp-steps li { background: #ffffff; border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem; }
.sp-step-n { width: 36px; height: 36px; border-radius: 10px; background: var(--sp-coral-tint); color: var(--primary-strong); font-family: 'Outfit', 'Inter', sans-serif; font-weight: 800; display: grid; place-items: center; font-size: 1.05rem; }
.sp-steps h3 { font-size: 1.12rem; margin: 1rem 0 0.5rem; }
.sp-steps p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--text-muted); }

/* ---- What stays the same ---- */
.sp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.sp-trust-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sp-teal-tint); color: var(--secondary); display: grid; place-items: center; }
.sp-trust h3 { font-size: 1.06rem; margin: 0.9rem 0 0.4rem; }
.sp-trust p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--text-muted); }

/* ---- Questions ---- */
.sp-faq { max-width: 820px; margin: 0 auto; }
.sp-faq details { background: #ffffff; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 0.6rem; }
.sp-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; font-weight: 600; font-size: 0.98rem; cursor: pointer; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary svg { transition: transform 0.15s ease; }
.sp-faq details[open] summary svg { transform: rotate(180deg); }
.sp-faq details > p { margin: 0; padding: 0 1.4rem 1.25rem; font-size: 0.92rem; line-height: 1.65; color: var(--text-muted); }
.sp-compare-scroll { overflow-x: auto; }
.sp-compare { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.sp-compare th, .sp-compare td { text-align: left; padding: 0.75rem 1.4rem; border-top: 1px solid var(--border); vertical-align: top; }
.sp-compare th { font-weight: 600; color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.sp-compare td:first-child { font-weight: 500; }
.sp-compare svg { color: var(--secondary); }
.sp-compare .sp-none { color: #B3BDBC; }

/* ---- Closing call to action ---- */
.sp-final { padding: 1.5rem 0 5rem; }
.sp-final-card { text-align: center; background: linear-gradient(135deg, #0F6E6E, #0A5252); color: #ffffff; border-radius: 24px; padding: 3.5rem 2rem; }
.sp-final-card h2 { font-size: 2.25rem; margin: 0 0 0.6rem; letter-spacing: -0.02em; text-wrap: balance; }
.sp-final-card p { margin: 0 0 1.6rem; color: rgba(255, 255, 255, 0.85); font-size: 1.03rem; }
.sp-final-card .sp-final-q { margin: 1.1rem 0 0; font-size: 0.9rem; }
.sponsor-page .sp-final-q a { color: var(--accent); }

@media (max-width: 900px) {
    .sp-hero { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; padding: 2rem 0 3.25rem; }
    .sp-browser { transform: none; max-width: 520px; }
    .sp-steps, .sp-trust { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
    .sp-trust { gap: 1.75rem; }
}

@media (max-width: 640px) {
    .sponsor-page .sp-wrap { padding: 0 1rem; }
    .sp-hero h1 { font-size: 2.1rem; }
    .sp-lede { font-size: 1rem; }
    .sp-cta .sp-btn { flex: 1 1 0; min-width: 0; padding: 0 0.75rem; }
    .sp-section { padding: 3.25rem 0; }
    .sp-head { margin-bottom: 1.75rem; }
    .sp-head h2 { font-size: 1.7rem; }
    .sp-prices { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .sp-price { padding: 1.5rem; }
    .sp-price-hi { padding: calc(1.5rem - 1px); }
    .sp-price-desc { min-height: 0; }
    .sp-guarantee { flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: 2.75rem 0; }
    .sp-guarantee h2 { font-size: 1.5rem; }
    .sp-faq summary { padding: 1rem 1.1rem; font-size: 0.95rem; }
    .sp-faq details > p { padding: 0 1.1rem 1.1rem; }
    .sp-compare th, .sp-compare td { padding: 0.6rem 0.75rem; font-size: 0.8rem; }
    .sp-final { padding: 0.5rem 0 3.25rem; }
    .sp-final-card { padding: 2.5rem 1.4rem; }
    .sp-final-card h2 { font-size: 1.6rem; }
}
