/**
 * Sobiztech — Urane-inspired dark SaaS theme (Laravel public site only).
 * Scope: body.ur-site …  Load after Bootstrap + app.css.
 *
 * Reusable classes:
 *   .ur-section          — vertical rhythm + optional top divider
 *   .ur-page-header      — inner page hero strip
 *   .ur-card             — dark panel card (services, blog, portfolio)
 *   .ur-glass            — glassmorphism testimonial / panels
 *   .ur-btn-primary      — neon glow primary CTA
 *   .ur-btn-outline       — subtle neon outline
 *   .ur-text-muted        — #a0a0a0 body secondary
 *   .ur-animate / .ur-visible — scroll fade-in
 */

body.ur-site {
    --ur-bg-deep: #0b0f19;
    --ur-bg-mid: #0f1629;
    --ur-panel: #111827;
    --ur-panel-2: #151f33;
    --ur-border: rgba(255, 255, 255, 0.08);
    --ur-border-glow: rgba(129, 140, 248, 0.28);
    --ur-text: #ffffff;
    --ur-muted: #9ca3af;
    --ur-accent: #6366f1;
    --ur-accent-2: #8b5cf6;
    /* Restrained glow — premium SaaS, not neon signage */
    --ur-glow-primary: 0 0 0 1px rgba(129, 140, 248, 0.22), 0 0 20px rgba(99, 102, 241, 0.14);
    --ur-glow-hover: 0 0 0 1px rgba(139, 92, 246, 0.28), 0 0 28px rgba(99, 102, 241, 0.2);
    --ur-radius: 14px;
    --ur-radius-sm: 10px;
    --ur-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ur-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    font-family: var(--ur-font);
    background-color: var(--ur-bg-deep);
    color: var(--ur-text);
    padding-top: 80px;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 991.98px) {
    body.ur-site {
        padding-top: 72px;
    }
}

/* Subtle grid + vignette (non-interactive layer) */
body.ur-site::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(ellipse 120% 80% at 50% -30%, rgba(99, 102, 241, 0.09), transparent 58%),
        radial-gradient(ellipse 90% 60% at 100% 20%, rgba(139, 92, 246, 0.06), transparent 52%),
        radial-gradient(ellipse 70% 50% at 0% 80%, rgba(59, 130, 246, 0.05), transparent 48%);
    background-size: 48px 48px, 48px 48px, auto, auto, auto;
}

/* Stack main/footer above the grid layer — do NOT set z-index on .ur-navbar or fixed nav sits under content */
body.ur-site > main,
body.ur-site > footer {
    position: relative;
    z-index: 1;
}

body.ur-site > .ur-navbar,
body.ur-site > nav.ur-navbar {
    z-index: 1060 !important;
}

.ur-site main {
    flex: 1 0 auto;
}

/* Full-width page content (Bootstrap .container is normally ~1140px; stretch to viewport) */
body.ur-site .container {
    max-width: 100% !important;
    width: 100%;
    padding-left: clamp(1rem, 4vw, 3rem);
    padding-right: clamp(1rem, 4vw, 3rem);
}

.ur-text-muted {
    color: var(--ur-muted) !important;
}

/* ---------- Navbar (full width; must beat legacy app.css) ---------- */
.navbar.ur-navbar,
nav.ur-navbar {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    background: rgba(11, 15, 25, 0.88) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ur-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
    transition: background-color 0.3s var(--ur-ease), border-color 0.3s var(--ur-ease), box-shadow 0.3s var(--ur-ease);
}

.ur-navbar--scrolled {
    background: rgba(11, 15, 25, 0.96) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
    border-bottom-color: rgba(129, 140, 248, 0.12);
}

.ur-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

/* Logo: never squash — preserve intrinsic aspect ratio */
.ur-navbar .ur-navbar-logo {
    width: auto;
    height: 44px;
    max-height: 48px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.ur-navbar .navbar-brand span {
    color: var(--ur-text);
    letter-spacing: -0.02em;
}

.ur-navbar .navbar-toggler {
    border-color: var(--ur-border);
    filter: invert(1);
}

/* Kill Bootstrap navbar-dark hover that can force white text on wrong bg */
.navbar.ur-navbar .nav-link,
.navbar.ur-navbar .nav-link:focus {
    color: var(--ur-muted) !important;
}

.ur-nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ur-muted) !important;
    padding: 0.5rem 0.85rem !important;
    border-radius: 999px;
    transition: color 0.3s var(--ur-ease), background-color 0.3s var(--ur-ease), box-shadow 0.3s var(--ur-ease);
}

