/* Loovy shared interface -------------------------------------------------- */

@font-face {
    font-family: "Tajawal";
    src: url("../fonts/tajawal-400-ar.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal";
    src: url("../fonts/tajawal-500-ar.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Tajawal";
    src: url("../fonts/tajawal-700-ar.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --loovy-bg: #f7f7fa;
    --loovy-surface: #ffffff;
    --loovy-card-bg: #ffffff;
    --loovy-text: #101014;
    --loovy-text-secondary: #475569;
    --loovy-muted: #52525e;
    --loovy-border: rgba(16, 16, 20, 0.12);
    --loovy-hover: rgba(16, 16, 20, 0.05);
    --loovy-brand: #ff438f;
    --loovy-action: #016aff;
    --loovy-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] {
    color-scheme: light;
    --loovy-bg: #f7f7fa;
    --loovy-surface: #ffffff;
    --loovy-card-bg: #ffffff;
    --loovy-text: #101014;
    --loovy-text-secondary: #475569;
    --loovy-muted: #52525e;
    --loovy-border: rgba(16, 16, 20, 0.12);
    --loovy-hover: rgba(16, 16, 20, 0.05);
    --loovy-brand: #ff438f;
    --loovy-action: #016aff;
    --loovy-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);

    --framer-text-color: #101014 !important;
    --framer-text-color-rgb: 16, 16, 20 !important;
    --framer-blockquote-text-color: #101014 !important;
    --framer-blockquote-text-color-rgb: 16, 16, 20 !important;
    --text-color: #101014 !important;
    --token-c6382a73-6aed-449b-902c-5e757599ba02: #101014 !important;
    --token-2c300e20-fb76-46ab-99c5-7ea1715cb61b: #475569 !important;
    --token-442a5fd4-863c-4790-9b16-ea2177968bf5: #475569 !important;
    --token-e27eec14-aea9-4d65-b220-7c79fe7ad5b7: #101014 !important;
    --token-20608b9f-0145-4a1e-b971-ee948ebbb015: #101014 !important;
    --token-8f8054d9-8a09-4e7e-b957-8a76557c5e75: #475569 !important;
    --token-4f3a2683-8146-4a07-b67e-0f6782e007c1: #475569 !important;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --loovy-bg: #08080a;
    --loovy-surface: #121216;
    --loovy-card-bg: #18181f;
    --loovy-text: #f8f8fb;
    --loovy-text-secondary: #94a3b8;
    --loovy-muted: #a6a6ae;
    --loovy-border: rgba(255, 255, 255, 0.14);
    --loovy-hover: rgba(255, 255, 255, 0.08);
    --loovy-brand: #00d5b0;
    --loovy-action: #016aff;
    --loovy-shadow: 0 16px 48px rgba(0, 0, 0, 0.34);

    --framer-text-color: #f8f8fb !important;
    --framer-text-color-rgb: 248, 248, 251 !important;
    --framer-blockquote-text-color: #f8f8fb !important;
    --framer-blockquote-text-color-rgb: 248, 248, 251 !important;
    --text-color: #f8f8fb !important;
    --token-c6382a73-6aed-449b-902c-5e757599ba02: #f8f8fb !important;
    --token-2c300e20-fb76-46ab-99c5-7ea1715cb61b: #94a3b8 !important;
    --token-442a5fd4-863c-4790-9b16-ea2177968bf5: #94a3b8 !important;
    --token-e27eec14-aea9-4d65-b220-7c79fe7ad5b7: #f8f8fb !important;
    --token-20608b9f-0145-4a1e-b971-ee948ebbb015: #f8f8fb !important;
    --token-8f8054d9-8a09-4e7e-b957-8a76557c5e75: #94a3b8 !important;
    --token-4f3a2683-8146-4a07-b67e-0f6782e007c1: #94a3b8 !important;
}

/* 1. All Main Section Containers & Body in Light Mode */
html[data-theme="light"] body,
html[data-theme="light"] #main,
html[data-theme="light"] [data-framer-root],
html[data-theme="light"] .framer-Oz4bH,
html[data-theme="light"] .framer-72rtr7,
html[data-theme="light"] .framer-pchk6o,
html[data-theme="light"] .framer-1mc5mbw,
html[data-theme="light"] .framer-f65bn9,
html[data-theme="light"] .framer-1vqfom,
html[data-theme="light"] .framer-xztjl7,
html[data-theme="light"] .framer-102k2u3 {
    background: #f7f7fa !important;
    background-image: none !important;
    background-color: #f7f7fa !important;
    color: #101014 !important;
}

/* Force dark CSS variables on text inside Framer in Light mode */
html[data-theme="light"] .framer-Oz4bH * {
    --framer-text-color: #101014 !important;
    --framer-text-color-rgb: 16, 16, 20 !important;
}

/* 2. Testimonials / Success Stories Section ("قصص من أصحاب الأعمال") */
html[data-theme="light"] .framer-Oz4bH :is(.framer-1x0dmmn-container, .framer-pW75r, .framer-v-17ksm31) {
    background: #f7f7fa !important;
    background-image: none !important;
    color: #101014 !important;
}
html[data-theme="light"] .framer-Oz4bH :is(.framer-Kj9uP, .framer-17iym4o, .framer-v-17iym4o) {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid rgba(16, 16, 20, 0.1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    color: #101014 !important;
}
html[data-theme="light"] .framer-Oz4bH :is(.framer-Kj9uP, .framer-17iym4o) :is(h1, h2, h3, h4, h5, h6, p, span, div, a) {
    color: #101014 !important;
}

/* 3. FAQ Section ("الأسئلة الشائعة") */
html[data-theme="light"] .framer-Oz4bH #faq,
html[data-theme="light"] .framer-Oz4bH .framer-f65bn9 {
    background: #ffffff !important;
    background-image: none !important;
}
/* FAQ Accordion Items - Open & Closed */
html[data-theme="light"] .framer-Oz4bH #faq :is([data-framer-component-type="Component"], .framer-1njuh28-container > div, .framer-1a6vgg6, .framer-1i0u79b, .framer-1r14y4v, .framer-16d1t8l, [data-framer-name="Open"], [data-framer-name="Closed"], [data-framer-name="Active"]) {
    background: #ffffff !important;
    background-image: none !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(16, 16, 20, 0.12) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
    color: #101014 !important;
}
html[data-theme="light"] .framer-Oz4bH #faq :is(h1, h2, h3, h4, h5, h6, p, span, div, a, button) {
    color: #101014 !important;
}
html[data-theme="light"] .framer-Oz4bH #faq p {
    color: #334155 !important;
}
html[data-theme="light"] .framer-Oz4bH #faq svg path {
    fill: #006aff !important;
    stroke: #006aff !important;
}

