/*
 * ═══════════════════════════════════════════════════════════════════════════════
 * Lavisa Destinations Theme — ENHANCED NEWSLETTER + TRUST + CTA (E11)
 * ═══════════════════════════════════════════════════════════════════════════════
 *
 * @file        assets/css/ldt-enhanced-sections-cta.css
 * @package     Lavisa_Destinations_Theme
 * @since       2.9.12  (E11 — Visual Enhancement Roadmap v2 — closes Stage 4)
 * @depends     ldt-tokens-enhanced.css      (E1 — gradients, shadows, glass tokens)
 *              ldt-enhanced-base.css        (E2 — section primitives)
 *              ldt-enhanced-animations.css  (E3 — keyframes: ldt-float-shape,
 *                                                 ldt-float-icon, ldt-pulse-glow,
 *                                                 ldt-marquee, ldt-success-pulse)
 *
 *   Polishes the conversion-focused sections that anchor the homepage's
 *   bottom half + appear inline throughout the theme:
 *
 *     section-newsletter.php          Big newsletter signup section
 *     section-newsletter-inline.php   Compact inline variants
 *     section-trust.php               Trust strip (stats + partner logos)
 *     section-cta-booking.php         "Ready to book?" CTA with 3 buttons
 *     section-inline-cta-banner.php   Inline CTA banner (themed variants)
 *     section-sticky-cta.php          Sticky bottom CTA bar with timer
 *
 *   PURE CSS LAYER — no PHP partial is touched. Same approach as E4-E10.
 *
 * ═══════════════════════════════════════════════════════════════════════════════
 */


/* ═══════════════════════════════════════════════════════════════════════════════
 * 1. NEWSLETTER SECTION (BIG) — gradient bg + animated blobs + glass form
 *
 * .ldt-section-newsletter is typically rendered before footer as a final
 * conversion surface. We give it the brand-blue gradient treatment with
 * accent blob accents to make it the visual focal point of that area.
 * ═══════════════════════════════════════════════════════════════════════════════ */

body .ldt-section-newsletter {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #002a66 0%,
        #003580 35%,
        #0057b8 100%
    ) !important;
    color: #ffffff;
}

/* Animated blob accents */
body .ldt-section-newsletter::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -150px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 140, 0, 0.16) 0%,
        rgba(255, 140, 0, 0) 70%
    );
    pointer-events: none;
    animation: ldt-float-shape 26s ease-in-out infinite;
    will-change: transform;
}

body .ldt-section-newsletter::after {
    content: "";
    position: absolute;
    bottom: -250px;
    left: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    pointer-events: none;
    animation: ldt-float-shape 32s ease-in-out infinite reverse;
    will-change: transform;
}

[dir="rtl"] body .ldt-section-newsletter::before,
.ldt-rtl body .ldt-section-newsletter::before { right: auto; left: -150px; }
[dir="rtl"] body .ldt-section-newsletter::after,
.ldt-rtl body .ldt-section-newsletter::after  { left: auto; right: -200px; }

@media (max-width: 768px) {
    body .ldt-section-newsletter::before,
    body .ldt-section-newsletter::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    body .ldt-section-newsletter::before,
    body .ldt-section-newsletter::after { animation: none; }
}

/* Inner content sits above blobs */
body .ldt-newsletter__inner {
    position: relative;
    z-index: 1;
}

/* Floating ✈️ icon */
body .ldt-newsletter__icon {
    font-size: 3rem;
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.30));
    animation: ldt-float-icon 6s ease-in-out infinite;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    body .ldt-newsletter__icon { animation: none; }
}

/* Title — chiseled with brand-tinted depth */
body .ldt-newsletter__title {
    color: #ffffff;
    text-shadow:
        0 2px 10px rgba(0,   0,   0, 0.30),
        0 4px 24px rgba(0,  20,  60, 0.40);
    letter-spacing: -0.01em;
}

body .ldt-newsletter__desc {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* Form wrap — glass-strong card with accent focus glow */
body .ldt-newsletter__form {
    background: rgba(255, 255, 255, 0.10);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--ldt-radius-input, 0.75rem);
    padding: 6px;
    transition:
        border-color 250ms var(--ldt-ease-portal, ease),
        box-shadow 250ms var(--ldt-ease-portal, ease);
}

