/* ======================================================
   SERVICES PAGE — TechMatrix-Inspired Full-Width Sections
   Light brand + colored gradient service blocks
   ====================================================== */

/* ── HERO ── */
.srv-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 140px 0 80px;
}

.srv-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.srv-hero__bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 40%, #0f172a 70%, #0c1222 100%);
}

/* Subtle animated grid lines */
.srv-hero__grid-lines {
    position: absolute;
    inset: 0;
}

.grid-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.04) 50%, transparent);
    animation: gridDrift 6s ease-in-out infinite;
}

.grid-line:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.grid-line:nth-child(2) {
    left: 40%;
    animation-delay: 1.5s;
}

.grid-line:nth-child(3) {
    left: 60%;
    animation-delay: 3s;
}

.grid-line:nth-child(4) {
    left: 80%;
    animation-delay: 4.5s;
}

@keyframes gridDrift {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

/* Floating orbs */
.srv-hero__orbs {
    position: absolute;
    inset: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb--1 {
    width: 300px;
    height: 300px;
    background: rgba(0, 102, 204, 0.12);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-orb--2 {
    width: 200px;
    height: 200px;
    background: rgba(124, 58, 237, 0.1);
    top: 30%;
    right: 10%;
    animation-delay: 2s;
}

.hero-orb--3 {
    width: 250px;
    height: 250px;
    background: rgba(8, 145, 178, 0.08);
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(20px, -15px);
    }

    66% {
        transform: translate(-15px, 10px);
    }
}

.srv-hero__inner {
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.srv-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
    animation: hereFadeIn 0.6s ease-out;
}

.srv-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.srv-hero__breadcrumb a:hover {
    color: #60a5fa;
}

.srv-hero__breadcrumb span {
    color: rgba(255, 255, 255, 0.9);
}

.srv-hero__breadcrumb svg {
    opacity: 0.5;
}

@keyframes hereFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Title */
.srv-hero__title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    animation: hereFadeIn 0.7s ease-out 0.1s both;
}

.srv-hero__title-gradient {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.srv-hero__desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
    animation: hereFadeIn 0.7s ease-out 0.2s both;
}

/* Stats */
.srv-hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    animation: hereFadeIn 0.7s ease-out 0.3s both;
}

.srv-hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.srv-hero__stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.srv-hero__stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.06em;
    margin-top: 4px;
    text-transform: uppercase;
}

.srv-hero__stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* ================================================
   SERVICE BLOCKS — Full-Width Colored Sections
   ================================================ */
.srv-block {
    --mx: 50%;
    --my: 50%;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    transition: all 0.4s ease;
}

/* Color themes per block */
.srv-block--blue {
    background: linear-gradient(135deg, #0a3d7c 0%, #0b4f9e 40%, #0e5bb5 70%, #1565c0 100%);
    color: #fff;
}

.srv-block--violet {
    background: linear-gradient(135deg, #3b1784 0%, #4c1d95 40%, #5b21b6 70%, #6d28d9 100%);
    color: #fff;
}

.srv-block--cyan {
    background: linear-gradient(135deg, #064e6e 0%, #0e7490 40%, #0891b2 70%, #06b6d4 100%);
    color: #fff;
}

.srv-block--green {
    background: linear-gradient(135deg, #14532d 0%, #166534 40%, #15803d 70%, #16a34a 100%);
    color: #fff;
}

/* Mouse-follow subtle highlight */
.srv-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.05), transparent 40%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s;
}

/* Background pattern SVGs */
.srv-block__bg-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    color: #fff;
}

.srv-block__bg-svg {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

/* ── Block layout ── */
.srv-block__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.srv-block__layout--reverse {
    grid-template-columns: 0.9fr 1.1fr;
    direction: rtl;
}

.srv-block__layout--reverse>* {
    direction: ltr;
}

/* ── Content side ── */
.srv-block__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.srv-block:hover .srv-block__badge {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.srv-block__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.15;
}

.srv-block__separator {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    margin-bottom: 24px;
    transition: width 0.4s ease;
}

.srv-block:hover .srv-block__separator {
    width: 100px;
}

.srv-block__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 560px;
}

/* ── Mini service cards inside blocks ── */
.srv-block__services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.srv-mini-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Stagger entrance */
    opacity: 0;
    transform: translateY(15px);
}

.srv-mini-card.srv-item-visible {
    opacity: 1;
    transform: translateY(0);
}

