/*
 * Advertise & Sponsor sales page (/advertise/).
 * Every rule is scoped to .rf-ad-sales so nothing here can leak into the
 * rest of the RentalFacts theme. Colors are mapped to the site's own palette
 * (--navy, --navy-2, --teal) with the original values as fallbacks.
 */
.rf-ad-sales {
    --rf-primary: var(--navy, #17324d);
    --rf-primary-dark: var(--navy-2, #0e2740);
    --rf-accent: var(--teal, #287271);
    --rf-accent-dark: #1d5756;
    --rf-text: var(--ink, #1f2937);
    --rf-muted: var(--slate, #5f6b7a);
    --rf-light: #f6f8fa;
    --rf-lighter: #fbfcfd;
    --rf-border: #dfe5ea;
    --rf-success-bg: #eef8f5;
    --rf-warning-bg: #fff9e9;
    --rf-white: #ffffff;

    color: var(--rf-text);
    font-family: inherit;
    line-height: 1.65;
}

.rf-ad-sales *,
.rf-ad-sales *::before,
.rf-ad-sales *::after {
    box-sizing: border-box;
}

.rf-ad-sales a {
    color: var(--rf-primary);
}

.rf-ad-sales .rf-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.rf-ad-sales .rf-narrow {
    width: min(860px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.rf-ad-sales section {
    padding: 72px 0;
}

.rf-ad-sales h1,
.rf-ad-sales h2,
.rf-ad-sales h3 {
    color: var(--rf-primary-dark);
    line-height: 1.2;
    margin-top: 0;
}

.rf-ad-sales h1 {
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    margin-bottom: 22px;
    letter-spacing: -0.03em;
}

.rf-ad-sales h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.8rem);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.rf-ad-sales h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.rf-ad-sales p {
    margin-top: 0;
}

.rf-ad-sales .rf-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--rf-accent);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rf-ad-sales .rf-lead {
    max-width: 820px;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    color: var(--rf-muted);
    line-height: 1.7;
}

.rf-ad-sales .rf-center {
    text-align: center;
}

.rf-ad-sales .rf-center .rf-lead {
    margin-left: auto;
    margin-right: auto;
}

.rf-ad-sales .rf-hero {
    padding: 88px 0 76px;
    background:
        linear-gradient(
            135deg,
            rgba(23, 50, 77, .07),
            rgba(40, 114, 113, .05)
        );
    border-bottom: 1px solid var(--rf-border);
}

.rf-ad-sales .rf-hero-copy {
    max-width: 900px;
}

.rf-ad-sales .rf-hero-actions,
.rf-ad-sales .rf-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.rf-ad-sales .rf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 750;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.rf-ad-sales .rf-btn:hover {
    transform: translateY(-1px);
}

.rf-ad-sales .rf-btn-primary {
    color: #fff;
    background: var(--rf-primary);
    box-shadow: 0 5px 16px rgba(14, 39, 64, .18);
}

.rf-ad-sales .rf-btn-primary:hover {
    color: #fff;
    background: var(--rf-primary-dark);
}

.rf-ad-sales .rf-btn-secondary {
    color: var(--rf-primary-dark);
    background: var(--rf-white);
    border: 1px solid var(--rf-border);
}

.rf-ad-sales .rf-btn-secondary:hover {
    color: var(--rf-primary-dark);
    border-color: var(--rf-primary);
}

.rf-ad-sales .rf-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 34px;
    color: var(--rf-muted);
    font-size: .95rem;
    font-weight: 650;
}

.rf-ad-sales .rf-hero-points span::before {
    content: "✓";
    color: var(--rf-accent);
    font-weight: 900;
    margin-right: 7px;
}

.rf-ad-sales .rf-highlight {
    background: var(--rf-primary-dark);
    color: var(--rf-white);
    padding: 32px 0;
}

.rf-ad-sales .rf-highlight-inner {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 36px;
    align-items: center;
}

.rf-ad-sales .rf-highlight h2,
.rf-ad-sales .rf-highlight h3 {
    color: #fff;
}

.rf-ad-sales .rf-highlight p {
    color: rgba(255,255,255,.84);
    margin-bottom: 0;
}

.rf-ad-sales .rf-highlight-callout {
    padding: 22px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    background: rgba(255,255,255,.07);
}

.rf-ad-sales .rf-highlight-callout strong {
    display: block;
    font-size: 1.2rem;
    color: #fff;
}

.rf-ad-sales .rf-grid {
    display: grid;
    gap: 22px;
}

.rf-ad-sales .rf-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rf-ad-sales .rf-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rf-ad-sales .rf-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rf-ad-sales .rf-card {
    padding: 26px;
    background: var(--rf-white);
    border: 1px solid var(--rf-border);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(25, 44, 61, .045);
}

.rf-ad-sales .rf-card p:last-child {
    margin-bottom: 0;
}

.rf-ad-sales .rf-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 17px;
    border-radius: 10px;
    background: var(--rf-success-bg);
    color: var(--rf-accent-dark);
    font-size: 1.3rem;
    font-weight: 900;
}

.rf-ad-sales .rf-soft {
    background: var(--rf-light);
    border-top: 1px solid var(--rf-border);
    border-bottom: 1px solid var(--rf-border);
}

.rf-ad-sales .rf-section-intro {
    max-width: 800px;
    margin-bottom: 38px;
}

.rf-ad-sales .rf-benefit-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.rf-ad-sales .rf-benefit-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 9px;
}

.rf-ad-sales .rf-benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--rf-accent);
    font-weight: 900;
}

