/* ============================================================
   BidPlayer public landing page — shared by the Desktop view
   (Index.cshtml) and the Mobile/Tablet view (Index.Mobile.cshtml).
   ============================================================ */

:root {
    --lp-primary: #8b5cf6;
    --lp-primary-dark: #7c3aed;
    --lp-primary-light: #a78bfa;
    --lp-ink: #150f28;
    --lp-hero-base: #170f2c;
    --lp-text-muted: #6b7280;
    --lp-border: #e9e5f5;
    --lp-radius-lg: 20px;
    --lp-radius-md: 14px;
    --lp-shadow: 0 18px 40px rgba(21, 15, 40, 0.12);
}

* { box-sizing: border-box; }

body.lp-body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--lp-ink);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* Element-only selector (not .lp-body-qualified) so it stays lower-specificity
   than every single-class button/link rule below and never overrides them. */
a { text-decoration: none; color: inherit; }
.lp-body img { max-width: 100%; display: block; }
.lp-body button { font-family: inherit; }

.lp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────────────────────── */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 12px; font-weight: 600; font-size: 15px;
    border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-primary {
    background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    color: #fff; box-shadow: 0 10px 24px rgba(124, 58, 237, 0.35);
}
.lp-btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(124, 58, 237, 0.45); }
/* Secondary hero button — dark fill on the photo, as in the design */
.lp-btn-ghost {
    background: rgba(12, 8, 24, 0.72); color: #fff;
    border-color: rgba(255, 255, 255, 0.22); backdrop-filter: blur(4px);
}
.lp-btn-ghost:hover { background: rgba(12, 8, 24, 0.9); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.lp-btn-outline { background: transparent; border-color: var(--lp-border); color: var(--lp-ink); }
.lp-btn-outline:hover { border-color: var(--lp-primary); color: var(--lp-primary-dark); }
.lp-btn-white { background: #fff; color: var(--lp-primary-dark); }
.lp-btn-white:hover { color: var(--lp-primary-dark); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15); }
.lp-btn-sm { padding: 9px 18px; font-size: 13.5px; border-radius: 10px; }

/* ── Section shell ───────────────────────────────────────── */
.lp-section { padding: 52px 0; }
.lp-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.lp-section-title { font-size: 26px; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.lp-section-sub { color: var(--lp-text-muted); font-size: 14px; margin: 5px 0 0; }
.lp-link-arrow { color: var(--lp-primary-dark); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.lp-link-arrow:hover { color: var(--lp-primary); }

/* ── Hero (shared skin, per-view sizing below) ───────────── */
.lp-hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(750px 500px at 52% 28%, rgba(147, 51, 234, 0.32), transparent 68%),
        radial-gradient(950px 550px at 82% 14%, rgba(139, 92, 246, 0.42), transparent 65%),
        radial-gradient(600px 400px at 15% 80%, rgba(109, 40, 217, 0.25), transparent 60%),
        linear-gradient(135deg, #130c27 0%, #1e1344 42%, #2c1a60 72%, #190e36 100%);
}
.lp-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; }
/* The photo fades out along its own left edge, so it dissolves into whatever the
   hero background is painting there — an opaque overlay colour would show a seam. */
.lp-hero-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 24%, rgba(0, 0, 0, 0.78) 52%, #000 80%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 24%, rgba(0, 0, 0, 0.78) 52%, #000 80%);
}
/* Full-width scrim (not photo-width) to keep the copy legible without an edge */
.lp-hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg,
        rgba(19, 12, 39, 0.94) 0%,
        rgba(19, 12, 39, 0.62) 28%,
        rgba(19, 12, 39, 0.12) 48%,
        transparent 65%
    );
}
.lp-hero-inner { position: relative; z-index: 2; }
.lp-hero-title { font-size: 46px; line-height: 1.1; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; }
.lp-hero-title span { color: var(--lp-primary-light); }
.lp-hero-subtitle { font-size: 16.5px; font-weight: 700; color: #ece8fb; margin: 0 0 14px; }
.lp-hero-desc { font-size: 14.5px; line-height: 1.7; color: #b9b1d6; margin: 0 0 26px; }
.lp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.lp-hero-script {
    position: absolute; z-index: 3; font-family: 'Brush Script MT', 'Segoe Script', cursive;
    font-style: italic; color: #fff; text-align: right; line-height: 1.25; transform: rotate(-5deg);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

/* ── Stat items (bar on desktop, card on mobile) ─────────── */
.lp-stat { display: flex; align-items: center; gap: 12px; }
.lp-stat-icon { font-size: 24px; color: var(--lp-primary); line-height: 1; flex-shrink: 0; }
.lp-stat-value { font-size: 21px; font-weight: 800; line-height: 1.15; }
.lp-stat-label { font-size: 12.5px; color: var(--lp-text-muted); }

/* ── Step tiles (tournament setup → auction → pools) ─────── */
.lp-step {
    position: relative; background: #fff; border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md); padding: 20px 20px 18px; overflow: hidden;
    transition: box-shadow .18s, transform .18s, border-color .18s;
}
.lp-step:hover { box-shadow: var(--lp-shadow); transform: translateY(-2px); border-color: #d9d0f7; }
.lp-step-num { position: absolute; top: 12px; right: 18px; font-size: 30px; font-weight: 800; line-height: 1; color: rgba(139, 92, 246, 0.16); }
.lp-step-icon {
    width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(124, 58, 237, 0.09));
    color: var(--lp-primary-dark);
}
.lp-step-title { font-size: 15.5px; font-weight: 800; margin: 0 0 6px; }
.lp-step-text { font-size: 13px; color: var(--lp-text-muted); line-height: 1.6; margin: 0; }

/* ── Auctions hero (light — sits on bg-liveauction.webp) ─── */
.lp-auctionhero {
    position: relative; overflow: hidden; background: #fbfaff;
    border-bottom: 1px solid var(--lp-border);
    min-height: 162px; display: flex; align-items: center;
}
/* The source art is ~2172x724, and at a 162px-tall band spanning the full
   (often 1500-1920px) viewport width, `cover` forces such a tall zoom that
   only a ~180px-high sliver of the image (in its own coordinates) is ever
   visible — showing the whole figure top-to-bottom would need a band roughly
   3x this height, so some cropping is unavoidable at this height. (`contain`
   avoids cropping but shows the whole illustration at only ~480px wide,
   too small on a 1500px+ hero for the players to read as more than a
   texture.) object-position is tuned so the crop reads as a deliberate
   close-up — bat, helmet and shoulders in full — rather than an accidental
   slice through mid-swing or the legs. */
.lp-auctionhero-photo { position: absolute; inset: 0; }
.lp-auctionhero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
/* White on the left fading out to the right: the copy stays readable over a
   near-solid background while the players show through on the far side. */
.lp-auctionhero::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.92) 28%,
        rgba(255, 255, 255, 0.60) 52%,
        rgba(255, 255, 255, 0.10) 76%,
        rgba(255, 255, 255, 0) 100%);
}
/* Shares its element with .lp-wrap, so only the vertical padding is set here:
   the shorthand would wipe .lp-wrap's 24px gutter, and overriding its max-width
   would centre the copy instead of lining it up with the logo above. The text
   column is limited on the paragraph itself.
   width:100% matters here specifically: .lp-auctionhero is a flex container
   (for vertical centering), and a flex item with no explicit width shrinks to
   fit its content — which leaves .lp-wrap's `margin: 0 auto` nothing to
   distribute except the leftover space around that shrunk box, centering the
   whole title/subtitle block in the hero instead of pinning it to the left
   edge like the logo above. Stretching the item to 100% first (then letting
   max-width cap it at 1200px, same as .lp-wrap everywhere else) restores that
   left alignment. */
