/* =============================================================================
 *  SOT Merchant Profile System — shared stylesheet
 *  --------------------------------------------------------------------------
 *  Enqueued on any singular sot_property page by sot-merchant-core. Every
 *  vertical profile template (hospitality, transport, rental, tours, guides,
 *  museum, spa, sport, taxi, events) renders its body through the same set
 *  of partials defined under \SOT\MerchantCore\Profile\Sections\*. Each
 *  partial wraps in <section data-sot-section="<name>"> for theming, uses
 *  BEM class names like .sot-profile-<section>__<element>, and renders
 *  defensively (no "0", no "—" for missing data).
 *
 *  Brand palette: Ocean #0A4D6E + Forest #1F5A36 (canonical SOT colours).
 *  Typography: theme serif for headings, system sans-serif for body, 16px
 *  base, 1.6 line-height. Mobile-first; breakpoints at 720px and 1024px.
 *  Tap targets are 44px minimum.
 * ========================================================================== */

/* ---------- Design tokens ------------------------------------------------- */

.sot-profile {
    /* Brand */
    --sot-ocean:        #0A4D6E;
    --sot-ocean-deep:   #063349;
    --sot-ocean-soft:   #D3E3EC;
    --sot-forest:       #1F5A36;
    --sot-forest-deep:  #143F25;
    --sot-forest-soft:  #DCEAE0;

    /* Neutrals (warm) */
    --sot-paper:        #FAF8F4;
    --sot-paper-2:      #F3EFE6;
    --sot-line:         #E8E4DC;
    --sot-line-2:       #D8D2C2;
    --sot-ink:          #1A1A1A;
    --sot-ink-2:        #3A3A3A;
    --sot-ink-3:        #6A6A6A;
    --sot-ink-4:        #9A9A9A;

    /* Accent */
    --sot-amber:        #D97706;
    --sot-amber-soft:   #FEF3C7;
    --sot-red:          #B91C1C;

    /* Surface */
    --sot-bg:           #FFFFFF;
    --sot-bg-soft:      var(--sot-paper);
    --sot-shadow-1:     0 1px 2px rgba(15,31,36,.05), 0 2px 8px rgba(15,31,36,.04);
    --sot-shadow-2:     0 4px 12px rgba(15,31,36,.08), 0 12px 32px rgba(15,31,36,.06);

    /* Geometry */
    --sot-radius-sm:    8px;
    --sot-radius:       14px;
    --sot-radius-lg:    22px;
    --sot-gap:          16px;
    --sot-gap-lg:       24px;
    --sot-max:          1180px;

    /* Type */
    --sot-serif:        var(--serif, Georgia, 'Times New Roman', 'Iowan Old Style', serif);
    --sot-sans:         var(--sans, -apple-system, BlinkMacSystemFont, 'Inter Tight', 'Segoe UI', Roboto, system-ui, sans-serif);

    /* Layout */
    font-family: var(--sot-sans);
    color: var(--sot-ink);
    font-size: 16px;
    line-height: 1.6;
    max-width: var(--sot-max);
    margin: 0 auto;
    padding: 0 16px 96px;
    box-sizing: border-box;
}

.sot-profile *,
.sot-profile *::before,
.sot-profile *::after {
    box-sizing: border-box;
}

.sot-profile h1,
.sot-profile h2,
.sot-profile h3 {
    font-family: var(--sot-serif);
    color: var(--sot-ink);
    line-height: 1.2;
    margin: 0 0 8px;
    font-weight: 600;
}
.sot-profile h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.sot-profile h2 { font-size: clamp(1.3rem, 2.8vw, 1.7rem); margin: 32px 0 14px; }
.sot-profile h3 { font-size: 1.08rem; }
.sot-profile p  { margin: 0 0 12px; color: var(--sot-ink-2); }

.sot-profile a { color: var(--sot-ocean); text-decoration: none; }
.sot-profile a:hover { color: var(--sot-ocean-deep); }

/* Visually-hidden helper */
.sot-profile .sot-sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Utility row */
.sot-profile-row {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}

/* ---------- Shared button system ---------------------------------------- */

