/**
 * Business Profile Public Page
 *
 * Used by:
 * - app/Views/landing/campaign_show.php
 *
 * @version 3.5.0
 * @last_updated 2026-05-22
 *
 * 3.5.0 - EXTRACTED: Static CSS moved out of campaign_show.php.
 *        - ADDED: Lightweight client-focused profile navigation styles.
 *        - PRESERVED: Theme classes, layouts, contact card, share form, footer, and responsive behavior.
 */

:root {
    --bp-bg: #f8fafc;
    --bp-bg-2: #eef2f7;
    --bp-card: #ffffff;
    --bp-text: #0f172a;
    --bp-muted: #64748b;
    --bp-border: #e2e8f0;
    --bp-primary: #0f766e;
    --bp-primary-dark: #115e59;
    --bp-accent: #14b8a6;
    --bp-soft: #ecfeff;
    --bp-soft-2: #f0fdfa;

    --bp-radius-xs: 12px;
    --bp-radius-sm: 18px;
    --bp-radius-md: 24px;
    --bp-radius-lg: 32px;
    --bp-radius-xl: 40px;
    --bp-shadow-sm: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --bp-shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.08);
    --bp-shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.12);
    --bp-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --bp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bp-transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--bp-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 40%),
        linear-gradient(180deg, var(--bp-bg) 0%, var(--bp-bg-2) 100%);
    min-height: 100vh;
}

/* ------------------ Themes ------------------ */

.theme-emerald {
    --bp-primary: #0f766e;
    --bp-primary-dark: #115e59;
    --bp-accent: #14b8a6;
    --bp-soft: #ecfeff;
    --bp-soft-2: #f0fdfa;
}

.theme-ocean {
    --bp-primary: #0369a1;
    --bp-primary-dark: #075985;
    --bp-accent: #38bdf8;
    --bp-soft: #e0f2fe;
    --bp-soft-2: #f0f9ff;
}

.theme-indigo {
    --bp-primary: #4f46e5;
    --bp-primary-dark: #3730a3;
    --bp-accent: #818cf8;
    --bp-soft: #eef2ff;
    --bp-soft-2: #f8fafc;
}

.theme-gold {
    --bp-primary: #b45309;
    --bp-primary-dark: #92400e;
    --bp-accent: #f59e0b;
    --bp-soft: #fffbeb;
    --bp-soft-2: #fef3c7;
}

.theme-rose {
    --bp-primary: #be123c;
    --bp-primary-dark: #9f1239;
    --bp-accent: #fb7185;
    --bp-soft: #fff1f2;
    --bp-soft-2: #ffe4e6;
}

.theme-slate {
    --bp-primary: #334155;
    --bp-primary-dark: #0f172a;
    --bp-accent: #94a3b8;
    --bp-soft: #f1f5f9;
    --bp-soft-2: #e2e8f0;
}

.theme-terracotta {
    --bp-primary: #c2410c;
    --bp-primary-dark: #9a3412;
    --bp-accent: #fb923c;
    --bp-soft: #fff7ed;
    --bp-soft-2: #ffedd5;
}

.theme-purple {
    --bp-primary: #7e22ce;
    --bp-primary-dark: #581c87;
    --bp-accent: #c084fc;
    --bp-soft: #faf5ff;
    --bp-soft-2: #f3e8ff;
}

/* ------------------ Backgrounds ------------------ */

.business-profile-page.bg-clean {
    background: #f8fafc;
}

.business-profile-page.bg-warm {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.15), transparent 35%),
        linear-gradient(180deg, #fffaf0 0%, #f8fafc 100%);
}

.business-profile-page.bg-dark-accent {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--bp-accent) 25%, transparent), transparent 40%),
        linear-gradient(135deg, #0f172a 0%, #111827 42%, var(--bp-primary-dark) 130%);
    color: rgba(255, 255, 255, 0.95);
}

.business-profile-page.bg-pattern-soft {
    background-color: #f8fafc;
    background-image:
        radial-gradient(color-mix(in srgb, var(--bp-primary) 12%, transparent) 1px, transparent 1px),
        radial-gradient(color-mix(in srgb, var(--bp-accent) 10%, transparent) 1px, transparent 1px);
    background-position: 0 0, 18px 18px;
    background-size: 36px 36px;
}

.business-profile-page.bg-soft-gradient {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--bp-primary) 15%, transparent), transparent 40%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--bp-accent) 18%, transparent), transparent 38%),
        linear-gradient(180deg, var(--bp-bg) 0%, var(--bp-bg-2) 100%);
}

/* ------------------ Layout ------------------ */

.page {
    min-height: 100vh;
    padding: 16px 12px 40px;
}

.wrap {
    width: min(1200px, 100%);
    margin: 0 auto;
}