.lp-auctionhero-inner { position: relative; z-index: 2; width: 100%; padding-top: 26px; padding-bottom: 26px; }
.lp-auctionhero-title { font-size: 34px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.02em; color: var(--lp-ink); }
/* max-width tuned so the sentence breaks into two lines of similar length. */
.lp-auctionhero-sub { font-size: 15px; color: var(--lp-text-muted); margin: 0; line-height: 1.6; max-width: 480px; }
.lp-auctionhero-script {
    position: absolute; z-index: 1; right: 56px; top: 46px; text-align: right; line-height: 1.2;
    font-family: 'Brush Script MT', 'Segoe Script', cursive; font-style: italic;
    font-size: 23px; color: var(--lp-primary-dark);
}
/* Hand-drawn style swoosh under the tagline — a curved border, not an image. */
.lp-auctionhero-script::after {
    content: ''; display: block; width: 74%; height: 9px; margin: 1px 2px 0 auto;
    border-bottom: 2.5px solid var(--lp-primary-dark); border-radius: 0 0 62% 38%;
}

/* Toolbar: filter tabs (left) + refresh control (right), sitting just below
   the hero (see Landing/Auctions.cshtml). */
.lp-auctionsection { padding: 20px 0 44px; }
.lp-auctiontoolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.lp-auctiontabs { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-auctiontabs button {
    display: inline-flex; align-items: center; gap: 7px;
    border: 1.5px solid var(--lp-border); background: #fff; border-radius: 24px;
    cursor: pointer; white-space: nowrap;
    font-size: 13.5px; font-weight: 700; padding: 9px 18px; color: var(--lp-ink);
    transition: background .15s, color .15s, border-color .15s;
}
.lp-auctiontabs button i { font-size: 13px; }
.lp-auctiontabs button:hover { border-color: var(--lp-primary); }
.lp-auctiontabs button.active {
    background: var(--lp-primary-dark); border-color: var(--lp-primary-dark); color: #fff;
    box-shadow: 0 6px 16px rgba(124, 58, 237, .3);
}

.lp-auctionrefresh { display: flex; align-items: center; gap: 16px; }
.lp-refresh-btn {
    display: inline-flex; align-items: center; gap: 7px;
    border: 1.5px solid var(--lp-border); background: #fff; border-radius: 10px;
    padding: 8px 15px; font-size: 13px; font-weight: 700; color: var(--lp-primary-dark);
    cursor: pointer; transition: background .15s, border-color .15s;
}
.lp-refresh-btn:hover { background: #f8f6fd; border-color: var(--lp-primary); }
.lp-refresh-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--lp-text-muted); white-space: nowrap; }
.lp-refresh-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; animation: lp-refresh-pulse 1.4s infinite; flex-shrink: 0; }
@keyframes lp-refresh-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes spin { 100% { transform: rotate(360deg); } }
.spin-icon { display: inline-block; animation: spin 0.7s linear infinite; }

