/* ==================================================
   EBENGH TECHNOLOGIES: SERVICES PAGE STYLESHEET
   Enterprise $20,000+ Modern Tech Aesthetic
   ================================================== */

/* ─── TAGS & REUSABLE TOKENS ─── */
.srv-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
}
.srv-tag svg {
    width: 15px;
    height: 15px;
}
.srv-tag--white {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.srv-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}
.srv-section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}
.srv-section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}

.srv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
    animation: srvPulseDot 2s infinite;
}
@keyframes srvPulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Scroll reveal helper */
.srv-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.srv-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==================================================
   1. CINEMATIC SERVICES HERO
   ================================================== */
.srv-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 0 3.5rem;
    background: var(--bg);
}

.srv-hero__canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.srv-hero__grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--primary-rgb), 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.04) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, black 20%, transparent 80%);
}

.srv-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    animation: srvOrbMove 14s ease-in-out infinite alternate;
}
.srv-hero__orb--1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: -15%;
    right: -5%;
}
.srv-hero__orb--2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--accent), transparent 70%);
    bottom: -15%;
    left: -10%;
    animation-delay: -7s;
}
@keyframes srvOrbMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(35px, -30px) scale(1.12); }
}

.srv-hero__noise {
    position: absolute;
    inset: 0;
    background: 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)' opacity='0.04'/%3E%3C/svg%3E") repeat;
}

.srv-hero__container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.srv-hero__content .breadcrumb {
    justify-content: center;
    margin-bottom: 1.8rem;
}

.srv-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    margin-bottom: 1.6rem;
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.12);
}
.srv-hero__badge svg {
    width: 15px;
    height: 15px;
}
.srv-hero__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.35);
    animation: srvPulseDot 2s infinite;
}

.srv-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.3rem, 5.2vw, 4.2rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.4rem;
}
.srv-hero__grad {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.srv-hero__lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto 2.4rem;
}

.srv-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Hero Dock */
.srv-hero__dock {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.3rem 2.2rem;
    background: rgba(var(--card-rgb, 30, 30, 40), 0.55);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.srv-hero__dock-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.srv-hero__dock-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}
.srv-hero__dock-icon svg {
    width: 19px;
    height: 19px;
}
.srv-hero__dock-data {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.srv-hero__dock-data strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.srv-hero__dock-data span {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}
.srv-hero__dock-sep {
    width: 1px;
    height: 36px;
    background: var(--border);
}


/* ==================================================
   2. CORE CAPABILITIES (BENTO CARDS)
   ================================================== */
.srv-caps {
    padding: 7rem 0;
    background: var(--bg);
    position: relative;
}
.srv-caps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.srv-caps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.srv-card {
    border-radius: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.srv-card:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.srv-card__media {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.05);
}
.srv-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.srv-card:hover .srv-card__media img {
    transform: scale(1.06);
}
.srv-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(8, 14, 28, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.srv-card__body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.srv-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}
.srv-card__icon svg {
    width: 20px;
    height: 20px;
}
.srv-card__icon--blue {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}
.srv-card__icon--emerald {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}
.srv-card__icon--purple {
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
}
.srv-card__icon--amber {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}
.srv-card__icon--cyan {
    background: rgba(6, 182, 212, 0.12);
    color: #06b6d4;
}
.srv-card__icon--rose {
    background: rgba(244, 63, 94, 0.12);
    color: #f43f5e;
}

.srv-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 0.65rem;
}
.srv-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.srv-card__tags {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}
.srv-tag-pill {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
}

.srv-card__specs {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.srv-card__specs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text);
    padding: 0;
}
.srv-card__specs li svg {
    width: 14px;
    height: 14px;
    color: #10b981;
    flex-shrink: 0;
}


/* ==================================================
   3. ENGINEERING LIFECYCLE (WORKFLOW)
   ================================================== */
.srv-lifecycle {
    padding: 7rem 0;
    background: var(--bg-alt, var(--bg));
    position: relative;
}
.srv-lifecycle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.srv-lifecycle__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.srv-step {
    padding: 2.2rem 1.8rem;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}
