/* ================================================================
   PREMIUM PARTNER SHOWCASE - High Clarity Single Row
   ================================================================ */
:root {
    --lg-bg: linear-gradient(120deg,#ffffff 0%,#f7fbff 45%,#f0f6ff 70%,#ffffff 100%);
    --lg-border: #cfd9e1;
    --lg-border-soft: #e3ecf3;
    --lg-text: #1f2f3c;
    --lg-dim: #5a6b7c;
    --lg-accent: #2f7ae5;
    --lg-focus: rgba(70,150,255,.42);
    --lg-card-bg: #ffffff;
    --lg-radius: 22px;
    --lg-logo-w: 170px;
    --lg-logo-h: 80px;
    --lg-gap: clamp(1.6rem,2.3vw,2.4rem);
    --lg-duration: 120s;
    --lg-max: 1700px;
    --lg-pad-x: clamp(.8rem,2.4vw,1.4rem);
    --lg-pad-y: clamp(1.3rem,3.4vw,1.9rem);
}

/* ===== Partner Showcase Section ===== */
.partner-showcase {
    max-width: var(--lg-max);
    margin: clamp(40px, 6vw, 80px) auto clamp(.9rem,2vw,1.3rem);
    padding: 0 var(--lg-pad-x);
    text-align: center;
}

.partner-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    margin: 0 0 1rem;
}

@media (min-width: 992px) {
    .partner-head { margin: 0 0 2.1rem; }
}

.partner-title {
    font-family: "Poppins", "Inter", system-ui, sans-serif;
    font-size: clamp(1.7rem, 3.6vw, 2.4rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: #1b4965;
    margin: 30px 0 1.5rem;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Eliminare completă linie/underline */
    text-decoration: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* Eliminare orice pseudo-element */
.partner-title::before,
.partner-title::after,
.partner-title-landing::before,
.partner-title-landing::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    border: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Global override for page titles inside t-hero (legal pages, FAQ, contact, etc.) */
.t-hero .partner-title,
.t-hero .partner-title-landing,
.t-hero .partner-title.partner-title-landing,
.t-hero #partnerShowcaseTitle,
.t-hero #partnerShowcaseTitle.partner-title,
.t-hero #partnerShowcaseTitle.partner-title.partner-title-landing {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

/* ===== Logo Strip (Marquee) ===== */
.logo-strip {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right,transparent,#000 6%,#000 94%,transparent);
    -webkit-mask-image: linear-gradient(to right,transparent,#000 6%,#000 94%,transparent);
    padding: .4rem 0;
    margin-bottom: 0;
}

.logos-track {
    display: flex;
    align-items: center;
    gap: var(--lg-gap);
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* The loop only starts once every logo is decoded, so a card can never scroll
   into view while it is still empty. */
.logo-strip.is-running .logos-track {
    animation: stripScroll var(--lg-duration) linear infinite;
    will-change: transform;
}

/* Paused off-screen, in background tabs, and while a visitor looks at a logo. */
.logo-strip.is-idle .logos-track { animation-play-state: paused; }

@media (hover: hover) {
    .logo-strip:hover .logos-track,
    .logo-strip:focus-within .logos-track { animation-play-state: paused; }
}

@keyframes stripScroll {
    from { transform: translate3d(0,0,0); }
    to { transform: translate3d(calc(var(--lg-loop,50%) * -1),0,0); }
}

.logo-card {
    width: var(--lg-logo-w);
    height: var(--lg-logo-h);
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--lg-border);
    border-radius: var(--lg-radius);
    padding: .55rem 1rem;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31,79,116,.08);
}

.logo-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity .35s ease;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    image-rendering: auto;
    filter: none;
}

/* Calm placeholder, only while the script waits for the logos. Without
   JavaScript the class is never added and the logos stay plainly visible. */
.logo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,#f5f9fd 18%,#e7eff7 38%,#f5f9fd 58%);
    background-size: 260% 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

.logo-strip.is-loading .logo-card::after {
    opacity: 1;
    animation: logoShimmer 1.5s ease-in-out infinite;
}

.logo-strip.is-loading .logo-card img { opacity: 0; }

@keyframes logoShimmer {
    from { background-position: 130% 0; }
    to { background-position: -30% 0; }
}

@media (prefers-reduced-motion: reduce) {
    /* No motion at all: the row stays put and can be scrolled by hand instead. */
    .logo-strip {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: .6rem;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .logo-strip .logos-track { animation: none; }
    .logo-card { transition: none; }
    .logo-strip.is-loading .logo-card::after { animation: none; }
}

@media (max-width: 780px) {
    :root {
        --lg-logo-w: 120px;
        --lg-logo-h: 60px;
        --lg-gap: 1.1rem;
    }
    .logo-strip { padding: .3rem 0; }
    .logo-card { padding: .45rem .7rem; }
}

/* ===== Larger Screen Adjustments ===== */
@media (min-width: 1400px) {
    :root {
        --lg-gap: 1.9rem;
        --lg-logo-w: 165px;
        --lg-logo-h: 78px;
    }
    .partner-title {
        font-size: 2.3rem;
        margin-top: 35px;
        margin-bottom: 40px;
    }
    .partner-title-landing {
        margin-top: 42px !important;
    }
    /* Override for page titles inside t-hero (legal pages, etc.) */
    .t-hero .partner-title,
    .t-hero .partner-title-landing,
    .t-hero .partner-title.partner-title-landing,
    .t-hero #partnerShowcaseTitle,
    .t-hero #partnerShowcaseTitle.partner-title.partner-title-landing {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }
    .register-cta__title {
        font-size: 3rem;
    }
}

@media (min-width: 1800px) {
    :root {
        --lg-gap: 2.2rem;
        --lg-logo-w: 170px;
        --lg-logo-h: 80px;
    }
}

/* Focus states */
.logo-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--lg-focus);
}