body .ldt-newsletter__form:focus-within {
    border-color: var(--ldt-accent, #ff8c00);
    box-shadow:
        0 0 0 3px rgba(255, 140, 0, 0.20),
        0 8px 24px rgba(0, 0, 0, 0.20);
}

body .ldt-newsletter__input-group {
    display: flex;
    gap: 6px;
}

/* Input — transparent on the glass form */
body .ldt-newsletter__input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    min-width: 0;
}

body .ldt-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

/* Submit button — accent gradient with brand-tinted shadow */
body .ldt-newsletter__btn.ldt-btn--accent {
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%)) !important;
    box-shadow: var(--ldt-shadow-accent,
                0 10px 30px rgba(255, 140, 0, 0.30));
    color: #ffffff;
    border: none !important;
    border-radius: calc(var(--ldt-radius-input, 0.75rem) - 4px);
    font-weight: 700;
    padding: 12px 20px;
    transition:
        transform 250ms var(--ldt-ease-portal, ease),
        box-shadow 250ms var(--ldt-ease-portal, ease),
        filter 250ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-newsletter__btn.ldt-btn--accent:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 36px rgba(255, 140, 0, 0.45);
        filter: brightness(1.06);
    }
}

/* Loading spinner inside button */
body .ldt-newsletter__btn-loading {
    display: inline-flex;
    align-items: center;
}

/* Status messages */
body .ldt-newsletter__msg {
    margin-top: 12px;
    padding: 8px 14px;
    border-radius: var(--ldt-radius-input, 0.75rem);
    font-size: 13px;
    font-weight: 500;
}

body .ldt-newsletter__msg--success {
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
    animation: ldt-success-pulse 1.6s var(--ldt-ease-portal, ease);
}

body .ldt-newsletter__msg--error {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}

@media (prefers-reduced-motion: reduce) {
    body .ldt-newsletter__msg--success { animation: none; }
}