.srv-step:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.srv-step__num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(var(--primary-rgb), 0.18);
    line-height: 1;
    margin-bottom: 0.8rem;
}

.srv-step__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}
.srv-step__icon svg {
    width: 20px;
    height: 20px;
}

.srv-step h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
}
.srv-step p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
    flex: 1;
}

.srv-step__output {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.45rem 0.75rem;
    background: rgba(var(--primary-rgb), 0.06);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}


/* ==================================================
   4. FEATURED SYSTEMS SHOWCASE
   ================================================== */
.srv-showcase {
    padding: 7rem 0;
    background: var(--bg);
    position: relative;
}
.srv-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.srv-showcase__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.srv-project {
    border-radius: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.srv-project:hover {
    border-color: rgba(var(--primary-rgb), 0.35);
    transform: translateY(-6px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.16);
}

.srv-project__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
.srv-project__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.srv-project:hover .srv-project__media img {
    transform: scale(1.05);
}

.srv-project__overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 28, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.srv-project:hover .srv-project__overlay {
    opacity: 1;
}

.srv-project__play {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.5);
    cursor: pointer;
    transition: transform 0.2s ease;
}
.srv-project__play:hover {
    transform: scale(1.12);
}
.srv-project__play svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.srv-project__hint {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.srv-project__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(8, 14, 28, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.srv-project__badge--live .srv-dot {
    width: 7px;
    height: 7px;
}
.srv-project__badge--blue {
    color: #60a5fa;
}
.srv-project__badge--purple {
    color: #c084fc;
}
.srv-project__badge--amber {
    color: #fbbf24;
}

.srv-project__content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.srv-project__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    gap: 1rem;
}
.srv-project__header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0;
}
.srv-project__type {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
}

.srv-project p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.srv-project__techs {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}
.srv-project__techs span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-light);
}

.srv-project__metric {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    margin-top: auto;
}
.srv-project__metric svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}
.srv-project__metric span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.45;
}


/* ==================================================
   5. ENTERPRISE TECH STACK
   ================================================== */
.srv-stack {
    padding: 7rem 0;
    background: var(--bg-alt, var(--bg));
    position: relative;
}
.srv-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.srv-stack__categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.srv-stack__cat {
    padding: 2.2rem;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.srv-stack__cat:hover {
    border-color: rgba(var(--primary-rgb), 0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.srv-stack__cat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.srv-stack__cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.srv-stack__cat-icon svg {
    width: 20px;
    height: 20px;
}
.srv-stack__cat-header h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.srv-stack__chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.srv-chip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s ease;
}
.srv-chip:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    color: var(--primary);
    transform: translateX(3px);
}
.srv-chip i {
    font-size: 1rem;
    color: var(--primary);
}


/* ==================================================
   6. COLLABORATION & ENGAGEMENT MODELS
   ================================================== */
.srv-models {
    padding: 7rem 0;
    background: var(--bg);
    position: relative;
}
.srv-models::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.srv-models__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    align-items: stretch;
}

.srv-model-card {
    padding: 2.5rem 2rem;
    border-radius: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.srv-model-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.srv-model-card--featured {
    border-color: rgba(var(--primary-rgb), 0.4);
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.06), var(--card) 40%);
    box-shadow: 0 20px 60px rgba(var(--primary-rgb), 0.12);
}
.srv-model-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.4);
}

.srv-model-card__label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.srv-model-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}
.srv-model-card__desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.srv-model-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}
.srv-model-card__list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.86rem;
    color: var(--text);
    padding: 0;
}
.srv-model-card__list li svg {
    width: 16px;
    height: 16px;
    color: #10b981;
    flex-shrink: 0;
}

.btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
}


/* ==================================================
   7. ENTERPRISE CTA
   ================================================== */