.ur-nav-link:hover,
.ur-nav-link:focus:hover {
    color: #e0e7ff !important;
    background: rgba(99, 102, 241, 0.18) !important;
    box-shadow: none;
}

.ur-nav-link.is-active,
.ur-nav-link.is-active:hover {
    color: #ffffff !important;
    box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.22), 0 0 14px rgba(99, 102, 241, 0.12);
    background: rgba(99, 102, 241, 0.14) !important;
}

/* ---------- Buttons ---------- */
.ur-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 700;
    color: #fff !important;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, var(--ur-accent) 0%, var(--ur-accent-2) 100%);
    box-shadow: var(--ur-glow-primary);
    transition: transform 0.3s var(--ur-ease), box-shadow 0.3s var(--ur-ease), filter 0.3s var(--ur-ease);
}

.ur-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--ur-glow-hover);
    filter: brightness(1.04);
    color: #fff !important;
}

.ur-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 650;
    color: var(--ur-text) !important;
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    border: 1px solid rgba(129, 140, 248, 0.45);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.06);
    transition: transform 0.3s var(--ur-ease), box-shadow 0.3s var(--ur-ease), border-color 0.3s var(--ur-ease);
}

.ur-btn-outline:hover {
    transform: translateY(-1px);
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.12);
    color: #fff !important;
}

/* Map legacy primary buttons on marketing pages */
.ur-site .btn-primary {
    background: linear-gradient(135deg, var(--ur-accent), var(--ur-accent-2));
    border: none;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--ur-glow-primary);
    transition: transform 0.3s var(--ur-ease), box-shadow 0.3s var(--ur-ease);
}

.ur-site .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--ur-glow-hover);
    filter: brightness(1.04);
}

.ur-site .btn-outline-primary {
    color: #e5e7eb !important;
    border-color: rgba(129, 140, 248, 0.5);
    border-radius: 999px;
    font-weight: 650;
    background: transparent;
    transition: transform 0.3s var(--ur-ease), box-shadow 0.3s var(--ur-ease);
}

.ur-site .btn-outline-primary:hover {
    color: #fff !important;
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 0 18px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.ur-site .btn-outline-secondary {
    border-color: var(--ur-border);
    color: var(--ur-muted) !important;
    border-radius: 999px;
}

.ur-site .btn-outline-secondary:hover {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.ur-site .btn-light {
    background: #f8fafc;
    color: #0b0f19 !important;
    border-radius: 999px;
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.06);
}

.ur-site .btn-success {
    border-radius: 999px;
    font-weight: 650;
}

/* ---------- Sections / page chrome ---------- */
.ur-site .bg-light,
.ur-site .bg-white {
    background-color: transparent !important;
}

/* Single vertical rhythm (pairs with legacy .section-padding on marketing pages) */
.ur-section {
    padding-top: clamp(2.75rem, 5vw, 4rem);
    padding-bottom: clamp(2.75rem, 5vw, 4rem);
    border-top: 1px solid var(--ur-border);
}

@media (max-width: 767.98px) {
    .ur-section {
        padding-top: clamp(2.25rem, 5vw, 3rem);
        padding-bottom: clamp(2.25rem, 5vw, 3rem);
    }
}

/* Section intros — same type scale sitewide */
.ur-site .ur-section > .container > .row.mb-5:first-child .display-5,
.ur-site .ur-section > .container > .row.mb-5:first-child .display-6 {
    font-size: clamp(1.65rem, 2.5vw, 2.05rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 0.75rem !important;
}

.ur-site .ur-section > .container > .row.mb-5:first-child .lead {
    font-size: 1.0625rem;
    line-height: 1.65;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.ur-site .ur-section > .container > .row.mb-5:first-child {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem) !important;
}

/* First content block under fixed nav (inner pages, no hero carousel) */
body.ur-site main > section.section-padding.ur-section:first-of-type,
body.ur-site main > article.section-padding.ur-section:first-of-type {
    padding-top: clamp(2rem, 3.5vw, 2.75rem);
}

body.ur-site #heroCarousel + section.section-padding.ur-section:not(.ur-clients),
body.ur-site .ur-hero-slide + section.section-padding.ur-section:not(.ur-clients) {
    padding-top: clamp(2rem, 3.5vw, 2.75rem) !important;
}

/* Logo strip sits tight under hero (avoids huge gap before “Our clients”) */
body.ur-site #heroCarousel + .ur-clients.section-padding.ur-section,
body.ur-site .ur-hero-slide + .ur-clients.section-padding.ur-section {
    padding-top: clamp(0.85rem, 2vw, 1.35rem) !important;
    padding-bottom: clamp(1.1rem, 2.2vw, 1.75rem) !important;
}

body.ur-site .ur-page-header + .section-padding.ur-section {
    padding-top: clamp(1.5rem, 3vw, 2.25rem) !important;
}

.ur-page-centered {
    min-height: 65vh;
    display: flex;
    align-items: center;
}

.ur-page-header {
    padding-top: 6.75rem !important;
    padding-bottom: clamp(1.35rem, 2.5vw, 1.85rem) !important;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.95) 0%, rgba(11, 15, 25, 0.4) 100%) !important;
    border-bottom: 1px solid var(--ur-border);
}