/* ── Page head (interior pages, e.g. Contact) ────────────── */
.lp-pagehead {
    background: radial-gradient(700px 300px at 82% 0%, rgba(139, 92, 246, 0.34), transparent 64%),
                linear-gradient(135deg, #150f28 0%, #1d1440 60%, #2a1c5c 100%);
    color: #fff; padding: 42px 0;
}
.lp-pagehead-title { font-size: 34px; font-weight: 800; margin: 0 0 8px; letter-spacing: -0.02em; }
.lp-pagehead-sub { font-size: 14.5px; color: #b9b1d6; margin: 0; max-width: 520px; }

/* ── Contact cards ───────────────────────────────────────── */
.lp-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-contact-card {
    display: block; background: #fff; border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md); padding: 22px 20px;
    transition: box-shadow .18s, transform .18s, border-color .18s;
}
.lp-contact-card:hover { box-shadow: var(--lp-shadow); transform: translateY(-2px); border-color: #d9d0f7; }
.lp-contact-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--lp-text-muted); margin: 0 0 4px; }
.lp-contact-value { font-size: 16.5px; font-weight: 700; margin: 0 0 12px; word-break: break-word; }
.lp-contact-action { font-size: 13px; font-weight: 700; color: var(--lp-primary-dark); display: inline-flex; align-items: center; gap: 6px; }
.lp-contact-note {
    margin-top: 22px; display: flex; align-items: flex-start; gap: 10px;
    background: #f8f6fd; border: 1px solid var(--lp-border); border-radius: var(--lp-radius-md);
    padding: 16px 18px; font-size: 13px; color: var(--lp-text-muted); line-height: 1.6;
}
.lp-contact-note i { color: var(--lp-primary); font-size: 16px; margin-top: 1px; flex-shrink: 0; }

/* ── CTA banner ──────────────────────────────────────────── */
.lp-cta-banner {
    background: linear-gradient(120deg, var(--lp-primary) 0%, var(--lp-primary-dark) 100%);
    border-radius: var(--lp-radius-lg); color: #fff; padding: 26px 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.lp-cta-icon {
    width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, 0.18);
    display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0;
}
.lp-cta-title { font-size: 19px; font-weight: 800; margin: 0; }
.lp-cta-text { font-size: 14px; margin: 2px 0 0; opacity: .92; }

