/* FAQ Accordion */
.boc-faq-accordion {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
}

.boc-faq-item {
    border-bottom: 1px solid #e5e5e5;
}

.boc-faq-item:last-child {
    border-bottom: none;
}

.boc-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: inherit;
    transition: background 0.15s;
}

.boc-faq-question:hover {
    background: #f9f9f9;
}

.boc-faq-question[aria-expanded="true"] {
    background: #f5f5f5;
}

.boc-faq-icon::before {
    content: '+';
    font-size: 20px;
    line-height: 1;
    color: #888;
}

.boc-faq-question[aria-expanded="true"] .boc-faq-icon::before {
    content: '\2212';
}

.boc-faq-answer {
    padding: 0 20px 16px;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* NAP */
.boc-nap {
    list-style: none;
    margin: 0;
    padding: 0;
}

.boc-nap-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 15px;
    line-height: 1.5;
}

.boc-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.boc-icon-phone    { background-image: url('../icons/phone.svg'); }
.boc-icon-email    { background-image: url('../icons/email.svg'); }
.boc-icon-pin      { background-image: url('../icons/pin.svg'); }
.boc-icon-building { background-image: url('../icons/building.svg'); }
.boc-icon-calendar { background-image: url('../icons/calendar.svg'); }
.boc-icon-person   { background-image: url('../icons/person.svg'); }

/* Reviews Cards */
.boc-reviews-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.boc-reviews-card {
    display: inline-flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    min-width: 180px;
    max-width: 220px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: box-shadow 0.2s;
}

.boc-reviews-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.boc-reviews-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Header: logo + name + external link icon */
.boc-reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.boc-reviews-brand {
    display: flex;
    align-items: center;
    gap: 7px;
}

.boc-reviews-logo {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.boc-reviews-booking     .boc-reviews-logo { background-image: url('../icons/booking.svg'); }
.boc-reviews-tripadvisor .boc-reviews-logo { background-image: url('../icons/tripadvisor.svg'); }
.boc-reviews-google      .boc-reviews-logo { background-image: url('../icons/google.svg'); }

.boc-reviews-platform-name {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

/* Colour per platform */
.boc-reviews-tripadvisor .boc-reviews-platform-name { color: #00AA6C; }
.boc-reviews-google      .boc-reviews-platform-name { color: #4285F4; }
.boc-reviews-booking     .boc-reviews-platform-name { color: #003580; }

.boc-reviews-external {
    width: 14px;
    height: 14px;
    color: #aaa;
    flex-shrink: 0;
}

/* Score row */
.boc-reviews-score-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.boc-reviews-number {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: #111;
}

.boc-reviews-tripadvisor .boc-reviews-number { color: #7B4FBF; }
.boc-reviews-google      .boc-reviews-number { color: #333; }
.boc-reviews-booking     .boc-reviews-number { color: #003580; }

.boc-reviews-max {
    font-size: 15px;
    color: #888;
    font-weight: 400;
}

.boc-reviews-count {
    font-size: 13px;
    color: #888;
    margin-left: auto;
}

/* Embed mode */
.boc-reviews-embed {
    display: inline-block;
}

/* Lead Capture Popup */
.boc-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.boc-popup {
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px 28px;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.boc-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #9CA3AF;
    line-height: 1;
    padding: 4px;
}
.boc-popup-close:hover { color: #111; }
.boc-popup-headline {
    font-size: 22px;
    font-weight: 700;
    color: #0F2A4A;
    margin: 0 0 8px;
    line-height: 1.2;
}
.boc-popup-subtext {
    font-size: 15px;
    color: #6B7280;
    margin: 0 0 20px;
    line-height: 1.5;
}
.boc-lead-form { display: flex; flex-direction: column; gap: 12px; }
.boc-popup-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    color: #111;
    box-sizing: border-box;
    transition: border-color .15s;
}
.boc-popup-input:focus { border-color: #0F2A4A; outline: none; }
.boc-popup-gdpr {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
    cursor: pointer;
}
.boc-popup-gdpr input { margin-top: 2px; flex-shrink: 0; }
.boc-popup-submit {
    width: 100%;
    padding: 12px;
    background: #0F2A4A;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.boc-popup-submit:hover { background: #1a3f6d; }
.boc-popup-error {
    background: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
}
.boc-popup-success { text-align: center; padding: 8px 0; }
.boc-success-msg { font-size: 16px; font-weight: 600; color: #166534; margin: 0 0 16px; }
.boc-discount-block { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 8px; padding: 16px; }
.boc-discount-text { font-size: 14px; color: #166534; margin: 0 0 10px; }
.boc-discount-code {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #0F2A4A;
    background: #fff;
    border: 2px dashed #C9A84C;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
}