/* 4. Card Showcase Section ("بطاقات ولاء رقمية بهوية علامتك") */
html[data-theme="light"] .framer-Oz4bH .framer-1mc5mbw {
    background: #ffffff !important;
    background-image: none !important;
}
html[data-theme="light"] .framer-Oz4bH .framer-1mc5mbw :is(.framer-12q20fa, .framer-bsdua7, [data-framer-name="Card Wrap"], [data-framer-name="Integration Card Wrap"], .framer-4o75qx) {
    background: #f7f7fa !important;
    background-image: none !important;
    border-radius: 32px !important;
    padding: 20px !important;
}
/* Hide duplicate side arrow controllers so ONLY ONE clean set remains */
.framer-Oz4bH .framer-1mc5mbw :is(.framer-10901w8, .framer-19k09j8, .framer-1x5lhsm, [data-framer-name="Left Arrow"], [data-framer-name="Right Arrow"]) {
    display: none !important;
}

/* 5. Force text in Framer containers to be dark in Light Mode */
html[data-theme="light"] .framer-Oz4bH :is(h1, h2, h3, h4, h5, h6, p, span, a, div, li, [data-framer-component-type="Text"], .framer-text) {
    color: #101014 !important;
}
html[data-theme="light"] .framer-Oz4bH p.framer-text,
html[data-theme="light"] .framer-Oz4bH .framer-1r5a1h8 p {
    color: #334155 !important;
}

/* 6. Primary CTA Buttons (White text on Primary Blue) */
html[data-theme="light"] .framer-Oz4bH :is(.framer-1lia79x, .framer-78qlha, .loovy-nav-client, .btn-primary) {
    background-color: #006aff !important;
}
html[data-theme="light"] .framer-Oz4bH :is(.framer-1lia79x, .framer-78qlha, .loovy-nav-client, .btn-primary) * {
    color: #ffffff !important;
}