.ur-page-header h1,
.ur-page-header .display-4 {
    color: var(--ur-text);
}

.ur-page-header .lead {
    color: var(--ur-muted) !important;
}

/* ---------- Cards ---------- */
.ur-site .card {
    background: var(--ur-panel);
    border: 1px solid var(--ur-border);
    border-radius: var(--ur-radius);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    color: var(--ur-text);
    transition: transform 0.3s var(--ur-ease), box-shadow 0.3s var(--ur-ease), border-color 0.3s var(--ur-ease);
}

.ur-site .card:hover {
    transform: translateY(-2px);
    border-color: rgba(129, 140, 248, 0.2);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(129, 140, 248, 0.08);
}

.ur-site .card .text-dark,
.ur-site .card h1,
.ur-site .card h2,
.ur-site .card h3,
.ur-site .card h4,
.ur-site .card h5,
.ur-site .card h6 {
    color: var(--ur-text) !important;
}

.ur-site .card .text-muted,
.ur-site .text-muted {
    color: var(--ur-muted) !important;
}

.ur-card-icon {
    display: inline-flex;
    padding: 0.85rem;
    border-radius: var(--ur-radius-sm);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(129, 140, 248, 0.14);
    color: #c7d2fe;
}

.ur-list-check {
    color: #a5b4fc;
    font-weight: 700;
}

.ur-site .badge.bg-primary {
    background: rgba(99, 102, 241, 0.25) !important;
    color: #e0e7ff !important;
    border: 1px solid rgba(129, 140, 248, 0.35);
    font-weight: 650;
}

/* ---------- Glass testimonials ---------- */
.ur-glass {
    background: rgba(17, 24, 39, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--ur-radius);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s var(--ur-ease), box-shadow 0.3s var(--ur-ease), border-color 0.3s var(--ur-ease);
}

.ur-glass:hover {
    transform: translateY(-2px);
    border-color: rgba(129, 140, 248, 0.22);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(129, 140, 248, 0.06);
}

/* ---------- Pricing highlight ---------- */
.ur-pricing-popular {
    position: relative;
    border: 1px solid rgba(129, 140, 248, 0.35) !important;
    box-shadow: var(--ur-glow-primary), 0 12px 40px rgba(0, 0, 0, 0.28) !important;
}

.ur-pricing-popular::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.08);
    opacity: 0.85;
}

.ur-pricing-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c4b5fd;
}

/* ---------- FAQ accordion ---------- */
.ur-site .accordion-item {
    background: var(--ur-panel);
    border: 1px solid var(--ur-border) !important;
    border-radius: var(--ur-radius-sm) !important;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.ur-site .accordion-button {
    background: rgba(255, 255, 255, 0.03);
    color: var(--ur-text);
    box-shadow: none !important;
}

.ur-site .accordion-button:not(.collapsed) {
    color: var(--ur-text);
    background: rgba(99, 102, 241, 0.12);
    box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.25);
}

.ur-site .accordion-button::after {
    filter: invert(1);
}

.ur-site .accordion-body {
    background: rgba(11, 15, 25, 0.35);
    color: var(--ur-muted);
}

/* ---------- Forms ---------- */
.ur-site .form-control,
.ur-site .form-select {
    background: rgba(15, 22, 41, 0.85);
    border: 1px solid var(--ur-border);
    color: var(--ur-text);
    border-radius: var(--ur-radius-sm);
}

.ur-site .form-control:focus,
.ur-site .form-select:focus {
    border-color: rgba(129, 140, 248, 0.4);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.12);
    background: rgba(15, 22, 41, 0.95);
    color: var(--ur-text);
}

