/* ============================================================
   FinLegit Premium Frontend — ADC-inspired advanced UI
   ============================================================ */

:root {
    --fl-primary: #6C5CE7;
    --fl-primary-dark: #7C5CFF;
    --fl-primary-light: #7B8EE8;
    --fl-gradient-primary: linear-gradient(135deg, #7B8EE8 0%, #7C5CFF 100%);
    --fl-dark: #2D2645;
    --fl-dark-2: #3D3558;
    --fl-accent: #C9A84C;
    --fl-text: #2D2645;
    --fl-muted: #6A6478;
    --fl-light: #F8F7FC;
    --fl-surface: #FFFFFF;
    --fl-radius: 16px;
    --fl-shadow: 0 20px 60px rgba(20, 15, 45, .08);
    --fl-transition: .5s cubic-bezier(.22, 1, .36, 1);
    --header-offset: 116px;
}

/* ── Site Header — ADC-style floating pill ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 24px;
    pointer-events: none;
    transition: padding 0.35s ease;
    box-sizing: border-box;
}

.header-pill {
    pointer-events: all;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 10px 40px rgba(20, 15, 45, 0.14), 0 2px 8px rgba(20, 15, 45, 0.06);
    padding: 8px 16px 8px 22px;
    box-sizing: border-box;
    transition: box-shadow 0.35s ease, padding 0.35s ease;
}

.header-pill-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 20px;
    min-height: 56px;
    width: 100%;
}

.header-pill-inner>.logo {
    grid-column: 1;
    justify-self: start;
}

.header-pill-inner>.header-nav {
    grid-column: 2;
    justify-self: center;
}

.header-pill-inner>.header-actions {
    grid-column: 3;
    justify-self: end;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fl-primary), #8b6fff);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-wordmark {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--fl-primary);
    letter-spacing: -0.2px;
    line-height: 1.2
    ;
    text-transform: lowercase;
}

/* Center nav */
.header-nav {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.site-header .nav-links {
    display: flex;
    align-items: center;
    gap: 4px !important;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header .nav-links>li {
    position: relative;
}

.site-header .nav-link,
.site-header .dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #2a2438 !important;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 10px;
    transition: color 0.25s ease, background 0.25s ease;
}

.site-header .nav-link::after,
.site-header .dropdown-trigger::after {
    display: none !important;
}

.site-header .nav-link:hover,
.site-header .dropdown-trigger:hover,
.site-header .dropdown:hover .dropdown-trigger {
    color: var(--fl-primary) !important;
    background: rgba(107, 78, 255, 0.07);
}

.site-header .nav-chevron {
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.site-header .dropdown:hover .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Phone pill button (ADC style) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: var(--fl-gradient-primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
    transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
}

.header-phone-btn:hover {
    background: var(--fl-gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(108, 92, 231, .35);
}

/* CTA pill with arrow circle */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 7px 7px 20px;
    background: var(--fl-gradient-primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
    transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
}

.header-cta-btn:hover {
    background: var(--fl-gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(108, 92, 231, .35);
}

.header-cta-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fl-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .35s ease;
}

.header-cta-btn:hover .header-cta-icon {
    transform: rotate(-45deg);
}

.header-cta-icon svg {
    stroke: #fff;
}

/* Hide old nav-cta if referenced elsewhere */
.site-header .nav-cta {
    display: none !important;
}

.site-header .menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(107, 78, 255, 0.2);
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    flex-shrink: 0;
}

.site-header .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--fl-dark) !important;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.site-header .dropdown-menu {
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(-14px) scale(0.97);
    width: 360px;
    max-width: min(360px, 92vw);
    max-height: 520px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    gap: 0;
    padding: 0;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #faf9ff 100%);
    border: 1px solid rgba(107, 78, 255, 0.12);
    box-shadow:
        0 28px 80px rgba(45, 38, 69, 0.18),
        0 8px 24px rgba(107, 78, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.65s;
    z-index: 200;
}

.site-header .dropdown-menu::before {
    top: -6px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-left: 1px solid rgba(107, 78, 255, 0.12);
    border-top: 1px solid rgba(107, 78, 255, 0.12);
    box-shadow: -2px -2px 8px rgba(107, 78, 255, 0.06);
}

.site-header .dropdown:hover .dropdown-menu,
.site-header .dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-menu-top,
.dropdown-menu-bottom {
    list-style: none;
    flex-shrink: 0;
}

.dropdown-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(107, 78, 255, 0.08);
    background: linear-gradient(135deg, rgba(107, 78, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
}

.dropdown-menu-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fl-primary);
    margin-bottom: 4px;
}

.dropdown-menu-title {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--fl-dark);
    line-height: 1.2;
}

.dropdown-menu-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--fl-primary), #8b6fff);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(107, 78, 255, 0.35);
}