/* Privacy line */
body .ldt-newsletter__privacy {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

body .ldt-newsletter__privacy a {
    color: var(--ldt-accent, #ff8c00);
    text-decoration: none;
    transition: opacity 200ms var(--ldt-ease-portal, ease);
}

body .ldt-newsletter__privacy a:hover {
    opacity: 0.85;
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 2. NEWSLETTER INLINE (compact variant)
 *
 * .ldt-nl-inline appears as inline cards inside other sections (e.g. blog
 * posts, single destination pages). Default = glass-light card on whatever
 * background sits behind it.
 * ═══════════════════════════════════════════════════════════════════════════════ */

body .ldt-nl-inline {
    background: var(--ldt-glass-light, rgba(255, 255, 255, 0.92));
    -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 53, 128, 0.08);
    border-radius: var(--ldt-radius-card, 1.25rem);
    box-shadow: 0 8px 24px rgba(0, 53, 128, 0.08);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

/* Variant: --inverted (used on dark surfaces) */
body .ldt-nl-inline--inverted,
body .ldt-nl-inline--dark {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

body .ldt-nl-inline__title {
    color: var(--ldt-dark, #1e293b);
    font-weight: 700;
    letter-spacing: -0.01em;
}

body .ldt-nl-inline--inverted .ldt-nl-inline__title,
body .ldt-nl-inline--dark .ldt-nl-inline__title {
    color: #ffffff;
}

body .ldt-nl-inline__subtitle {
    color: var(--ldt-gray-600, #64748b);
}

body .ldt-nl-inline--inverted .ldt-nl-inline__subtitle,
body .ldt-nl-inline--dark .ldt-nl-inline__subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* Field set — flex row of input + button */
body .ldt-nl-inline__fieldset {
    display: flex;
    gap: 8px;
    background: rgba(0, 53, 128, 0.04);
    border: 1px solid rgba(0, 53, 128, 0.10);
    border-radius: var(--ldt-radius-input, 0.75rem);
    padding: 4px;
    transition:
        border-color 200ms var(--ldt-ease-portal, ease),
        box-shadow 200ms var(--ldt-ease-portal, ease);
}

body .ldt-nl-inline--inverted .ldt-nl-inline__fieldset,
body .ldt-nl-inline--dark .ldt-nl-inline__fieldset {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

body .ldt-nl-inline__fieldset:focus-within {
    border-color: var(--ldt-accent, #ff8c00);
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.18);
}

/* Input */
body .ldt-nl-inline__input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--ldt-dark, #1e293b);
    outline: none;
    min-width: 0;
}

body .ldt-nl-inline--inverted .ldt-nl-inline__input,
body .ldt-nl-inline--dark .ldt-nl-inline__input {
    color: #ffffff;
}

body .ldt-nl-inline__input::placeholder {
    color: var(--ldt-gray-500, #94a3b8);
}

body .ldt-nl-inline--inverted .ldt-nl-inline__input::placeholder,
body .ldt-nl-inline--dark .ldt-nl-inline__input::placeholder {
    color: rgba(255, 255, 255, 0.50);
}

/* Submit */
body .ldt-nl-inline__submit {
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%));
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: calc(var(--ldt-radius-input, 0.75rem) - 4px);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: var(--ldt-shadow-accent-soft,
                0 4px 15px rgba(255, 140, 0, 0.20));
    transition:
        transform 200ms var(--ldt-ease-portal, ease),
        box-shadow 200ms var(--ldt-ease-portal, ease),
        filter 200ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-nl-inline__submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(255, 140, 0, 0.40);
        filter: brightness(1.06);
    }
}

/* Spinner */
body .ldt-nl-inline__spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.30);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: ldt-spin 800ms linear infinite;
    display: inline-block;
}

@keyframes ldt-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    body .ldt-nl-inline__spinner { animation-duration: 2s; }
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 3. TRUST SECTION (stats + logos + categories)
 *
 * .ldt-section-trust uses .ldt-section--alt (E9 already gives it page-bg
 * gradient + soft accent blob). We polish the stats numbers, logos rail,
 * placeholder badges, and category pills.
 * ═══════════════════════════════════════════════════════════════════════════════ */

/* Trust stats — large gradient numbers */
body .ldt-trust-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

body .ldt-trust-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 16px;
}

/* Vertical separator between stats (using ::after on each item except last) */
body .ldt-trust-stats__item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -16px;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 53, 128, 0.18) 50%,
        transparent 100%
    );
}

[dir="rtl"] body .ldt-trust-stats__item:not(:last-child)::after,
.ldt-rtl body .ldt-trust-stats__item:not(:last-child)::after {
    right: auto;
    left: -16px;
}

@media (max-width: 768px) {
    body .ldt-trust-stats__item:not(:last-child)::after {
        display: none;
    }
}

