/* Public location page (resources/views/public/locations/show.blade.php). Mobile first; scoped to .pcl. */

.pcl {
    --pcl-ink: #1f1f2e;
    --pcl-muted: #5b6070;
    --pcl-brand: #c2185b;
    --pcl-brand-dark: #3d154b;
    --pcl-soft: #fff5f8;
    --pcl-border: #f1d5df;
    --pcl-wa: #128c4a;
    --pcl-radius: 16px;
    overflow-x: clip;
    padding-bottom: 1.25rem;
    color: var(--pcl-ink);
}

.pcl .pcl-wrap {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Breadcrumb: one compact line */
.pcl .pc-breadcrumbs {
    margin: 0 0 0.5rem !important;
    font-size: 0.8rem;
}

.pcl .pc-breadcrumb-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
    overflow: hidden;
}

.pcl .pc-breadcrumb-item {
    flex: 0 0 auto;
}

.pcl .pc-breadcrumb-item.is-active {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--pcl-muted);
}

/* Hero: brand logo, city, title, trust row, actions, contact grid */
.pcl-hero {
    background: linear-gradient(180deg, #fff7fa 0%, #fff 70%);
    border: 1px solid var(--pcl-border);
    border-radius: var(--pcl-radius);
    box-shadow: 0 8px 24px rgba(61, 21, 75, 0.08);
    padding: 1rem 1rem 0.95rem;
    margin-bottom: 0.75rem;
}

.pcl-hero__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
}

.pcl-brandlogo {
    display: block;
    width: auto;
    height: 30px;
    max-width: 150px;
    object-fit: contain;
}

.pcl-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--pcl-soft);
    border: 1px solid var(--pcl-border);
    color: var(--pcl-brand);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcl .pcl-title {
    margin: 0;
    font-size: clamp(1.45rem, 6.4vw, 2.2rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--pcl-brand-dark);
    overflow-wrap: anywhere;
}

.pcl-tagline {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--pcl-ink);
}

.pcl-address {
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
    margin: 0.45rem 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--pcl-muted);
}

.pcl-address .fa {
    color: var(--pcl-brand);
}

.pcl-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.pcl-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--pcl-border);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pcl-brand-dark);
}

.pcl-trust .fa {
    color: var(--pcl-brand);
}

.pcl-contact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
    padding: 0.75rem 0 0;
    border-top: 1px dashed var(--pcl-border);
    list-style: none;
    font-size: 0.9rem;
}

.pcl-contact a,
.pcl-contact .pcl-hours {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--pcl-ink);
    text-decoration: none;
    min-width: 0;
}

.pcl-contact span {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 600;
}

.pcl-contact small {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--pcl-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pcl-contact .fa {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--pcl-soft);
    color: var(--pcl-brand);
}

.pcl-contact a:hover,
.pcl-contact a:focus {
    color: var(--pcl-brand);
}

@media (min-width: 560px) {
    .pcl-contact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* All services available in every city */
.pcl-allservices {
    margin-bottom: 0.75rem;
}

.pcl-svc {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
}

.pcl-svc li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    line-height: 1.3;
}

.pcl-svc .fa {
    color: var(--pcl-wa);
    margin-top: 0.15em;
}

@media (min-width: 768px) {
    .pcl-svc {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.pcl .visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Actions: WhatsApp full width, Call + Get Quote below (one row from 560px) */
.pcl .pcl-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0.85rem 0 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}

.pcl .pcl-actions .pcl-btn--wa {
    grid-column: 1 / -1;
    min-height: 48px;
    font-size: 1rem;
}

@media (min-width: 560px) {
    .pcl .pcl-actions {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .pcl .pcl-actions .pcl-btn--wa {
        grid-column: auto;
    }
}

.pcl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.55rem 0.5rem;
    border-radius: 12px;
    border: 1.5px solid transparent;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.1;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.pcl-btn:active {
    transform: translateY(1px);
}

.pcl-btn .fa {
    font-size: 1.05em;
}

.pcl-btn--wa {
    background: var(--pcl-wa);
    color: #fff !important;
}

.pcl-btn--wa:hover,
.pcl-btn--wa:focus {
    background: #0e733c;
}

.pcl-btn--call {
    background: #fff;
    color: var(--pcl-brand) !important;
    border-color: var(--pcl-brand);
}

.pcl-btn--call:hover,
.pcl-btn--call:focus {
    background: var(--pcl-soft);
}

.pcl-btn--quote,
.pcl-btn--submit {
    background: linear-gradient(90deg, #c2185b, #7b1fa2);
    color: #fff !important;
}

.pcl-btn--quote:hover,
.pcl-btn--submit:hover {
    box-shadow: 0 4px 14px rgba(194, 24, 91, 0.3);
}

/* Layout */
.pcl-grid {
    display: grid;
    gap: 0.75rem;
}

.pcl-main,
.pcl-side {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    min-width: 0;
}

.pcl-card {
    background: #fff;
    border: 1px solid var(--pcl-border);
    border-radius: var(--pcl-radius);
    padding: 0.85rem 0.9rem;
}

.pcl .pcl-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.02rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--pcl-brand-dark);
}

/* About with read-more */
.pcl-about__text p {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--pcl-muted);
}