/* ------------------ Topbar / Client Nav ------------------ */

.topbar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 8px 0 20px;
    margin-bottom: 8px;
}

.topbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-decoration: none;
    color: var(--bp-text);
    font-size: 18px;
    transition: var(--bp-transition-fast);
    min-width: 0;
}

.brand:hover {
    transform: translateX(2px);
}

.brand-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: var(--bp-radius-sm);
    background: linear-gradient(135deg, var(--bp-primary), var(--bp-accent));
    box-shadow: 0 8px 20px color-mix(in srgb, var(--bp-primary) 30%, transparent);
    transition: var(--bp-transition-fast);
}

.brand:hover .brand-mark {
    transform: scale(1.05) rotate(2deg);
}

.badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--bp-soft);
    color: var(--bp-primary-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.profile-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: none;
}

.profile-nav::-webkit-scrollbar {
    display: none;
}

.profile-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid color-mix(in srgb, var(--bp-border) 85%, transparent);
    color: var(--bp-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--bp-transition-fast);
}

.profile-nav a:hover {
    background: var(--bp-soft);
    border-color: color-mix(in srgb, var(--bp-primary) 26%, transparent);
    color: var(--bp-primary-dark);
}

.bg-dark-accent .brand,
.bg-dark-accent .topbar .badge,
.bg-dark-accent .profile-nav a {
    color: #ffffff;
}

.bg-dark-accent .profile-nav a {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
}

.bg-dark-accent .profile-nav a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* ------------------ Hero ------------------ */

.hero {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--bp-radius-lg);
    overflow: hidden;
    box-shadow: var(--bp-shadow-lg);
    transition: var(--bp-transition);
}

.hero:hover {
    box-shadow: var(--bp-shadow-xl);
}

.hero-grid {
    display: flex;
    flex-direction: column;
}

.hero-copy {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    margin: 16px 0 0;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 800;
    background: linear-gradient(135deg, var(--bp-primary), var(--bp-accent));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.bg-dark-accent .hero h1 {
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    margin: 16px 0 0;
    max-width: 640px;
    color: var(--bp-muted);
    font-size: 16px;
    line-height: 1.65;
}

.hero-image {
    min-height: 280px;
    background: #e2e8f0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--bp-transition);
}

.hero-image img:hover {
    transform: scale(1.02);
}

.hero-placeholder {
    height: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    text-align: center;
    color: var(--bp-muted);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--bp-primary) 10%, transparent), color-mix(in srgb, var(--bp-accent) 12%, transparent)),
        #f1f5f9;
}

/* ------------------ Buttons ------------------ */

.actions,
.contact-actions,
.share-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.actions {
    margin-top: 28px;
}

.btn {
    min-height: 52px;
    padding: 0 28px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border: 1.5px solid transparent;
    font-size: 15px;
    cursor: pointer;
    transition: var(--bp-transition-fast);
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bp-primary), var(--bp-accent));
    color: #ffffff;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--bp-primary) 25%, transparent);
}

.btn-primary:active,
.btn-outline:active,
.social-pill:active {
    transform: scale(0.97);
}

.btn-outline {
    background: #ffffff;
    color: var(--bp-text);
    border-color: var(--bp-border);
}

/* ------------------ Sections ------------------ */

.sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.main-card,
.contact-card {
    background: var(--bp-card);
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-md);
    box-shadow: var(--bp-shadow-md);
    transition: var(--bp-transition);
}

.main-card:hover,
.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--bp-shadow-lg);
}

.main-card {
    padding: 24px;
}

.contact-card {
    padding: 24px;
    height: fit-content;
    scroll-margin-top: 96px;
}

.section,
.bp-section {
    padding: 28px 0;
    border-top: 1px solid var(--bp-border);
    scroll-margin-top: 96px;
}

.section:first-child,
.bp-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.section h2,
.bp-section h2,
.custom-html h2 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--bp-text);
}

.section p,
.bp-section p,
.custom-html p {
    margin: 0;
    color: var(--bp-muted);
    font-size: 16px;
    line-height: 1.7;
}

.bp-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 100px;
    background: var(--bp-soft);
    color: var(--bp-primary-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-card h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.contact-card p {
    margin: 10px 0 0;
    color: var(--bp-muted);
    font-size: 14px;
}

.contact-actions {
    margin-top: 20px;
}

/* ------------------ Social ------------------ */

.social-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--bp-border);
}

.social-section h3,
.share-section h3 {
    margin: 0 0 14px;
    color: var(--bp-text);
    font-size: 15px;
    font-weight: 700;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 100px;
    border: 1px solid var(--bp-border);
    background: #ffffff;
    color: var(--bp-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--bp-transition-fast);
    width: 100%;
}

