/* ============================================
   Homepage — each section = distinct layer
   Alternating contrast + section-specific layout
   Scoped to .page-home
   ============================================ */

.page-home {
    background: #060101;
}

/* ── Shared tags ── */
.home-tag {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 100px;
    margin-bottom: 16px;
    color: var(--accent);
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.home-tag-dark {
    color: var(--secondary);
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.15);
}

.home-tag-red {
    color: var(--white);
    background: var(--secondary);
    border-color: var(--secondary);
}

.home-tag-light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

/* ═══════════════════════════════════════════
   2. CLIENTS — Light trust band
   ═══════════════════════════════════════════ */
.home-clients {
    padding: 72px 0;
    background: #f4f2f1;
    color: var(--primary);
    border-bottom: 1px solid #e8e4e2;
}

.home-clients-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.home-clients-intro h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.375rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 14px;
}

.home-clients-intro > p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 380px;
}

.home-clients-stats {
    display: flex;
    gap: 32px;
}

.home-clients-stats strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--secondary);
}

.home-clients-stats span {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-clients-marquees {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.home-marquee-row {
    display: flex;
    gap: 12px;
    width: max-content;
}

.home-marquee-row--fwd {
    animation: homeScrollFwd 40s linear infinite;
}

.home-marquee-row--rev {
    animation: homeScrollRev 45s linear infinite;
}

@keyframes homeScrollFwd {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes homeScrollRev {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.home-client-pill {
    flex-shrink: 0;
    padding: 12px 24px;
    background: var(--white);
    border: 1px solid #e2dedc;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(26, 5, 5, 0.04);
}

.home-client-pill:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.12);
}

/* ═══════════════════════════════════════════
   3. SERVICES — Dark horizontal catalog
   ═══════════════════════════════════════════ */
.home-services {
    padding: 100px 0;
    background: #0a0202;
    color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

.home-services-head {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 24px 40px;
    align-items: end;
    margin-bottom: 40px;
}

.home-services-head h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--white);
    margin: 0;
}

.home-services-desc {
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin: 0;
    align-self: center;
}

.home-services-all {
    white-space: nowrap;
    align-self: end;
}

.home-services-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 24px;
    padding: 8px 4px 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(220, 38, 38, 0.4) transparent;
}

.home-services-track::-webkit-scrollbar {
    height: 6px;
}

.home-services-track::-webkit-scrollbar-thumb {
    background: rgba(220, 38, 38, 0.4);
    border-radius: 100px;
}

.home-service-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s ease;
}

.home-service-card.is-featured {
    flex: 0 0 360px;
    background: linear-gradient(160deg, rgba(220, 38, 38, 0.14) 0%, rgba(255, 255, 255, 0.03) 50%);
    border-color: rgba(220, 38, 38, 0.3);
}

.home-service-card:hover {
    border-color: rgba(220, 38, 38, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.home-service-num {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
}

.home-service-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 3px 8px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    background: rgba(220, 38, 38, 0.15);
    border-radius: 4px;
}

.home-service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.12);
    border-radius: 12px;
    color: var(--accent);
    margin-bottom: 20px;
}

.home-service-icon svg {
    width: 22px;
    height: 22px;
}

.home-service-card h3 {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 8px;
}

.home-service-card > p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin-bottom: 16px;
}

.home-service-items {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    flex: 1;
}

.home-service-items li {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-service-items li::before {
    content: '→ ';
    color: var(--accent);
}

.home-service-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s;
}

.home-service-card:hover .home-service-link {
    color: var(--accent);
}

/* ═══════════════════════════════════════════
   4. PROCESS — Light timeline
   ═══════════════════════════════════════════ */
.home-process {
    padding: 88px 0;
    background: #fafafa;
    color: var(--primary);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.home-process-head {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 48px;
}

.home-process-head h2 {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    color: var(--primary);
    letter-spacing: -0.02em;
}

.home-process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    margin: 0;
    padding: 0;
    position: relative;
}

.home-process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent), var(--secondary));
    opacity: 0.25;
}

.home-process-step {
    position: relative;
    text-align: center;
    padding: 0 12px;
}

.home-process-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--white);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--secondary);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.12);
}

.home-process-step strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.home-process-step span {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.5;
    display: block;
}

/* ═══════════════════════════════════════════
   5. PRODUCTS — Warm shop showcase
   ═══════════════════════════════════════════ */
.home-products {
    padding: 100px 0;
    background: linear-gradient(180deg, #f9f6f3 0%, #f3eeea 100%);
    color: var(--primary);
}

.home-products-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 48px;
    align-items: end;
    margin-bottom: 48px;
}