.srv-mini-card:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.srv-mini-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    margin-bottom: 14px;
    color: #fff;
    transition: all 0.3s ease;
}

.srv-mini-card:hover .srv-mini-card__icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.srv-mini-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.srv-mini-card p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.srv-mini-card__link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.srv-mini-card__link:hover {
    opacity: 0.85;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Service list (AI, Resources) ── */
.srv-block__list {
    margin-bottom: 32px;
}

.srv-list-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Stagger entrance */
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.srv-list-item.srv-item-visible {
    opacity: 1;
    transform: translateX(0);
}

.srv-list-item:last-child {
    border-bottom: none;
}

.srv-list-item:hover {
    padding-left: 8px;
}

.srv-list-item__marker {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.srv-list-item:hover .srv-list-item__marker {
    transform: scale(1.12) rotate(5deg);
    background: rgba(255, 255, 255, 0.18);
}

.srv-list-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.srv-list-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin: 0;
}

/* ── Pills ── */
.srv-block__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.srv-block__pills span {
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: default;
    /* Stagger entrance */
    opacity: 0;
    transform: scale(0.9);
}

.srv-block__pills span.srv-item-visible {
    opacity: 1;
    transform: scale(1);
}

.srv-block__pills span:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ================================================
   VISUAL ELEMENTS
   ================================================ */

/* ── Salesforce Dashboard Mock ── */
.srv-block__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-dashboard {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.srv-block:hover .sf-dashboard {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.sf-dash__bar {
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 6px;
}

.sf-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sf-dot--red {
    background: #ef4444;
}

.sf-dot--yellow {
    background: #f59e0b;
}

.sf-dot--green {
    background: #22c55e;
}

.sf-dash__bar-title {
    margin-left: auto;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.04em;
}

.sf-dash__body {
    padding: 24px;
}

.sf-dash__chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 140px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.sf-chart-bar {
    flex: 1;
    height: var(--h);
    background: linear-gradient(to top, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.35));
    border-radius: 6px 6px 0 0;
    transition: all 0.3s ease;
    animation: barGrow 1.2s ease-out forwards;
    transform-origin: bottom;
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.srv-block:hover .sf-chart-bar {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.5));
}

.srv-block:hover .sf-chart-bar:nth-child(1) {
    animation: barBounce 0.6s ease 0s 1;
}

.srv-block:hover .sf-chart-bar:nth-child(2) {
    animation: barBounce 0.6s ease 0.05s 1;
}

.srv-block:hover .sf-chart-bar:nth-child(3) {
    animation: barBounce 0.6s ease 0.1s 1;
}

.srv-block:hover .sf-chart-bar:nth-child(4) {
    animation: barBounce 0.6s ease 0.15s 1;
}

.srv-block:hover .sf-chart-bar:nth-child(5) {
    animation: barBounce 0.6s ease 0.2s 1;
}

.srv-block:hover .sf-chart-bar:nth-child(6) {
    animation: barBounce 0.6s ease 0.25s 1;
}

.srv-block:hover .sf-chart-bar:nth-child(7) {
    animation: barBounce 0.6s ease 0.3s 1;
}

@keyframes barBounce {

    0%,
    100% {
        transform: scaleY(1);
    }

    40% {
        transform: scaleY(1.12);
    }

    60% {
        transform: scaleY(0.96);
    }
}

.sf-dash__kpis {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sf-kpi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.sf-kpi__value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.sf-kpi__label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: auto;
}

.sf-kpi__bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.sf-kpi__fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.5));
    border-radius: 2px;
    transition: width 1.5s ease-out;
    animation: fillGrow 1.5s ease-out forwards;
}

@keyframes fillGrow {
    from {
        width: 0;
    }
}

/* ── AI Brain Visual ── */
.ai-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.ai-visual__brain {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    animation: aiPulse 3s ease-in-out infinite;
}

.ai-pulse-ring--1 {
    width: 120px;
    height: 120px;
    animation-delay: 0s;
}

.ai-pulse-ring--2 {
    width: 160px;
    height: 160px;
    animation-delay: 0.5s;
}

.ai-pulse-ring--3 {
    width: 200px;
    height: 200px;
    animation-delay: 1s;
}

@keyframes aiPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.ai-visual__icon {
    width: 80px;
    height: 80px;
    color: #fff;
    animation: aiSpin 20s linear infinite;
}

@keyframes aiSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ai-visual__labels {
    display: flex;
    gap: 12px;
}

