/* Centered landing offer modal — matches booking offer banner */
.offer-toast {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem max(1rem, env(safe-area-inset-bottom, 0px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.offer-toast--closed {
    display: none !important;
}

.offer-toast.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.offer-toast__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 10, 0.62);
    backdrop-filter: blur(4px);
}

.offer-toast__dialog {
    position: relative;
    width: min(620px, 100%);
    max-height: min(92vh, 720px);
    overflow-y: auto;
    padding-top: 2.75rem;
    transform: scale(0.94) translateY(12px);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-toast.is-visible .offer-toast__dialog {
    transform: scale(1) translateY(0);
}

.offer-toast__close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #444;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.offer-toast__close:hover {
    background: #fff;
    color: #111;
}

.offer-toast__steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-bottom: 0.85rem;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.offer-toast__steps span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.offer-toast__steps i {
    font-size: 0.65rem;
    opacity: 0.85;
}

.offer-toast__banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem 1.75rem;
    background: linear-gradient(135deg, #2a4d3a 0%, #3d6b52 55%, #4a8f6a 100%);
    color: #fff;
    border-radius: 1.1rem;
    padding: 1.5rem 1.65rem;
    box-shadow: 0 16px 48px rgba(42, 77, 58, 0.35);
}

.offer-toast__eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.92;
    margin: 0 0 0.45rem;
}

.offer-toast__eyebrow i {
    margin-right: 0.35rem;
}

.offer-toast__headline {
    font-family: var(--font-serif, Georgia, 'Times New Roman', serif);
    font-size: clamp(1.45rem, 4vw, 1.85rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.35rem;
    color: #fff;
}

.offer-toast__perk {
    font-size: 0.92rem;
    opacity: 0.92;
    margin: 0 0 0.65rem;
}

.offer-toast__discount {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.45;
}

.offer-toast__discount strong {
    color: #d8f0e0;
}

.offer-toast__code-box label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.88;
    margin-bottom: 0.4rem;
}

.offer-toast__code-row {
    display: flex;
    gap: 0.45rem;
    align-items: stretch;
}

.offer-toast__code-input {
    flex: 1;
    min-width: 0;
    font-family: ui-monospace, monospace;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: none;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    color: #1e2e24;
    background: #fff;
}

.offer-toast__copy-btn {
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    background: #fff;
    color: #2a4d3a;
    white-space: nowrap;
}

.offer-toast__copy-btn:hover {
    background: #eef8f1;
}

.offer-toast__copy-btn.is-copied {
    background: #d8f0e0;
    color: #1e4d32;
}

.offer-toast__hint {
    margin: 0.7rem 0 0;
    font-size: 0.8rem;
    opacity: 0.92;
    line-height: 1.4;
}

.offer-toast__footer-card {
    margin-top: 0.85rem;
    padding: 1.35rem 1.5rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.offer-toast__footer-title {
    font-family: var(--font-serif, Georgia, 'Times New Roman', serif);
    font-size: 1.35rem;
    margin: 0 0 0.45rem;
    color: #111;
}

.offer-toast__footer-text {
    margin: 0 0 1.1rem;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #444;
}

.offer-toast__footer-text strong {
    color: #166534;
    font-weight: 700;
}

.offer-toast__book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #2a4d3a 0%, #3d6b52 100%);
    color: #fff !important;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(42, 77, 58, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.offer-toast__book-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(42, 77, 58, 0.34);
    color: #fff !important;
}

.offer-toast__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.offer-toast__call-btn,
.offer-toast__wa-btn {
    flex: 1 1 calc(50% - 0.35rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-width: 0;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.offer-toast__call-btn {
    color: #fff !important;
    background: linear-gradient(120deg, #1a1416, #3d2f32);
}

.offer-toast__call-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(26, 20, 22, 0.25);
}

.offer-toast__wa-btn {
    color: #fff !important;
    background: linear-gradient(120deg, #25d366, #128c7e);
}

.offer-toast__wa-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.offer-toast__book-badge {
    display: inline-block;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: #c9a962;
    color: #1a1416;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

body.is-offer-toast-visible {
    overflow: hidden;
}

body.is-offer-toast-visible .global-wa-fab-wrap {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 540px) {
    .offer-toast__banner-inner {
        padding: 1.25rem 1.15rem;
    }

    .offer-toast__code-row {
        flex-direction: column;
    }

    .offer-toast__copy-btn {
        width: 100%;
    }

    .offer-toast__cta-row {
        flex-direction: column;
    }

    .offer-toast__call-btn,
    .offer-toast__wa-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .offer-toast__steps {
        border-radius: 0.75rem;
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .offer-toast,
    .offer-toast__dialog,
    .offer-toast__book-btn {
        transition: none;
    }
}
