/* campaign.css: the few pieces Kam's campaign pages need that the hv3 / aa-band components
   (home-v3.css) don't have yet: hero photo, numbered card label, fee tile, the floating form layout and the closing band.
   Brand colours only (aa3 tokens from home-v3.css). Loaded by template-campaign.php. */

/* Hero: photo on the right (Kam's layout), stacked under the buttons on phones. */
.aa-camp-hero .hv3-hero-head { align-items: center; }
.aa-camp-photo { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 247, 235, 0.22); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.55); }
.aa-camp-photo img { display: block; width: 100%; height: 340px; object-fit: cover; }
.aa-camp-stamp { position: absolute; left: 16px; bottom: 16px; padding: 9px 16px; border-radius: 999px; background: var(--aa3-cream); color: #0e3226; font-family: var(--aa3-font-display); font-weight: 700; font-size: 13.5px; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); }
.aa-camp-stamp::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--aa3-pink-hot); margin-right: 8px; vertical-align: middle; }
.aa-camp-hero .aa-camp-micro { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; font-size: 13.5px; font-weight: 600; color: rgba(255, 247, 235, 0.7); }
.aa-camp-hero .aa-camp-micro span + span::before { content: '\00B7'; margin-right: 14px; color: var(--aa3-pink-hot); font-weight: 800; }
button.hv3-btn { cursor: pointer; font-size: inherit; line-height: 1.2; }

/* Fee band: one pink tile (same as the pricing tiles) with the terms under it. */
.aa-camp-fee-card { width: 100%; max-width: 340px; padding: 26px 26px 24px; text-align: left; }
.aa-camp-fee .hv3-number-value { font-size: clamp(42px, 5vw, 60px); margin-bottom: 8px; }
.aa-camp-fee .aa-dark-lede { font-size: 16px; }
.aa-camp-fee .aa-call-line { margin-top: 0; }
.aa-camp-fine { font-size: 12.5px; line-height: 1.55; color: rgba(255, 247, 235, 0.6); margin: 0; }

/* Cards band: trust pills above, a small numbered label on each card. */
.aa-camp-trust { margin: 0 0 34px; }
.aa-camp-num { display: block; margin-bottom: 14px; font-family: var(--aa3-font-display); font-weight: 800; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--aa3-pink-hot); }

/* The floating form with Kam's 15 Oct rules (sections/campaign-form.php): mode buttons on top, then name,
   address, email, WhatsApp number and the button in one row. The rest is the site form's own styling
   (main.css .property-search, strategy-form.css). */
.aa-cf .form-step[data-step="1"].active { display: block; }
.aa-cf .aa-cf-top { display: flex; gap: 12px; margin: 0 0 14px; }
.aa-cf .aa-cf-top .form-group { margin: 0; }
.aa-cf .aa-cf-modes { flex: 2 1 0; max-width: 560px; }
.aa-cf .aa-cf-intent { flex: 1 1 0; max-width: 300px; }
.aa-cf .aa-cf-modes .sc-intent-btn { padding: 11px 14px; }
.aa-cf .aa-cf-row { display: flex; gap: 12px; align-items: flex-start; }
.aa-cf .aa-cf-row .form-group { flex: 1 1 0; min-width: 0; margin-bottom: 0; position: relative; }
.aa-cf .aa-cf-row .aa-cf-address { flex: 1.6 1 0; }
.aa-cf .form-step[data-step="1"].active .form-group input { min-width: 0; width: 100%; }
.aa-cf .aa-cf-row .form-buttons { flex: 0 0 auto; margin: 0; }
.aa-cf .btn { font-family: inherit; }
.aa-cf .aa-cf-row .form-buttons .btn { white-space: nowrap; }
.aa-cf .aa-cf-address .getaddress-autocomplete { min-width: 300px; }
.aa-cf .aa-cf-hidden { display: none; }
.aa-cf .aa-cf-note { margin: 10px 0 0; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, 0.8); text-align: left; }
.aa-cf[data-mode="report"] .form-steps-indicator { display: none; }