.ur-site .form-label {
    color: #e5e7eb;
}

/* ---------- Pagination ---------- */
.ur-site .pagination .page-link {
    background: var(--ur-panel);
    border-color: var(--ur-border);
    color: var(--ur-muted);
    border-radius: var(--ur-radius-sm);
}

.ur-site .pagination .page-link:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(129, 140, 248, 0.35);
    color: #fff;
}

.ur-site .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--ur-accent), var(--ur-accent-2));
    border-color: transparent;
    box-shadow: var(--ur-glow-primary);
    color: #fff;
}

/* ---------- Hero (carousel + static) ---------- */
.ur-hero-carousel .carousel-inner {
    overflow: visible;
}

.ur-hero-slide {
    position: relative;
    min-height: min(68vh, 620px);
    display: flex;
    align-items: center;
    padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(2.25rem, 4vw, 3.25rem);
    background:
        radial-gradient(900px 500px at 15% 0%, rgba(99, 102, 241, 0.1), transparent 58%),
        radial-gradient(700px 420px at 90% 30%, rgba(139, 92, 246, 0.07), transparent 52%),
        linear-gradient(180deg, var(--ur-bg-mid) 0%, var(--ur-bg-deep) 100%);
    border-bottom: 1px solid var(--ur-border);
}

.ur-hero-kicker {
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #a5b4fc;
}

.ur-hero-title {
    font-size: clamp(2.1rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--ur-text);
}

.ur-hero-lead {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--ur-muted);
    max-width: 36rem;
}

.ur-hero-mock {
    border-radius: calc(var(--ur-radius) + 4px);
    border: 1px solid rgba(129, 140, 248, 0.16);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03);
    background: rgba(17, 24, 39, 0.55);
    overflow: hidden;
}

/* Abstract hero visual (replaces wireframe placeholder) */
.ur-hero-visual {
    min-height: min(52vw, 340px);
    aspect-ratio: 4 / 3;
    max-height: 420px;
    margin: 0 auto;
    border-radius: inherit;
    background:
        radial-gradient(ellipse 70% 55% at 22% 28%, rgba(99, 102, 241, 0.35), transparent 52%),
        radial-gradient(ellipse 60% 50% at 88% 72%, rgba(139, 92, 246, 0.28), transparent 48%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(59, 130, 246, 0.12), transparent 45%),
        linear-gradient(168deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    position: relative;
}

.ur-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 38%);
    pointer-events: none;
}

.ur-hero-mock img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: inherit;
}

@keyframes ur-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.ur-float {
    animation: ur-float 9s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .ur-float {
        animation: none !important;
    }
    .ur-site .card:hover,
    .ur-glass:hover,
    .ur-btn-primary:hover,
    .ur-btn-outline:hover,
    .ur-site .btn-primary:hover,
    .ur-site .btn-outline-primary:hover {
        transform: none !important;
    }
}

.ur-hero-carousel .carousel-control-prev,
.ur-hero-carousel .carousel-control-next {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid var(--ur-border);
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
}

.ur-hero-carousel .carousel-control-prev-icon,
.ur-hero-carousel .carousel-control-next-icon {
    filter: invert(1) brightness(1.1);
}

.ur-hero-carousel .carousel-indicators button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.ur-hero-carousel .carousel-indicators button.active {
    background: linear-gradient(135deg, var(--ur-accent), var(--ur-accent-2));
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.22);
}

/* Keep dots hugging hero bottom so they don’t sit in a sea of empty space */
.ur-hero-carousel .carousel-indicators {
    bottom: 0.65rem;
    margin-bottom: 0;
}

/* ---------- CTA banner ---------- */
.ur-cta-banner {
    position: relative;
    border-top: 1px solid var(--ur-border);
    border-bottom: 1px solid var(--ur-border);
    background:
        radial-gradient(800px 360px at 20% 50%, rgba(99, 102, 241, 0.1), transparent 62%),
        linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(11, 15, 25, 0.98));
    color: var(--ur-text);
}