/* ── Footer ──────────────────────────────────────────────── */
.lp-footer { border-top: 1px solid var(--lp-border); padding: 22px 0 28px; color: var(--lp-text-muted); font-size: 13.5px; }
.lp-footer-tagline { display: flex; align-items: center; gap: 14px; font-family: 'Brush Script MT', 'Segoe Script', cursive; font-style: italic; font-size: 16px; color: var(--lp-ink); }
.lp-footer-line { width: 42px; height: 1px; background: var(--lp-border); }
.lp-copyright { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--lp-border); font-size: 12.5px; color: var(--lp-text-muted); }

/* ============================================================
   DESKTOP VIEW
   ============================================================ */
.lp-desktop-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--lp-border); }
.lp-desktop-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.lp-logo img { height: 42px; width: auto; display: block; }
/* margin-left:auto pulls the nav across to sit beside the header actions rather
   than floating in the middle of the header. The parent keeps justify-content:
   space-between because under 900px this nav is display:none, and that rule is
   what still holds the logo left and the actions right. */
.lp-desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.lp-nav-link { font-size: 14px; font-weight: 600; color: var(--lp-text-muted); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.lp-nav-link:hover { color: var(--lp-ink); }
.lp-nav-link.active { color: var(--lp-primary-dark); border-color: var(--lp-primary-dark); }
.lp-header-actions { display: flex; align-items: center; gap: 10px; }
/* The inline nav is hidden under 900px, so the burger takes over there —
   without it the desktop template has no way to reach any nav link. */
.lp-desktop-header .lp-hamburger { display: none; }

.lp-hero-desktop { min-height: 520px; display: flex; align-items: center; }
.lp-hero-desktop .lp-hero-photo { width: 72%; }
.lp-hero-desktop .lp-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 14%, rgba(0, 0, 0, 0.85) 35%, #000 60%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 14%, rgba(0, 0, 0, 0.85) 35%, #000 60%);
}
.lp-hero-desktop .lp-hero-inner { width: 100%; padding-top: 58px; padding-bottom: 58px; }
.lp-hero-desktop .lp-hero-copy { max-width: 560px; }
.lp-hero-desktop .lp-hero-desc { max-width: 490px; }
.lp-hero-desktop .lp-hero-script { top: 38px; right: 48px; font-size: 22px; }

.lp-statsbar { border-bottom: 1px solid var(--lp-border); background: #fff; }
/* Vertical padding as longhand — the `padding: 22px 0` shorthand would reset
   .lp-wrap's horizontal padding to 0 and let the row run edge to edge. */
.lp-statsbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 22px; padding-bottom: 22px; }
.lp-statsbar .lp-stat { justify-content: center; }
.lp-statsbar .lp-stat + .lp-stat, .lp-statsbar-inner > .lp-stat:not(:first-child) { border-left: 1px solid var(--lp-border); }