body .ldt-trust-stats__value {
    background: var(--ldt-gradient-text,
                linear-gradient(135deg, #003580 0%, #0057b8 50%, #ff8c00 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ldt-primary, #003580);  /* fallback */
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

body .ldt-trust-stats__label {
    color: var(--ldt-gray-600, #64748b);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 6px;
}

/* Trust label header */
body .ldt-section-trust__label {
    color: var(--ldt-accent, #ff8c00);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    margin: 0;
}

/* Logos — marquee rail */
body .ldt-trust-logos {
    overflow: hidden;
    position: relative;
    /* Add fade edges via mask for elegance */
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
            mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 8%,
        #000 92%,
        transparent 100%
    );
}

body .ldt-trust-logos__track {
    display: flex;
    gap: 48px;
    align-items: center;
    will-change: transform;
}

body .ldt-trust-logos__item {
    flex-shrink: 0;
    transition: transform 300ms var(--ldt-ease-portal, ease),
                filter 300ms var(--ldt-ease-portal, ease);
    filter: grayscale(0.4) opacity(0.85);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-trust-logos__item:hover {
        transform: scale(1.06);
        filter: grayscale(0) opacity(1);
    }
}

body .ldt-trust-logos__img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

/* Placeholder logo (when image unavailable) */
body .ldt-trust-logos__placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--ldt-partner-color, var(--ldt-primary, #003580));
    color: #ffffff;
    border-radius: var(--ldt-radius-input, 0.75rem);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
    min-height: 40px;
}

body .ldt-trust-logos__placeholder-name {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.20);
}

/* Categories pills — color-coded by partner type */
body .ldt-trust-categories {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

body .ldt-trust-categories__pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--ldt-radius-pill, 9999px);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid;
}

/* Per-category color hints — soft tinted backgrounds with matching borders */
body .ldt-trust-categories__pill--airline {
    background: rgba(0, 87, 184, 0.08);
    border-color: rgba(0, 87, 184, 0.25);
    color: var(--ldt-primary-light, #0057b8);
}

body .ldt-trust-categories__pill--hotel {
    background: rgba(255, 140, 0, 0.08);
    border-color: rgba(255, 140, 0, 0.25);
    color: var(--ldt-accent-dark, #e07a00);
}

body .ldt-trust-categories__pill--tourism {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.25);
    color: rgb(21, 128, 61);
}

body .ldt-trust-categories__pill--platform {
    background: rgba(147, 51, 234, 0.08);
    border-color: rgba(147, 51, 234, 0.25);
    color: rgb(126, 34, 206);
}

body .ldt-trust-categories__dot {
    color: var(--ldt-gray-400, #94a3b8);
    font-weight: 700;
    user-select: none;
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 4. CTA-BOOKING SECTION (big "ready to book" with 3 buttons)
 *
 * .ldt-cta-booking is typically a deep gradient surface with branded title +
 * three action buttons. We give it the brand-blue gradient with animated blobs.
 * ═══════════════════════════════════════════════════════════════════════════════ */

body .ldt-cta-booking {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #003580 0%,
        #0057b8 50%,
        #002a66 100%
    ) !important;
    color: #ffffff;
}

/* Background pseudo for additional depth */
body .ldt-cta-booking__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

body .ldt-cta-booking__bg::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 140, 0, 0.15) 0%,
        rgba(255, 140, 0, 0) 70%
    );
    animation: ldt-float-shape 28s ease-in-out infinite;
    will-change: transform;
}

body .ldt-cta-booking__bg::after {
    content: "";
    position: absolute;
    bottom: -250px;
    left: -150px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    animation: ldt-float-shape 34s ease-in-out infinite reverse;
    will-change: transform;
}

[dir="rtl"] body .ldt-cta-booking__bg::before,
.ldt-rtl body .ldt-cta-booking__bg::before { right: auto; left: -200px; }
[dir="rtl"] body .ldt-cta-booking__bg::after,
.ldt-rtl body .ldt-cta-booking__bg::after  { left: auto; right: -150px; }

@media (max-width: 768px) {
    body .ldt-cta-booking__bg::before,
    body .ldt-cta-booking__bg::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    body .ldt-cta-booking__bg::before,
    body .ldt-cta-booking__bg::after { animation: none; }
}

body .ldt-cta-booking__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Floating 🌍 icon */
body .ldt-cta-booking__icon {
    font-size: 4rem;
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.30));
    animation: ldt-float-icon 7s ease-in-out infinite;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    body .ldt-cta-booking__icon { animation: none; }
}

/* Title — chiseled */
body .ldt-cta-booking__title {
    color: #ffffff;
    text-shadow:
        0 2px 12px rgba(0,   0,   0, 0.30),
        0 6px 24px rgba(0,  10,  40, 0.40);
    letter-spacing: -0.01em;
}

body .ldt-cta-booking__desc {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* Buttons row — flex with gap */
body .ldt-cta-booking__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* White button — glass-light treatment */
body .ldt-cta-booking__btn.ldt-btn--white {
    background: #ffffff !important;
    color: var(--ldt-primary, #003580) !important;
    border: none !important;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
    transition:
        transform 250ms var(--ldt-ease-portal, ease),
        box-shadow 250ms var(--ldt-ease-portal, ease),
        background 250ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-cta-booking__btn.ldt-btn--white:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    }
}

/* Accent button — accent gradient */
body .ldt-cta-booking__btn.ldt-btn--accent {
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%)) !important;
    box-shadow: var(--ldt-shadow-accent,
                0 10px 30px rgba(255, 140, 0, 0.40));
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
    transition:
        transform 250ms var(--ldt-ease-portal, ease),
        box-shadow 250ms var(--ldt-ease-portal, ease),
        filter 250ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-cta-booking__btn.ldt-btn--accent:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 40px rgba(255, 140, 0, 0.55);
        filter: brightness(1.06);
    }
}