@media (prefers-color-scheme: dark) {
    :root { --lg-card-bg: #ffffff; }
}

/* ================================================================
   PREMIUM CTA SECTION - Register Call to Action
   ================================================================ */
.register-cta {
    position: relative;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
    isolation: isolate;
}

/* Background Layer */
.register-cta__background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.register-cta__gradient {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, #0d2b3e 0%, #1b4965 25%, #256d8a 50%, #1b4965 75%, #0d2b3e 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Subtle Particles */
.register-cta__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.register-cta__particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    animation: particleFloat 20s linear infinite;
}

.register-cta__particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 25s; }
.register-cta__particles span:nth-child(2) { left: 30%; top: 80%; animation-delay: 2s; animation-duration: 20s; }
.register-cta__particles span:nth-child(3) { left: 50%; top: 40%; animation-delay: 4s; animation-duration: 22s; }
.register-cta__particles span:nth-child(4) { left: 70%; top: 70%; animation-delay: 1s; animation-duration: 18s; }
.register-cta__particles span:nth-child(5) { left: 90%; top: 30%; animation-delay: 3s; animation-duration: 24s; }

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: .4; }
    50% { transform: translateY(-100px) translateX(30px) scale(1.5); opacity: .2; }
    90% { opacity: .4; }
    100% { transform: translateY(-200px) translateX(-30px) scale(1); opacity: 0; }
}

/* Content Layer */
.register-cta__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem;
    max-width: 700px;
}

/* Typography - Premium CTA Title */
.register-cta__title {
    font-family: "Poppins", "Inter", system-ui, sans-serif;
    font-size: clamp(2rem, 5.5vw, 3.2rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.2rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-shadow: 
        0 2px 10px rgba(0,0,0,.25),
        0 4px 30px rgba(66,161,217,.3);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    animation: ctaTitleFadeIn 0.8s ease-out;
}

@keyframes ctaTitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-cta__subtitle {
    font-family: "Inter", system-ui, sans-serif;
    font-size: clamp(1.05rem, 2.8vw, 1.25rem);
    font-weight: 400;
    color: rgba(255,255,255,.9);
    margin: 0 0 2.5rem;
    line-height: 1.65;
    max-width: 520px;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 8px rgba(0,0,0,.15);
    animation: ctaSubtitleFadeIn 0.8s ease-out 0.15s both;
}

@keyframes ctaSubtitleFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================================
   PREMIUM BUTTON - Cursor Following Glow Effect
   ================================================================ */
.register-cta__button {
    --btn-glow-x: 50%;
    --btn-glow-y: 50%;
    --btn-glow-opacity: 0;
    --btn-glow-size: 150px;
    
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 46px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    color: #1b4965;
    font-family: "Poppins", "Inter", system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-decoration: none;
    border-radius: 60px;
    border: 2px solid rgba(255,255,255,.5);
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: 
        transform 0.4s cubic-bezier(.23,1,.32,1),
        box-shadow 0.4s cubic-bezier(.23,1,.32,1),
        border-color 0.3s ease;
    box-shadow: 
        0 4px 20px rgba(27,73,101,.15),
        0 8px 40px rgba(27,73,101,.08);
    animation: ctaButtonFadeIn 0.8s ease-out 0.3s both;
}

@keyframes ctaButtonFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Cursor Following Glow Layer */
.register-cta__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle var(--btn-glow-size) at var(--btn-glow-x) var(--btn-glow-y),
        rgba(66, 161, 217, 0.4) 0%,
        rgba(27, 73, 101, 0.2) 40%,
        transparent 70%
    );
    opacity: var(--btn-glow-opacity);
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

/* Shine Sweep Effect */
.register-cta__button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.4) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

/* Hover State */
.register-cta__button:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: rgba(66,161,217,.4);
    box-shadow: 
        0 10px 30px rgba(27,73,101,.2),
        0 20px 50px rgba(66,161,217,.15),
        0 0 0 1px rgba(66,161,217,.1);
}

.register-cta__button:hover::before {
    --btn-glow-opacity: 1;
}

.register-cta__button:hover::after {
    left: 120%;
}