.sot-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    min-height: 44px; padding: 10px 18px;
    border-radius: 999px;
    font-family: var(--sot-sans);
    font-size: .95rem; font-weight: 600; line-height: 1.2;
    border: 1px solid transparent;
    background: var(--sot-ocean); color: #fff;
    text-decoration: none; cursor: pointer;
    transition: background .15s, transform .05s, box-shadow .15s;
    box-shadow: var(--sot-shadow-1);
}
.sot-btn:hover  { background: var(--sot-ocean-deep); color: #fff; }
.sot-btn:active { transform: translateY(1px); }

.sot-btn--forest    { background: var(--sot-forest); color: #fff; }
.sot-btn--forest:hover { background: var(--sot-forest-deep); color: #fff; }

.sot-btn--wa        { background: #25D366; color: #07371A; }
.sot-btn--wa:hover  { background: #1ebd5b; color: #07371A; }

.sot-btn--ghost     {
    background: transparent; color: var(--sot-ink);
    border-color: var(--sot-line-2); box-shadow: none;
}
.sot-btn--ghost:hover { background: var(--sot-paper); color: var(--sot-ink); }

.sot-btn--ghost-light {
    background: rgba(255,255,255,.18); color: #fff;
    border-color: rgba(255,255,255,.7); box-shadow: none;
}
.sot-btn--ghost-light:hover { background: rgba(255,255,255,.32); color: #fff; }

.sot-btn--lg { min-height: 52px; padding: 14px 24px; font-size: 1rem; }

.sot-btn__icon { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- 1. Hero ------------------------------------------------------ */

.sot-profile-hero {
    position: relative;
    border-radius: var(--sot-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--sot-ocean) 0%, var(--sot-forest) 100%);
    min-height: 320px;
    max-height: 60vh;
    margin-top: 16px;
    display: flex; align-items: flex-end;
    color: #fff;
    isolation: isolate;
}
.sot-profile-hero__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    z-index: -2;
}
.sot-profile-hero__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(6,51,73,0) 35%, rgba(6,51,73,.78) 100%);
    z-index: -1;
}
.sot-profile-hero__body {
    width: 100%;
    padding: 24px 22px 26px;
    color: #fff;
}
.sot-profile-hero__chip {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,.18);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .78rem; font-weight: 600;
    letter-spacing: .04em; text-transform: uppercase;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.sot-profile-hero__title {
    color: #fff;
    margin: 0 0 6px;
    text-shadow: 0 2px 12px rgba(0,0,0,.28);
}
.sot-profile-hero__tagline {
    font-style: italic;
    font-family: var(--sot-serif);
    color: #f3efe6;
    font-size: 1.05rem;
    margin: 0 0 10px;
    max-width: 60ch;
    text-shadow: 0 1px 6px rgba(0,0,0,.22);
}
.sot-profile-hero__meta {
    display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
    font-size: .94rem;
    color: rgba(255,255,255,.94);
}
.sot-profile-hero__loc {
    display: inline-flex; align-items: center; gap: 6px;
}
.sot-profile-hero__rating {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.94);
    color: var(--sot-ink);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: .85rem; font-weight: 700;
}
.sot-profile-hero__rating-star { color: var(--sot-amber); }
.sot-profile-hero__rating-count {
    color: var(--sot-ink-3); font-weight: 500;
}

/* ---------- 2. Primary CTA ---------------------------------------------- */

.sot-profile-cta {
    position: relative;
    margin-top: -28px;
    margin-bottom: 28px;
    padding: 0 8px;
    z-index: 5;
}
.sot-profile-cta__inner {
    background: #fff;
    border: 1px solid var(--sot-line);
    border-radius: var(--sot-radius);
    box-shadow: var(--sot-shadow-2);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.sot-profile-cta__price {
    flex: 1 1 140px;
    min-width: 100px;
}
.sot-profile-cta__price-amount {
    font-family: var(--sot-serif);
    font-size: 1.3rem;
    color: var(--sot-ink);
    font-weight: 600;
    line-height: 1.1;
}
.sot-profile-cta__price-sub {
    font-size: .8rem; color: var(--sot-ink-3);
}
.sot-profile-cta__actions {
    display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto;
}

/* Sticky bottom on mobile only */
.sot-profile-cta--sticky {
    position: sticky;
    bottom: 12px;
    margin-top: 24px;
}

/* ---------- 3. Quick facts --------------------------------------------- */

.sot-profile-facts {
    margin: 8px 0 0;
}
.sot-profile-facts__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.sot-profile-facts__card {
    background: var(--sot-paper);
    border: 1px solid var(--sot-line);
    border-radius: var(--sot-radius-sm);
    padding: 14px 14px;
    display: flex; gap: 12px; align-items: center;
}
.sot-profile-facts__icon {
    flex: 0 0 auto;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--sot-ocean-soft);
    color: var(--sot-ocean);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700;
}
.sot-profile-facts__body { min-width: 0; }
.sot-profile-facts__label {
    font-size: .7rem; letter-spacing: .07em; text-transform: uppercase;
    color: var(--sot-ink-3); font-weight: 700;
}
.sot-profile-facts__value {
    font-family: var(--sot-serif);
    font-size: 1.15rem; color: var(--sot-ink);
    line-height: 1.1; margin-top: 2px;
}
.sot-profile-facts__sub {
    font-size: .78rem; color: var(--sot-ink-3); margin-top: 2px;
}
.sot-profile-facts__empty {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--sot-forest-soft);
    color: var(--sot-forest-deep);
    border: 1px solid var(--sot-forest);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: .92rem;
}

/* ---------- 4. Gallery -------------------------------------------------- */

.sot-profile-gallery {
    margin-top: 24px;
}
.sot-profile-gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    border-radius: var(--sot-radius);
    overflow: hidden;
}
.sot-profile-gallery__item {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--sot-paper-2);
    background-size: cover;
    background-position: center;
    cursor: zoom-in;
    transition: transform .25s ease;
    display: block;
}
.sot-profile-gallery__item:hover { transform: scale(1.005); }
.sot-profile-gallery__more {
    position: absolute; right: 12px; bottom: 12px;
    background: rgba(0,0,0,.62); color: #fff;
    padding: 6px 12px; border-radius: 999px;
    font-size: .82rem; font-weight: 600;
}
.sot-profile-gallery__placeholder {
    background: var(--sot-paper);
    border: 1px dashed var(--sot-line-2);
    color: var(--sot-ink-3);
    aspect-ratio: 16/10;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    font-size: .9rem;
    text-align: center;
    border-radius: var(--sot-radius-sm);
}