.rf-ad-sales .rf-tier {
    position: relative;
    overflow: hidden;
}

.rf-ad-sales .rf-tier-label {
    display: inline-block;
    padding: 5px 9px;
    margin-bottom: 14px;
    border-radius: 5px;
    background: var(--rf-light);
    color: var(--rf-primary);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.rf-ad-sales .rf-tier-premium {
    border-top: 4px solid var(--rf-primary);
}

.rf-ad-sales .rf-tier-featured {
    border-top: 4px solid var(--rf-accent);
}

.rf-ad-sales .rf-slot-example {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--rf-border);
}

.rf-ad-sales .rf-slot-example:last-child {
    border-bottom: 0;
}

.rf-ad-sales .rf-slot-number {
    flex: 0 0 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--rf-primary);
    color: #fff;
    font-weight: 800;
}

.rf-ad-sales .rf-slot-example strong {
    display: block;
    margin-bottom: 2px;
    color: var(--rf-primary-dark);
}

.rf-ad-sales .rf-placement-builder {
    margin-top: 36px;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid var(--rf-border);
    background: var(--rf-white);
}

.rf-ad-sales .rf-formula {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.rf-ad-sales .rf-formula-item {
    padding: 17px 12px;
    text-align: center;
    background: var(--rf-light);
    border: 1px solid var(--rf-border);
    border-radius: 9px;
    font-weight: 750;
    color: var(--rf-primary-dark);
}

.rf-ad-sales .rf-formula-plus {
    color: var(--rf-muted);
    font-size: 1.35rem;
    font-weight: 900;
}

.rf-ad-sales .rf-note {
    padding: 20px 22px;
    margin-top: 28px;
    border-left: 4px solid var(--rf-accent);
    background: var(--rf-success-bg);
    border-radius: 0 8px 8px 0;
}

.rf-ad-sales .rf-note strong {
    color: var(--rf-primary-dark);
}

.rf-ad-sales .rf-steps {
    counter-reset: rf-step;
}

.rf-ad-sales .rf-step {
    position: relative;
    padding-left: 70px;
    min-height: 58px;
}

.rf-ad-sales .rf-step::before {
    counter-increment: rf-step;
    content: counter(rf-step);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    background: var(--rf-primary);
    font-weight: 850;
}

.rf-ad-sales .rf-metrics {
    padding: 28px;
    border-radius: 12px;
    background: var(--rf-primary-dark);
    color: #fff;
}

.rf-ad-sales .rf-metrics h3 {
    color: #fff;
}

.rf-ad-sales .rf-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.rf-ad-sales .rf-metric {
    padding: 16px 10px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    text-align: center;
    font-size: .9rem;
}

.rf-ad-sales .rf-faq details {
    padding: 19px 0;
    border-bottom: 1px solid var(--rf-border);
}

.rf-ad-sales .rf-faq summary {
    cursor: pointer;
    color: var(--rf-primary-dark);
    font-weight: 750;
    font-size: 1.05rem;
}

.rf-ad-sales .rf-faq details p {
    margin: 13px 0 0;
    color: var(--rf-muted);
}

.rf-ad-sales .rf-disclosure {
    background: #f8f9fa;
}

.rf-ad-sales .rf-disclosure-box {
    padding: 28px;
    border: 1px solid var(--rf-border);
    border-radius: 12px;
    background: var(--rf-white);
}

.rf-ad-sales .rf-disclosure-box h3:not(:first-child) {
    margin-top: 28px;
}

.rf-ad-sales .rf-disclosure-box p,
.rf-ad-sales .rf-disclosure-box li {
    color: var(--rf-muted);
    font-size: .94rem;
}

.rf-ad-sales .rf-disclosure-box ul {
    padding-left: 20px;
}

.rf-ad-sales .rf-cta {
    text-align: center;
    background:
        linear-gradient(
            135deg,
            var(--rf-primary-dark),
            var(--rf-primary)
        );
    color: #fff;
}

.rf-ad-sales .rf-cta h2 {
    color: #fff;
}

.rf-ad-sales .rf-cta p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,.86);
    font-size: 1.1rem;
}