/* Outline button — glass-light variant */
body .ldt-cta-booking__btn.ldt-btn--outline {
    background: rgba(255, 255, 255, 0.08) !important;
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.50) !important;
    color: #ffffff !important;
    font-weight: 600;
    transition:
        background 250ms var(--ldt-ease-portal, ease),
        border-color 250ms var(--ldt-ease-portal, ease),
        transform 250ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-cta-booking__btn.ldt-btn--outline:hover {
        background: rgba(255, 255, 255, 0.18) !important;
        border-color: rgba(255, 255, 255, 0.75) !important;
        transform: translateY(-2px);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 5. INLINE CTA BANNER (.ldt-icb)
 *
 * Themed inline CTA banner that appears between content blocks. Has variants
 * (--default / --alt / --dark) and themes (--brand / --accent / --neutral).
 * ═══════════════════════════════════════════════════════════════════════════════ */

body .ldt-icb {
    position: relative;
    overflow: hidden;
}

/* Default theme — glass-light surface with accent blob */
body .ldt-icb__inner {
    position: relative;
    background: var(--ldt-glass-light, rgba(255, 255, 255, 0.92));
    -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 53, 128, 0.10);
    border-radius: var(--ldt-radius-card, 1.25rem);
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 53, 128, 0.08);
    overflow: hidden;
}

body .ldt-icb__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body .ldt-icb__bg::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 140, 0, 0.10) 0%,
        rgba(255, 140, 0, 0) 70%
    );
}

[dir="rtl"] body .ldt-icb__bg::before,
.ldt-rtl body .ldt-icb__bg::before { right: auto; left: -100px; }

/* Body content sits above bg */
body .ldt-icb__body,
body .ldt-icb__actions {
    position: relative;
    z-index: 1;
}

/* Brand theme — deep brand-blue gradient */
body .ldt-icb--brand .ldt-icb__inner {
    background: linear-gradient(
        135deg,
        #003580 0%,
        #0057b8 100%
    );
    border-color: rgba(0, 53, 128, 0.20);
    color: #ffffff;
}

/* Accent theme — orange gradient */
body .ldt-icb--accent .ldt-icb__inner {
    background: linear-gradient(
        135deg,
        #ff8c00 0%,
        #e07a00 100%
    );
    border-color: rgba(255, 140, 0, 0.30);
    color: #ffffff;
}

/* Dark theme */
body .ldt-icb--dark .ldt-icb__inner {
    background: linear-gradient(
        135deg,
        var(--ldt-dark, #1e293b) 0%,
        rgba(15, 23, 42, 0.95) 100%
    );
    border-color: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

/* Icon */
body .ldt-icb__icon {
    font-size: 2.5rem;
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.20));
}

body .ldt-icb--brand .ldt-icb__icon,
body .ldt-icb--accent .ldt-icb__icon,
body .ldt-icb--dark .ldt-icb__icon {
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.30));
}

/* Title */
body .ldt-icb__title {
    color: var(--ldt-dark, #1e293b);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}

body .ldt-icb--brand .ldt-icb__title,
body .ldt-icb--accent .ldt-icb__title,
body .ldt-icb--dark .ldt-icb__title {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

body .ldt-icb__subtitle {
    color: var(--ldt-gray-600, #64748b);
}

body .ldt-icb--brand .ldt-icb__subtitle,
body .ldt-icb--accent .ldt-icb__subtitle,
body .ldt-icb--dark .ldt-icb__subtitle {
    color: rgba(255, 255, 255, 0.92);
}

/* Stats inside banner */
body .ldt-icb__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

body .ldt-icb__stats > li {
    color: inherit;
    font-size: 13px;
    font-weight: 600;
}

/* Primary CTA — accent gradient (or white on accent theme) */
body .ldt-icb__primary {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%));
    color: #ffffff !important;
    border-radius: var(--ldt-radius-pill, 9999px);
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--ldt-shadow-accent,
                0 10px 30px rgba(255, 140, 0, 0.30));
    transition:
        transform 250ms var(--ldt-ease-portal, ease),
        box-shadow 250ms var(--ldt-ease-portal, ease),
        filter 250ms var(--ldt-ease-portal, ease);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-icb__primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 36px rgba(255, 140, 0, 0.45);
        filter: brightness(1.06);
    }
}