/* ---------- 5. About card ----------------------------------------------- */

.sot-profile-about {
    margin-top: 24px;
}
.sot-profile-about__card {
    background: #fff;
    border: 1px solid var(--sot-line);
    border-radius: var(--sot-radius);
    padding: 22px 22px 18px;
    box-shadow: var(--sot-shadow-1);
}
.sot-profile-about__heading {
    display: flex; align-items: center; gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.sot-profile-about__heading h2 { margin: 0; }
.sot-profile-about__verified {
    display: inline-flex; align-items: center; gap: 4px;
    background: var(--sot-forest-soft);
    color: var(--sot-forest-deep);
    padding: 4px 10px; border-radius: 999px;
    font-size: .75rem; font-weight: 700;
}
.sot-profile-about__verified::before {
    content: "\2713";
    font-weight: 900;
}
.sot-profile-about__body {
    font-family: var(--sot-serif);
    font-size: 1.05rem;
    color: var(--sot-ink-2);
    line-height: 1.6;
    white-space: pre-line;
    max-height: 8.4em;
    overflow: hidden;
    position: relative;
    transition: max-height .3s ease;
}
.sot-profile-about__body--open { max-height: 240em; }
.sot-profile-about__fade {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 3em;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%);
    pointer-events: none;
}
.sot-profile-about__body--open .sot-profile-about__fade { display: none; }
.sot-profile-about__toggle {
    margin-top: 10px;
    background: none; border: none;
    color: var(--sot-ocean); font-weight: 600; font-family: var(--sot-sans);
    font-size: .95rem; padding: 0; cursor: pointer;
}
.sot-profile-about__toggle:hover { color: var(--sot-ocean-deep); }
.sot-profile-about__empty {
    color: var(--sot-ink-3);
    font-style: italic;
    font-family: var(--sot-serif);
}