/* Secondary CTA Buttons in Light Mode */
html[data-theme="light"] .framer-Oz4bH :is(.framer-1s1oli3, .framer-1u9pfaa) {
    background-color: #ffffff !important;
    border: 1px solid rgba(16, 16, 20, 0.12) !important;
}
html[data-theme="light"] .framer-Oz4bH :is(.framer-1s1oli3, .framer-1u9pfaa) * {
    color: #101014 !important;
}

/* 7. Yellow Icon badges in Feature Grid */
html[data-theme="light"] .framer-Oz4bH .framer-1mc5mbw :is([data-framer-name="Icon"], .framer-1q7588n > div:first-child) {
    background-color: #e2f837 !important;
}
html[data-theme="light"] .framer-Oz4bH .framer-1mc5mbw svg path {
    fill: #101014 !important;
    stroke: #101014 !important;
}

/* 8. Partner SVG & Image logos visibility fix in Light Mode */
html[data-theme="light"] :is(.framer-qpcrxw, .framer-5feqdx-container, .framer-187zslr-container) {
    filter: invert(1) brightness(0.15) !important;
}

img[src*="/images/logos/"] {
    object-fit: contain !important;
}

.framer-locale-picker,
.__framer-cookie-component-button,
.--framer-cookie-banner-container,
.loovy-retired-locale {
    display: none !important;
}

body.loovy-runtime-ready [data-framer-appear-id] {
    opacity: 1 !important;
    transform: none !important;
}

/* Header ------------------------------------------------------------------ */

.loovy-skip-link {
    position: fixed;
    z-index: 2147483647;
    inset-block-start: 10px;
    inset-inline-start: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--loovy-action);
    color: #fff !important;
    font: 700 14px/1 Arial, sans-serif;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.18s ease;
}

.loovy-skip-link:focus {
    transform: none;
}

.loovy-content-anchor {
    display: block;
    height: 0;
    scroll-margin-top: 90px;
    outline: 0;
}

.loovy-site-header {
    position: sticky;
    z-index: 2147482000;
    top: 0;
    width: 100%;
    border-bottom: 1px solid var(--loovy-border);
    background: var(--loovy-surface);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    color: var(--loovy-text);
    font-family: Arial, Helvetica, sans-serif;
    backdrop-filter: blur(20px);
}

.loovy-header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    width: min(1180px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
}

.loovy-brand {
    position: relative;
    display: block;
    flex: 0 0 104px;
    width: 104px;
    height: 49px;
}

.loovy-logo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.loovy-on-dark,
html[data-theme="dark"] .loovy-on-light {
    display: none;
}

html[data-theme="dark"] .loovy-on-dark {
    display: block;
}

.loovy-primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-inline-start: auto;
}

.loovy-primary-nav a {
    color: var(--loovy-muted) !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.loovy-primary-nav a:hover,
.loovy-primary-nav a[aria-current="page"] {
    color: var(--loovy-text) !important;
}

.loovy-nav-tools {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--loovy-border);
    border-radius: 12px;
    background: var(--loovy-hover);
    direction: ltr;
}

.loovy-nav-icon {
    position: relative;
    display: grid !important;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: var(--loovy-text) !important;
    text-decoration: none !important;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.loovy-nav-icon:hover {
    background: var(--loovy-hover) !important;
    transform: translateY(-1px);
}

.loovy-nav-icon:focus-visible {
    outline: 2px solid var(--loovy-action);
    outline-offset: 2px;
}

.loovy-nav-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.loovy-nav-client {
    background: var(--loovy-action) !important;
    color: #fff !important;
}

.loovy-nav-client:hover {
    background: #0875ff !important;
}

.loovy-nav-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 10000;
    inset-block-start: calc(100% + 10px);
    inset-inline-end: 0;
    width: max-content;
    max-width: 180px;
    padding: 6px 9px;
    border-radius: 7px;
    background: #151518;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #fff;
    font: 600 12px/1.3 Arial, sans-serif;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-3px);
    transition: 0.15s ease;
    pointer-events: none;
    white-space: nowrap;
}

.loovy-nav-icon:hover::after,
.loovy-nav-icon:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* Footer ------------------------------------------------------------------ */