/* Closing band: Kam's copy and the same two buttons, which open the floating form. */
.aa-camp-cta .hv3-numbers-inner { max-width: 860px; }
.aa-camp-cta .eyebrow { margin-bottom: 18px; }
.aa-camp-cta .aa-dark-lede { max-width: 640px; margin: 0 auto; }
.aa-camp-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 0; }
.aa-camp-cta .aa-call-line { margin-top: 22px; }
.aa-camp-cta .hv3-outcomes-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.aa-camp-cta--light .hv3-outcomes-lede { max-width: 640px; margin: 0 auto; }
.aa-camp-cta--light .hv3-btn--outline { color: #0e3226; border-color: rgba(14, 50, 38, 0.35); }
.aa-camp-cta--light .hv3-btn--outline:hover { color: #0e3226; border-color: #0e3226; }
.aa-camp-cta--light .aa-call-line { color: #5d5a52; }
.aa-camp-cta--light .aa-call-line a { color: #0e3226; }

/* Kam's detailed fees table (Fees page): wider, readable last column; on phones each row becomes a card. */
.aa-camp-table-wrap { max-width: 1100px; }
.aa-camp-table caption { caption-side: top; padding: 0 0 14px; text-align: left; font-weight: 600; color: rgba(255, 247, 235, 0.8); }
.aa-camp-table th, .aa-camp-table td { text-align: left; vertical-align: top; }
.aa-camp-table thead th:last-child { color: var(--aa3-cream); }
.aa-camp-table tbody th { font-family: var(--aa3-font-display); font-weight: 700; color: var(--aa3-cream); }
.aa-camp-table tbody td { white-space: nowrap; }
.aa-camp-table tbody td:last-child { white-space: normal; font-weight: 500; font-size: 14px; color: rgba(255, 247, 235, 0.72); min-width: 280px; }
@media (max-width: 760px) {
    .aa-camp-table-wrap { overflow: visible; }
    .aa-camp-table, .aa-camp-table tbody, .aa-camp-table tr, .aa-camp-table th, .aa-camp-table td { display: block; width: 100%; min-width: 0; }
    .aa-camp-table { border-radius: 0; background: none; border: 0; box-shadow: none; overflow: visible; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .aa-camp-table thead { display: none; }
    .aa-camp-table tbody tr { margin: 0 0 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.10); }
    .aa-camp-table tbody th { padding: 0 0 8px; border: 0; font-size: 16px; }
    .aa-camp-table tbody td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); white-space: normal; }
    .aa-camp-table tbody td::before { content: attr(data-label); flex: 0 0 auto; font-weight: 600; color: rgba(255, 247, 235, 0.6); font-size: 13px; }
    .aa-camp-table tbody td:last-child { display: block; min-width: 0; border-bottom: 0; padding-top: 8px; }
    .aa-camp-table tbody td:last-child::before { display: block; margin-bottom: 4px; }
}

/* Phones: Kam's mobile layout (photo under the buttons), form fields stacked. */
@media (max-width: 800px) {
    .aa-camp-hero .aa-camp-micro { font-size: 12.5px; gap: 4px 10px; }
    .aa-camp-hero .aa-camp-micro span + span::before { margin-right: 10px; }
    .aa-camp-photo img { height: 170px; }
    .aa-camp-stamp { font-size: 12px; padding: 7px 12px; left: 12px; bottom: 12px; }
    .aa-camp-hero .hv3-hero-actions .hv3-btn { white-space: normal; text-align: center; }
    .aa-cf .search-title { white-space: normal; }
    .aa-cf .aa-cf-top { flex-direction: column; gap: 10px; }
    .aa-cf .aa-cf-modes, .aa-cf .aa-cf-intent { max-width: none; }
    .aa-cf .aa-cf-row { flex-direction: column; align-items: stretch; }
    .aa-cf .aa-cf-row .form-group { flex: none; margin-bottom: 10px; }
    .aa-cf .aa-cf-row .form-buttons .btn { width: 100%; }
    .aa-cf .aa-cf-modes .sc-intent-btn { font-size: 13px; padding: 10px 8px; }
    #strategy-form[data-variant="campaign"] .sc-intent-buttons { grid-template-columns: 1fr 1fr; gap: 8px; }
    .aa-cf .aa-cf-intent .sc-intent-btn { font-size: 13px; padding: 9px 8px; }
}
