/* ==========================================================================
   FOOD HACKERS LAB — SERVICES PAGE STYLES
   ========================================================================== */
html,
body {
    overflow-x: visible;
}

/* --------------------------------------------------------------------------
   GLOBAL / CONTAINER RESETS FOR SERVICES
   -------------------------------------------------------------------------- */
.services-page {
    background-color: transparent !important;
    color: var(--color-text-main);
    overflow-x: hidden;
}

.services-container {
    max-width: 1440px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 576px) {
    .services-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 992px) {
    .services-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Eyebrow badge / pill */
.services-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background-color: rgba(249, 180, 50, 0.12);
    border: 1px solid rgba(249, 180, 50, 0.3);
    border-radius: 50px;
    margin-bottom: 1rem;
}

.services-eyebrow .eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: inline-block;
}

.services-eyebrow .eyebrow-text {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: var(--fw-semibold, 600);
    color: var(--color-text-main);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   SECTION 1: HERO SECTION
   -------------------------------------------------------------------------- */
.services-hero-section {
    background-color: transparent !important;
    padding: 3.5rem 1.5rem 6.5rem;
    position: relative;
    overflow: hidden;
}

.services-hero-header {
    text-align: center;
    max-width: 1140px;
    margin: 0 auto 3rem;
}

.services-hero-eyebrow {
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: var(--fw-bold, 700);
    color: #222222;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
}

.services-hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: var(--fw-semibold, 600);
    line-height: 1.2;
    color: var(--color-text-main);
    letter-spacing: -0.015em;
    margin-bottom: 1.25rem;
}

.services-hero-title .highlight,
.how-work-title .highlight {
    color: var(--color-primary);
    display: inline;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--color-primary, #F9B432);
    font-weight: 300;
    margin-left: 2px;
    animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.services-hero-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    font-weight: var(--fw-regular, 400);
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 660px;
    margin: 0 auto;
}

/* Hero Media Banner */
.services-hero-media-wrapper {
    position: relative;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #f4f6f8;
}

.services-hero-media-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);
}

.services-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 28px;
}

/* --------------------------------------------------------------------------
   SECTION 2: VERTICAL TABS SERVICES SECTION (SCROLL-LOCKED PINNING)
   -------------------------------------------------------------------------- */
.services-tabs-section {
    position: relative;
    height: 480vh;
    /* Smooth, evenly spaced travel track */
    padding: 0;
    margin-top: 3.5rem;
    margin-bottom: 7.5rem;
    background-color: transparent !important;
}

.services-tabs-sticky-wrapper {
    position: sticky;
    top: 96px;
    height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    width: 100%;
    z-index: 20;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.services-section-title-left {
    font-family: var(--font-primary);
    font-size: clamp(1.85rem, 2.8vw, 2.4rem);
    font-weight: var(--fw-bold, 700);
    line-height: 1.2;
    color: #111111;
    letter-spacing: -0.015em;
    margin-bottom: 2rem;
}

/* Custom Premium Mobile Accordion (< 992px) */
.services-mobile-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.25rem;
}

.services-acc-item {
    background: #FFFFFF;
    border: 1.5px solid #F0EADB;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.services-acc-item.active,
.services-acc-item:hover {
    border-color: rgba(249, 180, 50, 0.6);
    box-shadow: 0 4px 20px rgba(249, 180, 50, 0.12);
}

.services-acc-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    background: #FAF5E9;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.25s ease, color 0.25s ease;
    box-shadow: none !important;
}

.services-acc-header:not(.collapsed) {
    background: #FAF2DD;
    border-bottom: 1.5px solid rgba(249, 180, 50, 0.35);
}

.services-acc-header .acc-header-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1;
    min-width: 0;
}

