/* ════════════════════════════════
   JR TECHNOLOGIES — HOME PAGE STYLES
   Requires: reset.css, common.css
════════════════════════════════ */

/* ────────────────────────────────
   KEYFRAMES  (home-only additions)
──────────────────────────────── */
@keyframes orbFloat3 {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-20px, 20px);
    }
}
@keyframes scrollPulse {
    0%,
    100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ────────────────────────────────
   SECTION BASE  (home layout)
──────────────────────────────── */

/* ────────────────────────────────
   REVEAL  (home variant — slower, stagger by class)
──────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.9s var(--ease),
        transform 0.9s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 {
    transition-delay: 0.2s;
}
.reveal-delay-2 {
    transition-delay: 0.4s;
}
.reveal-delay-3 {
    transition-delay: 0.6s;
}
.reveal-delay-4 {
    transition-delay: 0.8s;
}
.reveal-delay-5 {
    transition-delay: 1s;
}

/* Section-specific durations */
.why-section .reveal,
.portfolio-section .reveal {
    transition-duration: 1.2s;
}
.process-section .reveal,
.testimonial-section .reveal,
.cta-section .reveal {
    transition-duration: 1.5s;
}

/* ────────────────────────────────
   BUTTONS  (home-specific overrides)
──────────────────────────────── */
.btn-primary {
    background: var(--blue);
    color: var(--white);
    padding: 15px 36px;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-wide);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-100%);
    transition: transform var(--duration-base) var(--ease);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn);
}
.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-outline {
    background: transparent;
    color: var(--gray-300);
    padding: 15px 36px;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: var(--fw-regular);
    letter-spacing: var(--ls-wide);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    display: inline-block;
}
.btn-outline:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ────────────────────────────────
   HERO
──────────────────────────────── */
.hero {
    min-height: 100vh;
    background: var(--black);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
}
.hero-bg-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 200px;
    pointer-events: none;
    opacity: 0.6;
}
.hero-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.45) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: orbFloat1 12s ease-in-out infinite;
}
.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.3) 0%, transparent 70%);
    bottom: 100px;
    left: -50px;
    animation: orbFloat2 15s ease-in-out infinite;
}
.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
    top: 40%;
    left: 45%;
    animation: orbFloat3 10s ease-in-out infinite;
}

/* ── Hero inner — 2-col ── */
.hero-inner {
    position: relative;
    z-index: var(--z-above);
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px var(--gutter) var(--space-2xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    min-height: calc(100vh - var(--nav-height));
}
.hero-left {
    display: flex;
    flex-direction: column;
}

/* eyebrow */
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: 28px;
    opacity: 0;
}
.hero-eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--blue-light);
}
.hero-eyebrow-text {
    font-size: 12px;
    letter-spacing: var(--ls-ultra);
    text-transform: uppercase;
    color: var(--blue-light);
    font-weight: var(--fw-medium);
}

/* headline */
.hero-headline {
    font-family: var(--serif);
    font-size: clamp(44px, 5.5vw, 84px);
    font-weight: var(--fw-light);
    line-height: var(--lh-tight);
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: var(--space-lg);
}
.headline-line-1,
.headline-line-2 {
    display: block;
    will-change: transform, opacity;
}
.hero-headline em {
    font-style: italic;
    color: var(--blue-light);
}
.hero-headline .line-2 {
    display: block;
    color: var(--gray-300);
    font-weight: var(--fw-light);
}
.hero-headline .word {
    display: inline-block;
    will-change: transform, opacity;
}

/* desc + actions */
.hero-desc {
    font-size: 17px;
    line-height: var(--lh-relaxed);
    color: var(--gray-400);
    max-width: 480px;
    margin-bottom: 44px;
    opacity: 0;
    font-weight: var(--fw-light);
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    opacity: 0;
}

/* stats */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 52px;
    opacity: 0;
}
.hero-stat {
    text-align: left;
}
.hero-stat-num {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: var(--fw-semi);
    color: var(--white);
    line-height: var(--lh-tight);
    margin-bottom: 4px;
}
.hero-stat-num span {
    color: var(--blue-light);
}
.hero-stat-label {
    font-size: 11px;
    color: var(--gray-400);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
}