.social-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 100%;
    background: var(--bp-primary);
}

.social-instagram::before { background: #e1306c; }
.social-tiktok::before { background: #111827; }
.social-twitter::before { background: #0f172a; }
.social-linkedin::before { background: #0a66c2; }
.social-youtube::before { background: #ff0000; }
.social-facebook::before { background: #1877f2; }

/* ------------------ Custom HTML Helpers ------------------ */

.custom-html {
    color: var(--bp-muted);
    font-size: 16px;
    line-height: 1.7;
}

.custom-html h3,
.custom-html h4 {
    color: var(--bp-text);
    letter-spacing: -0.02em;
    margin: 20px 0 12px;
}

.custom-html a {
    color: var(--bp-primary-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--bp-transition-fast);
}

.custom-html a:hover {
    border-bottom-color: var(--bp-primary);
}

.bp-card-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.bp-mini-card,
.bp-panel,
.bp-contact-box,
.bp-highlight-box,
.bp-offer-box {
    border-radius: var(--bp-radius-sm);
    padding: 20px;
}

.bp-mini-card,
.bp-panel {
    background: #ffffff;
    border: 1px solid var(--bp-border);
    box-shadow: var(--bp-shadow-sm);
    transition: var(--bp-transition-fast);
}

.bp-mini-card:hover,
.bp-panel:hover {
    transform: translateY(-3px);
    box-shadow: var(--bp-shadow-md);
}

.bp-mini-card h3 {
    margin: 0 0 10px;
    color: var(--bp-text);
    font-size: 18px;
    font-weight: 700;
}

.bp-mini-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--bp-muted);
}

.bp-offer-box,
.offer-box {
    margin-top: 20px;
    padding: 24px;
    border-radius: var(--bp-radius-sm);
    background: linear-gradient(135deg, var(--bp-primary), var(--bp-accent));
    color: #ffffff;
}

.bp-offer-box h2,
.bp-offer-box h3,
.offer-box h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.bp-offer-box p,
.offer-box p {
    color: rgba(255, 255, 255, 0.92);
}

.bp-highlight-box {
    background: var(--bp-soft);
    border: 1px solid color-mix(in srgb, var(--bp-primary) 20%, transparent);
    color: var(--bp-primary-dark);
}

.bp-feature-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bp-feature-list li {
    position: relative;
    padding-left: 28px;
    color: var(--bp-muted);
}

.bp-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--bp-primary);
    font-weight: 900;
}

.bp-split {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* ------------------ Share ------------------ */

.share-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--bp-border);
    scroll-margin-top: 96px;
}

.share-section p {
    margin: 0 0 14px;
    color: var(--bp-muted);
    font-size: 13px;
    line-height: 1.55;
}

.share-status {
    margin: 0 0 14px;
    padding: 11px 13px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.45;
}

.share-status.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.share-status.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.share-copy-row {
    display: flex;
    gap: 8px;
}

.share-copy-row input {
    min-width: 0;
    flex: 1;
    border: 1px solid var(--bp-border);
    border-radius: 999px;
    padding: 0 14px;
    min-height: 44px;
    font: inherit;
    color: var(--bp-text);
    background: #ffffff;
}

.share-small-btn {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--bp-border);
    background: #ffffff;
    color: var(--bp-text);
    font-weight: 700;
    cursor: pointer;
    transition: var(--bp-transition-fast);
    white-space: nowrap;
}

.share-small-btn:hover {
    background: var(--bp-soft);
    border-color: var(--bp-primary);
}

.share-email-form {
    display: none;
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--bp-border);
    border-radius: var(--bp-radius-sm);
    background: #ffffff;
}

.share-email-form.is-open {
    display: block;
}

.share-email-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--bp-text);
    font-size: 13px;
    font-weight: 700;
}

.share-email-form input,
.share-email-form textarea {
    width: 100%;
    border: 1px solid var(--bp-border);
    border-radius: 12px;
    padding: 10px 12px;
    font: inherit;
    color: var(--bp-text);
    background: #ffffff;
}

.share-email-form textarea {
    resize: vertical;
}

.share-field {
    margin-bottom: 12px;
}