.loovy-site-footer {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    padding: 72px max(24px, calc((100% - 1180px) / 2)) 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #08080a;
    color: #f8f8fb;
    font-family: Arial, Helvetica, sans-serif;
}

.loovy-site-footer * {
    box-sizing: border-box;
}

.loovy-footer-cta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 42px;
    margin-bottom: 68px;
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: radial-gradient(circle at 15% 0%, rgba(0, 213, 176, 0.2), transparent 42%), linear-gradient(135deg, #111216, #070708);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.loovy-footer-cta > div:first-child {
    max-width: 690px;
}

.loovy-footer-cta span {
    display: block;
    margin-bottom: 13px;
    color: #00d5b0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.loovy-footer-cta h2 {
    margin: 0 !important;
    color: #fff !important;
    font: 500 clamp(30px, 4vw, 52px)/1.08 Arial, sans-serif !important;
    letter-spacing: -0.04em;
    text-align: start !important;
}

.loovy-footer-cta p {
    max-width: 620px;
    margin: 18px 0 0 !important;
    color: rgba(255, 255, 255, 0.66) !important;
    font: 400 17px/1.65 Arial, sans-serif !important;
    text-align: start !important;
}

.loovy-footer-actions {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    gap: 9px;
}

.loovy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 9px 17px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
}

.loovy-button-primary {
    background: var(--loovy-action);
    color: #fff !important;
}

.loovy-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: #fff !important;
}

.loovy-footer-main {
    display: grid;
    grid-template-columns: minmax(250px, 1.7fr) repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 56px;
}

.loovy-footer-brand img {
    display: block;
    width: 116px;
    height: 52px;
}

.loovy-footer-brand p {
    max-width: 340px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    line-height: 1.7;
}

.loovy-footer-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.loovy-footer-group strong {
    margin-bottom: 5px;
    color: #fff;
    font-size: 14px;
}

.loovy-footer-group a,
.loovy-footer-bottom a {
    color: rgba(255, 255, 255, 0.58) !important;
    font-size: 14px;
    text-decoration: none !important;
    transition: color 0.18s ease;
}

.loovy-footer-group a:hover,
.loovy-footer-bottom a:hover {
    color: #fff !important;
}

.loovy-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.48);
}

/* RTL --------------------------------------------------------------------- */

html[dir="rtl"] body {
    direction: rtl;
    font-family: "Tajawal", Arial, sans-serif;
}

/* Exported pages contain inline font declarations on nested Framer elements.
   Tajawal is the single typeface for every Arabic interface and content node. */
html[dir="rtl"] body * {
    font-family: "Tajawal", Arial, sans-serif !important;
}

html[dir="rtl"] :where(h1, h2, h3, h4, p, li) {
    text-align: right !important;
}

html[dir="rtl"] :where(.framer-text) {
    font-family: "Tajawal", Arial, sans-serif !important;
    letter-spacing: 0 !important;
}

html[dir="rtl"] :is(.loovy-site-header, .loovy-site-footer, .loovy-skip-link),
html[dir="rtl"] .loovy-nav-icon::after,
html[dir="rtl"] .loovy-footer-cta h2,
html[dir="rtl"] .loovy-footer-cta p {
    font-family: "Tajawal", Arial, sans-serif !important;
}

/* FAQ interactions -------------------------------------------------------- */

[data-loovy-faq-ready="true"] {
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

[data-loovy-faq-ready="true"]:hover,
[data-loovy-faq-ready="true"].loovy-faq-open {
    border-color: rgba(1, 106, 255, 0.6) !important;
    background-color: rgb(16, 16, 18) !important;
}

.loovy-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    padding: 0 22px;
    opacity: 0;
    transition: grid-template-rows 0.24s ease, opacity 0.2s ease, padding 0.24s ease;
}

.loovy-faq-answer > p {
    min-height: 0;
    margin: 0 !important;
    overflow: hidden;
    color: rgb(166, 166, 172) !important;
    font: 400 16px/1.75 Arial, sans-serif !important;
    text-align: start !important;
}

html[dir="rtl"] .loovy-faq-answer > p {
    font-family: "Tajawal", Arial, sans-serif !important;
}

.loovy-faq-open .loovy-faq-answer {
    grid-template-rows: 1fr;
    padding: 4px 22px 20px;
    opacity: 1;
}