.rf-ad-sales .rf-cta-actions {
    justify-content: center;
}

.rf-ad-sales .rf-cta .rf-btn-primary {
    background: #fff;
    color: var(--rf-primary-dark);
}

.rf-ad-sales .rf-cta .rf-btn-primary:hover {
    background: #f4f6f8;
    color: var(--rf-primary-dark);
}

.rf-ad-sales .rf-cta .rf-btn-secondary {
    color: #fff;
    background: transparent;
    border-color: rgba(255,255,255,.45);
}

.rf-ad-sales .rf-cta .rf-btn-secondary:hover {
    color: #fff;
    border-color: #fff;
}

/* Live package list (data comes from the advertising packages in the database) */
.rf-ad-sales .rf-table-wrap {
    position: relative;
    overflow-x: auto;
    border: 1px solid var(--rf-border);
    border-radius: 12px;
    background: var(--rf-white);
}

.rf-ad-sales .rf-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.rf-ad-sales .rf-table th,
.rf-ad-sales .rf-table td {
    padding: 15px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--rf-border);
}

.rf-ad-sales .rf-table th {
    background: var(--rf-light);
    color: var(--rf-primary-dark);
    font-size: .82rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.rf-ad-sales .rf-table tr:last-child td {
    border-bottom: 0;
}

.rf-ad-sales .rf-table .rf-table-note {
    display: block;
    margin-top: 4px;
    color: var(--rf-muted);
    font-size: .9rem;
}

.rf-ad-sales .rf-price {
    font-weight: 800;
    color: var(--rf-primary-dark);
    white-space: nowrap;
}

.rf-ad-sales .rf-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 800;
    white-space: nowrap;
}

.rf-ad-sales .rf-badge-available { background: #e3f4ea; color: #1f6b3b; }
.rf-ad-sales .rf-badge-limited { background: #fdf0d4; color: #8a5a00; }
.rf-ad-sales .rf-badge-sold_out { background: #f6dcdc; color: #8a1c1c; }

@media (max-width: 900px) {
    .rf-ad-sales .rf-grid-4,
    .rf-ad-sales .rf-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rf-ad-sales .rf-highlight-inner {
        grid-template-columns: 1fr;
    }

    .rf-ad-sales .rf-formula {
        grid-template-columns: 1fr;
    }

    .rf-ad-sales .rf-formula-plus {
        text-align: center;
        transform: rotate(90deg);
    }
}

@media (max-width: 640px) {
    .rf-ad-sales section {
        padding: 52px 0;
    }

    .rf-ad-sales .rf-hero {
        padding: 58px 0 52px;
    }

    .rf-ad-sales .rf-container {
        width: min(100% - 28px, 1180px);
    }

    .rf-ad-sales .rf-grid-2,
    .rf-ad-sales .rf-grid-3,
    .rf-ad-sales .rf-grid-4,
    .rf-ad-sales .rf-metrics-grid {
        grid-template-columns: 1fr;
    }

    .rf-ad-sales .rf-hero-actions,
    .rf-ad-sales .rf-cta-actions {
        flex-direction: column;
    }

    .rf-ad-sales .rf-btn {
        width: 100%;
    }

    .rf-ad-sales .rf-step {
        padding-left: 60px;
    }
}
