/* ============================================================
   Lozy 3PL service pages — page-scoped extras
   Loaded AFTER ecommerce-warehousing.css on /3pl-warehouse-services/<slug>.
   Everything here is prefixed l3ps- (page class) — nothing leaks to other pages.
   ============================================================ */

/* ---------- 1 · custom cursor (dotted ring + dot; fine pointers only) ---------- */
.l3ps-cursor,
.l3ps-cursor-dot {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    pointer-events: none;
    will-change: transform;
}
html.l3ps-cursor-on .l3ps-cursor { display: block; opacity: 0; transition: width .22s ease, height .22s ease, margin .22s ease, background .22s ease, opacity .22s ease; }
html.l3ps-cursor-on .l3ps-cursor-dot { display: block; opacity: 0; }
html.l3ps-cursor-on .l3ps-page,
html.l3ps-cursor-on .l3ps-page a,
html.l3ps-cursor-on .l3ps-page button { cursor: none; }

.l3ps-cursor {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 1.5px solid rgba(215, 25, 32, 0.85);
    border-radius: 50%;
    transition: width .22s ease, height .22s ease, margin .22s ease, background .22s ease, opacity .22s ease;
}
.l3ps-cursor::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1.5px dotted rgba(23, 23, 26, 0.5);
}
.l3ps-cursor-dot {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: #17171A;
}
.l3ps-cursor.is-hot {
    width: 58px;
    height: 58px;
    margin: -29px 0 0 -29px;
    background: rgba(215, 25, 32, 0.08);
}
.l3ps-cursor.is-down { opacity: .65; }