.site-header .dropdown-service-group {
    list-style: none;
    margin: 0 10px;
    border-radius: 14px;
    transition: background 0.45s ease, box-shadow 0.45s ease;
}

.site-header .dropdown-service-group+.dropdown-service-group {
    margin-top: 4px;
}

.site-header .dropdown-service-group.open {
    background: rgba(107, 78, 255, 0.05);
    box-shadow: inset 0 0 0 1px rgba(107, 78, 255, 0.1);
}

.dropdown-service-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px;
    border: none;
    border-radius: 12px;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #2d2645;
    text-align: left;
    cursor: pointer;
    transition:
        background 0.45s ease,
        color 0.45s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.dropdown-service-trigger.is-link {
    text-decoration: none;
}

.dropdown-service-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.dropdown-service-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(107, 78, 255, 0.1);
    color: var(--fl-primary);
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.45s ease, color 0.45s ease, transform 0.45s ease;
}

.dropdown-service-name {
    line-height: 1.35;
    white-space: normal;
}

.dropdown-service-trigger:hover,
.dropdown-service-group.open>.dropdown-service-trigger {
    color: var(--fl-primary);
}

.dropdown-service-trigger:hover .dropdown-service-num,
.dropdown-service-group.open>.dropdown-service-trigger .dropdown-service-num {
    background: var(--fl-primary);
    color: #fff;
    transform: scale(1.05);
}