.home-products-head h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--primary);
    margin: 0;
}

.home-products-head > p {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
    align-self: center;
}

.home-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e8e2dd;
    box-shadow: 0 4px 20px rgba(26, 5, 5, 0.06);
    transition: all 0.35s ease;
}

.home-product-card.is-spotlight {
    grid-column: span 1;
    border-color: var(--secondary);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.15);
}

.home-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(26, 5, 5, 0.12);
}

.home-product-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.home-product-visual {
    height: 160px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 16px;
}

.home-product-type {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
}

.home-product-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.home-product-body {
    padding: 22px;
}

.home-product-pricing {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--secondary);
}

.home-product-body h3 {
    font-size: 1.0625rem;
    margin: 6px 0 8px;
    color: var(--primary);
}

.home-product-body p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 14px;
}

.home-product-cta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--secondary);
}

.home-products-foot {
    text-align: center;
    margin-top: 40px;
}

/* ═══════════════════════════════════════════
   6. WHY US — Crimson split + stat wall
   ═══════════════════════════════════════════ */
.home-why {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a0505 0%, #2d0a0a 45%, #1a0505 100%);
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    overflow: hidden;
}

.home-why::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2), transparent 70%);
    pointer-events: none;
}

.home-why-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.home-why-copy h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.625rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 16px;
}

.home-why-copy > p {
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 480px;
}

.home-why-pills {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.home-why-pill {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.home-why-pill-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.2);
    border-radius: 10px;
    color: var(--accent);
}

.home-why-pill-icon svg {
    width: 18px;
    height: 18px;
}

.home-why-pill strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--white);
    margin-bottom: 2px;
}

.home-why-pill span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}

.home-why-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.home-why-stat {
    padding: 32px 24px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.home-why-stat:hover {
    transform: scale(1.02);
    border-color: rgba(220, 38, 38, 0.4);
}

.home-why-stat:nth-child(1) { grid-column: span 2; padding: 40px; }

.home-why-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.home-why-stat:nth-child(1) strong {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-why-stat span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════
   7. PORTFOLIO — Dark editorial
   ═══════════════════════════════════════════ */
.home-portfolio {
    padding: 100px 0;
    background: #060101;
    color: rgba(255, 255, 255, 0.8);
}

.home-portfolio-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.home-portfolio-head h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--white);
    margin: 0;
    flex: 1;
}

.home-portfolio-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.home-portfolio-all:hover {
    color: var(--white);
}

.home-portfolio-featured {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    margin-bottom: 24px;
    transition: all 0.35s ease;
}

.home-portfolio-featured:hover {
    border-color: rgba(220, 38, 38, 0.35);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

.home-portfolio-featured-visual {
    min-height: 320px;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 20px;
}

.home-portfolio-industry {
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.home-portfolio-featured-body {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-portfolio-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
}

.home-portfolio-featured-body h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 12px;
}

.home-portfolio-featured-body > p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 16px;
}

.home-portfolio-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.home-portfolio-results {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.home-portfolio-results span {
    padding: 5px 12px;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.home-portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.home-portfolio-tech span {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    font-family: ui-monospace, monospace;
}

.home-portfolio-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.home-portfolio-card {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s ease;
}

.home-portfolio-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-4px);
}

.home-portfolio-card-visual {
    height: 140px;
    display: flex;
    align-items: flex-end;
    padding: 14px;
}

.home-portfolio-card-visual span {
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--white);
}

.home-portfolio-card-body {
    padding: 20px;
}

.home-portfolio-card-body h3 {
    font-size: 1.0625rem;
    color: var(--white);
    margin-bottom: 4px;
}

.home-portfolio-card-body > p {
    font-size: 0.8125rem;
    color: var(--accent);
    margin-bottom: 12px;
}

/* ═══════════════════════════════════════════
   8. TESTIMONIALS — Carousel spotlight (GetLayers)
   ═══════════════════════════════════════════ */