/* ── Hero right — visual panel ── */
.hero-right {
    position: relative;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

/* Main browser mockup */
.hero-visual-main {
    position: absolute;
    width: 100%;
    max-width: 440px;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(37, 99, 235, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}
.browser-bar {
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-sm) 16px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.browser-dots {
    display: flex;
    gap: 6px;
}
.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.browser-dot:nth-child(1) {
    background: #ff5f56;
}
.browser-dot:nth-child(2) {
    background: #ffbd2e;
}
.browser-dot:nth-child(3) {
    background: #27c93f;
}
.browser-url-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 5px var(--space-sm);
    font-size: 11px;
    color: var(--gray-400);
    letter-spacing: 0.3px;
    font-family: var(--sans);
}
.visual-content {
    padding: 24px;
}

/* Mini chart */
.visual-chart-label {
    font-size: 10px;
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: var(--space-xs);
}
.visual-chart-num {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: var(--fw-semi);
    color: var(--white);
    margin-bottom: 4px;
    line-height: var(--lh-tight);
}
.visual-chart-delta {
    font-size: 12px;
    color: #4ade80;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 4px;
}
.visual-chart-delta::before {
    content: "▲";
    font-size: 9px;
}

/* Bar chart */
.visual-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
    margin-bottom: var(--space-md);
}
.visual-bar {
    flex: 1;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
    transition: background var(--duration-base);
}
.visual-bar.active {
    background: var(--blue);
}
.visual-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, transparent, rgba(96, 165, 250, 0.3));
}

/* Metrics row */
.visual-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-sm);
}
.visual-metric {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
}
.visual-metric-num {
    font-family: var(--serif);
    font-size: var(--text-md);
    font-weight: var(--fw-semi);
    color: var(--white);
    line-height: var(--lh-tight);
    margin-bottom: 4px;
}
.visual-metric-num span {
    color: var(--blue-light);
    font-size: var(--text-xs);
}
.visual-metric-label {
    font-size: 10px;
    color: var(--gray-400);
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
}

/* Progress bars */
.visual-progress-section {
    margin-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 18px;
}
.visual-progress-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.visual-progress-label {
    font-size: 11px;
    color: var(--gray-400);
    width: 80px;
    flex-shrink: 0;
}
.visual-progress-track {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 2px;
    overflow: hidden;
}
.visual-progress-fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.visual-progress-pct {
    font-size: 11px;
    color: var(--gray-300);
    width: 32px;
    text-align: right;
    flex-shrink: 0;
}

/* ── Floating cards ── */
.hero-float-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 14px 18px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 3;
    will-change: transform;
}
/* Traffic card */
.float-card-traffic {
    top: 18px;
    right: -20px;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 180px;
}
.float-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.float-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--blue-light);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.float-card-title {
    font-size: 10px;
    color: var(--gray-400);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    margin-bottom: 2px;
}
.float-card-value {
    font-family: var(--serif);
    font-size: var(--text-md);
    font-weight: var(--fw-semi);
    color: var(--white);
    line-height: var(--lh-tight);
}
.float-card-value .float-up {
    font-size: 12px;
    color: #4ade80;
    font-family: var(--sans);
    font-weight: var(--fw-regular);
    margin-left: 4px;
}

/* Stack card */
.float-card-stack {
    bottom: 48px;
    left: -28px;
    min-width: 160px;
}
.float-stack-label {
    font-size: 10px;
    color: var(--gray-400);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.float-stack-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.float-stack-pill {
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    color: var(--blue-light);
    letter-spacing: 0.3px;
}

/* Conversion card */
.float-card-conv {
    top: 80px;
    left: -24px;
    min-width: 140px;
}
.float-conv-label {
    font-size: 10px;
    color: var(--gray-400);
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    margin-bottom: 6px;
}
.float-conv-ring {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    position: relative;
}
.float-conv-ring svg {
    width: 52px;
    height: 52px;
    transform: rotate(-90deg);
}
.float-conv-ring circle {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
}
.ring-track {
    stroke: rgba(255, 255, 255, 0.07);
}
.ring-fill {
    stroke: var(--blue-light);
    stroke-dasharray: 120;
    stroke-dashoffset: 28;
}
.float-conv-pct {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--serif);
    font-size: var(--text-xs);
    font-weight: var(--fw-semi);
    color: var(--white);
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: var(--gutter);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: var(--z-above);
    opacity: 0;
}
.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--blue-light));
    animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-text {
    font-size: 11px;
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--gray-400);
    writing-mode: vertical-rl;
}

/* ────────────────────────────────
   MARQUEE
──────────────────────────────── */
.marquee-section {
    background: var(--blue);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
}
.marquee-track {
    display: flex;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
    font-size: 13px;
    font-weight: var(--fw-regular);
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
}
.marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