.dropdown-service-chevron-wrap {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(107, 78, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.45s ease, transform 0.45s ease;
}

.dropdown-service-chevron {
    opacity: 0.7;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.dropdown-service-group.open .dropdown-service-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-service-group.open .dropdown-service-chevron-wrap {
    background: rgba(107, 78, 255, 0.16);
}

.dropdown-submenu {
    list-style: none;
    margin: 0;
    padding: 0 8px 0 42px;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition:
        max-height 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease,
        visibility 0.55s ease,
        padding 0.55s ease;
}

.dropdown-service-group.open>.dropdown-submenu {
    max-height: 360px !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding-bottom: 10px;
}

.site-header .dropdown-submenu .dropdown-sublink {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    margin: 2px 0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--fl-muted) !important;
    white-space: normal;
    position: relative;
    transition:
        background 0.45s ease,
        color 0.45s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .dropdown-submenu .dropdown-sublink::before {
    width: 6px;
    height: 6px;
    background: rgba(107, 78, 255, 0.25);
    transition: background 0.45s ease, transform 0.45s ease;
}

.site-header .dropdown-submenu .dropdown-sublink:hover {
    color: var(--fl-primary) !important;
    background: rgba(107, 78, 255, 0.08);
    transform: translateX(4px);
}

.site-header .dropdown-submenu .dropdown-sublink:hover::before {
    background: var(--fl-primary);
    transform: scale(1.2);
}

.dropdown-menu-bottom {
    padding: 12px 14px 14px;
    border-top: 1px solid rgba(107, 78, 255, 0.08);
    background: linear-gradient(180deg, transparent, rgba(107, 78, 255, 0.04));
}

.dropdown-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    border-radius: 14px;
    background: var(--fl-gradient-primary);
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(108, 92, 231, .35);
    transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
}

.dropdown-menu-cta:hover {
    background: var(--fl-gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(108, 92, 231, .40);
}

/* Scrollable service list area */
.site-header .dropdown-menu {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(107, 78, 255, 0.35) transparent;
}

.site-header .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.site-header .dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(107, 78, 255, 0.28);
    border-radius: 999px;
}

.site-header .dropdown-menu>.dropdown-service-group {
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header .dropdown:hover .dropdown-menu>.dropdown-service-group,
.site-header .dropdown.active .dropdown-menu>.dropdown-service-group {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.site-header .dropdown-menu>.dropdown-service-group:nth-child(2) {
    transition-delay: 0.05s;
}

.site-header .dropdown-menu>.dropdown-service-group:nth-child(3) {
    transition-delay: 0.09s;
}

.site-header .dropdown-menu>.dropdown-service-group:nth-child(4) {
    transition-delay: 0.13s;
}

.site-header .dropdown-menu>.dropdown-service-group:nth-child(5) {
    transition-delay: 0.17s;
}

.site-header .dropdown-menu>.dropdown-service-group:nth-child(6) {
    transition-delay: 0.21s;
}

.site-header .dropdown-menu>.dropdown-service-group:nth-child(7) {
    transition-delay: 0.25s;
}

.site-header .dropdown-menu>.dropdown-service-group:nth-child(8) {
    transition-delay: 0.29s;
}

.site-header .dropdown-menu>.dropdown-service-group:nth-child(9) {
    transition-delay: 0.33s;
}

.site-header .dropdown-menu>.dropdown-service-group:nth-child(10) {
    transition-delay: 0.37s;
}

.site-header .dropdown-menu>.dropdown-service-group:nth-child(11) {
    transition-delay: 0.41s;
}

.site-header .dropdown-menu>.dropdown-service-group:nth-child(12) {
    transition-delay: 0.45s;
}

.site-header .dropdown-submenu li {
    opacity: 1 !important;
    transform: none !important;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Mobile services accordion */
.mobile-service-group {
    border-bottom: 1px solid #f0edf9;
}

.mobile-service-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 0;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #2d2645;
    text-align: left;
    cursor: pointer;
}

.mobile-service-link {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 600;
    color: #2d2645;
}

.mobile-service-chevron {
    font-size: 11px;
    opacity: 0.5;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-service-group.open .mobile-service-chevron {
    transform: rotate(180deg);
}

.mobile-service-submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 10px 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease,
        padding 0.55s ease;
}

.mobile-service-group.open .mobile-service-submenu {
    max-height: 400px;
    opacity: 1;
    padding-bottom: 12px;
}

.mobile-service-submenu .service-link {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    color: #6a6478;
}

/* Scrolled — slightly tighter pill */
.site-header.scrolled {
    padding: 12px 20px;
}

.site-header.scrolled .header-pill {
    box-shadow: 0 6px 28px rgba(20, 15, 45, 0.12);
    padding: 6px 8px 6px 18px;
}

.site-header.scrolled .header-pill-inner {
    min-height: 52px;
}

/* Mobile menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 13, 31, 0.55);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f0edf9;
}

.mobile-menu-header .logo-wordmark {
    color: var(--fl-primary);
    font-size: 20px;
}

.mobile-contact-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    background: var(--fl-light);
    border-radius: 12px;
    margin-bottom: 16px;
}

.mobile-contact-bar a {
    font-size: 13px;
    color: var(--fl-muted);
    text-decoration: none;
}

.mobile-contact-bar a:first-child {
    font-weight: 600;
    color: var(--fl-dark);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--fl-light);
    border-radius: 50%;
    font-size: 22px;
    color: var(--fl-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mobile-cta-item {
    padding-top: 16px !important;
    border-bottom: none !important;
}

.mobile-nav-cta {
    width: 100%;
    justify-content: center;
}

/* Header — large screens */
@media (min-width: 1400px) {
    .site-header {
        padding: 20px 32px;
    }

    .header-pill {
        max-width: 1320px;
        padding: 10px 20px 10px 26px;
    }

    .header-pill-inner {
        column-gap: 28px;
        min-height: 58px;
    }
}

/* Header responsive */
@media (max-width: 1320px) {
    .site-header {
        padding: 16px 20px;
    }

    .header-pill {
        padding: 8px 10px 8px 18px;
    }

    .header-pill-inner {
        column-gap: 14px;
    }

    .site-header .nav-link,
    .site-header .dropdown-trigger {
        padding: 9px 10px;
        font-size: 13px;
    }
}

@media (max-width: 1240px) {
    :root {
        --header-offset: 100px;
    }

    .header-phone-btn {
        display: none !important;
    }

    .site-header .nav-link,
    .site-header .dropdown-trigger {
        padding: 8px 9px;
        font-size: 13px;
    }
}

@media (max-width:1100px) {
    :root {
        --header-offset: 92px;
    }

    .header-pill-inner {
        display: flex;
        justify-content: space-between;
        column-gap: 0;
    }

    .header-pill-inner>.logo,
    .header-pill-inner>.header-nav,
    .header-pill-inner>.header-actions {
        grid-column: auto;
        justify-self: auto;
    }

    .header-nav {
        display: none;
    }

    .site-header .menu-toggle {
        display: flex;
    }

    .header-cta-text {
        display: none;
    }

    .header-cta-btn {
        padding: 7px;
    }
}

@media (max-width: 960px) {
    .site-header {
        padding: 12px 14px;
    }

    .header-pill {
        padding: 8px 10px 8px 16px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 10px 12px;
    }

    .header-pill-inner {
        min-height: 48px;
    }

    .logo-wordmark {
        font-size: 17px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
        font-size: 11px;
    }
}

/* Utility */
.hide-mobile {
    display: inline-flex;
}

@media (max-width: 960px) {
    .hide-mobile {
        display: none !important;
    }
}

/* ── Hero Slider ── */
.hero-slider {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    overflow: visible;
    background: var(--fl-light);
    margin-top: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.hero-slide.active {
    position: relative;
    inset: auto;
    min-height: 100vh;
    min-height: 100svh;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
    transition: opacity 0.6s ease, visibility 0s linear 0s;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
    z-index: 0;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 28, 60, 0.35) 0%, rgba(60, 70, 120, 0.22) 55%, rgba(150, 170, 255, 0.18) 100%);
    z-index: 1;
}

.hero-slide-overlay.light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(238, 240, 250, 0.35) 60%, rgba(107, 78, 255, 0.08) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: calc(var(--header-offset) + 32px) 24px 88px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.hero-slide-content.centered {
    text-align: center;
}

.hero-slide-content .hero-badge {
    margin-left: auto;
    margin-right: auto;
    flex-shrink: 0;
}

.hero-slide-content .hero-desc {
    margin-left: auto;
    margin-right: auto;
}

.hero-slide-content .hero-actions {
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e8e0ff;
    margin-bottom: 24px;
}

.hero-slide.light-slide .hero-badge {
    background: rgba(107, 78, 255, 0.1);
    color: var(--fl-primary);
    border-color: rgba(107, 78, 255, 0.22);
}

.hero-slide h1 {
    font-family: 'Playfair Display', serif;
    font-size:clamp(44px,4.2vw,52px);
    font-weight: 600;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 auto 24px;
    max-width: 820px;
    width: 100%;
    text-align: center;
}

.hero-slide.light-slide h1 {
    color: var(--fl-dark);
}

.hero-slide h1 em {
    font-style: italic;
    color: #c8d4ff;
}

.hero-slide.light-slide h1 em {
    color: var(--fl-primary);
}

.hero-slide .hero-desc {
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    width: 100%;
    margin: 0 auto 36px;
    text-align: center;
}

.hero-slide.light-slide .hero-desc {
    color: var(--fl-muted);
}

.hero-slide:not(.active) .hero-slide-content,
.hero-slide:not(.active) .hero-slide-bg,
.hero-slide:not(.active) .hero-slide-overlay {
    visibility: hidden;
}

.hero-slide.active .hero-slide-content,
.hero-slide.active .hero-slide-bg,
.hero-slide.active .hero-slide-overlay {
    visibility: visible;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--fl-transition);
}

.btn-premium-primary {
    background: var(--fl-gradient-primary);
    color: #fff;
    box-shadow: 0 12px 26px rgba(108, 92, 231, .35);
}

.btn-premium-primary:hover {
    background: var(--fl-gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(108, 92, 231, .40);
}

.btn-premium-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .45);
}