.home-spotlight {
    position: relative;
    padding: 100px 0 88px;
    background: #080101;
    color: rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

.home-spotlight-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(900px, 90vw);
    height: min(600px, 70vh);
    background: radial-gradient(ellipse at center, rgba(220, 38, 38, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.home-spotlight-grain {
    position: absolute;
    inset: 0;
    opacity: 0.035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 160px;
    mix-blend-mode: overlay;
}

.home-spotlight .container {
    position: relative;
    z-index: 1;
}

.home-spotlight-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 56px;
}

.home-spotlight-head h2 {
    font-size: clamp(1.875rem, 4vw, 2.625rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 12px;
}

.home-spotlight-accent {
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-spotlight-head p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    line-height: 1.7;
}

/* Carousel shell */
.spotlight-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.spotlight-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.spotlight-nav svg {
    width: 22px;
    height: 22px;
}

.spotlight-nav:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: rgba(220, 38, 38, 0.45);
    color: var(--white);
    box-shadow: 0 0 24px rgba(220, 38, 38, 0.25);
}

.spotlight-viewport {
    flex: 1;
    position: relative;
    height: clamp(320px, 42vw, 420px);
    perspective: 1200px;
}

.spotlight-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual slides */
.spotlight-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(640px, 88%);
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.82);
    transition:
        transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.55s ease,
        filter 0.55s ease;
    filter: blur(2px);
    z-index: 1;
}

.spotlight-slide-inner {
    padding: clamp(28px, 4vw, 44px);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.spotlight-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
    z-index: 3;
}

.spotlight-slide.is-active .spotlight-slide-inner {
    border-color: rgba(220, 38, 38, 0.35);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(220, 38, 38, 0.12),
        0 0 80px rgba(220, 38, 38, 0.12);
}

.spotlight-slide.is-prev {
    opacity: 0.35;
    transform: translate(calc(-50% - 72%), -50%) scale(0.86);
    filter: blur(1px);
    z-index: 2;
}

.spotlight-slide.is-next {
    opacity: 0.35;
    transform: translate(calc(-50% + 72%), -50%) scale(0.86);
    filter: blur(1px);
    z-index: 2;
}

.spotlight-stars {
    color: #fbbf24;
    font-size: 0.9375rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.spotlight-quote {
    margin: 0 0 28px;
    font-size: clamp(1.0625rem, 2.2vw, 1.375rem);
    font-weight: 500;
    font-style: normal;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.spotlight-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spotlight-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.spotlight-author strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--white);
    margin-bottom: 2px;
}

.spotlight-author span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Thumbnail strip */
.spotlight-thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.spotlight-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 72px;
}

.spotlight-thumb-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.spotlight-thumb-name {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s;
}

.spotlight-thumb:hover,
.spotlight-thumb.is-active {
    border-color: rgba(220, 38, 38, 0.45);
    background: rgba(220, 38, 38, 0.1);
}

.spotlight-thumb.is-active .spotlight-thumb-avatar {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.35);
}

.spotlight-thumb.is-active .spotlight-thumb-name {
    color: var(--white);
}

/* Autoplay progress */
.spotlight-progress {
    max-width: 200px;
    height: 3px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.spotlight-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 100px;
    transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════
   9. BLOG — Dark editorial
   ═══════════════════════════════════════════ */
.home-blog {
    padding: 100px 0;
    background: #0a0202;
    color: rgba(255, 255, 255, 0.8);
}

.home-blog-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.home-blog-head h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.375rem);
    color: var(--white);
    letter-spacing: -0.02em;
    margin: 0;
}

.home-blog-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.home-blog-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 32px;
    align-items: start;
}

.home-blog-featured {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.35s ease;
}

.home-blog-featured:hover {
    border-color: rgba(220, 38, 38, 0.35);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.home-blog-featured a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.home-blog-featured-img {
    height: 260px;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 20px;
}

.home-blog-featured-img span {
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
}

.home-blog-featured-body {
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
}

.home-blog-featured-body time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.home-blog-featured-body h3 {
    font-size: 1.375rem;
    color: var(--white);
    margin: 10px 0 12px;
    line-height: 1.3;
}

.home-blog-featured-body p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 16px;
}

.home-blog-read {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.home-blog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-blog-item {
    border-left: 3px solid rgba(220, 38, 38, 0.4);
    padding-left: 20px;
    transition: border-color 0.3s;
}

.home-blog-item:hover {
    border-left-color: var(--accent);
}

.home-blog-item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.home-blog-item time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

.home-blog-item h3 {
    font-size: 1rem;
    color: var(--white);
    margin: 6px 0 8px;
    line-height: 1.4;
}

.home-blog-item span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════
   10. CTA — Bold red conversion band
   ═══════════════════════════════════════════ */
.home-cta {
    padding: 88px 0;
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 50%, #b91c1c 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.home-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.home-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-cta-copy h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    letter-spacing: -0.025em;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 16px;
}

.home-cta-copy > p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 24px;
}