/* ---------- 6. Features grid -------------------------------------------- */

.sot-profile-features { margin-top: 24px; }
.sot-profile-features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.sot-profile-features__card {
    background: #fff;
    border: 1px solid var(--sot-line);
    border-radius: var(--sot-radius);
    padding: 18px 16px;
    text-align: center;
    transition: box-shadow .15s, border-color .15s, transform .15s;
}
.sot-profile-features__card:hover {
    border-color: var(--sot-ocean);
    box-shadow: var(--sot-shadow-2);
    transform: translateY(-2px);
}
.sot-profile-features__cover {
    margin: -18px -16px 14px;
    aspect-ratio: 16/10;
    background: var(--sot-paper-2);
    background-size: cover; background-position: center;
    border-radius: var(--sot-radius) var(--sot-radius) 0 0;
}
.sot-profile-features__icon {
    width: 44px; height: 44px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: var(--sot-forest-soft);
    color: var(--sot-forest);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.sot-profile-features__label {
    font-family: var(--sot-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--sot-ink);
}
.sot-profile-features__sub {
    color: var(--sot-ink-3);
    font-size: .88rem;
    margin-top: 4px;
    line-height: 1.45;
}
.sot-profile-features__price {
    margin-top: 10px;
    color: var(--sot-ocean);
    font-weight: 700;
    font-size: 1.02rem;
}
.sot-profile-features__chips {
    display: flex; flex-wrap: wrap; gap: 4px;
    justify-content: center; margin-top: 10px;
}
.sot-profile-features__chip {
    background: var(--sot-paper-2); color: var(--sot-ink-2);
    padding: 3px 10px; border-radius: 999px;
    font-size: .76rem; font-weight: 600;
}
.sot-profile-features__empty {
    background: var(--sot-paper);
    border: 1px dashed var(--sot-line-2);
    color: var(--sot-ink-3);
    border-radius: var(--sot-radius);
    padding: 22px;
    text-align: center;
    font-style: italic;
}

/* ---------- 7. Booking widget ------------------------------------------- */

.sot-profile-booking {
    margin-top: 24px;
}
.sot-profile-booking__card {
    background: #fff;
    border: 1px solid var(--sot-line);
    border-radius: var(--sot-radius);
    padding: 22px 22px 24px;
    box-shadow: var(--sot-shadow-1);
}
.sot-profile-booking__title {
    font-family: var(--sot-serif);
    font-size: 1.3rem;
    color: var(--sot-ink);
    margin: 0 0 14px;
}
.sot-profile-booking__lead {
    color: var(--sot-ink-2);
    font-size: .95rem;
    margin-bottom: 14px;
}
.sot-profile-booking__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: end;
}
.sot-profile-booking__label {
    display: block;
    font-size: .72rem; letter-spacing: .07em; text-transform: uppercase;
    color: var(--sot-ink-2); font-weight: 700;
    margin-bottom: 6px;
}
.sot-profile-booking__input {
    width: 100%; min-height: 44px;
    border: 1px solid var(--sot-line-2); background: #fff;
    border-radius: 10px; padding: 10px 12px;
    font-family: inherit; font-size: 1rem; color: var(--sot-ink);
}
.sot-profile-booking__input:focus {
    border-color: var(--sot-ocean); outline: none;
    box-shadow: 0 0 0 3px rgba(10,77,110,.22);
}
.sot-profile-booking__footnote {
    margin-top: 12px;
    color: var(--sot-ink-3);
    font-size: .82rem;
}

/* ---------- 8. Social proof --------------------------------------------- */