[data-loovy-faq-ready="true"] .framer-2utiwh-container {
    transition: transform 0.24s ease;
}

[data-loovy-faq-ready="true"].loovy-faq-open .framer-2utiwh-container {
    transform: rotate(180deg) !important;
}

/* Native card gallery ----------------------------------------------------- */

.framer-cr5ee2-container section > div {
    overflow: hidden !important;
}

.framer-cr5ee2-container section ul,
.framer-cr5ee2-container .loovy-card-gallery-track {
    position: relative !important;
    inset: auto !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    transform: none !important;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.framer-cr5ee2-container section ul::-webkit-scrollbar,
.framer-cr5ee2-container .loovy-card-gallery-track::-webkit-scrollbar {
    display: none;
}

.framer-cr5ee2-container section ul > li > div,
.framer-cr5ee2-container .loovy-card-gallery-track > li > div {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    scroll-snap-align: center;
}

.framer-cr5ee2-container .loovy-card-gallery-track:focus-visible {
    outline: 2px solid var(--loovy-action);
    outline-offset: 4px;
}

/* Native client portal ---------------------------------------------------- */

html[data-source-theme="native"] {
    background: var(--loovy-bg);
    scroll-behavior: smooth;
}

body.loovy-ar-page {
    margin: 0;
    overflow-x: hidden;
    background: var(--loovy-bg) !important;
    color: var(--loovy-text);
    font-family: Arial, sans-serif;
    line-height: 1.75;
}

body.loovy-ar-page * {
    box-sizing: border-box;
}

.loovy-ar-main {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.loovy-ar-page-hero {
    padding: 92px 0 56px;
}

.loovy-ar-page-hero > span,
.loovy-ar-portal article > span {
    display: block;
    margin-bottom: 12px;
    color: var(--loovy-brand);
    font-size: 14px;
    font-weight: 700;
}

.loovy-ar-page-hero h1 {
    max-width: 850px;
    margin: 0;
    color: var(--loovy-text);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.loovy-ar-page-hero p {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--loovy-muted);
    font-size: 20px;
}

.loovy-ar-grid {
    display: grid;
    gap: 18px;
}

.loovy-ar-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.loovy-ar-portal {
    padding-bottom: 92px;
}

.loovy-ar-portal article {
    padding: 32px;
    border: 1px solid var(--loovy-border);
    border-radius: 20px;
    background: var(--loovy-surface);
    box-shadow: var(--loovy-shadow);
}

.loovy-ar-portal article h2 {
    margin: 10px 0;
    color: var(--loovy-text);
    font-size: 26px;
}

.loovy-ar-portal article p {
    color: var(--loovy-muted);
}

.loovy-ar-portal button {
    width: 100%;
    min-height: 48px;
    margin-top: 28px;
    border: 0;
    border-radius: 12px;
    background: var(--loovy-hover);
    color: var(--loovy-muted);
    font: 700 14px/1 Arial, sans-serif;
    cursor: not-allowed;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1000px) {
    .loovy-header-inner {
        flex-wrap: wrap;
        gap: 10px 18px;
        padding: 10px 0;
    }

    .loovy-primary-nav {
        order: 3;
        width: 100%;
        margin: 0;
        padding: 6px 0 2px;
        overflow-x: auto;
    }

    .loovy-nav-tools {
        margin-inline-start: auto;
    }

    .loovy-footer-cta {
        align-items: flex-start;
        flex-direction: column;
        padding: 36px;
    }

    .loovy-footer-main {
        grid-template-columns: repeat(3, 1fr);
    }

    .loovy-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .loovy-header-inner,
    .loovy-ar-main {
        width: min(100% - 28px, 1180px);
    }

    .loovy-header-inner {
        min-height: 62px;
    }

    .loovy-brand {
        flex-basis: 90px;
        width: 90px;
        height: 42px;
    }

    .loovy-primary-nav {
        gap: 18px;
    }

    .loovy-primary-nav a {
        font-size: 14px;
    }

    .loovy-nav-icon {
        flex-basis: 31px;
        width: 31px;
        height: 31px;
    }

    .loovy-nav-icon svg {
        width: 16px;
        height: 16px;
    }

    .loovy-site-footer {
        padding: 48px 14px 24px;
    }

    .loovy-footer-cta {
        margin-bottom: 48px;
        padding: 28px 22px;
        border-radius: 18px;
    }

    .loovy-footer-actions {
        width: 100%;
    }

    .loovy-footer-actions a {
        flex: 1;
    }

    .loovy-footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 34px;
    }

    .loovy-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .loovy-ar-grid-2 {
        grid-template-columns: 1fr;
    }

    .loovy-ar-page-hero {
        padding-top: 64px;
    }

    .loovy-faq-answer {
        padding-inline: 16px;
    }

    .loovy-faq-open .loovy-faq-answer {
        padding: 4px 16px 17px;
    }
}

@media (max-width: 460px) {
    .loovy-footer-main {
        grid-template-columns: 1fr;
    }

    .loovy-footer-brand {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }

    .loovy-skip-link,
    .loovy-primary-nav a,
    .loovy-nav-icon,
    .loovy-footer-group a,
    .loovy-faq-answer,
    [data-loovy-faq-ready="true"],
    [data-loovy-faq-ready="true"] .framer-2utiwh-container {
        transition: none !important;
    }
}

/* Theme-aware footer and ecosystem badges -------------------------------- */

html[data-theme="light"] .loovy-site-footer {
    border-top-color: var(--loovy-border);
    background: #f0f0f4;
    color: var(--loovy-text);
}

html[data-theme="light"] .loovy-footer-cta {
    border-color: var(--loovy-border);
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 67, 143, 0.16), transparent 42%),
        linear-gradient(135deg, #fff, #eeeef3);
    box-shadow: 0 24px 70px rgba(26, 18, 50, 0.1);
}