.services-acc-header .acc-num {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: var(--fw-bold, 700);
    color: var(--color-primary, #F9B432);
    line-height: 1;
    min-width: 32px;
}

.services-acc-header .acc-title {
    font-family: var(--font-primary);
    font-size: 0.98rem;
    font-weight: var(--fw-bold, 700);
    color: #1A1A1A;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}

.services-acc-header .acc-chevron {
    color: var(--color-primary-hover, #E09E20);
    font-size: 0.92rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: 0.75rem;
    flex-shrink: 0;
}

.services-acc-header:not(.collapsed) .acc-chevron {
    transform: rotate(180deg);
}

.services-acc-body {
    padding: 1.35rem 1.25rem 1.5rem;
    background: #FFFFFF;
}

.services-acc-body .tab-pane-heading {
    font-size: 1.22rem;
    line-height: 1.35;
    margin-bottom: 0.55rem;
    color: #111111;
}

.services-acc-body .tab-pane-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.15rem;
    color: #555555;
}

/* Desktop Vertical Tabs List (Left Column) */
.services-nav-list {
    border: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-right: 2rem;
    position: relative;
}

/* Smooth Floating Active Indicator (Orionix Style) */
.tab-active-indicator {
    position: absolute;
    left: 0;
    width: calc(100% - 2rem);
    background: #FAF5E9;
    border-left: 3.5px solid var(--color-primary, #F9B432);
    border-radius: 0;
    box-shadow: 0 4px 18px rgba(249, 180, 50, 0.12);
    pointer-events: none;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.2s ease;
    opacity: 0;
    will-change: transform, height;
}

.services-tab-btn {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    background: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(216, 216, 216, 0.6);
    padding: 1.25rem 1rem 1.25rem 1rem;
    font-family: var(--font-primary);
    text-decoration: none;
    transition: color 0.25s ease,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.25s ease;
    cursor: pointer;
    border-radius: 0;
    box-shadow: none !important;
    position: relative;
    z-index: 2;
}

.services-tab-btn:last-child {
    border-bottom: 1px solid rgba(216, 216, 216, 0.6);
}

.services-tab-btn .tab-num {
    font-family: var(--font-primary);
    font-size: 1.12rem;
    font-weight: var(--fw-bold, 700);
    color: #999999;
    min-width: 44px;
    display: inline-block;
    letter-spacing: -0.01em;
    transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-tab-btn .tab-title {
    font-family: var(--font-primary);
    font-size: 1.02rem;
    font-weight: var(--fw-medium, 500);
    color: #4A4A4A;
    line-height: 1.4;
    transition: color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-tab-btn:hover {
    transform: translateX(4px);
}

.services-tab-btn:hover .tab-title {
    color: #111111;
}

.services-tab-btn:hover .tab-num {
    color: var(--color-primary, #F9B432);
}

/* Active Tab State */
.services-tab-btn.active {
    transform: translateX(6px);
    border-bottom-color: transparent;
}

.services-tab-btn.active .tab-title {
    color: #111111;
    font-weight: var(--fw-bold, 700);
    transform: translateX(2px);
}

.services-tab-btn.active .tab-num {
    color: var(--color-primary, #F9B432);
    font-weight: var(--fw-bold, 700);
    transform: scale(1.1) translateX(2px);
}

/* Tab Content Display Area (Right Column - Always Top Aligned) */
.services-right-column {
    align-self: flex-start;
    position: sticky;
    top: 100px;
    transform: translateZ(0);
}

.services-tab-content-wrapper {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.25rem 0 0 1.5rem;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

@media (max-width: 991px) {
    .services-right-column {
        position: static;
        top: auto;
    }

    .services-tab-content-wrapper {
        padding: 0.5rem 0 0 0;
    }
}

/* Tab Content parent needs relative positioning for absolute panes */
#servicesVerticalTabContent {
    position: relative;
}

.services-tab-pane {
    display: none;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity;
}

.services-tab-pane.active.show,
.services-tab-pane.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    user-select: auto !important;
}

/* Dissolve-out: old pane fading out while overlapping the new pane */
.services-tab-pane.dissolve-out {
    display: flex !important;
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0 !important;
    pointer-events: none !important;
    user-select: none !important;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
}

/* New active pane fades in on top */
.services-tab-pane.active.show.dissolve-in {
    animation: dissolveIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    z-index: 2;
}

@keyframes dissolveIn {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-tab-pane.is-next,
.services-tab-pane.is-prev {
    display: none !important;
}

/* Service Tab Infographic Images */
.tab-infographic-block {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    /* Reduced to pull content closer if needed */
    width: 100%;
    position: relative;
}

.tab-infographic-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* Ultra-crisp rendering without blur or pixelation */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.tab-pane-heading {
    font-family: var(--font-primary);
    font-size: clamp(1.25rem, 1.6vw, 1.5rem);
    font-weight: var(--fw-bold, 700);
    color: #1A1A1A;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.tab-pane-desc {
    font-family: var(--font-primary);
    font-size: 0.98rem;
    font-weight: var(--fw-regular, 400);
    color: #4A4A4A;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 640px;
}

/* Infographic / Flow Pills & Properly Aligned Arrows */
.tab-flow-block {
    display: none !important;
}

.tab-flow-pills-list {
    display: none !important;
}

.flow-pill {
    display: none !important;
}

/* Static flow pills - no pop/entrance animation */
.services-tab-pane.active .flow-pill {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.flow-arrow-icon {
    display: none !important;
}

.flow-dot {
    color: #269B54;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 0.25rem;
}

/* --------------------------------------------------------------------------
   SECTION 3: FOUR WAYS TO WORK WITH US
   -------------------------------------------------------------------------- */
.services-how-we-work-section {
    padding: 6.5rem 0 5.5rem;
    background-color: transparent !important;
    position: relative;
}

.how-work-eyebrow {
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: var(--fw-bold, 700);
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.how-work-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary, #F9B432);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.how-work-header {
    max-width: 840px;
    margin: 0 auto 2.75rem;
}

.how-work-title {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 3.4vw, 3rem);
    font-weight: var(--fw-bold, 700);
    color: #111111;
    text-align: center;
    margin-bottom: 0.85rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.how-work-title .highlight {
    color: var(--color-primary, #F9B432);
    display: inline;
}

.how-work-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(1.02rem, 1.25vw, 1.18rem);
    color: #4B5158;
    text-align: center;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 740px;
    font-weight: 400;
}

/* 4 Quick Model Selector Pills */
.how-work-pills-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem 1.1rem;
    max-width: 1240px;
    margin: 0 auto 3.25rem;
}

.how-work-pill-btn {
    background: #FFFFFF;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    padding: 0.45rem 1.4rem 0.45rem 0.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    outline: none;
}

.how-work-pill-btn .pill-btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #181B1E;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.how-work-pill-btn .pill-btn-num {
    font-family: var(--font-primary);
    font-size: 0.78rem;
    font-weight: var(--fw-bold, 700);
    color: #888888;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.how-work-pill-btn .pill-btn-text {
    font-family: var(--font-primary);
    font-size: 0.96rem;
    font-weight: var(--fw-bold, 700);
    color: #111111;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.how-work-pill-btn .pill-btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: #666666;
    font-size: 0.68rem;
    margin-left: 0.15rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.how-work-pill-btn:hover,
.how-work-pill-btn.active {
    background: #F9B432;
    border-color: #F9B432;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(249, 180, 50, 0.35);
}

.how-work-pill-btn:hover .pill-btn-icon,
.how-work-pill-btn.active .pill-btn-icon {
    background: #111111;
    color: #F9B432;
}

.how-work-pill-btn:hover .pill-btn-num,
.how-work-pill-btn.active .pill-btn-num {
    color: #111111;
}

.how-work-pill-btn:hover .pill-btn-text,
.how-work-pill-btn.active .pill-btn-text {
    color: #111111;
}

.how-work-pill-btn:hover .pill-btn-arrow {
    background: #111111;
    color: #F9B432;
    transform: translateY(2px);
}

.how-work-pill-btn.active .pill-btn-arrow {
    background: #111111;
    color: #F9B432;
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   INTERACTIVE MODEL PANELS (HIDDEN BY DEFAULT, OPENS ON HOVER / CLICK)
   -------------------------------------------------------------------------- */
.how-work-panels-wrapper {
    display: none;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
}

.how-work-panels-wrapper.is-open {
    display: block;
    animation: howWorkPanelSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

.how-work-panel {
    display: none;
    background: #FFFFFF;
    border-radius: 24px;
    border: 2px solid #F9B432;
    box-shadow: 0 24px 60px rgba(249, 180, 50, 0.22), 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.how-work-panel.active {
    display: block;
}

.panel-card-inner {
    padding: 2.5rem 2.75rem;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2.75rem;
    align-items: start;
}

.panel-left-col {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding-right: 2.5rem;
}

.panel-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.panel-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #F9B432;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 20px rgba(249, 180, 50, 0.3);
}

.panel-num-label {
    font-family: var(--font-primary);
    font-size: 1.45rem;
    font-weight: var(--fw-bold, 700);
    color: #F9B432;
    letter-spacing: 0.04em;
}

.panel-model-title {
    font-family: var(--font-primary);
    font-size: 1.45rem;
    font-weight: var(--fw-bold, 700);
    color: #111111;
    line-height: 1.25;
    margin-bottom: 1.15rem;
}

.panel-quote-box {
    background: #F8F9FA;
    border-left: 3.5px solid #F9B432;
    border-radius: 0 10px 10px 0;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.35rem;
}

.panel-quote-text {
    font-family: var(--font-primary);
    font-size: 0.94rem;
    font-style: italic;
    color: #2B2F35;
    line-height: 1.45;
    margin: 0;
    font-weight: 500;
}

.panel-takeaway-box {
    background: rgba(249, 180, 50, 0.1);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px dashed rgba(249, 180, 50, 0.45);
}

.panel-takeaway-box .takeaway-tag {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #B87600;
    margin-bottom: 0.25rem;
}

.panel-takeaway-box .takeaway-text {
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: var(--fw-bold, 700);
    color: #1A1D20;
    margin: 0;
    line-height: 1.4;
}

.panel-action-wrap {
    margin-top: auto;
}

.panel-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.85rem 1.4rem;
    background: #111111;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 0.92rem;
    font-weight: var(--fw-bold, 700);
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.25s ease;
}

.panel-cta-btn i {
    color: #F9B432;
    transition: transform 0.25s ease;
}

.panel-cta-btn:hover {
    background: #F9B432;
    color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 180, 50, 0.35);
}

.panel-cta-btn:hover i {
    color: #111111;
    transform: translateX(4px);
}

.panel-right-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.panel-deliverables-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: var(--fw-bold, 700);
    color: #111111;
    margin-bottom: 1.25rem;
}

.panel-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.panel-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: #444A52;
    line-height: 1.5;
}

.panel-feature-list .feat-bullet {
    color: #F9B432;
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: -0.15rem;
}

/* --------------------------------------------------------------------------
   MOBILE ACCORDION FOR SECTION 3 (< 992px)
   Clean, touch-friendly native accordion with quick-dock clearance
   -------------------------------------------------------------------------- */
.how-work-mobile-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.75rem 0 2.5rem;
    /* padding-right: 48px; */
}

.how-work-acc-item {
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.how-work-acc-item.active {
    border-color: #F9B432;
    box-shadow: 0 8px 24px rgba(249, 180, 50, 0.18);
}

.how-work-acc-header {
    width: 100%;
    background: #FFFFFF;
    border: none;
    padding: 0.95rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
    outline: none;
}

.how-work-acc-item.active .how-work-acc-header {
    background: rgba(249, 180, 50, 0.06);
}

.how-work-acc-header .acc-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.how-work-acc-header .acc-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #111111;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.how-work-acc-item.active .acc-icon-badge {
    background: #F9B432;
    color: #111111;
}

.how-work-acc-header .acc-num {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: var(--fw-bold, 700);
    color: #888888;
    letter-spacing: 0.04em;
}

.how-work-acc-item.active .acc-num {
    color: #F9B432;
}

.how-work-acc-header .acc-title {
    font-family: var(--font-primary);
    font-size: 0.98rem;
    font-weight: var(--fw-bold, 700);
    color: #111111;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
}

.how-work-acc-header .acc-chevron {
    color: #F9B432;
    font-size: 0.95rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.how-work-acc-header:not(.collapsed) .acc-chevron {
    transform: rotate(180deg);
}

.how-work-acc-body {
    padding: 1.25rem 1.15rem 1.4rem;
    background: #FFFFFF;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.how-work-acc-body .acc-quote-box {
    background: #F8F9FA;
    border-left: 3.5px solid #F9B432;
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1.15rem;
}

.how-work-acc-body .acc-quote-text {
    font-family: var(--font-primary);
    font-size: 0.86rem;
    font-style: italic;
    color: #2C3036;
    line-height: 1.45;
    margin: 0;
    font-weight: 500;
}

.how-work-acc-body .acc-deliverables-title {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: var(--fw-bold, 700);
    color: #111111;
    margin-bottom: 0.75rem;
}

.how-work-acc-body .acc-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.how-work-acc-body .acc-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: #4A5056;
    line-height: 1.42;
}

.how-work-acc-body .feat-bullet {
    color: #F9B432;
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: -0.1rem;
}

.how-work-acc-body .acc-takeaway-box {
    background: rgba(249, 180, 50, 0.1);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 1.15rem;
    border: 1px dashed rgba(249, 180, 50, 0.4);
}

.how-work-acc-body .takeaway-tag {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #B87600;
    margin-bottom: 0.2rem;
}

.how-work-acc-body .takeaway-text {
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: var(--fw-bold, 700);
    color: #1A1D20;
    margin: 0;
    line-height: 1.35;
}

.how-work-acc-body .acc-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1.1rem;
    background: #111111;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 0.86rem;
    font-weight: var(--fw-bold, 700);
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.25s ease;
}

.how-work-acc-body .acc-cta-btn i {
    color: #F9B432;
    transition: transform 0.25s ease;
}

.how-work-acc-body .acc-cta-btn:hover,
.how-work-acc-body .acc-cta-btn:active {
    background: #F9B432;
    color: #111111;
}

.how-work-acc-body .acc-cta-btn:hover i,
.how-work-acc-body .acc-cta-btn:active i {
    color: #111111;
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   SECTION 4: FINAL CTA BANNER SECTION (SAME BACKGROUND AS HOME PAGE)
   -------------------------------------------------------------------------- */
.services-cta-section {
    padding: 2.5rem 0 5.5rem;
    background-color: transparent !important;
}

.services-cta-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    padding: 5.5rem 2rem;
    background-color: #F9B432;
    box-shadow: 0 20px 50px rgba(249, 180, 50, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 330px;
}

.services-cta-wrapper .cta-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    opacity: 0.95;
}

.services-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.services-cta-heading {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 500;
    color: #1A1A1A;
    line-height: 1.15;
    margin: 0 0 2rem;
    letter-spacing: -0.01em;
}

.services-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 42px;
    background-color: #1F1F1F;
    color: #FFFFFF;
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    font-weight: 500;
    border-radius: 999px;
    text-decoration: none;
    transition: all var(--transition-base, 0.25s ease-in-out);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.services-cta-btn:hover {
    background-color: #000000;
    color: var(--color-primary, #F9B432);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------------------
   RESPONSIVE ADJUSTMENTS (ALL BREAKPOINTS & DEVICES)
   -------------------------------------------------------------------------- */

/* Tablet Landscape & Laptops (992px to 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .services-hero-section {
        padding: 3rem 1.5rem 2.5rem;
    }

    .services-nav-list {
        padding-right: 1.25rem;
    }

    .services-tab-btn {
        padding: 1rem 0.25rem 1rem 0;
    }

    .services-tab-btn .tab-num {
        min-width: 36px;
        font-size: 1.05rem;
    }

    .services-tab-btn .tab-title {
        font-size: 0.95rem;
    }

    .how-work-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Tablet Portrait & Large Mobile (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .services-hero-section {
        padding: 2.75rem 1.5rem 2.25rem;
    }

    .services-hero-header {
        margin-bottom: 2.25rem;
    }

    .services-hero-title {
        font-size: clamp(2rem, 4.5vw, 2.6rem);
    }

    .services-hero-subtitle {
        font-size: 1.05rem;
        max-width: 600px;
    }

    .services-hero-media-wrapper {
        height: 280px !important;
        border-radius: 20px !important;
    }

    .services-hero-img {
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 20px !important;
    }

    .services-tabs-section {
        height: auto !important;
        padding: 3.5rem 0 3.5rem;
    }

    .services-tabs-sticky-wrapper {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        display: block !important;
    }

    .services-right-column {
        position: static;
        top: auto;
    }

    .services-tab-content-wrapper {
        padding: 0.75rem 0 0 0;
    }

    .tab-flow-pills-list {
        gap: 0.6rem 0.45rem;
    }

    .flow-pill {
        font-size: 0.8rem;
        padding: 0.35rem 0.95rem;
    }

    .services-how-we-work-section {
        padding: 3.5rem 0 3rem;
    }

    .how-work-title {
        font-size: 2.3rem;
        margin-bottom: 2.25rem;
    }

    .how-work-badges-container {
        gap: 1rem 1.25rem;
    }

    .how-work-pill {
        padding: 0.35rem 1.4rem 0.35rem 0.35rem;
    }

    .services-cta-section {
        padding: 2rem 0 4rem;
    }

    .services-cta-wrapper {
        padding: 4.5rem 1.5rem;
        border-radius: 24px;
        min-height: 300px;
    }

    .services-cta-heading {
        font-size: 2.3rem;
    }
}

/* Mobile Devices (< 768px) */
@media (max-width: 767.98px) {
    .services-hero-section {
        padding: 2.25rem 1rem 2rem;
    }

    .services-hero-header {
        margin-bottom: 1.75rem;
    }

    .services-hero-eyebrow {
        font-size: 0.8rem;
        margin-bottom: 0.65rem;
    }

    .services-hero-title {
        font-size: clamp(1.85rem, 7vw, 2.35rem);
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .services-hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .services-hero-media-wrapper {
        height: 280px !important;
        border-radius: 20px !important;
    }

    .services-hero-img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 20px !important;
    }

    .services-tabs-section {
        height: auto !important;
        padding: 1.75rem 0 0 !important;
        margin-top: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .services-tabs-sticky-wrapper {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        display: block !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .services-tab-pane {
        margin-bottom: 1rem !important;
    }

    .tab-flow-block {
        margin-bottom: 0 !important;
    }

    .services-section-title-left {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
        text-align: center;
    }

    .services-mobile-accordion {
        margin-bottom: 2rem;
        gap: 0.75rem;
    }

    .services-acc-header {
        padding: 0.95rem 1.1rem;
        border-radius: 14px;
    }

    .services-acc-header .acc-num {
        font-size: 1.02rem;
        min-width: 28px;
    }

    .services-acc-header .acc-title {
        font-size: 0.92rem;
    }

    .services-acc-body {
        padding: 1.15rem 1rem 1.25rem;
    }

    .services-right-column {
        position: static;
        top: auto;
    }

    /* Mobile: Only show the currently active tab, hide next/previous previews */
    .services-tab-pane.is-next,
    .services-tab-pane.is-prev {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .services-tab-content-wrapper {
        padding: 0;
    }

    .tab-infographic-block {
        overflow: hidden;
        width: 100%;
        padding-bottom: 0;
    }

    .tab-infographic-img {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        object-fit: contain;
    }

    .tab-pane-heading {
        font-size: 1.3rem;
        line-height: 1.35;
        margin-bottom: 0.65rem;
    }

    .tab-pane-desc {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1.35rem;
    }

    .tab-flow-pills-list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem 0.35rem;
    }

    .flow-pill {
        font-size: 0.78rem;
        padding: 0.38rem 0.95rem;
        white-space: normal;
        text-align: left !important;
        max-width: 100%;
        word-break: break-word;
    }

    .flow-arrow-icon {
        font-size: 0.72rem;
        margin: 0 0.1rem;
    }

    .services-how-we-work-section {
        padding: 3.5rem 0 3.5rem !important;
    }

    .how-work-eyebrow {
        font-size: 0.8rem;
        margin-bottom: 0.55rem;
    }

    .how-work-title {
        font-size: clamp(1.8rem, 6.5vw, 2.3rem);
        margin-bottom: 0.65rem;
    }

    .how-work-subtitle {
        font-size: 0.96rem;
        margin-bottom: 2rem;
    }

    .how-work-pills-nav {
        gap: 0.65rem;
        margin-bottom: 2.25rem;
    }

    .how-work-pill-btn {
        padding: 0.38rem 1.15rem 0.38rem 0.45rem;
    }

    .how-work-pill-btn .pill-btn-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .how-work-pill-btn .pill-btn-num {
        font-size: 0.74rem;
    }

    .how-work-pill-btn .pill-btn-text {
        font-size: 0.88rem;
    }

    .panel-card-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1.25rem;
    }

    .panel-left-col {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 1.5rem;
    }

    .panel-model-title {
        font-size: 1.25rem;
    }

    .services-cta-section {
        padding: 1.75rem 0 3.5rem;
    }

    .services-cta-wrapper {
        padding: 3.5rem 1.25rem;
        border-radius: 20px;
        min-height: 260px;
    }

    .services-cta-heading {
        font-size: clamp(1.55rem, 6vw, 2.1rem);
        margin-bottom: 1.5rem;
    }

    .services-cta-btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* Extra Small Screens & Foldables (<= 375px) */
@media (max-width: 375px) {
    .services-hero-title {
        font-size: 1.65rem;
    }

    .services-acc-header .acc-title {
        font-size: 0.88rem;
    }

    .services-acc-header .acc-num {
        font-size: 0.95rem;
    }

    .tab-pane-heading {
        font-size: 1.18rem;
    }

    .how-work-pill .pill-text {
        font-size: 0.9rem;
    }

    .services-cta-heading {
        font-size: 1.45rem;
    }
}