.lp-steps-desktop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.lp-how { background: #f8f6fd; border-top: 1px solid var(--lp-border); }
.lp-how-inner { display: flex; align-items: center; gap: 20px 26px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 32px; }
.lp-how-item { display: flex; align-items: flex-start; gap: 10px; flex: 1 1 185px; min-width: 185px; }
.lp-how-item i { color: var(--lp-primary); font-size: 19px; margin-top: 2px; }
.lp-how-item strong { display: block; font-size: 13.5px; font-weight: 700; }
.lp-how-item span { font-size: 12.5px; color: var(--lp-text-muted); line-height: 1.5; }
/* flex-basis:100% forces this to always start its own row and fill it, so the
   button never strands itself at content-width when the 4 items above wrap
   differently at in-between viewport widths — no breakpoint guessing needed. */
.lp-how-inner .lp-btn { flex: 1 1 100%; }
@media (min-width: 1150px) {
    /* Wide enough for items + button on one line without the button forcing a wrap. */
    .lp-how-inner .lp-btn { flex: 0 0 auto; margin-left: auto; }
}

.lp-footer-desktop { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1100px) {
    .lp-desktop-nav { gap: 20px; }
    .lp-hero-desktop .lp-hero-photo { width: 55%; }
}
@media (max-width: 900px) {
    .lp-desktop-nav { display: none; }
    .lp-desktop-header .lp-hamburger { display: flex; }
    .lp-auctionhero { min-height: 0; }
    .lp-auctionhero-inner { padding-top: 20px; padding-bottom: 20px; }
    .lp-auctionhero-title { font-size: 22px; }
    .lp-auctionhero-sub { font-size: 12.5px; }
    /* Artwork drops back to a faint wash here — the copy needs the whole width. */
    .lp-auctionhero-photo img { opacity: .5; }
    .lp-auctionhero::before {
        background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.82) 55%,
            rgba(255, 255, 255, 0.62) 100%);
    }
    .lp-auctionsection { padding: 20px 0 34px; }
    /* Tabs and the refresh control stack instead of squeezing onto one row. */
    .lp-auctiontoolbar { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 18px; }
    /* One scrollable row rather than wrapping onto two lines. */
    .lp-auctiontabs {
        flex-wrap: nowrap; overflow-x: auto; gap: 8px;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .lp-auctiontabs::-webkit-scrollbar { display: none; }
    .lp-auctiontabs button { font-size: 12.5px; padding: 8px 14px; flex: 0 0 auto; }
    .lp-auctionrefresh { justify-content: space-between; }
    .lp-refresh-status { white-space: normal; }
    .lp-auctionhero-script { display: none; }
    .lp-hero-title { font-size: 36px; }
    /* Copy would otherwise run across the player photo — drop the long
       paragraph and narrow the column, matching the mobile hero treatment. */
    .lp-hero-desktop .lp-hero-desc { display: none; }
    .lp-hero-desktop .lp-hero-copy { max-width: 64%; }
    .lp-hero-desktop { min-height: 420px; }
    .lp-statsbar-inner { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
    .lp-statsbar-inner > .lp-stat:nth-child(odd) { border-left: none; }
    .lp-steps-desktop { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    /* .lp-how-item's flex-basis:185px lets 2-3 items fit per row up to ~866px,
       which stranded the CTA button as its own left-aligned row in that range —
       stack everything at the same 900px tier the nav/steps grid already use. */
    .lp-how-inner { flex-direction: column; align-items: stretch; gap: 20px; }
    .lp-how-item { flex: none; min-width: 0; }
    .lp-how-inner .lp-btn { width: 100%; }
}
@media (max-width: 700px) {
    .lp-hero-desktop .lp-hero-photo { width: 55%; }
    .lp-hero-desktop .lp-hero-copy { max-width: 70%; }
    .lp-steps-desktop { grid-template-columns: 1fr; }
    .lp-footer-desktop { flex-direction: column; align-items: flex-start; gap: 10px; }
    .lp-footer-desktop .lp-footer-tagline { justify-content: flex-start; }
}

/* ============================================================
   MOBILE / TABLET VIEW
   ============================================================ */
.lp-mobile-header {
    position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--lp-border);
    padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.lp-mobile-header .lp-logo img { height: 34px; width: auto; display: block; }
.lp-mobile-header-actions { display: flex; align-items: center; gap: 10px; }
/* Plain icon, no chrome — but a full 40px hit area for touch. */
.lp-hamburger {
    width: 40px; height: 40px; margin-right: -8px; border: none; background: none; padding: 0;
    display: flex; align-items: center; justify-content: center; font-size: 26px; line-height: 1; color: var(--lp-ink);
}
.lp-hamburger:active { opacity: .6; }

.lp-mobile-nav-panel {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 300px); background: #fff; z-index: 60;
    transform: translateX(100%); transition: transform .25s ease; box-shadow: -12px 0 30px rgba(0, 0, 0, .15);
    padding: 18px; display: flex; flex-direction: column; gap: 4px;
}
.lp-mobile-nav-panel.open { transform: translateX(0); }
.lp-mobile-nav-scrim {
    position: fixed; inset: 0; background: rgba(21, 15, 40, 0.45); z-index: 55;
    opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.lp-mobile-nav-scrim.open { opacity: 1; pointer-events: auto; }
.lp-mobile-nav-close { align-self: flex-end; width: 36px; height: 36px; border-radius: 10px; border: none; background: #f3f0fb; font-size: 16px; margin-bottom: 8px; }
.lp-mobile-nav-link { padding: 13px 10px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--lp-ink); }
.lp-mobile-nav-link:hover, .lp-mobile-nav-link:active { background: #f3f0fb; }
.lp-mobile-nav-divider { height: 1px; background: var(--lp-border); margin: 10px 0; }
.lp-mobile-nav-panel .lp-btn { margin-top: 4px; }

.lp-hero-mobile { padding: 20px 0 56px; position: relative; }
.lp-hero-mobile .lp-hero-photo { width: 68%; }
.lp-hero-mobile::before {
    background: linear-gradient(90deg, rgba(20, 13, 38, 0.94) 0%, rgba(20, 13, 38, 0.55) 44%, rgba(20, 13, 38, 0) 80%);
}
.lp-hero-mobile .lp-hero-photo img {
    object-fit: cover;
    object-position: 65% 52%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 12%, rgba(0, 0, 0, 0.85) 38%, #000 65%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.25) 12%, rgba(0, 0, 0, 0.85) 38%, #000 65%);
}
.lp-hero-mobile .lp-hero-copy { max-width: 100%; }
.lp-hero-mobile .lp-hero-title { font-size: 28px; margin-bottom: 8px; line-height: 1.12; max-width: 72%; }
.lp-hero-mobile .lp-hero-subtitle { font-size: 13.5px; margin-bottom: 14px; max-width: 72%; }
.lp-hero-mobile .lp-hero-desc { font-size: 12.5px; line-height: 1.6; margin-bottom: 16px; max-width: 72%; }
.lp-hero-mobile .lp-hero-actions-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
}
.lp-hero-mobile .lp-hero-actions-mobile .lp-btn {
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
@media (max-width: 390px) {
    .lp-hero-mobile .lp-hero-actions-mobile { gap: 6px; }
    .lp-hero-mobile .lp-hero-actions-mobile .lp-btn { padding: 8px 10px; font-size: 12px; }
}
.lp-hero-script-mobile { top: 14px; right: 14px; font-size: 17px; }

.lp-stats-card {
    background: #fff; border-radius: var(--lp-radius-lg); box-shadow: var(--lp-shadow);
    margin: -38px 16px 0; position: relative; z-index: 5; padding: 18px 16px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px;
}
.lp-stats-card .lp-stat-value { font-size: 18px; }

.lp-section-mobile { padding: 30px 16px; }
.lp-section-mobile .lp-section-title { font-size: 20px; }
.lp-steps-mobile { display: grid; grid-template-columns: 1fr; gap: 12px; }

.lp-cta-banner-mobile { flex-direction: column; align-items: stretch; }
.lp-cta-banner-mobile .lp-btn { width: 100%; }
.lp-cta-banner-mobile-head { display: flex; align-items: center; gap: 14px; }

.lp-footer-mobile { text-align: center; }
.lp-footer-mobile .lp-footer-tagline { justify-content: center; }

/* Tablet shares this view — more room, so the layout opens up */
@media (min-width: 620px) {
    .lp-hero-mobile { padding: 30px 0 62px; }
    .lp-hero-mobile .lp-hero-copy { max-width: 58%; }
    .lp-hero-mobile .lp-hero-title { font-size: 34px; }
    .lp-hero-mobile .lp-hero-subtitle { font-size: 15px; }
    .lp-hero-mobile .lp-hero-desc { font-size: 14px; }
    .lp-stats-card { grid-template-columns: repeat(4, 1fr); margin: -44px 24px 0; padding: 22px 20px; }
    .lp-section-mobile { padding: 40px 24px; }
    .lp-section-mobile .lp-section-title { font-size: 24px; }
    .lp-steps-mobile { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .lp-cta-banner-mobile { flex-direction: row; align-items: center; }
    .lp-cta-banner-mobile .lp-btn { width: auto; }
}

/* Contact page at narrow widths — 3 cols (base) → 2 → 1 */
@media (max-width: 900px) {
    .lp-pagehead { padding: 28px 0; }
    .lp-pagehead-title { font-size: 26px; }
    .lp-pagehead-sub { font-size: 13.5px; }
    .lp-contact-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .lp-contact-card { padding: 18px 16px; }
}
@media (max-width: 620px) {
    .lp-contact-grid { grid-template-columns: 1fr; gap: 12px; }
}
