﻿/* ==========================================================================
   Public pages - Home, About, Pricing, FAQ (Stage 3)
   Built on the tokens in site.css. Every class is prefixed pub- so nothing here can
   leak into the dashboards or the booking form.
   ========================================================================== */

.pub {
    background: #fff;
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
}

.pub-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 40px;
}

.pub-btn {
    display: inline-block;
    border-radius: 99px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    min-height: 44px;
    text-decoration: none;
    border: none;
    text-align: center;
}

    .pub-btn:hover {
        text-decoration: none;
    }

.pub-btn--green {
    background: var(--green);
    color: #fff;
}

    .pub-btn--green:hover {
        background: #236846;
        color: #fff;
    }

.pub-btn--outline {
    background: #fff;
    color: var(--green);
    border: 1px solid var(--lav-line);
}

    .pub-btn--outline:hover {
        background: var(--green-tint);
        color: var(--green);
    }

.pub-btn--white {
    background: transparent;
    color: #fff;
    border: 1.5px solid #fff;
}

    .pub-btn--white:hover {
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }

.pub-btn--lg {
    padding: 14px 30px;
    font-size: 15px;
}

.pub-btn--block {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

.pub a:focus-visible, .pub button:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 2px;
}

.pub-hero a:focus-visible, .pub-cta a:focus-visible {
    outline-color: #fff;
}

/* ---------- Hero (Home) ---------- */
.pub-hero {
    background: var(--ink);
    padding: 72px 0 84px;
}

    .pub-hero .pub-wrap {
        display: grid;
        grid-template-columns: 1.02fr .98fr;
        gap: 40px;
        align-items: center;
    }

.pub-eyebrow {
    color: #C9BCEA;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 16px;
}

.pub-hero h1 {
    color: #fff;
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -.02em;
    font-weight: 700;
}

.pub-hero p {
    color: #D6D6D6;
    font-size: 15.5px;
    margin: 0 0 24px;
    max-width: 46ch;
}

.pub-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pub-hero__meta {
    color: #B0B0B0;
    font-size: 12.5px;
    margin-top: 18px !important;
}

.pub-hero__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* ---------- Page banner (About, Pricing, FAQ) ---------- */
.pub-banner {
    background: var(--green);
    padding: 42px 0;
    text-align: center;
}

    .pub-banner h1 {
        color: #fff;
        font-size: 26px;
        margin: 0;
        font-weight: 700;
    }

    .pub-banner .pub-rule {
        background: #BFE8D4;
        margin: 10px auto 0;
    }

/* ---------- Sections ---------- */
.pub-sec {
    padding: 58px 0;
}

.pub-sec--alt {
    background: var(--bg);
}

.pub-kicker {
    color: var(--green);
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 8px;
}

.pub-h2 {
    color: var(--green);
    font-size: 20px;
    margin: 0 0 4px;
    font-weight: 700;
}

.pub-rule {
    width: 44px;
    height: 2px;
    background: var(--lavender);
    margin: 0 0 20px;
}

.pub-center {
    text-align: center;
}

    .pub-center .pub-rule {
        margin-left: auto;
        margin-right: auto;
    }

.pub-lead {
    font-size: 15.5px;
    max-width: var(--prose);
    margin: 0 0 12px;
}

    .pub-lead:last-child {
        margin-bottom: 0;
    }

.pub-muted {
    color: var(--muted);
}

.pub-quote {
    border-left: 3px solid var(--green);
    padding-left: 20px;
    font-size: 15px;
    max-width: var(--prose);
    margin: 0;
}

/* ---------- Feature strip ---------- */
.pub-feat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
}

    .pub-feat > div {
        padding: 34px 28px;
        border-right: 1px solid var(--line);
    }

        .pub-feat > div:last-child {
            border-right: none;
        }

    .pub-feat h3 {
        font-size: 15.5px;
        margin: 0 0 8px;
        color: #1f1f1f;
        font-weight: 700;
    }

    .pub-feat p {
        font-size: 13.8px;
        color: var(--muted);
        margin: 0;
    }

.pub-ico {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 14px;
    margin-bottom: 14px;
}

/* ---------- Layout helpers ---------- */
.pub-split {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 44px;
    align-items: center;
}