html[data-theme="light"] .loovy-footer-cta span {
    color: var(--loovy-brand);
}

html[data-theme="light"] .loovy-footer-cta h2,
html[data-theme="light"] .loovy-footer-group strong {
    color: var(--loovy-text) !important;
}

html[data-theme="light"] .loovy-footer-cta p,
html[data-theme="light"] .loovy-footer-brand p {
    color: var(--loovy-muted) !important;
}

html[data-theme="light"] .loovy-button-secondary {
    border-color: var(--loovy-border);
    background: rgba(255, 255, 255, 0.72);
    color: var(--loovy-text) !important;
}

html[data-theme="light"] .loovy-footer-group a,
html[data-theme="light"] .loovy-footer-bottom a {
    color: var(--loovy-muted) !important;
}

html[data-theme="light"] .loovy-footer-group a:hover,
html[data-theme="light"] .loovy-footer-bottom a:hover {
    color: var(--loovy-text) !important;
}

html[data-theme="light"] .loovy-footer-bottom {
    border-top-color: var(--loovy-border);
    color: color-mix(in srgb, var(--loovy-muted) 78%, transparent);
}

.loovy-footer-brand {
    min-width: 0;
}

.loovy-footer-logo {
    width: 116px !important;
    height: 52px !important;
}

.loovy-connect {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
}

.loovy-connect-footer {
    justify-content: flex-end;
}