.btn-premium-outline:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

.hero-slide.light-slide .btn-premium-outline {
    color: var(--fl-dark);
    border-color: rgba(45, 38, 69, .22);
}

.hero-slide.light-slide .btn-premium-outline:hover {
    border-color: var(--fl-primary);
    color: var(--fl-primary);
    background: rgba(107, 78, 255, .06);
}

/* Slider controls */
.hero-controls {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
}

.hero-controls .hero-dot {
    pointer-events: all;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--fl-transition);
}

.hero-slider.on-light-slide .hero-dot {
    background: rgba(107, 78, 255, 0.25);
}

.hero-dot.active {
    width: 32px;
    border-radius: 5px;
    background: linear-gradient(90deg, #8b9cf5, #a8b8ff);
}

.hero-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    pointer-events: none;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    max-width: 1280px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.hero-arrow {
    pointer-events: all;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all var(--fl-transition);
}

.hero-slider.on-light-slide .hero-arrow {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(107, 78, 255, 0.15);
    color: var(--fl-primary);
    box-shadow: 0 4px 20px rgba(107, 78, 255, 0.1);
}

.hero-arrow:hover {
    background: linear-gradient(135deg, #8b9cf5, #a8b8ff);
    border-color: #8b9cf5;
    transform: scale(1.08);
}

/* ── Stats Strip ── */
.stats-strip {
    background: var(--fl-primary);
    padding: 0;
    position: relative;
    z-index: 5;
    margin-top: -1px;
}

.stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    padding: 40px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background var(--fl-transition);
}

.stat-item:hover::before {
    background: rgba(255, 255, 255, 0.06);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number .suffix {
    font-size: 0.6em;
    color: rgba(255, 255, 255, 0.7);
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fl-primary);
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 12px;
}

.section-tag::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--fl-primary);
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3.8vw, 46px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--fl-dark);
    margin: 0 0 16px;
}

.section-header h2 em {
    font-style: italic;
    color: var(--fl-primary);
}

.section-header p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--fl-muted);
    margin: 0;
}

/* ── About Preview ── */
.about-preview {
    padding: 110px 24px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.about-preview::before {
    content: "";
    position: absolute;
    top: -220px;
    right: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, .08), transparent 70%);
    pointer-events: none;
}

