/* =========================================================
   contact-book.css (UPDATED)
   Shared module for /contact/ and /book/
   - Stacked sections (not 3 columns)
   - Softer surfaces, fewer borders, less "busy"
========================================================= */

.cbp {
    background: var(--bg-color);
    color: var(--text-color);
}

.cbp-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(18px, 2.2vw, 26px);
}

/* Body */
.cbp-body {
    padding: 8px 0 34px;
}

/* Stacked blocks */
.cbp-stack {
    display: grid;
    gap: 16px;
    /* spacing between sections */
}

.cbp-block {
    background: var(--surface);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .06);
}

.cbp-block__head {
    margin-bottom: 12px;
}

.cbp-block__title {
    margin: 0 0 6px;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.cbp-block__sub {
    margin: 0;
    color: var(--muted-text);
    line-height: 1.55;
}

.cbp-block__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

/* Soft boxed list (one border total, not per row) */
.cbp-softbox {
    margin-top: 10px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 55%, transparent);
    overflow: hidden;
}

.cbp-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
}

.cbp-row+.cbp-row {
    border-top: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
    /* light separators only */
}

.cbp-row__icon {
    margin-top: 2px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--surface) 85%, var(--accent-color) 15%);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
    flex: 0 0 auto;
}

.cbp-row__icon i {
    color: var(--text-color);
    font-size: 1rem;
}

.cbp-row__meta {
    display: grid;
    gap: 4px;
    min-width: 0;
    flex: 1 1 auto;
}

.cbp-row__label {
    font-size: .86rem;
    color: var(--muted-text);
    font-weight: 800;
}

.cbp-row__value {
    font-weight: 900;
    color: var(--text-color);
    text-decoration: none;
    word-break: break-word;
    line-height: 1.35;
}

/* Make cbp-row behave well as a link when wrapped with <a> */
a.cbp-row {
    text-decoration: none;
    color: inherit;
}

/* Default hover background for normal rows only */
a.cbp-row:not(.cbp-row--mini):hover {
    background: color-mix(in srgb, var(--surface) 88%, transparent);
}

/* end cbp-row link behavior */

a.cbp-row__value:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cbp-row__note {
    margin-left: auto;
    font-weight: 900;
    font-size: .82rem;
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-color) 12%, var(--surface));
    color: var(--text-color);
    white-space: nowrap;
}

/* Form */
.cbp-form {
    margin-top: 10px;
}

.cbp-form__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cbp-field--full {
    grid-column: 1 / -1;
}

@media (max-width: 720px) {
    .cbp-form__grid {
        grid-template-columns: 1fr;
    }
}

.cbp-label {
    display: inline-block;
    margin: 0 0 6px;
    font-weight: 900;
    font-size: .92rem;
}

.cbp-optional {
    font-weight: 800;
    color: var(--muted-text);
    font-size: .9em;
}

.cbp-input {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    color: var(--text-color);
    font-family: var(--font-schib);
    font-size: 1rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.cbp-input:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.cbp-textarea {
    resize: vertical;
    min-height: 140px;
}

.cbp-form__note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    color: var(--muted-text);
}

.cbp-form__note i {
    color: var(--accent-color);
}

.cbp-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

/* FAQ */
.cbp-faq {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

.cbp-faq__item {
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 55%, transparent);
    overflow: hidden;
}