/* On accent theme, primary CTA becomes white */
body .ldt-icb--accent .ldt-icb__primary {
    background: #ffffff !important;
    color: var(--ldt-accent-dark, #e07a00) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-icb--accent .ldt-icb__primary:hover {
        background: rgba(255, 255, 255, 0.96) !important;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
    }
}

/* Secondary link — text link with accent on hover */
body .ldt-icb__secondary {
    display: inline-flex;
    align-items: center;
    color: var(--ldt-primary, #003580);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 14px;
    transition: color 200ms var(--ldt-ease-portal, ease);
}

body .ldt-icb__secondary:hover {
    color: var(--ldt-accent, #ff8c00);
}

body .ldt-icb--brand .ldt-icb__secondary,
body .ldt-icb--accent .ldt-icb__secondary,
body .ldt-icb--dark .ldt-icb__secondary {
    color: rgba(255, 255, 255, 0.85);
}

body .ldt-icb--brand .ldt-icb__secondary:hover,
body .ldt-icb--accent .ldt-icb__secondary:hover,
body .ldt-icb--dark .ldt-icb__secondary:hover {
    color: #ffffff;
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 6. STICKY CTA BAR (.ldt-sticky-cta)
 *
 * Fixed bottom bar that appears on scroll, typically with a countdown timer
 * and primary action.
 * ═══════════════════════════════════════════════════════════════════════════════ */

body .ldt-sticky-cta {
    background: var(--ldt-glass-strong-light, rgba(255, 255, 255, 0.96)) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%);
            backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(0, 53, 128, 0.10);
    box-shadow:
        0 -8px 24px rgba(0, 53, 128, 0.10),
        0 -1px 0 rgba(255, 140, 0, 0.20);
}

/* Theme variants */
body .ldt-sticky-cta--brand {
    background: linear-gradient(
        90deg,
        rgba(0, 53, 128, 0.96) 0%,
        rgba(0, 87, 184, 0.96) 100%
    ) !important;
    color: #ffffff;
    border-top-color: rgba(255, 140, 0, 0.30);
}

body .ldt-sticky-cta--accent {
    background: linear-gradient(
        90deg,
        rgba(255, 140, 0, 0.96) 0%,
        rgba(224, 122, 0, 0.96) 100%
    ) !important;
    color: #ffffff;
    border-top-color: rgba(255, 255, 255, 0.30);
}

/* Inner layout */
body .ldt-sticky-cta__inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Body / message area */
body .ldt-sticky-cta__body {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

body .ldt-sticky-cta__icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

body .ldt-sticky-cta__text {
    flex: 1;
    min-width: 0;
}

/* Timer — pulse the digits */
body .ldt-sticky-cta__timer {
    background: rgba(255, 140, 0, 0.12);
    border: 1px solid rgba(255, 140, 0, 0.30);
    color: var(--ldt-accent-dark, #e07a00);
    padding: 4px 10px;
    border-radius: var(--ldt-radius-pill, 9999px);
    font-family: var(--ldt-font-mono, 'JetBrains Mono', monospace);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    display: inline-flex;
    margin-right: 8px;
    animation: ldt-pulse-glow 2s ease-in-out infinite;
}

body .ldt-sticky-cta--brand .ldt-sticky-cta__timer,
body .ldt-sticky-cta--accent .ldt-sticky-cta__timer {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.30);
    color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    body .ldt-sticky-cta__timer { animation: none; }
}

body .ldt-sticky-cta__message {
    color: var(--ldt-dark, #1e293b);
    font-weight: 600;
    font-size: 14px;
}

body .ldt-sticky-cta--brand .ldt-sticky-cta__message,
body .ldt-sticky-cta--accent .ldt-sticky-cta__message {
    color: #ffffff;
}

/* Actions */
body .ldt-sticky-cta__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Primary CTA */
body .ldt-sticky-cta__primary {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: var(--ldt-gradient-accent,
                linear-gradient(135deg, #ff8c00 0%, #e07a00 100%));
    color: #ffffff !important;
    border-radius: var(--ldt-radius-pill, 9999px);
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--ldt-shadow-accent-soft,
                0 4px 15px rgba(255, 140, 0, 0.25));
    transition:
        transform 200ms var(--ldt-ease-portal, ease),
        box-shadow 200ms var(--ldt-ease-portal, ease),
        filter 200ms var(--ldt-ease-portal, ease);
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    body .ldt-sticky-cta__primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 22px rgba(255, 140, 0, 0.40);
        filter: brightness(1.06);
    }
}

/* On brand or accent theme variants — primary becomes white */
body .ldt-sticky-cta--brand .ldt-sticky-cta__primary,
body .ldt-sticky-cta--accent .ldt-sticky-cta__primary {
    background: #ffffff !important;
    color: var(--ldt-primary, #003580) !important;
}

body .ldt-sticky-cta--accent .ldt-sticky-cta__primary {
    color: var(--ldt-accent-dark, #e07a00) !important;
}

/* Secondary text link */
body .ldt-sticky-cta__secondary {
    color: var(--ldt-primary, #003580);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: color 200ms var(--ldt-ease-portal, ease);
}

body .ldt-sticky-cta__secondary:hover {
    color: var(--ldt-accent, #ff8c00);
}

body .ldt-sticky-cta--brand .ldt-sticky-cta__secondary,
body .ldt-sticky-cta--accent .ldt-sticky-cta__secondary {
    color: rgba(255, 255, 255, 0.85);
}

body .ldt-sticky-cta--brand .ldt-sticky-cta__secondary:hover,
body .ldt-sticky-cta--accent .ldt-sticky-cta__secondary:hover {
    color: #ffffff;
}

/* Close button */
body .ldt-sticky-cta__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    color: var(--ldt-gray-500, #94a3b8);
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition:
        background 200ms var(--ldt-ease-portal, ease),
        color 200ms var(--ldt-ease-portal, ease),
        transform 200ms var(--ldt-ease-portal, ease);
}

body .ldt-sticky-cta__close:hover {
    background: rgba(255, 140, 0, 0.18);
    color: var(--ldt-accent, #ff8c00);
    transform: rotate(90deg);
}

body .ldt-sticky-cta--brand .ldt-sticky-cta__close,
body .ldt-sticky-cta--accent .ldt-sticky-cta__close {
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
}

body .ldt-sticky-cta--brand .ldt-sticky-cta__close:hover,
body .ldt-sticky-cta--accent .ldt-sticky-cta__close:hover {
    background: rgba(255, 255, 255, 0.30);
    color: #ffffff;
}


/* ═══════════════════════════════════════════════════════════════════════════════
 * 7. RESPONSIVE
 * ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* Newsletter big section: form goes column */
    body .ldt-newsletter__input-group {
        flex-direction: column;
        gap: 8px;
    }

    body .ldt-newsletter__btn.ldt-btn--accent {
        width: 100%;
        justify-content: center;
    }

    /* Trust stats: stack on mobile, separators hidden by earlier rule */
    body .ldt-trust-stats {
        gap: 24px;
    }

    body .ldt-trust-stats__item {
        flex: 1 1 calc(50% - 24px);
        min-width: 120px;
    }

    /* CTA-booking icon smaller on mobile */
    body .ldt-cta-booking__icon {
        font-size: 3rem;
    }

    /* CTA-booking buttons: stack full-width */
    body .ldt-cta-booking__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    body .ldt-cta-booking__btn {
        width: 100%;
        justify-content: center;
    }

    /* Inline CTA banner: tighter padding */
    body .ldt-icb__inner {
        padding: 24px;
    }

    /* Sticky CTA: hide secondary link on small screens to save space */
    body .ldt-sticky-cta__secondary {
        display: none;
    }

    body .ldt-sticky-cta__inner {
        gap: 10px;
    }

    body .ldt-sticky-cta__primary {
        padding: 8px 16px;
        font-size: 13px;
    }
}


/* ─── END OF ldt-enhanced-sections-cta.css ────────────────────────────────── */