/* ---------- 2 · the story scene extras ---------- */
.l3ps-caption { margin-top: 14px; font-size: 13px; color: #6F6F78; }
.l3ps-net { transition: opacity .6s ease; }
.ew-journey[data-stage="7"] .l3ps-net { opacity: 1 !important; }
.ew-journey[data-stage="7"] .ew-roadmarks { opacity: 1 !important; }

/* ---------- 3 · storage band ---------- */
.l3ps-store { padding-bottom: 40px; }
.l3ps-store__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
    margin-top: 30px;
}
.l3ps-store__media {
    position: relative;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    height: 340px;
}
.l3ps-store__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.l3ps-store__media figcaption {
    position: absolute;
    left: 14px;
    bottom: 12px;
    color: #fff;
    background: rgba(23, 23, 26, .55);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
}
.l3ps-store__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.l3ps-store__items li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    border: 1px solid #E6E6E8;
    border-radius: 10px;
    padding: 16px 14px;
    background: #fff;
    transition: border-color .2s ease, transform .2s ease;
}
.l3ps-store__items li:hover { border-color: #D71920; transform: translateY(-2px); }
.l3ps-store__items .ew-mono { color: #D71920; font-size: 11px; }
.l3ps-store__items b { font-size: 15px; font-weight: 600; }

/* ---------- 4 · mid CTA strip ---------- */
.l3ps-midcta {
    background: #F4F4F4;
    border-block: 1px solid #E6E6E8;
    padding: 26px 0;
}
.l3ps-midcta__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.l3ps-midcta h3 { font-size: 21px; margin: 0 0 4px; font-weight: 700; }
.l3ps-midcta p { margin: 0; color: #55555E; font-size: 14px; max-width: 560px; }
.l3ps-midcta__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 5 · pricing grid ---------- */
.l3ps-price { padding: 56px 0 30px; }
.l3ps-price__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}
.l3ps-price__grid li {
    border: 1px solid #E6E6E8;
    border-radius: 12px;
    padding: 18px 16px;
    background: #fff;
    transition: border-color .2s ease, transform .2s ease;
}
.l3ps-price__grid li:hover { border-color: #D71920; transform: translateY(-3px); }
.l3ps-price__grid .ew-mono { color: #D71920; font-size: 11px; }
.l3ps-price__grid p { margin: 8px 0 0; font-size: 14px; line-height: 1.55; }
.l3ps-price__grid b { display: block; margin: 8px 0 0; font-size: 15.5px; line-height: 1.3; }
.l3ps-cost__grid li { min-height: 150px; }

/* ---------- 6 · locations ---------- */
.l3ps-locs__label { margin: 18px 0 8px; font-size: 11px; color: #8A8A93; }
.l3ps-locs__label:first-child { margin-top: 0; }
.l3ps-locs__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
}
.l3ps-locs__chips li {
    border: 1px solid #E6E6E8;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    transition: border-color .2s ease, color .2s ease;
}
.l3ps-locs__chips li:hover { border-color: #D71920; color: #D71920; }
.l3ps-locs .ew-body { margin-top: 14px; }

/* ---------- 7 · long-form block ---------- */
.l3ps-lf .ew-lf__body { padding-top: 8px; }
.l3ps-lf .ew-lf__body h2 { margin-top: 1.6em; }
.l3ps-lf .ew-lf__body h3 { margin-top: 1.4em; font-size: 17px; }
.l3ps-lf .ew-lf__body p { font-size: 15px; line-height: 1.75; color: #3F3F47; }
.l3ps-lf details.faq {
    border: 1px solid #E6E6E8;
    border-radius: 12px;
    background: #fff;
    margin-top: 10px;
    overflow: hidden;
}
.l3ps-lf details.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding-right: 48px;
}
.l3ps-lf details.faq summary::-webkit-details-marker { display: none; }
.l3ps-lf details.faq summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #D71920;
    font-size: 20px;
    font-weight: 400;
}
.l3ps-lf details.faq[open] summary::after { content: "−"; }
.l3ps-lf details.faq .faq-body { padding: 0 18px 16px; font-size: 14.5px; line-height: 1.7; color: #3F3F47; }

/* ---------- 8 · interlinks ---------- */
.l3ps-links { padding: 46px 0 20px; }
.l3ps-links__group { margin-top: 34px; }
.l3ps-links__group:first-child { margin-top: 0; }
.l3ps-links__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #E6E6E8;
    padding-bottom: 10px;
    margin-bottom: 14px;
}
.l3ps-links__head h3 { margin: 0; font-size: 18px; }
.l3ps-links__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.l3ps-links__grid--inds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.l3ps-links__grid--rel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.l3ps-link {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid #E6E6E8;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    min-height: 96px;
    text-decoration: none;
    color: inherit;
    transform-style: preserve-3d;
    transition: border-color .25s ease, box-shadow .25s ease;
    will-change: transform;
}
.l3ps-link:hover { border-color: #D71920; box-shadow: 0 12px 28px rgba(23, 23, 26, .08); }
.l3ps-link b { font-size: 15px; font-weight: 600; line-height: 1.3; }
.l3ps-link .ew-mono { color: #8A8A93; font-size: 11px; }
.l3ps-link:hover .ew-mono { color: #D71920; }

/* ---------- 9 · enquiry band ---------- */
.l3ps-formband { background: #F4F4F4; border-top: 1px solid #E6E6E8; padding: 56px 0 64px; }
.l3ps-formband__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    align-items: start;
}
.l3ps-points { list-style: none; margin: 18px 0 0; padding: 0; }
.l3ps-points li {
    position: relative;
    padding-left: 26px;
    margin-top: 10px;
    font-size: 14.5px;
    color: #3F3F47;
}
.l3ps-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    border: 2px solid #D71920;
    border-radius: 50%;
}
.l3ps-points li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 12px;
    width: 6px;
    height: 2px;
    background: #D71920;
}
.l3ps-formband__alt { display: block; margin-top: 20px; font-size: 12px; color: #8A8A93; }
.l3ps-formcard {
    border: 1px solid #E6E6E8;
    border-radius: 14px;
    background: #fff;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(23, 23, 26, .06);
}
.l3ps-formcard h3 { margin: 0 0 4px; font-size: 19px; }
.l3ps-formcard__s { margin: 0 0 18px; font-size: 13.5px; color: #6F6F78; }

/* ---------- 10 · mobile ---------- */
@media (max-width: 900px) {
    .l3ps-store__grid,
    .l3ps-formband__grid { grid-template-columns: 1fr; gap: 24px; }
    .l3ps-store__media { height: 220px; min-height: 0; }
    .l3ps-price__grid,
    .l3ps-links__grid,
    .l3ps-links__grid--inds,
    .l3ps-links__grid--rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .l3ps-midcta__row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    /* the base sheet keeps 4 columns on phones; two read better for 3PL's longer
       stop names — page-scoped, nothing else changes */
    .l3ps-page .ew-journey__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .l3ps-store__items,
    .l3ps-price__grid,
    .l3ps-links__grid,
    .l3ps-links__grid--inds,
    .l3ps-links__grid--rel { grid-template-columns: 1fr; }
    .l3ps-links__head { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    .l3ps-cursor, .l3ps-cursor-dot { display: none !important; }
    html.l3ps-cursor-on .l3ps-page,
    html.l3ps-cursor-on .l3ps-page a,
    html.l3ps-cursor-on .l3ps-page button { cursor: auto; }
}