/* chevron - left side */
.cbp-faq__q {
    cursor: pointer;
    list-style: none;
    padding: 12px 12px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cbp-faq__q::-webkit-details-marker {
    display: none;
}

.cbp-faq__chev {
    flex: 0 0 auto;
    color: var(--accent-color);
    font-size: 0.95rem;
    transition: transform 160ms ease;
    transform: rotate(0deg);
    transform-origin: center;
}

.cbp-faq__qtext {
    flex: 1 1 auto;
    min-width: 0;
}

.cbp-faq__item[open] .cbp-faq__chev {
    transform: rotate(90deg);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cbp-faq__chev {
        transition: none;
    }
}

/* end chevron */

.cbp-faq__q i {
    color: var(--accent-color);
}

.cbp-faq__a {
    padding: 0 12px 12px;
    color: var(--muted-text);
    line-height: 1.55;
}

/* Mobile comfort */
@media (max-width: 520px) {

    .cbp-actions .btn,
    .cbp-block__actions .btn,
    .cbp-form__actions .btn {
        width: 100%;
    }

    .cbp-row__note {
        display: none;
    }
}

/* Button reset */
button.btn {
    font: inherit;
    font-family: var(--font-schib);
    appearance: none;
    -webkit-appearance: none;
}

button.btn>span {
    font: inherit;
}

/* Keep icon sizing consistent */
button.btn i {
    font-size: 16px;
    line-height: 1;
}

/* end Button reset */





/* Centered social block (mini spacer feel) */
.cbp-block--center {
    text-align: center;
}

.cbp-block__head--center {
    text-align: center;
    margin-bottom: 14px;
}

/* Center row of mini cards */
.cbp-center-gap {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 6px;
}

/* Reuse .cbp-row as the “mini card” */
.cbp-row--mini {
    align-items: center;
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 55%, transparent);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.cbp-row--mini:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--border) 55%, transparent),
        0 12px 26px rgba(0, 0, 0, .10);
}

/* Tighten label-only layout */
.cbp-row--mini .cbp-row__meta {
    display: block;
}

.cbp-row--mini .cbp-row__value,
.cbp-row--mini .cbp-row__note {
    display: none;
}

/* end Centered social block */



/* Soft pill style for about section */
.cbp-softpill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 55%, transparent);
    font-weight: 900;
    color: var(--muted-text);
}

.cbp-softpill i {
    color: var(--accent-color);
}

/* end Soft pill style for about section */









/* Form footer (privacy checkbox + lock note) */
.cbp-form__footer {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

/* Checkbox (custom, accessible) */
.cbp-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    user-select: none;
    color: var(--muted-text);
    font-weight: 700;

    position: relative;
}

/* Real checkbox sits on top of the visual box (so browser tooltip anchors correctly) */
.cbp-check__input {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-top: 2px;

    position: absolute;
    left: 0;
    top: 0;

    opacity: 0;
    cursor: pointer;
}

/* Visual box */
.cbp-check__box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 70%, transparent);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    flex: 0 0 auto;
    margin-top: 2px;

    position: relative;
    /* for checkmark */
}

/* Text */
.cbp-check__text {
    line-height: 1.45;
}

/* Link */
.cbp-link {
    color: var(--text-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Keyboard focus lands on the real input */
.cbp-check__input:focus-visible+.cbp-check__box {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

/* Checked state (accent + checkmark) */
.cbp-check__input:checked+.cbp-check__box {
    background: color-mix(in srgb, var(--accent-color) 18%, var(--surface));
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent-color) 65%, transparent);
}

.cbp-check__input:checked+.cbp-check__box::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 10px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: translate(-50%, -58%) rotate(45deg);
}

/* end Checkbox */

/* end Form footer */




/* Form hint (e.g., required fields) */
.cbp-form__hint {
    margin: 10px 0 0;
    color: var(--muted-text);
    font-weight: 400;
}

.cbp-form__hint--bottom {
    margin-top: 12px;
    /* gives breathing room after buttons */
    text-align: right;
}

/* end Form hint */




/* Accessibility helper (for screen readers only) */
.cbp-req {
    color: var(--accent-color);
    font-weight: 900;
    margin-left: .2rem;
}

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

/* end Accessibility helper */









/* ===== Book page extras (minimal) ===== */

/* Secondary phone/email line under hero actions */
.cbp-secondaryline {
    margin: 12px 0 0;
    color: var(--muted-text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
}

.cbp-secondaryline__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cbp-secondaryline__link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 800;
}

.cbp-secondaryline__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cbp-secondaryline__dot {
    opacity: .55;
}

/* Micro-copy under the booking form */
.cbp-microcopy {
    margin: 12px 0 0;
    color: var(--muted-text);
    line-height: 1.6;
}

/* Make the #quote jump land nicely below sticky header */
#quote {
    scroll-margin-top: 88px;
}