.ur-cta-banner.section-padding {
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.ur-cta-banner .display-6 {
    font-size: clamp(1.55rem, 2.3vw, 1.95rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 1rem !important;
}

.ur-cta-banner .lead {
    color: var(--ur-muted) !important;
    font-size: 1.0625rem;
    line-height: 1.65;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.75rem !important;
}

/* ---------- Footer ---------- */
.ur-footer {
    background: linear-gradient(180deg, #0b0f19 0%, #05070d 100%);
    border-top: 1px solid rgba(129, 140, 248, 0.1);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
}

.ur-footer.section-padding {
    padding-top: clamp(2.5rem, 4vw, 3.25rem);
    padding-bottom: clamp(2rem, 3.5vw, 2.75rem);
}

.ur-footer h5 {
    font-size: 0.9375rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
    color: #e5e7eb;
}

.ur-footer a.text-muted:hover {
    color: #e5e7eb !important;
}

/* ---------- Stats row ---------- */
.ur-stat-num {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #c7d2fe, #e9d5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Scroll animation ---------- */
.ur-animate {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s var(--ur-ease), transform 0.55s var(--ur-ease);
}

.ur-animate.ur-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Article / prose ---------- */
.ur-site article .text-dark {
    color: var(--ur-text) !important;
}

.ur-site .blockquote,
.ur-site .blockquote-footer {
    color: var(--ur-muted);
}

/* Blog post HTML from CMS (TinyMCE): force readable light typography on dark bg */
.ur-site article .blog-content,
.ur-site article .blog-content p,
.ur-site article .blog-content li,
.ur-site article .blog-content td,
.ur-site article .blog-content th,
.ur-site article .blog-content blockquote,
.ur-site article .blog-content span:not([class*="badge"]) {
    color: #e5e7eb !important;
}

.ur-site article .blog-content h1,
.ur-site article .blog-content h2,
.ur-site article .blog-content h3,
.ur-site article .blog-content h4,
.ur-site article .blog-content h5,
.ur-site article .blog-content h6 {
    color: #ffffff !important;
}

.ur-site article .blog-content a {
    color: #a5b4fc !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ur-site article .blog-content a:hover {
    color: #c4b5fd !important;
}

.ur-site article .blog-content strong,
.ur-site article .blog-content b {
    color: #ffffff !important;
}

.ur-site article .blog-content blockquote {
    border-left: 3px solid rgba(129, 140, 248, 0.5);
    padding-left: 1rem;
}

.ur-site article h1.display-4 {
    color: #ffffff !important;
}

.ur-site article .border-top {
    border-color: var(--ur-border) !important;
}

/* ---------- Alerts ---------- */
.ur-site .alert {
    border-radius: var(--ur-radius-sm);
    border: 1px solid var(--ur-border);
}

/* First section after hero: avoid double divider */
#heroCarousel + .ur-section,
#heroCarousel + .ur-clients,
.ur-hero-slide + .ur-section,
.ur-hero-slide + .ur-clients {
    border-top: none;
}

/* ---------- Client logos (homepage) ---------- */
.ur-clients-kicker {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ur-muted);
    margin-bottom: 0.35rem;
}

/* When clients is not first after hero, keep modest padding */
.ur-clients.section-padding.ur-section {
    padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
    padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.ur-client-logo-link {
    min-height: 4.25rem;
    border-radius: var(--ur-radius-sm);
    transition: background-color 0.2s var(--ur-ease), box-shadow 0.2s var(--ur-ease), opacity 0.2s var(--ur-ease);
    opacity: 0.9;
    padding: 0.5rem 1rem !important;
}

.ur-client-logo-link:hover,
.ur-client-logo-link:focus-visible {
    opacity: 1;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.14);
    outline: none;
}

.ur-client-logo-img {
    max-height: 72px;
    width: auto;
    max-width: 220px;
    min-height: 40px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .ur-client-logo-img {
        max-height: 96px;
        max-width: 280px;
        min-height: 52px;
    }
}

@media (min-width: 1200px) {
    .ur-client-logo-img {
        max-height: 110px;
        max-width: 300px;
    }

    .ur-client-logo-link {
        min-height: 5.5rem;
    }
}

.ur-contact-whatsapp-prefer .card {
    background: rgba(17, 24, 39, 0.65);
    border: 1px solid var(--ur-border) !important;
}

.ur-contact-whatsapp-prefer h5 {
    color: var(--ur-text);
}

/* Inner pages: headings inherit light text even outside cards */
.ur-site main h1,
.ur-site main .display-4,
.ur-site main .display-5,
.ur-site main .display-6 {
    color: var(--ur-text);
}

.ur-site main .lead.text-muted {
    color: var(--ur-muted) !important;
}

/* Placeholders that still use Bootstrap bg-light inside dark cards */
.ur-site .card .bg-light {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Bootstrap “shadow-sm” reads as flat template on dark UI — one soft depth token */
body.ur-site .shadow-sm {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2) !important;
}