.about-preview-grid {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Image */

.about-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: var(--fl-radius);
    background: var(--fl-gradient-primary);
    border: 1px solid rgba(124, 92, 255, .12);
    box-shadow: var(--fl-shadow);
    transition:
        transform .45s cubic-bezier(.22, 1, .36, 1),
        box-shadow .45s ease;
}

.about-image-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(45, 38, 69, .12);
}

.about-image-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-image-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 42px;
    background: linear-gradient(to top, rgba(45, 38, 69, .72) 0%, rgba(45, 38, 69, .18) 55%, transparent 100%);
}

.about-image-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 8px;
}

.about-image-content p {
    max-width: 420px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .82);
    margin: 0;
}

/* Content */

.about-content .section-tag {
    text-align: left;
}

.about-content .section-tag::after {
    left: 0;
    transform: none;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.3px;
    color: var(--fl-dark);
    margin: 0 0 22px;
}

.about-content>p {
    max-width: 670px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--fl-muted);
    margin: 0 0 36px;
}

/* Vision Mission */

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.vm-card {
    padding: 28px;
    background: var(--fl-light);
    border: 1px solid rgba(124, 92, 255, .10);
    border-left: 4px solid var(--fl-primary-solid);
    border-radius: 14px;
    transition:
        transform .45s cubic-bezier(.22, 1, .36, 1),
        box-shadow .45s ease,
        border-color .35s ease,
        background .35s ease;
}

.vm-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 92, 255, .25);
    background: #fff;
    box-shadow: 0 20px 48px rgba(45, 38, 69, .08);
}

.vm-card h4 {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .12em;
    text-transform: uppercase;

    color: var(--fl-primary-solid);
}

.vm-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--fl-muted);
}

/* ── Services Cards ── */

.services-premium {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--fl-light) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.services-premium::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 92, 231, .08), transparent 70%);
    pointer-events: none;
}

.services-cards-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(108, 92, 231, .10);
    border-radius: var(--fl-radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    transition: all var(--fl-transition);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--fl-gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--fl-transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--fl-shadow);
    border-color: rgba(108, 92, 231, .22);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(108, 92, 231, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--fl-primary);
    transition: all var(--fl-transition);
}

.service-card:hover .service-card-icon {
    background: var(--fl-gradient-primary);
    color: #fff;
    transform: scale(1.05);
}

.service-card-num {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: rgba(108, 92, 231, .08);
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--fl-dark);
}

.service-card h3 a {
    color: inherit;
    transition: color var(--fl-transition);
}

.service-card h3 a:hover {
    color: var(--fl-primary);
}

.service-card p {
    margin: 0 0 20px;
    color: var(--fl-muted);
    font-size: 14px;
    line-height: 1.75;
    flex: 1;
    word-break: normal;
    overflow-wrap: break-word;
}

.service-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.service-card-tags span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(108, 92, 231, .08);
    color: var(--fl-primary);
    font-size: 11px;
    font-weight: 600;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--fl-primary);
    transition: gap var(--fl-transition), color var(--fl-transition);
}

.service-card-link:hover {
    color: var(--fl-primary-dark);
}

.service-card:hover .service-card-link {
    gap: 10px;
}

.services-view-all {
    margin-top: 48px;
    text-align: center;
}

/* ── Practice Areas Tabs ── */
.practice-premium {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--fl-light) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.practice-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(108, 92, 231, .08), transparent 50%);
    pointer-events: none;
}

.practice-premium .section-header h2 {
    color: var(--fl-dark);
}

.practice-premium .section-header p {
    color: var(--fl-muted);
}

.practice-premium .section-tag {
    color: var(--fl-primary);
}

.practice-premium .section-tag::after {
    background: var(--fl-primary);
}

.practice-tabs {
    max-width: 1280px;
    margin: 0 auto 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.practice-tab {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid rgba(108, 92, 231, .15);
    background: #fff;
    color: var(--fl-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--fl-transition);
}

.practice-tab:hover,
.practice-tab.active {
    background: var(--fl-gradient-primary);
    border-color: var(--fl-primary);
    color: #fff;
    box-shadow: 0 8px 22px rgba(108, 92, 231, .25);
}

.practice-panel {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: none;
    animation: fadeUp .5s ease;
}

.practice-panel.active {
    display: block;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.practice-panel h3 {
    margin: 0 0 16px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--fl-dark);
}

.practice-panel p {
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: var(--fl-muted);
}

/* ── Approach Features ── */
.approach-premium {
    padding: 100px 24px;
    background: #fff;
}

.approach-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.approach-card {
    padding: 36px 28px;
    background: var(--fl-light);
    border-radius: var(--fl-radius);
    text-align: center;
    transition: all var(--fl-transition);
    position: relative;
    overflow: hidden;
}

.approach-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--fl-primary);
    transition: height var(--fl-transition);
}

