/* =====================================================
   ACTIO B.V. — Stylesheet
   Design inspired by CPA Sites Solutions template #792
   Font: Quicksand | Accent: #D91B1B | BG: #f2f2f2
   ===================================================== */

/* ── Base ── */
html, body { height: 100%; }
body {
    font-family: 'Quicksand', sans-serif;
    background: #f2f2f2;
    color: #000;
    font-weight: 400;
    font-size: 18px;
    -ms-overflow-style: scrollbar;
    overflow-x: hidden;
}
a { color: #D91B1B; }
a:hover { color: #D91B1B; text-decoration: none; }

/* ── Display / headings ── */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3,
.display-4, .display-5, .display-6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    letter-spacing: -.02em;
}
.lead { font-weight: 400; }

/* ── Color utilities ── */
.color-1 { color: #D91B1B !important; }
.bg-color-1 { background: #D91B1B !important; color: #fff !important; }

/* ── Preloader ── */
#CP_Preloader {
    position: fixed; inset: 0;
    background: #fff;
    z-index: 9999;
    transition: opacity .4s ease;
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
#CP_Header {
    position: fixed;
    width: 100%; top: 0; left: 0;
    z-index: 1000;
    background: rgba(242,242,242,.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,.10);
}

#CP_Logo {
    display: block;
    text-decoration: none;
    line-height: 0;
}
#CP_Logo img {
    max-width: 180px;
    max-height: 64px;
    width: auto;
    height: auto;
    display: block;
    padding: 8px 0;
}

/* Desktop nav */
.site-nav li a {
    display: block;
    padding: 8px 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #000;
    transition: color .2s;
    white-space: nowrap;
}
.site-nav li a:hover { color: #D91B1B; }

/* WhatsApp button — transparent, icon only */
.btn-whatsapp {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 4px !important;
    width: auto; height: auto;
    flex-shrink: 0;
    box-shadow: none !important;
    transition: transform .15s ease;
}
.btn-whatsapp:hover  { background: transparent !important; filter: none; transform: scale(1.08); }
.btn-whatsapp:active { transform: scale(.94); }
.btn-whatsapp svg { width: 32px; height: 32px; display: block; }

/* Menu (hamburger) button — transparent with navy stripes */
#menuToggle {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #1A2433 !important;
}
#menuToggle .fa { font-size: 26px; }
#menuToggle:hover { background: transparent !important; color: #D91B1B !important; filter: none; }

/* ══════════════════════════════════════
   MENU OVERLAY
══════════════════════════════════════ */
.menu-overlay {
    position: fixed; inset: 0;
    background: rgba(26,36,51,.97);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }

.menu-overlay-close {
    position: absolute; top: 24px; right: 32px;
    background: none; border: none;
    color: #fff; font-size: 2.5rem; line-height: 1;
    cursor: pointer; padding: 0;
    transition: color .2s;
}
.menu-overlay-close:hover { color: #D91B1B; }

.menu-overlay-nav ul { padding: 0; }
.menu-overlay-nav li { margin: 0; }
.menu-overlay-nav li a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    padding: 10px 0;
    letter-spacing: -.02em;
    transition: color .2s;
}
.menu-overlay-nav li a:hover { color: #D91B1B; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
    border-radius: 0 !important;
    text-transform: uppercase;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 13px;
    border: 0;
    transition: filter .15s ease;
    text-decoration: none;
}
.btn:hover { filter: brightness(1.1); text-decoration: none; }

.btn-default,
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    background: #D91B1B !important;
    color: #fff !important;
    border-color: #D91B1B !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: #1A2433 !important;
    color: #fff !important;
    border-color: #1A2433 !important;
}

.btn-ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,.65) !important;
    color: #fff !important;
}
.btn-ghost:hover {
    background: rgba(255,255,255,.12);
    filter: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1A2433 !important;
    color: #1A2433 !important;
}
.btn-outline:hover { background: #1A2433; color: #fff !important; filter: none; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#CP_Hero {
    min-height: 100vh;
    background:
        linear-gradient(155deg, rgba(13,23,32,.20) 0%, rgba(26,36,51,.10) 45%, rgba(26,36,51,0) 100%),
        url('actiobvwebsiteheaderimage.png');
    background-size: cover;
    background-position: 50% 30%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    position: relative;
}

#CP_Tagline {
    background: #1A2433;
    color: #fff;
    z-index: 1;
    margin-left: 5vw;
    margin-right: 5vw;
    margin-bottom: 6vh;
    width: calc(100% - 10vw);
    padding: 36px 48px;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
#CP_Tagline p { color: #fff; }
#CP_Tagline .display-5 { font-weight: 300; }

/* ══════════════════════════════════════
   SECTIONS — anchor offset
══════════════════════════════════════ */
/* Offset anchor jumps so the section top lands flush under the fixed 80px
   header — the section's own top padding then provides the gap to the title */