.srv-cta {
    padding: 6rem 0;
    background: var(--bg-alt, var(--bg));
    position: relative;
}
.srv-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.srv-cta__inner {
    padding: 4.5rem;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--primary), #1d4ed8, #0f172a);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(var(--primary-rgb), 0.25);
}
.srv-cta__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.15), transparent 60%);
    pointer-events: none;
}

.srv-cta__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}
.srv-cta__content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    margin-bottom: 1.2rem;
    color: #fff;
}
.srv-cta__content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.2rem;
}

.srv-cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: #fff;
    color: #0b1329 !important;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff !important;
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    transform: translateY(-2px);
}


/* ==================================================
   VIDEO MODAL
   ================================================== */
.srv-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.srv-modal.is-active {
    opacity: 1;
    pointer-events: auto;
}

.srv-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 18, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.srv-modal__container {
    position: relative;
    z-index: 2;
    width: 90vw;
    max-width: 960px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
}

.srv-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 14, 28, 0.5);
}

.srv-modal__title-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.srv-modal__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.srv-modal__close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.srv-modal__close:hover {
    background: #ef4444;
    border-color: #ef4444;
    transform: scale(1.08);
}
.srv-modal__close svg {
    width: 18px;
    height: 18px;
}

.srv-modal__body {
    position: relative;
    background: #000;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.srv-modal__body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* ==================================================
   RESPONSIVE MEDIA QUERIES
   ================================================== */
@media (max-width: 1024px) {
    .srv-caps__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .srv-lifecycle__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .srv-stack__categories {
        grid-template-columns: 1fr;
    }
    .srv-models__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .srv-hero {
        min-height: auto;
        padding: 6.5rem 0 3rem;
    }
    .srv-hero__title {
        font-size: 2.2rem;
    }
    .srv-hero__dock {
        flex-direction: column;
        gap: 1rem;
        padding: 1.4rem;
    }
    .srv-hero__dock-sep {
        width: 60%;
        height: 1px;
    }

    .srv-caps__grid {
        grid-template-columns: 1fr;
    }
    .srv-lifecycle__grid {
        grid-template-columns: 1fr;
    }
    .srv-showcase__grid {
        grid-template-columns: 1fr;
    }

    .srv-cta__inner {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 520px) {
    .srv-hero__title {
        font-size: 1.85rem;
    }
    .srv-hero__lead {
        font-size: 1rem;
    }
    .srv-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .srv-hero__actions .btn {
        justify-content: center;
    }

    .srv-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .srv-cta__actions .btn {
        justify-content: center;
    }

    .srv-stack__chips {
        grid-template-columns: 1fr;
    }
}


/* ==================================================
   DARK THEME: ORANGE ICONS
   ================================================== */

[data-theme="dark"] .srv-hero__dock-icon,
[data-theme="dark"] .srv-step__icon,
[data-theme="dark"] .srv-stack__cat-icon {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

[data-theme="dark"] .srv-card__icon--emerald,
[data-theme="dark"] .srv-card__icon--cyan {
    background: rgba(251, 146, 60, 0.12);
    color: #fb923c;
}

[data-theme="dark"] .srv-chip i {
    color: #fb923c;
}

[data-theme="dark"] .srv-card__specs li svg,
[data-theme="dark"] .srv-model-card__list li svg,
[data-theme="dark"] .srv-project__metric svg {
    color: #fb923c;
}

/* ==================================================
   LIGHT THEME: HIGH-CONTRAST HERO COUNTER BAR
   ================================================== */
html:not([data-theme="dark"]) .srv-hero__dock {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.07), rgba(var(--accent-rgb), 0.05)), rgba(255, 255, 255, 0.94);
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 20px 44px -24px rgba(2, 6, 23, 0.35);
}

html:not([data-theme="dark"]) .srv-hero__dock-data strong {
    color: var(--heading);
}

html:not([data-theme="dark"]) .srv-hero__dock-icon {
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

html:not([data-theme="dark"]) .srv-hero__dock-sep {
    background: rgba(15, 23, 42, 0.16);
}