.home-cta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-cta-list li {
    padding: 6px 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.home-cta-form {
    padding: 32px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.home-cta-form .lead-form label {
    color: var(--gray-600);
    font-size: 0.8125rem;
}

.home-cta-form .lead-form input,
.home-cta-form .lead-form select,
.home-cta-form .lead-form textarea {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--primary);
    border-radius: 10px;
}

.home-cta-form .lead-form input:focus,
.home-cta-form .lead-form select:focus,
.home-cta-form .lead-form textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
    background: var(--white);
}

.home-cta-form .btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border: none;
}

/* ═══════════════════════════════════════════
   11. TECH — Terminal strip
   ═══════════════════════════════════════════ */
.home-tech {
    padding: 64px 0;
    background: #111;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.home-tech-terminal {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #333;
    background: #0d0d0d;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.home-tech-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}

.home-tech-bar span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
}

.home-tech-bar span:nth-child(1) { background: #ef4444; }
.home-tech-bar span:nth-child(2) { background: #f59e0b; }
.home-tech-bar span:nth-child(3) { background: #22c55e; }

.home-tech-bar code {
    margin-left: 12px;
    font-size: 0.8125rem;
    color: #22c55e;
    font-family: ui-monospace, 'SF Mono', monospace;
}

.home-tech-output {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px;
}

.home-tech-chip {
    padding: 6px 12px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #a3a3a3;
    font-family: ui-monospace, 'SF Mono', monospace;
    transition: all 0.25s ease;
}

.home-tech-chip:hover {
    color: #22c55e;
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
}

/* ═══════════════════════════════════════════
   12. FAQ — Light split layout
   ═══════════════════════════════════════════ */
.home-faq {
    padding: 100px 0;
    background: var(--white);
    color: var(--primary);
}

.home-faq-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.home-faq-intro h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.375rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--primary);
    margin-bottom: 16px;
}

.home-faq-intro > p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 28px;
}

.page-home .home-faq .faq-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    margin-bottom: 10px;
}

.page-home .home-faq .faq-item.active,
.page-home .home-faq .faq-item:hover {
    border-color: var(--secondary);
    background: var(--white);
}

.page-home .home-faq .faq-question {
    color: var(--primary);
    padding: 18px 22px;
}

.page-home .home-faq .faq-answer p {
    color: var(--gray-600);
    padding: 0 22px 18px;
}

.page-home .home-faq .faq-icon {
    color: var(--gray-400);
}

/* Scroll timeline — adapts per section contrast */
.page-home .scroll-timeline-steps a {
    color: rgba(255, 255, 255, 0.35);
}

.page-home .scroll-timeline-steps a:hover,
.page-home .scroll-timeline-steps a.is-active {
    color: var(--accent);
}

.page-home .scroll-timeline-dot {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(8, 1, 1, 0.9);
}

.page-home .scroll-timeline-rail {
    background: rgba(255, 255, 255, 0.12);
}

.page-home .site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .home-clients-grid,
    .home-why-grid,
    .home-cta-grid,
    .home-faq-grid,
    .home-blog-layout,
    .home-portfolio-featured,
    .home-products-head {
        grid-template-columns: 1fr;
    }

    .home-process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px 16px;
    }

    .home-process-steps::before {
        display: none;
    }

    .home-products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .spotlight-slide.is-prev {
        transform: translate(calc(-50% - 55%), -50%) scale(0.84);
    }

    .spotlight-slide.is-next {
        transform: translate(calc(-50% + 55%), -50%) scale(0.84);
    }

    .home-portfolio-row {
        grid-template-columns: 1fr;
    }

    .home-services-head {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-clients,
    .home-services,
    .home-process,
    .home-products,
    .home-why,
    .home-portfolio,
    .home-spotlight,
    .home-blog,
    .home-cta,
    .home-faq {
        padding: 64px 0;
    }

    .home-process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .home-products-grid {
        grid-template-columns: 1fr;
    }

    .spotlight-nav {
        display: none;
    }

    .spotlight-carousel {
        gap: 0;
    }

    .spotlight-slide.is-prev,
    .spotlight-slide.is-next {
        opacity: 0;
        pointer-events: none;
    }

    .spotlight-slide {
        width: 100%;
    }

    .spotlight-thumbs {
        gap: 8px;
    }

    .spotlight-thumb {
        min-width: 56px;
        padding: 8px 10px;
    }

    .spotlight-thumb-name {
        display: none;
    }

    .home-service-card,
    .home-service-card.is-featured {
        flex: 0 0 280px;
    }

    .home-why-stat:nth-child(1) {
        grid-column: span 1;
    }

    .home-clients-stats {
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-marquee-row--fwd,
    .home-marquee-row--rev {
        animation: none;
    }
}
