html {
    scroll-behavior: smooth;
}

body {
    letter-spacing: 0;
}

::selection {
    background: #E5A93C;
    color: #1A1F1C;
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

.errorlist {
    margin-top: 0.25rem;
    color: #b42318;
    font-size: 13px;
}

.booking-radio ul {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.booking-radio li {
    list-style: none;
}

.booking-radio label {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    font-size: 13px;
    color: #1A1F1C;
}

.booking-radio input {
    accent-color: #1E5631;
}

.booking-form input,
.booking-form select {
    min-height: 42px;
}

.nav-link {
    position: relative;
    display: block;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    color: #43554a;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.nav-link:hover {
    color: #1E5631;
    background: #F2F6F3;
}

.nav-link.is-active {
    color: #ffffff;
    background: #1E5631;
    box-shadow: 0 8px 18px rgba(30, 86, 49, 0.28);
}

@media (max-width: 1023px) {
    [data-nav-menu].is-open {
        display: flex;
        position: absolute;
        left: 0.5rem;
        right: 0.5rem;
        top: calc(100% + 0.6rem);
        z-index: 50;
        flex-direction: column;
        border: 1px solid #E2E8F0;
        border-radius: 18px;
        background: #FFFFFF;
        padding: 0.75rem;
        box-shadow: 0 24px 60px rgba(26, 31, 28, 0.18);
    }

    .nav-link {
        border-radius: 12px;
        padding: 0.75rem 0.85rem;
    }
}

[data-site-header].is-scrolled .nav-shell {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 52px rgba(26, 31, 28, 0.24);
}

.article-body {
    color: #2b332e;
    font-size: 15px;
    line-height: 1.85;
}

.article-body > * + * {
    margin-top: 1.15rem;
}

.article-body h2 {
    margin-top: 2.25rem;
    color: #1A1F1C;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.article-body ul,
.article-body ol {
    padding-left: 1.35rem;
}

.article-body ul {
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li + li {
    margin-top: 0.4rem;
}

.article-body a {
    color: #1E5631;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(30, 86, 49, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 180ms ease;
}

.article-body a:hover {
    text-decoration-color: #1E5631;
}

.article-body strong {
    color: #1A1F1C;
    font-weight: 700;
}

.article-body blockquote {
    border-left: 3px solid #E5A93C;
    padding-left: 1rem;
    color: #5C6460;
    font-style: italic;
}

@media (prefers-reduced-motion: reduce) {
    .nav-link,
    [data-site-header] .nav-shell {
        transition: none;
    }
}

/* Floating toast notifications: hover over content, identical on all pages. */
.toast-stack {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min(92vw, 560px);
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 10px;
    border: 1px solid;
    padding: 0.8rem 1rem;
    font-size: 14px;
    box-shadow: 0 18px 44px rgba(26, 31, 28, 0.22);
    background: #ffffff;
    animation: toast-in 240ms ease-out;
}

.toast-success {
    background: rgba(236, 253, 245, 0.97);
    border-color: #a7f3d0;
    color: #064e3b;
}

.toast-error {
    background: rgba(255, 241, 242, 0.97);
    border-color: #fecdd3;
    color: #881337;
}

.toast-info {
    background: rgba(255, 251, 235, 0.97);
    border-color: #fde68a;
    color: #78350f;
}

.toast-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    flex-shrink: 0;
}

.toast-close {
    margin-left: auto;
    border: none;
    background: transparent;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    padding: 0 0 0 0.5rem;
}

.toast-close:hover {
    opacity: 1;
}

.toast-hide {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 300ms ease, transform 300ms ease;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .toast {
        animation: none;
    }
    .toast-hide {
        transition: none;
    }
}

/* Self-hosted checkbox captcha. The checkbox is the affordance; the hidden
   proof-of-work is filled by site.js before submission. */
.captcha-box {
    display: flex;
    width: 100%;
    max-width: 24rem;
    flex-direction: column;
    gap: 0.35rem;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: #F7F9F8;
    padding: 0.65rem 0.8rem;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.captcha-row {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.75rem;
}

.captcha-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    color: #1A1F1C;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

.captcha-box .captcha-checkbox {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    min-height: 0;
    margin: 0;
    accent-color: #1E5631;
    cursor: pointer;
}

.captcha-status {
    margin-left: auto;
    white-space: nowrap;
    color: #5C6460;
    font-size: 11px;
    font-weight: 600;
}

.captcha-box.is-verifying {
    border-color: rgba(30, 86, 49, 0.28);
}

.captcha-box.is-verified {
    border-color: rgba(30, 86, 49, 0.38);
    background: rgba(30, 86, 49, 0.045);
}

.captcha-box.is-verified .captcha-status {
    color: #1E5631;
}

.captcha-box.is-failed {
    border-color: #fecdd3;
    background: #fff1f2;
}

.captcha-box.is-failed .captcha-status {
    color: #b42318;
}

.captcha-box .errorlist {
    margin-top: 0.15rem;
}

.captcha-noscript {
    margin: 0.15rem 0 0;
    color: #b42318;
    font-size: 11px;
    line-height: 1.4;
}

.captcha-box--dark {
    max-width: none;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.captcha-box--dark .captcha-label {
    color: rgba(255, 255, 255, 0.9);
}

.captcha-box--dark .captcha-status {
    color: rgba(255, 255, 255, 0.55);
}

.captcha-box--dark.is-verified {
    border-color: rgba(229, 169, 60, 0.5);
    background: rgba(229, 169, 60, 0.08);
}

.captcha-box--dark.is-verified .captcha-status {
    color: #E5A93C;
}

.captcha-box--dark.is-failed {
    border-color: rgba(254, 205, 211, 0.55);
    background: rgba(136, 19, 55, 0.18);
}

.captcha-box--dark .captcha-checkbox {
    accent-color: #E5A93C;
}


.captcha-box--dark .errorlist,
.captcha-box--dark .captcha-noscript {
    color: #fecdd3;
}

@media (max-width: 640px) {
    .captcha-box {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .captcha-box {
        transition: none;
    }
}

/* Honeypot trap: real users must never see it; bots fill it. Inline styles
   in the honeypot template already hide it; this class is defense-in-depth. */
.honeypot-wrap {
    opacity: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    z-index: -1 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