/* ────────────────────────────────
   ABOUT SECTION
──────────────────────────────── */
.about-section {
    background: var(--white);
    max-width: 100%;
    padding: var(--space-4xl) var(--gutter);
}
.about-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}
.about-left .section-title {
    font-size: var(--text-4xl);
}
.about-body {
    font-size: 17px;
    line-height: var(--lh-loose);
    color: var(--gray-700);
    margin-bottom: 28px;
    font-weight: var(--fw-light);
}
.about-highlight {
    font-family: var(--serif);
    font-size: var(--text-lg);
    line-height: var(--lh-normal);
    color: var(--black);
    font-style: italic;
    border-left: 3px solid var(--blue);
    padding-left: 24px;
    margin: var(--space-lg) 0;
}
.about-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.pill {
    background: var(--blue-pale);
    color: var(--blue-deep);
    padding: var(--space-xs) 18px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: var(--fw-medium);
    letter-spacing: 0.3px;
}
.about-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.value-card {
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 28px 30px;
    position: relative;
    overflow: hidden;
    transition:
        transform var(--duration-base) var(--ease),
        box-shadow var(--duration-base) var(--ease);
}
.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--blue);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--duration-base) var(--ease);
}
.value-card:hover {
    transform: translateX(6px);
    box-shadow: -4px 4px 30px rgba(0, 0, 0, 0.06);
}
.value-card:hover::before {
    transform: scaleY(1);
}
.value-card-title {
    font-size: 15px;
    font-weight: var(--fw-semi);
    color: var(--black);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}
.value-card-desc {
    font-size: var(--text-xs);
    line-height: var(--lh-relaxed);
    color: var(--gray-500);
    font-weight: var(--fw-light);
}

/* ────────────────────────────────
   SERVICES SECTION  (dark background)
──────────────────────────────── */
.services-section {
    background: var(--black);
    max-width: 100%;
    padding: var(--space-4xl) var(--gutter);
}
.services-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}
.services-header .section-eyebrow-text {
    color: var(--blue-light);
}
.services-header .section-eyebrow-line {
    background: var(--blue-light);
}
.services-header .section-title {
    color: var(--white);
    margin-bottom: 0;
}
.services-header .section-title em {
    color: var(--blue-light);
}

.services-link {
    font-size: 13px;
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--blue-light);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color var(--duration-fast);
    white-space: nowrap;
}
.services-link:hover {
    border-color: var(--blue-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}
.service-card {
    background: var(--charcoal);
    padding: 44px 36px;
    position: relative;
    cursor: default;
    transition: background var(--duration-base) var(--ease);
    overflow: hidden;
}
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--duration-base);
}
.service-card:hover {
    background: #1e293b;
}
.service-card:hover::after {
    opacity: 1;
}

.service-number {
    font-family: var(--serif);
    font-size: 13px;
    color: var(--blue-light);
    margin-bottom: 24px;
    letter-spacing: var(--ls-widest);
    display: block;
}
.service-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(37, 99, 235, 0.4);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    background: rgba(37, 99, 235, 0.12);
    transition:
        background var(--duration-base),
        border-color var(--duration-base);
}
.service-card:hover .service-icon {
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.7);
}
.service-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue-light);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.service-title {
    font-family: var(--serif);
    font-size: var(--text-lg);
    font-weight: var(--fw-semi);
    color: var(--white);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.3px;
}
.service-desc {
    font-size: var(--text-xs);
    line-height: var(--lh-loose);
    color: var(--gray-400);
    margin-bottom: var(--space-md);
    font-weight: var(--fw-light);
}
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.service-tag {
    /* font-size: var(--text-xxs);
    color: #d6e2f5;
    letter-spacing: var(--ls-wide);
    color: rgba(37, 99, 235, 0.9);
    background: rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 4px 10px;
    border-radius: 20px; */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 64, 175, 0.12);
    border: 1px solid rgba(30, 64, 175, 0.3);
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 8px 16px;
    border-radius: 2px;
}

/* ────────────────────────────────
   WHY SECTION  (pale blue, white cards)
──────────────────────────────── */
.why-section {
    background: var(--blue-pale);
    max-width: 100%;
    padding: var(--space-4xl) var(--gutter);
}
.why-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}
.why-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px var(--space-lg);
    position: relative;
    transition:
        transform var(--duration-base) var(--ease),
        box-shadow var(--duration-base) var(--ease);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.why-card-num {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: var(--fw-light);
    color: var(--blue-pale);
    line-height: var(--lh-tight);
    position: absolute;
    top: 24px;
    right: 28px;
    pointer-events: none;
    transition: color var(--duration-base);
}
.why-card:hover .why-card-num {
    color: rgba(37, 99, 235, 0.12);
}
.why-card-title {
    font-size: 17px;
    font-weight: var(--fw-semi);
    color: var(--black);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
    max-width: 80%;
}
.why-card-desc {
    font-size: var(--text-xs);
    line-height: var(--lh-loose);
    color: var(--gray-500);
    font-weight: var(--fw-light);
}
.why-card-accent {
    width: 28px;
    height: 3px;
    background: var(--blue);
    border-radius: 2px;
    margin-bottom: var(--space-md);
    transition: width var(--duration-base) var(--ease);
}
.why-card:hover .why-card-accent {
    width: 48px;
}