.approach-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fl-shadow);
    background: #fff;
}

.approach-card:hover::after {
    height: 4px;
}

.approach-num {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: rgba(107, 78, 255, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.approach-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--fl-dark);
    margin: 0 0 12px;
}

.approach-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--fl-muted);
    margin: 0;
}

/* ── Industries Grid ── */
.industries-premium {
    padding: 100px 24px;
    background: linear-gradient(180deg, #fff 0%, var(--fl-light) 100%);
}

.industries-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.industry-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(108, 92, 231, .10);
    transition: all var(--fl-transition);
}

.industry-card:hover {
    border-color: var(--fl-primary);
    transform: translateX(6px);
    box-shadow: 0 10px 28px rgba(108, 92, 231, .18);
}

.industry-card-num {
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: rgba(108, 92, 231, .20);
}

.industry-card h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--fl-dark);
}

/* ── Testimonials ── */
.testimonials-section {
    padding: 100px 24px;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 78, 255, 0.2), transparent);
}

.testimonials-section .section-header h2 {
    color: var(--fl-dark);
}

.testimonials-section .section-header p {
    color: var(--fl-muted);
}

.testimonials-section .section-tag {
    color: var(--fl-primary);
}

.testimonials-section .section-tag::after {
    background: var(--fl-primary);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    text-align: center;
    animation: fadeUp 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 2.5vw, 26px);
    font-style: italic;
    line-height: 1.6;
    color: var(--fl-dark);
    margin: 0 0 32px;
    position: relative;
    padding: 0 20px;
}

.testimonial-quote::before {
    content: "\201C";
    font-size: 80px;
    color: var(--fl-primary);
    opacity: 0.3;
    position: absolute;
    top: -30px;
    left: -10px;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.testimonial-author strong {
    font-size: 16px;
    color: var(--fl-dark);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--fl-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(107, 78, 255, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--fl-transition);
}

.testimonial-dot.active {
    background: var(--fl-primary);
    width: 24px;
    border-radius: 4px;
}

/* ── FAQ ── */
.faq-section {
    padding: 100px 24px;
    background: #fff;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid transparent;
    border-bottom: 1px solid rgba(108, 92, 231, .10);
    border-radius: 14px;
    transition:
        border-color .6s ease,
        box-shadow .6s ease,
        transform .6s ease,
        background-color .6s ease;
}

.faq-item:hover {
    border-color: rgba(108, 92, 231, .18);
    background: #fff;
    box-shadow: 0 12px 28px rgba(108, 92, 231, .10);
    transform: translateY(-1px);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--fl-dark);
    transition:
        color .5s ease,
        padding .35s ease;
}

.faq-question:hover {
    color: var(--fl-primary);
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(108, 92, 231, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--fl-primary);
    font-size: 18px;
    font-weight: 600;
    transition:
        background .45s cubic-bezier(.22, 1, .36, 1),
        color .45s cubic-bezier(.22, 1, .36, 1),
        transform .45s cubic-bezier(.22, 1, .36, 1);
}

.faq-item:hover .faq-icon {
    background: rgba(108, 92, 231, .14);
    transform: scale(1.08);
}

.faq-item.open {
    border-color: rgba(108, 92, 231, .20);
    background: #fff;
    box-shadow: 0 16px 36px rgba(108, 92, 231, .12);
}

.faq-item.open .faq-question {
    color: var(--fl-primary);
}

.faq-item.open .faq-icon {
    background: var(--fl-gradient-primary);
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition:
        max-height .55s cubic-bezier(.22, 1, .36, 1),
        padding .55s cubic-bezier(.22, 1, .36, 1);
}

.faq-item.open .faq-answer {
    padding: 0 24px 24px;
}

.faq-answer p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--fl-muted);
}

/* ── Contact Premium ── */
.contact-premium {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--fl-light) 0%, #fff 100%);
}

.contact-premium-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

/* Selected service detail (from header / form) */
.selected-service-detail {
    margin-top: 28px;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.selected-service-detail.highlight {
    animation: serviceHighlight 1.2s ease;
}

@keyframes serviceHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(107, 78, 255, 0.45);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(107, 78, 255, 0.2);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(107, 78, 255, 0);
    }
}

.selected-service-detail-inner {
    padding: 24px;
    background: linear-gradient(135deg, rgba(107, 78, 255, 0.08) 0%, rgba(107, 78, 255, 0.03) 100%);
    border: 1.5px solid rgba(107, 78, 255, 0.2);
    border-radius: 14px;
}

.selected-service-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fl-primary);
    margin-bottom: 10px;
}