.loovy-social-icons,
.loovy-wallet-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.loovy-social-icon {
    position: relative;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    user-select: none;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.loovy-social-icon:hover {
    border-color: color-mix(in srgb, var(--loovy-action) 55%, var(--loovy-border));
    transform: translateY(-2px);
}

.loovy-social-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.loovy-social-icon svg .is-filled {
    fill: currentColor;
    stroke: none;
}

html[data-theme="light"] .loovy-social-icon {
    border-color: var(--loovy-border);
    background: rgba(255, 255, 255, 0.78);
    color: var(--loovy-text);
}

.loovy-wallet-badge {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.loovy-wallet-badge > span {
    display: grid;
    gap: 2px;
}

.loovy-wallet-badge small {
    color: color-mix(in srgb, currentColor 66%, transparent);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}

html[data-theme="light"] .loovy-wallet-badge {
    border-color: var(--loovy-border);
    background: rgba(255, 255, 255, 0.78);
    color: var(--loovy-text);
}

.loovy-wallet-badge b {
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.loovy-wallet-mark {
    width: 28px;
    height: 23px;
    flex: 0 0 28px;
    object-fit: contain;
}

.loovy-apple-wallet-mark > rect {
    fill: #fff;
    stroke: rgba(0, 0, 0, .18);
}

.loovy-apple-wallet-mark > path:not([class]) { stroke: rgba(0, 0, 0, .12); }
.loovy-apple-wallet-mark .wallet-red { fill: #ff3b5c; }
.loovy-apple-wallet-mark .wallet-blue { fill: #1689ff; }
.loovy-apple-wallet-mark .wallet-green { fill: #16bd72; }
.loovy-google-wallet-mark .g-blue { fill: #4285f4; }
.loovy-google-wallet-mark .g-green { fill: #34a853; }
.loovy-google-wallet-mark .g-yellow { fill: #fbbc04; }
.loovy-google-wallet-mark .g-red { fill: #ea4335; }

/* Footer v2 --------------------------------------------------------------- */

.loovy-footer-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    font-weight: 600;
}

html[data-theme="light"] .loovy-footer-trust { color: var(--loovy-muted); }
.loovy-footer-trust span { width: 7px; height: 7px; border-radius: 50%; background: #00c995; box-shadow: 0 0 0 4px rgba(0, 201, 149, .12); }

.loovy-footer-ecosystem {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

html[data-theme="light"] .loovy-footer-ecosystem { border-top-color: var(--loovy-border); }
.loovy-footer-ecosystem > div:first-child { display: grid; gap: 5px; }
.loovy-footer-ecosystem > div:first-child strong { color: inherit; font-size: 14px; }
.loovy-footer-ecosystem > div:first-child span { color: rgba(255, 255, 255, .5); font-size: 12px; }
html[data-theme="light"] .loovy-footer-ecosystem > div:first-child span { color: var(--loovy-muted); }

.loovy-footer-bottom { padding-top: 22px; }

@media (max-width: 760px) {
    .loovy-footer-ecosystem { align-items: flex-start; flex-direction: column; }
    .loovy-connect-footer { justify-content: flex-start; }
}

.loovy-gallery-controls button {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--loovy-border);
    border-radius: 50%;
    background: var(--loovy-surface);
    color: var(--loovy-text);
    font: 400 28px/1 Arial, sans-serif !important;
    cursor: pointer;
}

.loovy-gallery-controls button:hover {
    background: var(--loovy-hover);
}

/* Admin-managed client logos inside the original Framer hero slot. */
.loovy-client-showcase {
    display: none;
}

.framer-qpcrxw.hidden-1jl9o3x.loovy-client-slider-section {
    filter: none !important;
}

.framer-qpcrxw.hidden-1jl9o3x .framer-5feqdx-container.loovy-client-mounted {
    height: 46px !important;
    opacity: 1 !important;
    filter: none !important;
    overflow: hidden;
}

.framer-qpcrxw.hidden-1jl9o3x .framer-5feqdx-container > .loovy-client-showcase {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loovy-client-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.loovy-client-track {
    display: flex;
    width: max-content;
    min-width: 200%;
    height: 100%;
    animation: loovy-client-marquee 28s linear infinite;
    will-change: transform;
}

.loovy-client-showcase:hover .loovy-client-track,
.loovy-client-showcase:focus-within .loovy-client-track {
    animation-play-state: paused;
}

.loovy-client-set {
    display: flex;
    min-width: 50%;
    height: 100%;
    align-items: center;
    justify-content: space-around;
    gap: 52px;
    margin: 0;
    padding: 0 26px;
    list-style: none;
}

.loovy-client-logo {
    display: flex;
    width: 150px;
    height: 100%;
    flex: 0 0 150px;
    align-items: center;
    justify-content: center;
}

.loovy-client-logo img {
    display: block;
    width: 100%;
    max-width: 150px;
    max-height: 32px;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(1);
    opacity: 0.82;
}

@keyframes loovy-client-marquee {
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 800px) {
    .loovy-client-set {
        gap: 34px;
        padding-inline: 17px;
    }

    .loovy-client-logo {
        width: 120px;
        flex-basis: 120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .loovy-client-track {
        animation: none;
        transform: none;
    }
}

.img-fallback-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--loovy-text, #101014);
    background: var(--loovy-surface, #f8f9fa);
    border: 1px dashed var(--loovy-border, rgba(16, 16, 20, 0.18));
    border-radius: 0.375rem;
    max-width: 100%;
    word-break: break-word;
}