#about, #services, #why, #news, #book, #contact {
    scroll-margin-top: 80px;
}

.bg-white  { background: #fff !important; }
.bg-light  { background: #f2f2f2 !important; }

/* ══════════════════════════════════════
   VALUE PILLS
══════════════════════════════════════ */
.value-pill {
    display: inline-block;
    background: #f2f2f2;
    border: 1px solid #ddd;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #000;
}

/* ══════════════════════════════════════
   SERVICES — vertical tabs
══════════════════════════════════════ */
.nav-pills .nav-link {
    border-radius: 0 !important;
    color: #000;
    background: #fff;
    margin-bottom: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-size: 12px;
    padding: 14px 20px;
    text-align: left;
    position: relative;
    transition: background .15s, color .15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-pills .nav-link .fa {
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
}
.nav-pills .nav-link.active {
    background: #D91B1B !important;
    color: #fff !important;
}
.nav-pills .nav-link:hover:not(.active) { background: #ebebeb; }

/* ══════════════════════════════════════
   STORY BOX
══════════════════════════════════════ */
.storyBox {
    background: #1A2433;
    color: #fff;
}
.storyBox .display-5 { color: #fff; }
.storyBox p { color: rgba(255,255,255,.85); }

.color-box {
    background: #D91B1B;
    color: #fff;
}
.color-box p, .color-box .lead { color: #fff; }
.color-box small { color: rgba(255,255,255,.8); }
.color-box .fa { opacity: .85; }

/* ══════════════════════════════════════
   NEWS ACCORDION
══════════════════════════════════════ */
.news-tag-pill {
    display: inline-block;
    background: rgba(217,27,27,.15);
    color: #D91B1B;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    vertical-align: middle;
    flex-shrink: 0;
}
.accordion-button {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 1.25rem;
    padding-left: 0;
    display: flex;
    align-items: center;
}
.accordion-button.collapsed {
    color: #000;
    background: #fff;
}
.accordion-button:not(.collapsed) {
    color: #fff;
    background: #D91B1B;
    box-shadow: none;
}
.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}
.accordion-item {
    margin: .5rem 0;
    border: 0;
    background: transparent;
}
.accordion-body {
    background: #fff;
    padding: 1.5rem;
    padding-left: 0;
}
.news-readmore {
    display: inline-block;
    margin-top: 14px;
    background: #f2f2f2;
    border: 1px solid #ddd;
    padding: 9px 22px;
    color: #1C2B40;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700; font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.news-readmore:hover {
    background: #D91B1B;
    border-color: #D91B1B;
    color: #fff;
}
.news-readmore:focus { outline: none; }

/* "Read more" popover */
.news-popover { max-width: 340px; }
.news-popover .popover-body {
    font-size: 13px;
    line-height: 1.55;
    word-break: break-word;
    white-space: normal;
    max-height: 260px;
    overflow-y: auto;
}
.news-popover .popover-body p { margin: 0 0 8px; }
.news-popover .popover-body p:last-child { margin-bottom: 0; }
.news-popover .popover-body ul,
.news-popover .popover-body ol {
    margin: 8px 0;
    padding-left: 1.3rem;
}
.news-popover .popover-body li { margin-bottom: 4px; }
.news-popover .popover-body a { color: #D91B1B; }

/* ══════════════════════════════════════
   BOOKING FORM
══════════════════════════════════════ */
.booking-wrapper {
    background: #fff;
    box-shadow: 0 4px 30px rgba(0,0,0,.10);
}

/* Step indicator */
.step-indicator {
    display: flex;
    align-items: center;
    padding: 20px 32px;
    background: #1A2433;
}
.step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.step-dot span {
    width: 36px; height: 36px;
    border-radius: 0;
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.6);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
    font-family: 'Quicksand', sans-serif;
    transition: background .3s, color .3s;
}
.step-dot small {
    font-size: 10px;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
}
.step-dot.active span  { background: #D91B1B; color: #fff; }
.step-dot.done   span  { background: #10B981; color: #fff; }
.step-dot.active small { color: rgba(255,255,255,.9); }
.step-connector {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,.15);
    margin: 0 8px 20px;
}

/* Form steps */
.form-step { display: none; padding: 40px; }
.form-step.active { display: block; }

.step-title {
    font-size: 1.4rem; font-weight: 700;
    margin-bottom: 28px; color: #000;
    letter-spacing: -.02em;
    font-family: 'Quicksand', sans-serif;
}

/* Meeting cards */
.meeting-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.meeting-card { cursor: pointer; }
.meeting-card input[type="radio"] { display: none; }
.meeting-card-body {
    border: 2px solid #ddd;
    padding: 28px 24px;
    background: #fff;
    transition: border-color .15s, background .15s;
}
.meeting-card:has(input:checked) .meeting-card-body {
    border-color: #D91B1B;
    background: #fff5f5;
}
.meeting-duration {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: #888; margin-bottom: 8px;
    font-family: 'Quicksand', sans-serif;
}
.meeting-price {
    font-size: 2.2rem; font-weight: 700;
    color: #D91B1B; margin-bottom: 20px;
    letter-spacing: -.02em;
    font-family: 'Quicksand', sans-serif;
    line-height: 1;
}
.meeting-price-alt {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8896AC;
    white-space: nowrap;
}
.meeting-features {
    list-style: none; padding: 0; margin: 0;
    font-size: 14px;
}
.meeting-features li {
    padding: 5px 0 5px 20px;
    position: relative; color: #555;
    font-weight: 500;
}
.meeting-features li::before {
    content: '✓';
    position: absolute; left: 0;
    color: #D91B1B; font-weight: 700;
}

/* Form fields */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 700; font-size: 12px;
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: 8px;
    font-family: 'Quicksand', sans-serif;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 0 !important;
    font-family: 'Quicksand', sans-serif;
    font-size: 16px; font-weight: 500;
    background: #fff; color: #000;
    transition: border-color .15s, box-shadow .15s;
    appearance: auto;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #D91B1B;
    box-shadow: 0 0 0 3px rgba(217,27,27,.1);
}
.form-group input.error,
.form-group select.error { border-color: #ef4444; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.req { color: #D91B1B; }
.field-error {
    color: #ef4444; font-size: 12px; font-weight: 600;
    margin-top: 4px; display: none;
    font-family: 'Quicksand', sans-serif;
}
.field-error.visible { display: block; }

.avail-note {
    background: rgba(217,27,27,.06);
    border: 1px solid rgba(217,27,27,.2);
    padding: 12px 16px;
    font-size: 14px; font-weight: 500;
    margin-bottom: 20px;
    color: #333;
}

.slot-loader {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; margin-top: 8px; color: #666;
    font-family: 'Quicksand', sans-serif;
}

/* Upload zone */
.upload-zone {
    border: 2px dashed #ddd;
    padding: 36px 24px;
    text-align: center;
    cursor: pointer;
    position: relative;
    background: #fafafa;
    transition: border-color .15s, background .15s;
}
.upload-zone:hover            { border-color: #D91B1B; background: #fff5f5; }
.upload-zone.dragover         { border-color: #D91B1B; background: #fff5f5; box-shadow: 0 0 0 4px rgba(217,27,27,.1); }
.file-input {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer;
}
.upload-icon { color: #D91B1B; margin-bottom: 12px; }
.upload-zone p { margin-bottom: 4px; font-size: 15px; font-weight: 500; }
.upload-browse { color: #D91B1B; font-weight: 700; cursor: pointer; }
.upload-zone small { color: #aaa; font-size: 12px; }
.upload-preview {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 2px solid #D91B1B;
}
.preview-info { flex: 1; text-align: left; }
.preview-name { font-weight: 700; font-size: 14px; display: block; }
.preview-size { font-size: 12px; color: #999; }
.preview-remove {
    background: none; border: none;
    color: #aaa; font-size: 20px; cursor: pointer;
    line-height: 1; padding: 0;
}
.preview-remove:hover { color: #D91B1B; }

/* Booking summary */
.booking-summary {
    background: #f2f2f2;
    border-left: 4px solid #D91B1B;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px; font-weight: 500;
}
.booking-summary p { margin-bottom: 4px; }

/* Checkbox */
.checkbox-wrap {
    display: flex; align-items: flex-start;
    gap: 12px; cursor: pointer;
    font-size: 14px; font-weight: 500;
}
.checkbox-wrap input[type="checkbox"] { display: none; }
.checkbox-custom {
    flex-shrink: 0;
    width: 20px; height: 20px;
    border: 2px solid #ddd;
    display: flex; align-items: center; justify-content: center;
    border-radius: 0;
    margin-top: 2px;
    transition: background .15s, border-color .15s;
}
.checkbox-wrap input:checked + .checkbox-custom {
    background: #D91B1B;
    border-color: #D91B1B;
}
.checkbox-wrap input:checked + .checkbox-custom::after {
    content: '✓';
    color: #fff; font-size: 12px; font-weight: 700;
}

/* Captcha */
.captcha-box {
    background: #f2f2f2;
    border: 1px solid #ddd;
    padding: 16px 20px;
}
.captcha-title {
    font-style: italic;
    font-weight: 700;
    color: #1A2433;
    margin-bottom: 10px;
}
.captcha-label {
    display: block;
    font-size: 15px; font-weight: 600;
    color: #1C2B40;
    margin-bottom: 10px;
    text-transform: none; letter-spacing: 0;
}
.captcha-word {
    display: inline-block;
    font-weight: 700;
    color: #D91B1B;
    letter-spacing: 2px;
    font-style: italic;
    padding: 2px 10px;
    margin: 0 4px;
    background: #fff;
    border: 1px dashed #c9ccd2;
    user-select: none;
}
.captcha-refresh {
    background: none; border: none;
    color: #1A2433; cursor: pointer;
    font-size: 18px; line-height: 1;
    padding: 2px 6px; vertical-align: middle;
}
.captcha-refresh:hover { color: #D91B1B; }
.captcha-box input {
    max-width: 280px;
}
.captcha-hint {
    display: block;
    color: #888; font-size: 12px;
    margin-top: 6px;
}
.captcha-status {
    font-size: 13px; font-weight: 700;
    margin-top: 8px; min-height: 18px;
}
.captcha-status.ok  { color: #10B981; }
.captcha-status.bad { color: #EF4444; }

/* Disabled (grey) submit button */
.btn-default:disabled,
.btn-default[disabled] {
    background: #c4c8cf !important;
    border-color: #c4c8cf !important;
    color: #fff !important;
    cursor: not-allowed;
}
.btn-default:disabled:hover,
.btn-default[disabled]:hover { filter: none; }

/* Step nav */
.step-nav {
    display: flex;
    justify-content: space-between; align-items: center;
    margin-top: 32px; padding-top: 24px;
    border-top: 1px solid #eee;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.success-state { text-align: center; padding: 60px 32px; }
.success-icon {
    width: 64px; height: 64px;
    border-radius: 0;
    background: #10B981; color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
}
.success-state h3 { font-weight: 700; margin-bottom: 12px; }
.success-state p { color: #555; max-width: 480px; margin: 0 auto 24px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#CP_Footer {
    background: #1A2433;
    color: #fff;
}
#CP_Footer a { color: rgba(255,255,255,.65); text-decoration: none; }
#CP_Footer a:hover { color: #fff; }
#CP_Footer h6 { color: #fff; }
#CP_Footer hr { border-color: rgba(255,255,255,.15); }

.footer-social {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    color: #fff !important;
    text-decoration: none;
    transition: background .2s;
}
.footer-social:hover { background: #D91B1B; }

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 48px; height: 48px;
    border: 2px solid #fff; border-radius: 10px;
    background: #D91B1B; color: #fff;
    font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease,
                background .15s ease, visibility .25s ease;
    z-index: 1500;
}
.back-to-top.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover  { background: #b81616; }
.back-to-top:active { transform: translateY(0) scale(.94); }
@media (max-width: 575px) {
    .back-to-top {
        bottom: 16px; right: 16px;
        width: 44px; height: 44px;
        font-size: 20px;
    }
}

/* ══════════════════════════════════════
   NEWS MODAL
══════════════════════════════════════ */
.news-modal-overlay {
    position: fixed; inset: 0; z-index: 3000;
    background: rgba(0,0,0,.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
}
.news-modal-overlay.open { opacity: 1; pointer-events: all; }
.news-modal-card {
    background: #fff;
    max-width: 620px; width: 100%;
    max-height: 80vh; overflow-y: auto;
    padding: 40px;
    position: relative;
    border-radius: 0;
    transform: translateY(20px);
    transition: transform .25s ease;
}
.news-modal-overlay.open .news-modal-card { transform: translateY(0); }
.news-modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px;
    border: none; background: #f2f2f2;
    color: #666; font-size: 1.5rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; border-radius: 0;
    transition: background .15s, color .15s;
}
.news-modal-close:hover { background: #D91B1B; color: #fff; }
.news-modal-tag {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: #D91B1B; background: rgba(217,27,27,.1);
    padding: 4px 12px; margin-bottom: 14px;
}
.news-modal-title { font-size: 1.4rem; font-weight: 600; margin-bottom: 20px; }
.news-modal-body { font-size: 1rem; color: #555; line-height: 1.75; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1199px) {
    #CP_Tagline {
        margin-left: 0; margin-right: 0;
        margin-bottom: 0;
        width: 100%;
        padding: 32px 24px;
    }
}

@media (max-width: 991px) {
    .form-row          { grid-template-columns: 1fr; }
    .meeting-options   { grid-template-columns: 1fr; }
    .form-step         { padding: 28px 24px; }
    .step-indicator    { padding: 16px 20px; }
}

@media (max-width: 767px) {
    #CP_Tagline { padding: 24px 20px; }
    .form-step  { padding: 20px 16px; }
    .step-dot small { display: none; }
}

@media (max-width: 575px) {
    .booking-wrapper { overflow-x: hidden; }
    .step-connector  { margin-bottom: 10px; }
}