.pcl-about__text p:last-child {
    margin-bottom: 0;
}

.pcl-about__text.is-clamped:not(.is-open) {
    max-height: 7.9em;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
    mask-image: linear-gradient(180deg, #000 60%, transparent);
}

.pcl-more {
    margin-top: 0.35rem;
    padding: 0.25rem 0;
    border: 0;
    background: none;
    color: var(--pcl-brand);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Chips */
.pcl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pcl-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    max-width: 100%;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: var(--pcl-soft);
    border: 1px solid var(--pcl-border);
    font-size: 0.86rem;
    color: var(--pcl-ink);
    overflow-wrap: anywhere;
}

.pcl-chip .fa-check {
    color: var(--pcl-wa);
}

.pcl-chip__price {
    color: var(--pcl-wa);
    font-weight: 700;
}

.pcl-chip--link {
    text-decoration: none;
    color: var(--pcl-brand-dark);
    font-weight: 600;
}

.pcl-chip--link:hover,
.pcl-chip--link:focus {
    background: #fff;
    border-color: var(--pcl-brand);
    color: var(--pcl-brand);
}

/* Quote: collapsed until asked for */
.pcl-quote {
    padding: 0;
    background: linear-gradient(180deg, #fff8e6, #fff);
    border-color: #f6dc9b;
}

.pcl-quote__summary {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.9rem;
    cursor: pointer;
    list-style: none;
}

.pcl-quote__summary::-webkit-details-marker {
    display: none;
}

.pcl-quote__icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #ffc107;
    color: #3d2b00;
}

.pcl-quote__label {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.pcl-quote__label strong {
    font-size: 1rem;
    color: var(--pcl-ink);
}

.pcl-quote__label small {
    color: var(--pcl-muted);
    font-size: 0.8rem;
}

.pcl-quote__chev {
    font-size: 1.3rem;
    color: var(--pcl-muted);
    transition: transform 0.15s ease;
}

.pcl-quote[open] .pcl-quote__chev {
    transform: rotate(180deg);
}

.pcl-quote__body {
    padding: 0 0.9rem 0.9rem;
}

.pcl-form {
    display: grid;
    gap: 0.5rem;
}

.pcl-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.pcl-form .form-control {
    min-height: 42px;
    font-size: 16px;
    border-radius: 10px;
}

.pcl-btn--submit {
    width: 100%;
    border: 0;
}

/* Map: small, lazy, below the fold */
.pcl-map__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.pcl-map__open {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pcl-brand);
    text-decoration: none;
    white-space: nowrap;
}

.pcl-map__address {
    margin: -0.2rem 0 0.5rem;
    font-size: 0.86rem;
    color: var(--pcl-muted);
}

.pcl-map__frame {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #eef1f4;
}

.pcl-map__frame iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

@media (max-width: 359px) {
    .pcl-btn {
        font-size: 0.82rem;
        gap: 0.3rem;
    }

    .pcl-form__row {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .pcl .pcl-wrap {
        padding-top: 1rem;
    }

    .pcl-hero {
        padding: 1.25rem 1.4rem;
    }

    .pcl-logo {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

    .pcl .pcl-actions {
        max-width: 560px;
    }

    .pcl-map__frame {
        height: 260px;
    }
}

@media (min-width: 992px) {
    .pcl-grid {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        gap: 1rem;
        align-items: start;
    }

    .pcl-side {
        position: sticky;
        top: 90px;
    }

    .pcl-about__text.is-clamped:not(.is-open) {
        max-height: none;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .pcl-more {
        display: none;
    }
}