.pub-portrait {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.pub-cards2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pub-cards3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pub-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    padding: 20px 22px;
}

    .pub-card h3 {
        margin: 0 0 8px;
        font-size: 15px;
        font-weight: 700;
        color: #1f1f1f;
    }

    .pub-card p {
        margin: 0;
        font-size: 14.2px;
    }

.pub-card--offer {
    text-align: center;
    padding: 26px;
}

    .pub-card--offer h3 {
        font-size: 13.5px;
        color: var(--muted);
    }

.pub-card--featured {
    border: 2px solid var(--green);
}

    .pub-card--featured h3 {
        color: var(--green);
    }

.pub-card__price {
    font-size: 30px;
    font-weight: 700;
    margin: 6px 0;
    color: #1f1f1f;
}

.pub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .pub-list li {
        position: relative;
        padding-left: 20px;
        margin-bottom: 9px;
        font-size: 14.6px;
    }

        .pub-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 8px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--green);
        }

.pub-tag {
    display: inline-block;
    background: var(--green-tint);
    color: var(--green);
    border-radius: 99px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: 1px;
}

/* ---------- Price table ---------- */
.pub-ptable {
    max-width: 480px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

    .pub-ptable table {
        width: 100%;
        border-collapse: collapse;
        font-size: 14.5px;
    }

    .pub-ptable th {
        text-align: left;
        padding: 11px 18px;
        font-size: 12.5px;
        font-weight: 700;
        color: #1f1f1f;
        border-bottom: 1px solid var(--line);
    }

    .pub-ptable td {
        padding: 12px 18px;
        border-bottom: 1px solid var(--line);
    }

    .pub-ptable .r {
        text-align: right;
    }

    .pub-ptable td.price {
        text-align: right;
        font-weight: 700;
    }

    .pub-ptable td.rate {
        text-align: right;
        color: var(--muted);
    }

.pub-ptable__foot {
    background: var(--bg);
    padding: 14px 18px;
}

/* ---------- Accordion (FAQ, Pricing) ---------- */
.pub-acc {
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    overflow: hidden;
    max-width: var(--prose);
    background: #fff;
}

.pub-acc__item + .pub-acc__item {
    border-top: 1px solid var(--line);
}

.pub-acc h3 {
    margin: 0;
    font-size: 14.5px;
}

.pub-acc button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    text-align: left;
    background: #fff;
    border: none;
    padding: 15px 20px;
    font: inherit;
    font-size: 14.5px;
    font-weight: 700;
    color: #1f1f1f;
    min-height: 44px;
    cursor: pointer;
}

    .pub-acc button:hover {
        background: var(--bg);
    }

    .pub-acc button .pub-acc__sign {
        color: var(--green);
        font-size: 18px;
        flex: 0 0 auto;
    }

.pub-acc__panel {
    padding: 0 20px 16px;
    font-size: 14.2px;
    color: #444;
}

    .pub-acc__panel p {
        margin: 0;
    }

/* ---------- CTA band ---------- */
.pub-cta {
    background: var(--green);
    padding: 60px 0;
    text-align: center;
}

    .pub-cta h2 {
        color: #fff;
        font-size: 28px;
        margin: 0 0 8px;
        font-weight: 700;
    }

    .pub-cta p {
        color: #fff; /* #E4F5EC was 4.4:1 on the green - white is 4.98:1 */
        margin: 0 0 22px;
        font-size: 15px;
    }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
    .pub-wrap {
        padding: 0 20px;
    }

    .pub-hero {
        padding: 44px 0 50px;
    }

        .pub-hero .pub-wrap,
        .pub-split,
        .pub-feat,
        .pub-cards2,
        .pub-cards3 {
            grid-template-columns: 1fr;
        }

        .pub-hero h1 {
            font-size: 28px;
        }

    .pub-hero__actions .pub-btn {
        display: block;
        width: 100%;
    }

    .pub-feat > div {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .pub-sec {
        padding: 36px 0;
    }

    .pub-banner h1 {
        font-size: 20px;
    }

    /* Three columns of numbers is unreadable at phone width - the per-hour column drops. */
    .pub-ptable .rate, .pub-ptable th.rate {
        display: none;
    }
}