/* Active/Click State */
.register-cta__button:active {
    transform: translateY(-2px) scale(0.98);
    transition-duration: 0.1s;
    box-shadow: 
        0 4px 15px rgba(27,73,101,.15),
        0 8px 25px rgba(66,161,217,.1);
}

/* Button Text */
.register-cta__button-text {
    position: relative;
    z-index: 2;
    font-family: "Poppins", "Inter", system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    white-space: nowrap;
    color: #1b4965;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.register-cta__button:hover .register-cta__button-text {
    color: #0d3347;
    text-shadow: 0 1px 2px rgba(255,255,255,.5);
}

/* Button Icon */
.register-cta__button-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #1b4965;
    transition: 
        transform 0.4s cubic-bezier(.23,1,.32,1),
        color 0.3s ease;
}

.register-cta__button-icon svg {
    width: 100%;
    height: 100%;
}

.register-cta__button:hover .register-cta__button-icon {
    transform: translateX(6px);
    color: #0d3347;
}

/* Focus State for Accessibility */
.register-cta__button:focus-visible {
    outline: 3px solid #42a1d9;
    outline-offset: 4px;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .register-cta {
        min-height: 380px;
        margin-top: 60px;
    }
    
    .register-cta__content {
        padding: 2.5rem 1.25rem;
    }
    
    .register-cta__title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .register-cta__subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
    
    .register-cta__button {
        padding: 16px 34px;
        font-size: 1.02rem;
        gap: 10px;
    }
    
    .register-cta__button-icon {
        width: 18px;
        height: 18px;
    }
    
    .partner-title {
        font-size: 1.65rem;
        margin: 25px 0 1.2rem;
    }
}

@media (max-width: 480px) {
    .register-cta {
        min-height: 340px;
        margin-top: 50px;
    }
    
    .register-cta__content {
        padding: 2.2rem 1.2rem;
    }
    
    .register-cta__title {
        font-size: 1.7rem;
        letter-spacing: -0.02em;
        margin-bottom: 0.9rem;
    }
    
    .register-cta__subtitle {
        font-size: 1.2rem;
        line-height: 1.55;
        margin-bottom: 1.8rem;
    }
    
    .register-cta__button {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        box-sizing: border-box;
        justify-content: center;
    }
    
    .partner-title {
        font-size: 1.21rem;
        margin: 22px 0 1.1rem;
    }
}

/* ================================================================
   LOAD MORE BUTTON STYLING (Elfsight reviews widget)
   Hash free selectors so the design survives Elfsight bundle updates.
   Elfsight sets inline styles on the button, so overrides need !important.
   ================================================================ */
.es-load-more-button-container,
[class*="LoadMoreButton__Container"] {
    margin-top: 30px !important;
    margin-bottom: 8px !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Nothing may render under or around the button: no shadow, no glow, no blur layer */
.es-load-more-button-container *,
[class*="LoadMoreButton__Container"] * {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* The ellipsis element carries the button label. Keep it visible, only strip any shadow layer. */
.es-load-more-button [class*="ButtonBase__Ellipsis"],
.es-load-more-button .es-button-base-ellipsis {
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

button.es-load-more-button,
.es-load-more-button-container button {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 170px !important;
    height: 44px !important;
    padding: 0 28px !important;
    border: none !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #b45309 100%) !important;
    color: #ffffff !important;
    font-family: var(--ph-font, 'Plus Jakarta Sans'), 'DM Sans', system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    line-height: 1 !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: transform 0.25s ease, filter 0.25s ease !important;
}

button.es-load-more-button *,
.es-load-more-button-container button * {
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

button.es-load-more-button:hover,
.es-load-more-button-container button:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.06) !important;
    box-shadow: none !important;
}

button.es-load-more-button:active,
.es-load-more-button-container button:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: none !important;
}

button.es-load-more-button:focus-visible,
.es-load-more-button-container button:focus-visible {
    outline: 2px solid rgba(217, 119, 6, 0.6) !important;
    outline-offset: 3px !important;
}

@media (max-width: 480px) {
    button.es-load-more-button,
    .es-load-more-button-container button {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 280px !important;
        height: 44px !important;
        font-size: 15px !important;
    }
}

/* ================================================================
   REDUCED MOTION PREFERENCES
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    .register-cta__gradient {
        animation: none;
    }
    
    .register-cta__particles span {
        animation: none;
        opacity: .2;
    }
    
    .register-cta__button,
    .register-cta__button-icon,
    .logo-card {
        transition: none;
    }

    button.es-load-more-button,
    .es-load-more-button-container button {
        transition: none !important;
    }

    button.es-load-more-button:hover,
    .es-load-more-button-container button:hover {
        transform: none !important;
        filter: none !important;
    }
    
    .register-cta__title,
    .register-cta__subtitle,
    .register-cta__button {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .register-cta__button::after {
        display: none;
    }
}

/* Responsive safety layer (additive, small screens only, desktop unchanged) */
@media (max-width: 640px){ button.es-load-more-button, .es-load-more-button-container button { white-space: normal !important; overflow-wrap: anywhere; } }