.selected-service-detail h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--fl-dark);
    margin: 0 0 12px;
    line-height: 1.3;
}

.selected-service-detail p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--fl-muted);
    margin: 0 0 14px;
}

.selected-service-caps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.selected-service-caps li {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    background: #fff;
    color: var(--fl-primary);
    border-radius: 999px;
    border: 1px solid rgba(107, 78, 255, 0.15);
}

#service_type.service-selected {
    border-color: var(--fl-primary) !important;
    box-shadow: 0 0 0 3px rgba(107, 78, 255, 0.15) !important;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.contact-info-card{
    padding:24px;
    background:#fff;
    border-radius:12px;
    border:1px solid rgba(108,92,231,.10);

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.contact-info-card:hover {
    border-color: var(--fl-primary);
    box-shadow:0 8px 18px rgba(108,92,231,.10);
    transform:translateY(-2px);
}

.contact-info-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(108, 92, 231, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fl-primary);
    margin-bottom: 14px;
}

.contact-info-card h5 {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--fl-primary);
}

.contact-info-card p,
.contact-info-card a {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--fl-muted);
}

.contact-info-card a {
    color: var(--fl-dark);
    font-weight: 500;
    transition: color var(--fl-transition);
}

.contact-info-card a:hover {
    color: var(--fl-primary);
}

.contact-form-premium {
    background: #fff;
    border-radius: var(--fl-radius);
    padding: 40px;
    box-shadow: var(--fl-shadow);
    border: 1px solid rgba(108, 92, 231, .10);
}

.contact-form-premium h3 {
    margin: 0 0 8px;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--fl-dark);
}

.contact-form-premium .form-sub {
    margin-bottom: 28px;
    font-size: 14px;
    color: var(--fl-muted);
}

.contact-form-premium .form-group input,
.contact-form-premium .form-group select,
.contact-form-premium .form-group textarea {
    border: 1.5px solid #e8e4f4;
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color var(--fl-transition), box-shadow var(--fl-transition);
}

.contact-form-premium .form-group input:focus,
.contact-form-premium .form-group select:focus,
.contact-form-premium .form-group textarea:focus {
    outline: none;
    border-color: var(--fl-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, .15);
}

.submit-btn-premium {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: var(--fl-gradient-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .35s ease, transform .35s ease, box-shadow .35s ease;
}

.submit-btn-premium:hover {
    background: var(--fl-gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(108, 92, 231, .35);
}
/* ===========================================================
   PREMIUM FOOTER - PART 1
=========================================================== */

.site-footer{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at top right,rgba(107,78,255,.08),transparent 35%),
        linear-gradient(180deg,#17192d 0%,#0d1020 100%);
    border-top:1px solid rgba(255,255,255,.08);
}

.site-footer::before{
    content:"";
    position:absolute;
    inset:auto 0 0 0;
    top:0;
    height:1px;
    background:linear-gradient(90deg,
        transparent,
        rgba(107,78,255,.45),
        transparent);
}

.site-footer::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-240px;
    transform:translateX(-50%);
    width:620px;
    height:380px;
    border-radius:50%;
    background:radial-gradient(circle,
        rgba(107,78,255,.10),
        transparent 72%);
    pointer-events:none;
}

.footer-inner{
    position:relative;
    z-index:2;
    max-width:1280px;
    margin:auto;
     padding:70px 35px 12px;
}

/* ===================== GRID ===================== */

.footer-top{

    display:grid;

    grid-template-columns:
        minmax(300px,2fr)
        repeat(4,minmax(150px,1fr));

    gap:38px;

    align-items:flex-start;

    padding-bottom:40px;

}

/* ===================== BRAND ===================== */

.footer-brand{
    max-width:340px;
}

.footer-logo{
    margin-bottom:22px;
}

.footer-logo img{
    height:40px;
    width:auto;
}

.footer-logo-text{

    font-family:'Playfair Display',serif;

    font-size:34px;

    font-weight:700;

    color:#ffffff;

}

.footer-brand p{

    margin:0;

    color:#9fa4bf;

    font-size:15px;

    line-height:1.9;

}

/* ===================== COLUMN ===================== */

.footer-col{
    min-width:0;
}

.footer-col h5{

    position:relative;

    margin:0 0 24px;

    color:#ffffff;

    font-size:12px;

    font-weight:600;

    letter-spacing:.18em;

    text-transform:uppercase;

}

.footer-col h5::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-10px;

    width:28px;

    height:2px;

    border-radius:20px;

    background:#6b4eff;

}

/* ===================== LINKS ===================== */

.footer-col ul{

    margin:0;

    padding:0;

    list-style:none;

}

.footer-col ul li{

    margin-bottom:15px;

}

.footer-col ul li:last-child{

    margin-bottom:0;

}

