/* 15-public.css — public marketing shell and pages. */

html { scroll-behavior: smooth; }

.public-root {
    --public-deep: #132e33;
    --public-deep-soft: #1b4148;
    --public-accent: #4e8e94;
    --public-accent-dark: #376d73;
    --public-mint: #dff3ed;
    --public-sand: #f6f0e7;
    --public-paper: #fffdf9;
    min-height: 100vh;
    background: var(--public-paper);
}

.public-container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.public-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(20, 46, 51, 0.08);
    background: rgba(255, 253, 249, 0.92);
    backdrop-filter: blur(16px);
}

.public-header__inner {
    min-height: 5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex: 0 0 auto;
    color: var(--public-deep);
}

.public-brand__mark {
    width: 2.7rem;
    height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: var(--public-deep);
    color: #fff;
    box-shadow: 0 8px 24px rgba(19, 46, 51, 0.16);
}

.public-brand__copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.public-brand__name {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.public-brand__name span { color: var(--public-accent); }

.public-brand__tagline {
    margin-top: 0.28rem;
    color: #6d7c7f;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.015em;
}

.public-brand--inverse { color: #fff; }
.public-brand--inverse .public-brand__mark { background: #fff; color: var(--public-deep); }
.public-brand--inverse .public-brand__tagline { color: #a9bec2; }
.public-brand--inverse .public-brand__name span { color: #86d1d2; }

.public-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-inline: auto;
    color: #40565a;
    font-size: 1rem;
    font-weight: 600;
}

.public-nav a,
.public-header__login { transition: color var(--ui-fast); }
.public-nav a:hover,
.public-header__login:hover { color: var(--public-accent-dark); }

.public-header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

.public-header__login {
    color: var(--public-deep);
    font-size: 0.95rem;
    font-weight: 700;
}

.public-root .btn-primary {
    --bs-btn-bg: var(--public-deep);
    --bs-btn-border-color: var(--public-deep);
    --bs-btn-hover-bg: var(--public-deep-soft);
    --bs-btn-hover-border-color: var(--public-deep-soft);
    --bs-btn-active-bg: #0c2428;
    --bs-btn-active-border-color: #0c2428;
}

.public-nav-mobile { display: none; position: relative; }
.public-nav-mobile > summary::before { display: none; }
.public-nav-mobile > summary {
    width: 2.7rem;
    height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(19, 46, 51, 0.14);
    border-radius: 0.75rem;
    color: var(--public-deep);
}
.public-nav-mobile nav {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 0.75rem);
    width: min(18rem, calc(100vw - 2rem));
    padding: 0.75rem;
    display: grid;
    gap: 0.2rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    box-shadow: var(--shadow-lg);
}
.public-nav-mobile nav a {
    padding: 0.7rem 0.8rem;
    border-radius: 0.6rem;
    color: var(--public-deep);
    font-weight: 600;
}
.public-nav-mobile nav a:hover { background: var(--public-mint); }

.home-page { overflow: hidden; }
.home-page > section + section { border-top: 1px solid rgba(19, 46, 51, 0.14); }

.home-hero {
    position: relative;
    padding: clamp(3.5rem, 7vw, 7.5rem) 0 clamp(4.5rem, 8vw, 8rem);
    background:
        radial-gradient(circle at 10% 15%, rgba(128, 198, 207, 0.22), transparent 28rem),
        linear-gradient(180deg, #fffdf9 0%, #f8f4ed 100%);
}

.home-hero::before {
    content: "";
    position: absolute;
    width: 25rem;
    height: 25rem;
    inset-inline-end: -13rem;
    top: -10rem;
    border: 1px solid rgba(19, 46, 51, 0.28);
    border-radius: 50%;
    background: rgba(19, 46, 51, 0.13);
    box-shadow: 0 0 0 6rem rgba(55, 109, 115, 0.035);
}

.home-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6.5rem);
}

.home-eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1.4rem;
    padding: 0.38rem 0.75rem;
    border: 1px solid rgba(55, 109, 115, 0.18);
    border-radius: 999px;
    background: rgba(223, 243, 237, 0.65);
    color: var(--public-accent-dark);
    font-size: 0.86rem;
    font-weight: 700;
}

.home-hero h1 {
    max-width: 12ch;
    margin-bottom: 1.4rem;
    color: var(--public-deep);
    font-family: var(--font);
    font-size: clamp(2.7rem, 5.2vw, 5rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.home-hero h1 span {
    display: block;
    margin-top: 0.18em;
    color: var(--public-accent-dark);
}

.home-hero__copy > p {
    max-width: 37rem;
    margin-bottom: 2rem;
    color: #526568;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.75;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.3rem;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--public-deep);
    font-weight: 700;
}
.home-text-link:hover { color: var(--public-accent-dark); }

.home-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 2.2rem 0 0;
    padding: 0;
    list-style: none;
    color: #5c6d70;
    font-size: 0.9rem;
    font-weight: 600;
}
.home-hero__highlights li { display: inline-flex; align-items: center; gap: 0.35rem; }
.home-hero__highlights i { color: var(--public-accent); }

.home-hero__visual {
    position: relative;
    min-width: 0;
}

.home-hero__visual > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: clamp(1.5rem, 3vw, 3rem);
    box-shadow: 0 30px 70px rgba(19, 46, 51, 0.2);
}

.booking-preview {
    position: absolute;
    inset-inline-start: -3rem;
    bottom: -2rem;
    width: min(31rem, 78%);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 50px rgba(19, 46, 51, 0.2);
    backdrop-filter: blur(14px);
}

.booking-preview__head,
.booking-preview__fields {
    display: flex;
    align-items: center;
}

.booking-preview__head {
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--public-deep);
    font-size: 0.84rem;
    font-weight: 800;
}
.booking-preview__head span { display: inline-flex; align-items: center; gap: 0.35rem; }
.booking-preview__head > span:first-child i { color: #d3a900; }
.booking-preview__secure { color: #758588; font-size: 0.72rem; font-weight: 600; }

.booking-preview__fields {
    gap: 0.55rem;
}
.booking-preview__fields > div {
    min-width: 0;
    flex: 1;
    padding: 0.55rem 0.65rem;
    border: 1px solid #e1e8e7;
    border-radius: 0.75rem;
    background: #fff;
}
.booking-preview__fields small,
.booking-preview__fields strong { display: block; white-space: nowrap; }
.booking-preview__fields small { color: #849193; font-size: 0.66rem; }
.booking-preview__fields strong { overflow: hidden; color: var(--public-deep); font-size: 0.82rem; text-overflow: ellipsis; }
.booking-preview__action {
    height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.65rem;
    border-radius: 0.7rem;
    background: var(--public-deep);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.booking-confirmation {
    position: absolute;
    inset-inline-end: -1.5rem;
    top: 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 38px rgba(19, 46, 51, 0.18);
    backdrop-filter: blur(12px);
}
.booking-confirmation > span {
    width: 2.15rem;
    height: 2.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--public-mint);
    color: #267458;
}
.booking-confirmation strong,
.booking-confirmation small { display: block; white-space: nowrap; }
.booking-confirmation strong { color: var(--public-deep); font-size: 0.82rem; }
.booking-confirmation small { color: #7b898b; font-size: 0.68rem; }

.public-section {
    padding: clamp(5rem, 9vw, 8.5rem) 0;
    scroll-margin-top: 4.75rem;
}

.home-section-label {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--public-accent-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.home-section-label--light { color: #8ad1d2; }

.home-section-copy h2,
.home-section-head h2,
.home-scale h2,
.home-contact__intro h2 {
    color: var(--public-deep);
    font-family: var(--font);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.home-section-copy > p,
.home-section-head > p {
    color: #596b6e;
    line-height: 1.8;
}

.home-about {
    position: relative;
    overflow: hidden;
    background: #f7f8f5;
}
.home-about::before,
.home-about::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.home-about::before {
    width: 31rem;
    height: 31rem;
    inset-inline-end: -17rem;
    top: 3rem;
    border: 1px solid rgba(19, 46, 51, 0.22);
    background: rgba(19, 46, 51, 0.11);
    box-shadow: 0 0 0 6rem rgba(55, 109, 115, 0.03);
}
.home-about::after {
    width: 19rem;
    height: 19rem;
    inset-inline-start: -10rem;
    bottom: -8rem;
    border: 1px solid rgba(55, 109, 115, 0.24);
    background: rgba(55, 109, 115, 0.09);
}
.home-about__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}
.home-section-copy h2 { max-width: 13ch; margin-bottom: 1.5rem; }
.home-section-copy > p { max-width: 40rem; }
.home-section-copy .home-text-link { margin-top: 0.5rem; }

.home-flow {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0.65rem;
    padding: 1.25rem;
    border: 1px solid #e2e8e7;
    border-radius: 2rem;
    background:
        linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.84)),
        radial-gradient(circle at 50% 50%, rgba(78, 142, 148, 0.35), transparent 70%);
    box-shadow: 0 24px 60px rgba(19, 46, 51, 0.1);
}
.home-flow::before {
    content: "";
    position: absolute;
    inset: 10% 18%;
    z-index: 0;
    border-radius: 50%;
    background: rgba(223, 243, 237, 0.8);
    filter: blur(35px);
}
.home-flow__card,
.home-flow__arrow { position: relative; z-index: 1; }
.home-flow__card {
    min-height: 14rem;
    padding: 1.25rem 1rem;
    border: 1px solid rgba(19, 46, 51, 0.1);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    text-align: center;
}
.home-flow__card > span {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: var(--public-mint);
    color: var(--public-accent-dark);
}
.home-flow__card small,
.home-flow__card strong { display: block; }
.home-flow__card small { margin-bottom: 0.25rem; color: #879497; font-size: 0.72rem; font-weight: 700; }
.home-flow__card strong { color: var(--public-deep); font-size: 1.08rem; }
.home-flow__card p { margin: 0.7rem 0 0; color: #687a7d; font-size: 0.82rem; line-height: 1.55; }
.home-flow__card--book { border-color: rgba(78, 142, 148, 0.38); box-shadow: 0 14px 32px rgba(55, 109, 115, 0.13); }
.home-flow__card--book > span { background: var(--public-deep); color: #fff; }
.home-flow__arrow { color: #9eb1b3; font-size: 0.85rem; }

.home-section-head {
    max-width: 46rem;
    margin: 0 auto 3.5rem;
    text-align: center;
}
.home-section-head--wide { max-width: 52rem; }
.home-section-head h2 { margin-bottom: 1rem; }
.home-section-head > p { margin-bottom: 0; }

.home-process {
    background:
        linear-gradient(180deg, rgba(246, 240, 231, 0.92), rgba(255, 253, 249, 0.96)),
        radial-gradient(circle at 50% 0, rgba(128, 198, 207, 0.28), transparent 35rem);
}
.home-process__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
.home-process__grid li {
    position: relative;
    min-height: 22rem;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid rgba(19, 46, 51, 0.1);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 35px rgba(19, 46, 51, 0.06);
}
.home-process__number {
    position: absolute;
    inset-inline-end: 1.3rem;
    top: 0.65rem;
    color: rgba(19, 46, 51, 0.08);
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
}
.home-process__icon {
    width: 3.7rem;
    height: 3.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4.8rem;
    border-radius: 1.15rem;
    background: var(--public-deep);
    color: #fff;
    box-shadow: 0 12px 28px rgba(19, 46, 51, 0.18);
}
.home-process__grid h3 {
    margin-bottom: 0.75rem;
    color: var(--public-deep);
    font-family: var(--font);
    font-size: 1.45rem;
    font-weight: 800;
}
.home-process__grid p { margin: 0; color: #647679; font-size: 0.98rem; line-height: 1.75; }

.home-capabilities { background: #fff; }
.home-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.home-capability-card {
    min-height: 17.5rem;
    padding: 1.6rem;
    border: 1px solid #e2e8e7;
    border-radius: 1.35rem;
    background: #fff;
    transition: transform var(--ui-medium), border-color var(--ui-medium), box-shadow var(--ui-medium);
}
.home-capability-card:hover {
    transform: translateY(-0.35rem);
    border-color: rgba(78, 142, 148, 0.42);
    box-shadow: 0 18px 38px rgba(19, 46, 51, 0.09);
}
.home-capability-card__icon {
    width: 3.1rem;
    height: 3.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.1rem;
    border-radius: 1rem;
    background: var(--public-mint);
    color: var(--public-accent-dark);
}
.home-capability-card:nth-child(4n + 2) .home-capability-card__icon { background: #f7edc4; color: #856e16; }
.home-capability-card:nth-child(4n + 3) .home-capability-card__icon { background: #e9e9ff; color: #56589c; }
.home-capability-card:nth-child(4n + 4) .home-capability-card__icon { background: #e6eff8; color: #37648c; }
.home-capability-card h3 {
    margin-bottom: 0.75rem;
    color: var(--public-deep);
    font-family: var(--font);
    font-size: 1.22rem;
    font-weight: 800;
}
.home-capability-card p { margin: 0; color: #687a7d; font-size: 0.94rem; line-height: 1.7; }

.home-scale {
    position: relative;
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    overflow: hidden;
    background: var(--public-deep);
    color: #fff;
}
.home-scale::after {
    content: "";
    position: absolute;
    width: 35rem;
    height: 35rem;
    inset-inline-end: -15rem;
    bottom: -22rem;
    border: 1px solid rgba(138, 209, 210, 0.2);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(138, 209, 210, 0.025), 0 0 0 10rem rgba(138, 209, 210, 0.025);
}
.home-scale__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
    align-items: center;
    gap: clamp(3rem, 8vw, 8rem);
}
.home-scale h2 { max-width: 13ch; margin-bottom: 1.2rem; color: #fff; }
.home-scale__grid > div > p { max-width: 42rem; margin-bottom: 2rem; color: #b8cacc; line-height: 1.8; }
.home-scale__types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.home-scale__types li {
    min-height: 8.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.055);
    color: #e2eded;
    font-weight: 700;
}
.home-scale__types i { color: #86d1d2; font-size: 1.5rem; }

.home-contact {
    background:
        radial-gradient(circle at 80% 20%, rgba(128, 198, 207, 0.2), transparent 26rem),
        #f7f3ec;
}
.home-contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    gap: 1.5rem;
}
.home-contact__intro,
.home-contact-form { border-radius: 2rem; }
.home-contact__intro {
    position: relative;
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    background: var(--public-deep);
    color: #fff;
}
.home-contact__intro::after {
    content: "";
    position: absolute;
    width: 18rem;
    height: 18rem;
    inset-inline-end: -8rem;
    bottom: -9rem;
    border: 1px solid rgba(134, 209, 210, 0.22);
    border-radius: 50%;
}
.home-contact__intro h2 { margin-bottom: 1.2rem; color: #fff; font-size: clamp(2rem, 3.3vw, 3.1rem); }
.home-contact__intro > p { max-width: 35rem; color: #b8cacc; line-height: 1.75; }
.home-contact__phone {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    color: #fff;
}
.home-contact__phone > span {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: #fff;
    color: var(--public-deep);
}
.home-contact__phone small,
.home-contact__phone strong { display: block; }
.home-contact__phone small { margin-bottom: 0.1rem; color: #a9bec2; font-size: 0.75rem; }
.home-contact__phone strong { font-size: 1.35rem; }
.home-contact__note {
    position: absolute;
    inset-inline: clamp(2rem, 5vw, 4rem);
    bottom: clamp(2rem, 5vw, 4rem);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    color: #a9bec2;
    font-size: 0.85rem;
    line-height: 1.55;
}
.home-contact__note i { margin-top: 0.15rem; color: #86d1d2; }

.home-contact-form {
    padding: clamp(2rem, 5vw, 3.5rem);
    border: 1px solid rgba(19, 46, 51, 0.1);
    background: #fff;
    box-shadow: 0 24px 60px rgba(19, 46, 51, 0.09);
}
.home-contact-form__head { margin-bottom: 2rem; }
.home-contact-form__head > span {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--public-deep);
    font-size: 1.55rem;
    font-weight: 800;
}
.home-contact-form__head p { margin: 0; color: #6a7b7e; font-size: 0.95rem; }
.home-contact-form .form-control,
.home-contact-form .form-select { min-height: 3rem; }
.home-contact-form textarea.form-control { min-height: 7.8rem; resize: vertical; }
.home-contact-form .btn { margin-top: 1.5rem; }
.home-contact-form__privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.9rem;
    color: #849193;
    font-size: 0.75rem;
}

.public-legal-page {
    min-height: 62vh;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(55, 109, 115, 0.1), transparent 24rem),
        #f8f6f1;
}
.public-legal-page__head,
.public-legal-page__content {
    width: min(100% - 2rem, 58rem);
    margin-inline: auto;
}
.public-legal-page__head {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(19, 46, 51, 0.14);
}
.public-legal-page__head h1 {
    margin-bottom: 1rem;
    color: var(--public-deep);
    font-family: var(--font);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}
.public-legal-page__head p { margin-bottom: 0.75rem; color: #526568; font-size: 1.12rem; }
.public-legal-page__head small { color: #7b898b; }
.public-legal-page__content {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border: 1px solid rgba(19, 46, 51, 0.1);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 20px 55px rgba(19, 46, 51, 0.07);
}
.public-legal-page__content section + section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(19, 46, 51, 0.09);
}
.public-legal-page__content h2 {
    margin-bottom: 0.8rem;
    color: var(--public-deep);
    font-family: var(--font);
    font-size: 1.35rem;
    font-weight: 800;
}
.public-legal-page__content p,
.public-legal-page__content li { color: #586b6e; line-height: 1.85; }
.public-legal-page__content p:last-child { margin-bottom: 0; }
.public-legal-page__content ul { margin: 0; padding-inline-start: 1.25rem; }
.public-legal-page__content a { color: var(--public-accent-dark); font-weight: 700; text-decoration: underline; }

.public-auth-page {
    min-height: 62vh;
    padding-block: clamp(2rem, 6vw, 4.5rem);
    background:
        radial-gradient(circle at 10% 15%, rgba(78, 142, 148, 0.12), transparent 24rem),
        #f8f6f1;
}
.public-auth-shell {
    width: min(100%, 67.5rem);
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgba(19, 46, 51, 0.1);
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 28px 70px rgba(19, 46, 51, 0.12);
}
.public-auth-form {
    display: flex;
    align-items: center;
    padding: clamp(2rem, 5vw, 4rem);
}
.public-auth-form__inner {
    width: 100%;
    max-width: 24rem;
    margin-inline: auto;
}
.public-auth-form__head { margin-bottom: 2rem; }
.public-auth-form__head h1 {
    margin-bottom: 0.55rem;
    color: var(--public-deep);
    font-family: var(--font);
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}
.public-auth-form__head p { margin: 0; color: #687a7d; }
.public-auth-form .form-control { min-height: 3.1rem; }
.public-auth-form .btn-submit { min-height: 3rem; }

/* the password eye — an inline-end button inside the field (02-login.js flips the type) */
.public-auth-pw { position: relative; }
.public-auth-pw .form-control { padding-inline-end: 2.75rem; }
.public-auth-pw .form-control::-ms-reveal { display: none; } /* Edge's native eye — ours replaces it */
.public-auth-pw__toggle {
    position: absolute;
    inset-inline-end: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.35rem 0.55rem;
    border: 0;
    background: none;
    color: #687a7d;
    cursor: pointer;
}
.public-auth-pw__toggle:hover { color: var(--public-deep); }
.public-auth-forgot { margin-top: 1rem; text-align: center; }
.public-auth-forgot .btn-link { color: var(--public-accent-dark); font-size: 0.78rem; }
.public-auth-visual { display: none; }

/* standalone auth-shell pages (no site layout, e.g. booker done): the tinted background
   must own the whole viewport, the shell centers vertically, and the card gets a contour */
.public-auth-page--solo {
    min-height: 100vh;
    display: flex;
    align-items: center;
}
/* the flex parent needs an explicit width — but the side gutters must survive */
.public-auth-page--solo > .public-container { width: min(100% - 2rem, var(--container)); }
.public-auth-page--solo .public-auth-shell { border: 1px solid #aaa; }

/* single-panel variant (no photo) — a narrower centered card; the fail page wears it */
.public-auth-shell.public-auth-shell--single { width: min(100%, 34rem); }
@media (min-width: 768px) {
    .public-auth-shell.public-auth-shell--single {
        display: block;
        min-height: 0;
    }
}

/* solo pages keep the photo on mobile too — a hero band on top of the card
   (the login page hides it there and is not affected) */
@media (max-width: 767.98px) {
    .public-auth-page--solo .public-auth-shell { display: flex; flex-direction: column; }
    .public-auth-page--solo .public-auth-visual {
        order: -1;
        position: relative;
        isolation: isolate;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: 14rem;
        padding: 1.5rem;
        overflow: hidden;
        color: #fff;
    }
    .public-auth-page--solo .public-auth-visual > img {
        position: absolute;
        z-index: -2;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .public-auth-page--solo .public-auth-visual::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        background: linear-gradient(180deg, rgba(19, 46, 51, 0.03) 32%, rgba(19, 46, 51, 0.82) 100%);
    }
    .public-auth-page--solo .public-auth-visual p {
        margin-bottom: 0.15rem;
        color: #dce7e8;
        font-size: 1rem;
        font-weight: 700;
    }
    .public-auth-page--solo .public-auth-visual strong {
        display: block;
        font-family: var(--font);
        font-size: 1.8rem;
        line-height: 1.05;
        letter-spacing: -0.035em;
    }
}

@media (min-width: 768px) {
    .public-auth-shell {
        min-height: 34rem;
        display: grid;
        grid-template-columns: minmax(20rem, 0.86fr) minmax(0, 1.14fr);
    }
    .public-auth-visual {
        position: relative;
        isolation: isolate;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: clamp(2rem, 4vw, 3rem);
        overflow: hidden;
        color: #fff;
    }
    /* the villa photo — an html <img> filling the panel, under the gradient (-2 < -1) */
    .public-auth-visual > img {
        position: absolute;
        z-index: -2;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .public-auth-visual::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        background: linear-gradient(180deg, rgba(19, 46, 51, 0.03) 32%, rgba(19, 46, 51, 0.82) 100%);
    }
    .public-auth-visual p {
        margin-bottom: 0.15rem;
        color: #dce7e8;
        font-size: 1.05rem;
        font-weight: 700;
    }
    .public-auth-visual strong {
        display: block;
        font-family: var(--font);
        font-size: clamp(2.1rem, 4vw, 3.25rem);
        line-height: 1.05;
        letter-spacing: -0.035em;
    }
}

/* guest feedback card — quiet gray on desktop; on mobile the card frame disappears.
   the booker card wears the same quiet gray */
.fb-form, .booker-form { --bs-card-bg: #f6f6f6; }

/* guest cards (feedback + booker) contour — one weight on the fields and the logo box */
.fb-form .form-control,
.booker-form .form-control {
    background-color: var(--field-bg);
    border-color: #aaa;
    border-radius: var(--field-radius);
}
.fb-form .fb-logo,
.booker-form .fb-logo { border-color: #aaa; }
/* the section title: a little more air above, 2px larger than the mgr default, and its
   line in the page's #aaa contour — the mgr's --ui-border melts into the gray card */
.booker-form .app-form-section { margin-top: calc(1.75rem + 5px); font-size: 0.9375rem; }
.booker-form .app-form-section::before,
.booker-form .app-form-section::after { border-top-color: #aaa; }

/* the price box keeps its frame on every width — the mgr strips app-form-box on mobile */
.booker-form .app-form-box {
    padding: 1.25rem 1.5rem;
    border: 1px solid #aaa;
    border-radius: var(--ui-radius-md);
    background: #fff;
}
@media (max-width: 767.98px) {
    .fb-form {
        --bs-card-bg: transparent;
        border: 0;
    }
    /* the 1-5 rating row — centered, evenly stretched touch targets */
    .fb-form .btn-group {
        display: flex;
        max-width: 20rem;
        margin-inline: auto;
    }
}

/* guest feedback form — the asset logo at the head: any logo shape fits the quiet box */
.fb-logo {
    max-height: 64px;
    max-width: 200px;
    object-fit: contain;
}

/* guest feedback form — yellow hover on unselected only; selected stays visible */
.fb-form .btn-check:not(:checked) + .btn-light:hover {
    background: #fff8dc;
    border-color: #e6d98a;
    color: var(--public-deep);
}
.fb-form .btn-check:checked + .btn-light {
    background: #d4e4f7;
    border-color: #9ec5fe;
    color: var(--public-deep);
    font-weight: 700;
}

.public-footer {
    padding: 4.5rem 0 1.5rem;
    background: var(--public-deep);
    color: #dce7e8;
}
.public-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.75fr 0.75fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    padding-bottom: 3.5rem;
}
.public-footer__brand p { max-width: 24rem; margin: 1.5rem 0 0; color: #a9bec2; font-size: 1rem; line-height: 1.75; }
.public-footer h2 {
    margin-bottom: 1rem;
    color: #fff;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 800;
}
.public-footer nav,
.public-footer ul { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.public-footer nav a,
.public-footer li,
.public-footer__contact p { color: #a9bec2; font-size: 1rem; }
.public-footer nav a:hover { color: #fff; }
.public-footer__contact p { margin-bottom: 1rem; line-height: 1.6; }
.public-footer__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}
.public-footer__contact .btn { display: flex; width: fit-content; }
.public-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    color: #789397;
    font-size: 0.78rem;
}

@media (max-width: 991.98px) {
    .public-header__inner { min-height: 4.4rem; }
    .public-nav,
    .public-header__actions { display: none; }
    .public-nav-mobile { display: block; margin-inline-start: auto; }
    .home-hero__grid { grid-template-columns: 1fr; gap: 3.5rem; }
    .home-hero__copy { text-align: center; }
    .home-eyebrow,
    .home-hero__actions { margin-inline: auto; }
    .home-hero h1,
    .home-hero__copy > p { margin-inline: auto; }
    .home-hero__highlights { justify-content: center; }
    .home-hero__visual { width: min(42rem, 92%); margin-inline: auto; }
    .home-about__grid,
    .home-contact__grid,
    .home-scale__grid { grid-template-columns: 1fr; }
    .home-section-copy h2 { max-width: 17ch; }
    .home-flow { max-width: 46rem; margin-inline: auto; }
    .home-process__grid { grid-template-columns: 1fr; }
    .home-process__grid li { min-height: 0; }
    .home-process__icon { margin-bottom: 3rem; }
    .home-capabilities__grid { grid-template-columns: repeat(2, 1fr); }
    .home-scale__grid { gap: 3rem; }
    .home-scale__grid > div { text-align: center; }
    .home-scale h2,
    .home-scale__grid > div > p { margin-inline: auto; }
    .home-contact__intro { min-height: 35rem; }
    .public-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .public-container { width: min(100% - 1.25rem, var(--container)); }
    .public-brand__tagline { display: none; }
    .public-brand__name { font-size: 1.45rem; }
    .public-brand__mark { width: 2.4rem; height: 2.4rem; }
    .home-hero { padding-top: 3rem; }
    .home-hero h1 { font-size: clamp(2.45rem, 12vw, 3.4rem); }
    .home-hero__actions { flex-direction: column; }
    .home-hero__actions .btn { width: 100%; }
    .home-hero__highlights { gap: 0.7rem; }
    .home-hero__visual { width: 100%; }
    .home-hero__visual > img { aspect-ratio: 4 / 5; }
    .booking-preview { inset-inline-start: 0.6rem; bottom: -2.6rem; width: calc(100% - 1.2rem); }
    .booking-confirmation { display: none; }
    .booking-preview__fields > div { padding-inline: 0.4rem; }
    .home-about__grid { gap: 2.5rem; }
    .home-flow { grid-template-columns: 1fr; gap: 0.6rem; padding: 0.8rem; }
    .home-flow__card { min-height: 0; }
    .home-flow__arrow { margin: 0 auto; transform: rotate(-90deg); }
    .home-section-head { margin-bottom: 2.5rem; }
    .home-process__grid li { padding: 1.5rem; }
    .home-process__icon { margin-bottom: 2.5rem; }
    .home-capabilities__grid { grid-template-columns: 1fr; }
    .home-capability-card { min-height: 0; }
    .home-capability-card__icon { margin-bottom: 1.5rem; }
    .home-scale__types { grid-template-columns: 1fr; }
    .home-scale__types li { min-height: 6rem; }
    .home-contact__intro { min-height: 38rem; padding: 2rem 1.4rem; }
    .home-contact__note { inset-inline: 1.4rem; bottom: 2rem; }
    .home-contact-form { padding: 2rem 1.25rem; }
    .public-footer { text-align: center; }
    /* the two link columns sit side by side; brand + contact span the full row */
    .public-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .public-footer__brand,
    .public-footer__contact { grid-column: 1 / -1; }
    .public-footer__brand p { margin-inline: auto; }
    .public-footer nav,
    .public-footer ul { justify-items: center; }
    .public-footer__contact .btn { margin-inline: auto; }
    .public-footer__bottom { flex-direction: column; }
}


/* ==== the booker page's flatpickr skin (moved from a page <style>, 27/08/2026) ====
   quiet light-gray header instead of a library theme. the rtl is forced in css —
   flatpickr's own rtl flag flips arrows but leaves the weekday/day grids running ltr. */
/* desktop: the calendar keeps its natural compact size, centered */
.booker-cal { display: flex; justify-content: center; }
.booker-cal .flatpickr-calendar { box-shadow: none; border: 1px solid #aaa; border-radius: 8px; }
/* mobile only: the calendar matches the full width of the text fields.
   flatpickr nests several sized wrappers — EVERY level is forced, or one of them
   squeezes the whole grid (that is what hid the year) */
@media (max-width: 767.98px) {
    .booker-cal > div { flex: 1 1 100%; width: 100%; }
    .booker-cal .flatpickr-calendar,
    .booker-cal .flatpickr-months,
    .booker-cal .flatpickr-innerContainer,
    .booker-cal .flatpickr-rContainer,
    .booker-cal .flatpickr-weekdays,
    .booker-cal .flatpickr-weekdaycontainer,
    .booker-cal .flatpickr-days {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    .booker-cal .dayContainer {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    .booker-cal .flatpickr-day { max-width: none; }
}
.booker-cal .flatpickr-months { background: #f1f3f5; border-radius: 8px 8px 0 0; padding: 4px 0; }
.booker-cal .flatpickr-weekdays { background: #f1f3f5; border-bottom: 1px solid #aaa; }
.booker-cal .flatpickr-weekday { background: transparent; color: #495057; }
.booker-cal .flatpickr-weekdays, .booker-cal .flatpickr-weekdaycontainer,
.booker-cal .flatpickr-days, .booker-cal .dayContainer { direction: rtl; }
.booker-cal .flatpickr-current-month,
.booker-cal .flatpickr-current-month input.cur-year { color: #212529; }
.booker-cal .flatpickr-current-month .flatpickr-monthDropdown-months { background: transparent; color: #212529; }
/* rtl header semantics: forward (next month) = LEFT arrow, back = RIGHT arrow.
   flatpickr pins the buttons with PHYSICAL absolute left/right (rtl:ignore) — flex and
   direction tricks do nothing; the only working move is swapping left/right ourselves,
   then flipping the chevrons to point outward */
.booker-cal .flatpickr-months .flatpickr-prev-month.flatpickr-prev-month { left: auto; right: 0; }
.booker-cal .flatpickr-months .flatpickr-next-month.flatpickr-next-month { right: auto; left: 0; }
.booker-cal .flatpickr-prev-month svg, .booker-cal .flatpickr-next-month svg { fill: #495057; transform: scaleX(-1); }
/* rtl range pill: the start day opens leftward, the end day closes it */
.booker-cal .flatpickr-day.startRange:not(.endRange) { border-radius: 0 50px 50px 0; }
.booker-cal .flatpickr-day.endRange:not(.startRange) { border-radius: 50px 0 0 50px; }