/* ────────────────────────────────
   PORTFOLIO SECTION
──────────────────────────────── */
.portfolio-section {
    background: var(--off-white);
    max-width: 100%;
    padding: var(--space-4xl) var(--gutter);
}
.portfolio-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: var(--space-md);
}
.portfolio-link {
    font-size: 13px;
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color var(--duration-fast);
}
.portfolio-link:hover {
    border-color: var(--blue);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}
.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-100);
    aspect-ratio: 4/3;
    position: relative;
    cursor: pointer;
}
.portfolio-item:nth-child(1),
.portfolio-item:nth-child(4) {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-xs);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease);
}
.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.03);
}
.portfolio-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-300) 100%);
}
.portfolio-item:nth-child(odd) .portfolio-bg {
    background: linear-gradient(135deg, #d6e2f5 0%, #93a9cf 100%);
}
.portfolio-item:nth-child(4) .portfolio-bg {
    background: linear-gradient(135deg, #1e293b 0%, #1e40af 100%);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--duration-base);
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-overlay-text {
    color: var(--white);
}
.portfolio-overlay-label {
    font-size: 11px;
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 4px;
}
.portfolio-overlay-title {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: var(--fw-semi);
}

.portfolio-placeholder-inner {
    position: relative;
    z-index: var(--z-base);
    text-align: center;
}
.portfolio-placeholder-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xs);
    background: rgba(255, 255, 255, 0.6);
}
.portfolio-placeholder-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.portfolio-placeholder-label {
    font-size: 11px;
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    color: var(--gray-500);
}

/* ────────────────────────────────
   PROCESS SECTION  (centered, connector line)
──────────────────────────────── */
.process-section {
    background: var(--white);
    max-width: 100%;
    padding: var(--space-4xl) var(--gutter);
}
.process-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: var(--space-2xl);
    position: relative;
}
.process-steps::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gray-300), var(--blue), var(--gray-300), transparent);
}
.process-step {
    padding: 0 24px;
    text-align: center;
    position: relative;
}
.process-dot {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    position: relative;
    z-index: var(--z-base);
    transition:
        border-color var(--duration-base),
        background var(--duration-base);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: var(--fw-semi);
    color: var(--gray-500);
}
.process-step:hover .process-dot {
    border-color: var(--blue);
    background: var(--blue);
    color: var(--white);
}
.process-step-title {
    font-size: var(--text-sm);
    font-weight: var(--fw-semi);
    color: var(--black);
    margin-bottom: var(--space-xs);
}
.process-step-desc {
    font-size: 13px;
    line-height: var(--lh-relaxed);
    color: var(--gray-500);
    font-weight: var(--fw-light);
}

/* ────────────────────────────────
   TESTIMONIAL SECTION
──────────────────────────────── */
.testimonial-section {
    background: var(--black);
    max-width: 100%;
    padding: var(--space-4xl) var(--gutter);
}
.testimonial-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.testimonial-quote {
    font-family: var(--serif);
    font-size: var(--text-2xl);
    font-weight: var(--fw-light);
    font-style: italic;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 36px;
    position: relative;
}
.testimonial-quote::before {
    content: "\201C";
    font-size: 100px;
    line-height: 0;
    color: var(--blue);
    position: absolute;
    top: 30px;
    left: -10px;
    font-style: normal;
    opacity: 0.4;
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.testimonial-name {
    font-size: 15px;
    font-weight: var(--fw-semi);
    color: var(--white);
}
.testimonial-role {
    font-size: 13px;
    color: var(--gray-400);
    letter-spacing: var(--ls-wider);
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: 36px;
}
.testimonial-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gray-700);
    cursor: pointer;
    transition: background var(--duration-fast);
}
.testimonial-dot.active {
    background: var(--blue);
}

/* ────────────────────────────────
   RESPONSIVE
──────────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        min-height: auto;
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-3xl);
    }
    .hero-right {
        height: 420px;
    }
    .about-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-item:nth-child(1),
    .portfolio-item:nth-child(4) {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
    .process-steps::before {
        display: none;
    }
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .cta-actions {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 24px;
    }
    .about-section,
    .services-section,
    .why-section,
    .portfolio-section,
    .process-section,
    .testimonial-section,
    .cta-section {
        padding: 70px 24px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
    .hero-right {
        height: 340px;
    }
    .float-card-traffic {
        right: 0;
    }
    .float-card-stack {
        left: 0;
    }
    .float-card-conv {
        left: 0;
    }
    .hero-scroll-indicator {
        display: none;
    }
}