.ai-label {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.78rem;
    font-weight: 500;
    animation: labelFloat 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes labelFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ── Team Ring Visual ── */
.team-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-ring {
    position: relative;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar {
    position: absolute;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    animation: avatarOrbit 12s linear infinite;
    transition: all 0.3s ease;
}

.team-avatar svg {
    width: 22px;
    height: 22px;
}

.team-avatar--1 {
    top: 0;
    left: 50%;
    margin-left: -28px;
    animation-delay: 0s;
}

.team-avatar--2 {
    top: 50%;
    right: 0;
    margin-top: -28px;
    animation-delay: -3s;
}

.team-avatar--3 {
    bottom: 0;
    left: 50%;
    margin-left: -28px;
    animation-delay: -6s;
}

.team-avatar--4 {
    top: 50%;
    left: 0;
    margin-top: -28px;
    animation-delay: -9s;
}

@keyframes avatarOrbit {
    from {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

.team-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.team-center__num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.team-center__label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Transform Flow Visual ── */
.transform-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.transform-flow {
    display: flex;
    align-items: center;
    gap: 24px;
}

.transform-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: #fff;
    transition: all 0.4s ease;
}

.transform-node--old {
    opacity: 0.7;
}

.transform-node--new {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.transform-node span {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.transform-arrow {
    color: rgba(255, 255, 255, 0.4);
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.4;
    }

    50% {
        transform: translateX(6px);
        opacity: 0.9;
    }
}

/* ================================================
   CTA SECTION
   ================================================ */
.srv-cta {
    padding: 80px 0 100px;
}

.srv-cta__box {
    position: relative;
    text-align: center;
    padding: 80px 60px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    color: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.srv-cta__box-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
    animation: ctaShift 6s ease-in-out infinite alternate;
}

@keyframes ctaShift {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

.srv-cta__badge {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
}

.srv-cta__title {
    position: relative;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.srv-cta__title span {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.srv-cta__desc {
    position: relative;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 40px;
    line-height: 1.7;
}

.srv-cta__btn {
    position: relative;
    border-radius: 100px !important;
    padding: 16px 36px !important;
}

.srv-cta__btn svg {
    transition: transform 0.3s ease;
}

.srv-cta__btn:hover svg {
    transform: translateX(4px);
}

/* ================================================
   REVEAL ANIMATION
   ================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .srv-block {
        padding: 80px 0;
    }

    .srv-block__layout,
    .srv-block__layout--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
    }

    .srv-block__layout--reverse>.srv-block__visual {
        order: -1;
    }

    .srv-block__services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .srv-hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .srv-hero__stats {
        flex-direction: column;
        gap: 20px;
    }

    .srv-hero__stat-divider {
        width: 40px;
        height: 1px;
    }

    .srv-block {
        padding: 60px 0;
    }

    .srv-block__content {
        padding: 0 8px;
    }

    .srv-block__services-grid {
        grid-template-columns: 1fr;
    }

    .srv-cta__box {
        padding: 50px 24px;
    }

    .sf-dashboard {
        max-width: 100%;
    }

    .team-ring {
        width: 200px;
        height: 200px;
    }

    .team-avatar {
        width: 44px;
        height: 44px;
    }

    .team-center {
        width: 80px;
        height: 80px;
    }

    .team-center__num {
        font-size: 1.4rem;
    }

    .ai-visual__labels {
        flex-wrap: wrap;
        justify-content: center;
    }

    .transform-flow {
        flex-direction: column;
    }

    .transform-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .srv-hero__title {
        font-size: 2.6rem;
    }

    .srv-hero__desc {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .srv-hero__stat-num {
        font-size: 1.8rem;
    }

    .srv-block__title {
        font-size: 1.8rem;
    }

    .srv-block__desc {
        font-size: 0.95rem;
    }

    .srv-cta__title {
        font-size: 1.5rem;
    }

    .srv-cta__desc {
        font-size: 0.9rem;
    }

    .srv-mini-card {
        padding: 18px;
    }
}

@media (max-width: 360px) {
    .srv-hero__title {
        font-size: 2.2rem;
    }

    .srv-hero__stat-num {
        font-size: 1.5rem;
    }

    .srv-hero__stat-label {
        font-size: 0.65rem;
    }

    .srv-block__title {
        font-size: 1.6rem;
    }

    .srv-cta__box {
        padding: 40px 16px;
    }
}