.share-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.share-submit-row {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.share-submit-row .btn {
    width: 100%;
}

.contact-meta {
    margin-top: 24px;
    padding: 18px;
    border-radius: var(--bp-radius-sm);
    background: linear-gradient(135deg, var(--bp-soft), var(--bp-soft-2));
    color: var(--bp-muted);
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid var(--bp-border);
}

/* ------------------ Footer ------------------ */

.footer {
    text-align: center;
    color: var(--bp-muted);
    font-size: 12px;
    padding: 40px 12px 0;
    margin-top: 20px;
}

.footer a {
    color: var(--bp-primary-dark);
    font-weight: 700;
    text-decoration: none;
    transition: var(--bp-transition-fast);
}

.footer a:hover {
    text-decoration: underline;
}

.footer-links {
    display: inline-flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.footer-links span {
    color: var(--bp-muted);
}

.bg-dark-accent .footer,
.bg-dark-accent .footer a {
    color: rgba(255, 255, 255, 0.7);
}

/* ------------------ Layout Variations ------------------ */

.layout-classic .hero {
    border-radius: var(--bp-radius-md);
}

.layout-modern-card .hero {
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.92);
}

.layout-modern-card .main-card,
.layout-modern-card .contact-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
}

.layout-offer-first .hero-copy {
    background: linear-gradient(135deg, var(--bp-primary), var(--bp-accent));
    color: #ffffff;
}

.layout-offer-first .hero-copy .badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.layout-offer-first .hero-copy p {
    color: rgba(255, 255, 255, 0.9);
}

.layout-offer-first .hero-copy .btn-primary {
    background: #ffffff;
    color: var(--bp-primary-dark);
}

.layout-offer-first .hero-copy .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.layout-whatsapp-first .contact-card {
    border: 2px solid color-mix(in srgb, var(--bp-primary) 30%, transparent);
    box-shadow: 0 20px 40px color-mix(in srgb, var(--bp-primary) 15%, transparent);
}

.layout-whatsapp-first .contact-card h2::after {
    content: "📱 WhatsApp friendly";
    display: block;
    width: fit-content;
    margin-top: 12px;
    padding: 5px 12px;
    border-radius: 100px;
    background: var(--bp-soft);
    color: var(--bp-primary-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ------------------ Responsive ------------------ */

@media (min-width: 744px) {
    .page {
        padding: 20px 20px 48px;
    }

    .topbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0 32px;
    }

    .topbar-main {
        min-width: 0;
    }

    .profile-nav {
        justify-content: flex-end;
        flex-wrap: wrap;
        overflow: visible;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .hero-copy {
        padding: 48px 40px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 17px;
    }

    .actions {
        flex-direction: row;
        gap: 14px;
    }

    .btn {
        width: auto;
    }

    .hero-image {
        min-height: auto;
    }

    .hero-image img,
    .hero-placeholder {
        min-height: 400px;
    }

    .sections {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 24px;
        margin-top: 32px;
    }

    .main-card {
        padding: 32px;
    }

    .contact-card {
        position: sticky;
        top: 24px;
    }

    .section h2,
    .bp-section h2 {
        font-size: 32px;
    }

    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .social-pill {
        width: auto;
    }

    .bp-card-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        flex-direction: row;
    }

    .bp-split {
        display: grid;
        grid-template-columns: 1fr 0.85fr;
        flex-direction: row;
    }

    .share-submit-row {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .page {
        padding: 24px 32px 56px;
    }

    .hero-copy {
        padding: 60px 48px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero p {
        font-size: 18px;
    }

    .sections {
        gap: 32px;
        grid-template-columns: 1fr 360px;
    }

    .main-card {
        padding: 40px;
    }

    .contact-card {
        padding: 32px;
    }

    .section h2,
    .bp-section h2 {
        font-size: 36px;
    }

    .section p,
    .bp-section p {
        font-size: 17px;
    }
}

@media (min-width: 1440px) {
    .wrap {
        max-width: 1400px;
    }

    .hero h1 {
        font-size: 68px;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 12px 12px 32px;
    }

    .topbar-main {
        align-items: flex-start;
    }

    .topbar .badge {
        max-width: 150px;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    .profile-nav a {
        min-height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    .hero,
    .main-card,
    .contact-card {
        border-radius: var(--bp-radius-sm);
    }

    .hero-copy {
        padding: 24px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .section,
    .bp-section {
        padding: 20px 0;
    }

    .section h2,
    .bp-section h2 {
        font-size: 24px;
    }

    .bp-mini-card h3 {
        font-size: 16px;
    }

    .bp-offer-box,
    .offer-box {
        padding: 18px;
    }

    .bp-offer-box h3,
    .offer-box h3 {
        font-size: 18px;
    }
}

@media (hover: hover) and (min-width: 1024px) {
    .btn:hover {
        transform: translateY(-2px);
    }

    .btn-primary:hover {
        box-shadow: 0 12px 28px color-mix(in srgb, var(--bp-primary) 35%, transparent);
    }

    .btn-outline:hover {
        background: var(--bp-soft);
        border-color: var(--bp-primary);
    }

    .social-pill:hover {
        transform: translateY(-2px);
        border-color: var(--bp-primary);
        background: var(--bp-soft);
    }

    .brand:hover .brand-mark {
        transform: scale(1.08) rotate(3deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}