.footer-col ul li a{

    color:#9095b2;

    font-size:15px;

    line-height:1.75;

    text-decoration:none;


}

.footer-col ul li a::after{
    display:none;
}

.footer-col ul li a:hover,
.footer-col ul li a:focus-visible{

    color:#ffffff;

}

/* =========================================================
   FOOTER BOTTOM
========================================================= */

/* ===========================
   Footer Bottom
=========================== */

.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;

    margin:0;
    padding:18px 0 8px;

    border-top:1px solid rgba(255,255,255,.08);
}

.footer-copyright{
    color:#8b90a8;
    font-size:13px;
    line-height:1.6;
    margin:0;
}

.footer-legal{
    display:flex;
    align-items:center;
    gap:24px;
}

.footer-legal a{
    color:#8b90a8;
    font-size:13px;
    text-decoration:none;
}

.footer-legal a:hover{
    color:#8b90a8;
}

/* Remove all underline animation */

.footer-legal a::after{
    display:none;
}

/* =========================================================
   SOCIAL
========================================================= */

.footer-social{

    display:flex;

    align-items:center;

    gap:14px;

    margin-top:30px;

}

.footer-social a{

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    text-decoration:none;

    color:#9ea4c4;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    transition:
        color .35s ease,
        border-color .35s ease,
        background .35s ease;

}

.footer-social a:hover{

    color:#ffffff;

    border-color:rgba(107,78,255,.45);

    background:rgba(107,78,255,.16);

}
.footer-contact{
    list-style:none;
    margin:0;
    padding:0;
}

.footer-contact li{
    margin-bottom:18px;
}

.footer-contact li:last-child{
    margin-bottom:0;
}

.footer-contact a{
    display:flex;
    align-items:flex-start;
    gap:12px;
    color:#9095b2;
    text-decoration:none;
    line-height:1.7;
    transition:color .3s ease;
}

.footer-contact a:hover{
    color:#ffffff;
}

.footer-contact i{
    color:#7c5cff;
    font-size:15px;
    width:18px;
    margin-top:4px;
    flex-shrink:0;
}

.footer-contact span{
    flex:1;
}
/* =========================================================
   TABLET
========================================================= */

@media (max-width:1200px){

    .footer-top{

        grid-template-columns:
            minmax(260px,2fr)
            repeat(2,minmax(180px,1fr));

        gap:32px;

    }

}

/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width:992px){

    .footer-inner{

        padding:72px 30px 42px;

    }

    .footer-top{

        grid-template-columns:repeat(2,1fr);

        gap:30px;

    }

    .footer-brand{

        max-width:100%;

        grid-column:1/-1;

    }

    .footer-bottom{

        flex-direction:column;

        align-items:flex-start;

        gap:18px;

    }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:768px){

    .footer-inner{

        padding:60px 22px 34px;

    }

    .footer-top{

        grid-template-columns:1fr;

        gap:28px;

    }

    .footer-bottom{

        text-align:left;

    }

    .footer-legal{

        gap:16px;

    }

}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width:480px){

    .footer-inner{

        padding:52px 18px 28px;

    }

    .footer-logo-text{

        font-size:28px;

    }

    .footer-brand p{

        font-size:14px;

        line-height:1.8;

    }

    .footer-col h5{

        font-size:12px;

        letter-spacing:.16em;

    }

    .footer-col ul li{

        margin-bottom:12px;

    }

    .footer-col ul li a{

        font-size:14px;

    }

    .footer-copyright{

        font-size:13px;

    }

    .footer-legal{

        flex-direction:column;

        align-items:flex-start;

        gap:10px;

    }

}

/* =========================================================
   FADE
========================================================= */

.footer-brand,
.footer-col{

    animation:footerFade .8s ease;

}

@keyframes footerFade{

    from{

        opacity:0;

        transform:translateY(18px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ── CTA Banner ── */
.cta-banner {
    padding: 80px 24px;
    background: linear-gradient(135deg, #7c6aff 0%, #6b4eff 50%, #8b6fff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    color: #fff;
    margin: 0 0 16px;
}

.cta-banner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 32px;
    line-height: 1.7;
}

/* ── Reveal animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
}

@media (max-width: 768px) {
    .logo-wordmark {
        font-size: 20px;
    }

    .hero-slider {
        min-height: 100svh;
    }

    .hero-arrows {
        display: none;
    }

    .hero-slide-content {
        padding: calc(var(--header-offset) + 24px) 20px 80px;
    }

    .about-preview-grid,
    .contact-premium-grid,
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .services-cards-grid,
    .industries-grid,
    .approach-grid,
    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .stats-inner {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .hero-slide-content {
        padding: calc(var(--header-offset) + 24px) 20px 80px;
    }
}