.sot-profile-social {
    margin-top: 18px;
    background: var(--sot-paper);
    border: 1px solid var(--sot-line);
    border-radius: var(--sot-radius);
    padding: 14px 16px;
    display: flex; flex-wrap: wrap;
    gap: 12px 22px;
    align-items: center;
}
.sot-profile-social__stat {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .92rem;
    color: var(--sot-ink-2);
}
.sot-profile-social__stat strong { color: var(--sot-ink); }
.sot-profile-social__star { color: var(--sot-amber); font-weight: 800; }
.sot-profile-social__badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff;
    border: 1px solid var(--sot-line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .82rem; font-weight: 600;
    color: var(--sot-ink-2);
}
.sot-profile-social__badge--cash {
    background: var(--sot-forest-soft);
    border-color: var(--sot-forest);
    color: var(--sot-forest-deep);
}
.sot-profile-social__badge--sotc {
    background: var(--sot-ocean-soft);
    border-color: var(--sot-ocean);
    color: var(--sot-ocean-deep);
}

/* ---------- 9. Reviews -------------------------------------------------- */

.sot-profile-reviews { margin-top: 24px; }
.sot-profile-reviews__head {
    display: flex; align-items: center; gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.sot-profile-reviews__score {
    font-family: var(--sot-serif);
    font-size: 2.2rem;
    color: var(--sot-ink);
    line-height: 1; font-weight: 700;
    display: inline-flex; align-items: center; gap: 8px;
}
.sot-profile-reviews__score-star { color: var(--sot-amber); }
.sot-profile-reviews__meta { color: var(--sot-ink-3); font-size: .92rem; }
.sot-profile-reviews__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.sot-profile-reviews__card {
    background: #fff;
    border: 1px solid var(--sot-line);
    border-radius: var(--sot-radius);
    padding: 16px 18px;
}
.sot-profile-reviews__author {
    display: flex; align-items: center; gap: 8px;
    font-weight: 600;
    color: var(--sot-ink);
    margin-bottom: 4px;
}
.sot-profile-reviews__stars { color: var(--sot-amber); letter-spacing: 2px; }
.sot-profile-reviews__date  { color: var(--sot-ink-3); font-weight: 500; font-size: .85rem; }
.sot-profile-reviews__body  { color: var(--sot-ink-2); font-size: .96rem; }
.sot-profile-reviews__empty {
    background: linear-gradient(135deg, var(--sot-forest-soft) 0%, var(--sot-ocean-soft) 100%);
    border: 1px solid var(--sot-line);
    border-radius: var(--sot-radius);
    padding: 24px 22px;
    text-align: center;
    color: var(--sot-ink-2);
    font-size: 1rem;
}
.sot-profile-reviews__empty strong {
    display: block;
    font-family: var(--sot-serif);
    font-size: 1.18rem;
    color: var(--sot-ink);
    margin-bottom: 6px;
}

/* ---------- 10. Final CTA ----------------------------------------------- */

.sot-profile-final {
    margin-top: 32px;
    background: linear-gradient(135deg, var(--sot-ocean) 0%, var(--sot-forest) 100%);
    color: #fff;
    border-radius: var(--sot-radius-lg);
    padding: 30px 24px 34px;
    text-align: center;
    box-shadow: var(--sot-shadow-2);
}
.sot-profile-final__title {
    font-family: var(--sot-serif);
    color: #fff;
    font-size: 1.6rem;
    margin: 0 0 8px;
}
.sot-profile-final__lead {
    color: rgba(255,255,255,.92);
    font-size: 1rem; margin: 0 0 16px;
}
.sot-profile-final__actions {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.sot-profile-final__payment {
    margin-top: 14px;
    color: rgba(255,255,255,.84);
    font-size: .85rem;
    display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- Section spacing -------------------------------------------- */

.sot-profile [data-sot-section] { display: block; }
.sot-profile [data-sot-section="hero"]         { margin-top: 0; }
.sot-profile [data-sot-section="primary-cta"]  { margin-top: 0; }
.sot-profile [data-sot-section] + [data-sot-section] { margin-top: 0; }

/* ---------- Lightbox (vanilla, no JS dep — uses target/anchors) -------- */

.sot-profile-lightbox {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.86);
    z-index: 9999;
    display: none;
    align-items: center; justify-content: center;
    padding: 24px;
}
.sot-profile-lightbox:target { display: flex; }
.sot-profile-lightbox__img {
    max-width: 96vw; max-height: 90vh;
    border-radius: var(--sot-radius);
    box-shadow: var(--sot-shadow-2);
}
.sot-profile-lightbox__close {
    position: fixed;
    top: 18px; right: 18px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: var(--sot-ink);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700;
    text-decoration: none;
}

/* ---------- Tablet breakpoint (720px) ---------------------------------- */

@media (min-width: 720px) {
    .sot-profile { padding: 0 24px 96px; }
    .sot-profile-hero { min-height: 420px; }
    .sot-profile-hero__body { padding: 36px 36px 38px; }
    .sot-profile-cta { margin-top: -36px; }
    .sot-profile-cta__inner { padding: 18px 22px; }
    .sot-profile-cta--sticky { position: static; bottom: auto; }

    .sot-profile-facts__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    .sot-profile-gallery__grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 8px;
        aspect-ratio: 16/8;
    }
    .sot-profile-gallery__item:nth-child(1) {
        grid-row: 1 / span 2;
        grid-column: 1 / span 2;
        aspect-ratio: auto;
    }
    .sot-profile-gallery__item:nth-child(n+2) { aspect-ratio: auto; }
    .sot-profile-gallery__item:nth-child(n+6) { display: none; }

    .sot-profile-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .sot-profile-booking__row { grid-template-columns: 1fr 1fr auto; }

    .sot-profile-reviews__list { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Desktop breakpoint (1024px) -------------------------------- */

@media (min-width: 1024px) {
    .sot-profile-hero { min-height: 480px; }
    .sot-profile-features__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sot-profile-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 36px;
        align-items: start;
    }
    .sot-profile-main__aside {
        position: sticky;
        top: 24px;
    }
    .sot-profile-main__aside .sot-profile-booking,
    .sot-profile-main__aside .sot-profile-social { margin-top: 0; }
}

/* ---------- Tiny phones (360px) ---------------------------------------- */

@media (max-width: 360px) {
    .sot-profile { padding: 0 12px 80px; }
    .sot-profile-hero__body { padding: 18px 16px 20px; }
    .sot-btn { min-height: 44px; padding: 10px 14px; font-size: .9rem; }
    .sot-profile-cta__inner { padding: 12px; }
}

/* ---------- Print ------------------------------------------------------ */

@media print {
    .sot-profile-cta, .sot-profile-final, .sot-profile-booking, .sot-profile-lightbox { display: none !important; }
    .sot-profile-hero { color: var(--sot-ink); background: none; min-height: 0; }
    .sot-profile-hero__img, .sot-profile-hero__scrim { display: none; }
    .sot-profile-hero__title, .sot-profile-hero__tagline { color: var(--sot-ink); text-shadow: none; }
}

/* ────────────────────────────────────────────────────────────────────
 * BOOKING-FIRST additions (2026-05-24 — owner directive)
 * Classes used by the corrected final-cta, primary-cta, booking-widget
 * partials. Built on the existing token system (Ocean #0A4D6E, Forest
 * #1F5A36, warm off-white #FAF8F4, charcoal #1A1A1A).
 * ──────────────────────────────────────────────────────────────────── */

/* Buttons — booking-first hierarchy */
.sot-btn--primary {
    background: var(--sot-forest, #1F5A36);
    color: #fff;
    border: 1px solid var(--sot-forest, #1F5A36);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(31, 90, 54, 0.18);
    transition: background 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}
.sot-btn--primary:hover,
.sot-btn--primary:focus-visible {
    background: #154628;
    color: #fff;
    box-shadow: 0 4px 14px rgba(31, 90, 54, 0.28);
    transform: translateY(-1px);
}
.sot-btn--primary:active { transform: translateY(0); }

.sot-btn--xl {
    font-size: 1.0625rem;
    padding: 1rem 1.75rem;
    min-height: 56px;
    border-radius: 12px;
    letter-spacing: 0.01em;
}

.sot-btn--icon {
    width: 44px;
    min-width: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Final-CTA — booking-first layout */
.sot-profile-final {
    text-align: center;
    padding: 2.5rem 1.25rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(31, 90, 54, 0.06));
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    margin-top: 2rem;
}
.sot-profile-final__title {
    font-family: var(--sot-serif, Georgia, serif);
    font-size: clamp(1.4rem, 2.4vw, 1.875rem);
    margin: 0 0 0.5rem;
    color: var(--sot-ocean, #0A4D6E);
}
.sot-profile-final__lead {
    color: var(--sot-ink-2, #555);
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    font-size: 1rem;
}
.sot-profile-final__primary {
    display: flex;
    justify-content: center;
    margin: 0 0 1rem;
}
.sot-profile-final__primary .sot-btn {
    min-width: 16rem;
}
.sot-profile-final__payment {
    color: var(--sot-ink-2, #666);
    font-size: 0.875rem;
    margin: 0 0 1.25rem;
}
.sot-profile-final__fallback {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}
.sot-profile-final__fallback-lead {
    color: var(--sot-ink-3, #888);
    font-size: 0.875rem;
}
.sot-profile-final__fallback-link {
    color: var(--sot-ink-2, #444);
    text-decoration: none;
    font-size: 0.9375rem;
    padding: 0.25rem 0.5rem;
    border-bottom: 1px dotted transparent;
    transition: color 120ms ease, border-color 120ms ease;
}
.sot-profile-final__fallback-link:hover,
.sot-profile-final__fallback-link:focus-visible {
    color: var(--sot-ocean, #0A4D6E);
    border-bottom-color: var(--sot-ocean, #0A4D6E);
}
.sot-profile-final__fallback-link span[aria-hidden] {
    margin-right: 0.25rem;
}

/* Primary CTA (sticky bar) — small icon-only secondary, big primary */
.sot-profile-cta__actions { gap: 0.5rem; }

/* Booking form fields */
.sot-booking-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.25rem 0;
}
.sot-booking-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.sot-booking-form__label {
    color: var(--sot-ink-1, #1A1A1A);
    font-size: 0.875rem;
    font-weight: 600;
}
.sot-required {
    color: #B53F3F;
    margin-left: 0.125rem;
}
.sot-booking-form__input {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.4;
    background: #fff;
    color: var(--sot-ink-1, #1A1A1A);
    transition: border-color 120ms ease, box-shadow 120ms ease;
    min-height: 44px;
}
.sot-booking-form__input:focus {
    outline: none;
    border-color: var(--sot-ocean, #0A4D6E);
    box-shadow: 0 0 0 3px rgba(10, 77, 110, 0.18);
}
.sot-booking-form__input:disabled {
    background: #f4f4f4;
    color: #777;
    cursor: not-allowed;
}
textarea.sot-booking-form__input {
    resize: vertical;
    min-height: 84px;
}
.sot-booking-form__radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.sot-booking-form__radio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    cursor: pointer;
    background: #fff;
    user-select: none;
    transition: background 120ms ease, border-color 120ms ease;
}
.sot-booking-form__radio:hover { background: #f8f6f1; }
.sot-booking-form__radio input { accent-color: var(--sot-forest, #1F5A36); }
.sot-booking-form__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0;
}
.sot-booking-form__toggle input { accent-color: var(--sot-forest, #1F5A36); width: 18px; height: 18px; }

.sot-booking-form__submit {
    align-self: stretch;
    margin-top: 0.5rem;
}
.sot-booking-form__view-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}
.sot-booking-form__status {
    min-height: 1.25rem;
    font-size: 0.9375rem;
    padding: 0.5rem 0;
}
.sot-booking-form__status[data-state="error"]   { color: #B53F3F; }
.sot-booking-form__status[data-state="success"] { color: #1F5A36; font-weight: 600; }
.sot-booking-form__status[data-state="loading"] { color: #555; font-style: italic; }

/* Policy chips */
.sot-profile-booking__policies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: 0.75rem 0 0.5rem;
}
.sot-policy-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(10, 77, 110, 0.08);
    color: var(--sot-ocean, #0A4D6E);
    border-radius: 999px;
    padding: 0.25rem 0.625rem;
    font-size: 0.8125rem;
}

/* Mobile tightening */
@media (max-width: 640px) {
    .sot-profile-final { padding: 2rem 1rem 1.5rem; }
    .sot-profile-final__primary .sot-btn { width: 100%; min-width: 0; }
    .sot-profile-final__fallback {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* End of BOOKING-FIRST additions */
