:root{
    --red: #d62828;
    --red-dark: #a4161a;
    --red-bright: #e5383b;
    --red-light: #fde8e8;
    --red-faint: #fef5f5;
    --ink: #1a1a1a;
    --text: #404040;
    --muted: #6b7280;
    --bg: #ffffff;
    --soft: #fafafa;
    --border: #ececec;
}

.service4 .wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.service4 .shead {
    font-size: .78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 800;
    margin-bottom: 10px;
}

.service4 .stitle {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.8px;
    margin-bottom: 16px;
}

.service4 .sdesc {
    color: var(--muted);
    max-width: 760px;
    margin-bottom: 34px;
}

/* HERO dashboard */
.service4 .hero {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 64px 0 56px;
}

.service4 .hbar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 30px;
}

.service4 .hbar .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red);
}

.service4 .hero h1 {
    font-size: 2.9rem;
    line-height: 1.1;
    letter-spacing: -1.4px;
    color: var(--ink);
    font-weight: 800;
    max-width: 760px;
    margin-bottom: 16px;
}

.service4 .hero h1 span {
    color: var(--red);
    float: unset;
}

.service4 .hero p {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 680px;
    margin-bottom: 36px;
}

.service4 .tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.service4 .tile {
    background: var(--soft);
    border: 1px solid var(--border);
    border-top: 3px solid var(--red);
    border-radius: 12px;
    padding: 22px;
}

.service4 .tile .v {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--red-color);
}

.service4 .tile .k {
    font-size: 1rem;
    color: var(--black-color-two);
    margin-top: 4px;
}

.service4 .sec {
    padding: 80px 0;
}

.service4 .panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 44px;
}

/* layered stack */
.service4 .stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
}

.service4 .layer {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px 30px;
    border-left: 5px solid var(--red);
}

.service4 .layer .tagband {
    font-weight: 800;
    color: var(--red-dark);
    background: var(--red-light);
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
    font-size: .9rem;
    letter-spacing: 1px;
}

.service4 .layer h3 {
    color: var(--red-color);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.service4 .layer p {
    color: var(--black-color-two);
    font-size: 1rem;
}

/* tag cloud */
.service4 .cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.service4 .chip {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 12px 22px;
    font-weight: 600;
    color: var(--ink);
    font-size: .94rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .25s;
}

.service4 .chip:hover {
    border-color: var(--red);
    color: var(--red-dark);
    box-shadow: 0 6px 16px rgba(214, 40, 40, .1);
    transform: translateY(-2px);
}

.service4 .chip::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--red);
}

/* attack path nodes */
.service4 .path {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 36px;
}

.service4 .node {
    flex: 1 1 150px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    position: relative;
    margin-right: 30px;
    margin-bottom: 24px;
}

.service4 .node:not(:last-child)::after {
    content: '\2192';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--red);
    font-size: 1.4rem;
    font-weight: 800;
}

.service4 .node .s {
    font-size: .72rem;
    font-weight: 800;
    color: var(--red);
    letter-spacing: 2px;
}

.service4 .node h4 {
    color: var(--red-color);
    margin: 6px 0 5px;
    font-size: 1.2rem;
}

.service4 .node p {
    color: var(--black-color-two);
    font-size: 1rem;
}

/* deliverables grid */
.service4 .dg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.service4 .dg .d {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
}

.service4 .dg .d .n {
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--red);
    margin-bottom: 12px;
}

.service4 .dg .d h4 {
    color: var(--red-color);
    margin-bottom: 6px;
}

.service4 .dg .d p {
    color: var(--black-color-two);
    font-size: 1rem;
}

.service4 .cta {
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
    border-radius: 18px;
    padding: 60px 50px;
    text-align: center;
}

.service4 .cta h2 {
    color: #fff;
    font-size: 2.1rem;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.service4 .cta p {
    color: var(--white-color);
    max-width: 560px;
    margin: 0 auto 26px;
}

.service4 .cta button {
    background: var(--white-color);
    color: var(--red-dark);
    border: none;
    padding: 17px 38px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service4 .cta button:hover {
    /* background: var(--red-bright); */
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

@media(max-width:820px) {
    .service4 .tiles {
        grid-template-columns: 1fr 1fr;
    }

    .service4 .hero h1 {
        font-size: 2.2rem;
    }

    .service4 .layer {
        grid-template-columns: 1fr;
    }

    .service4 .dg {
        grid-template-columns: 1fr;
    }

    .service4 .node {
        margin-right: 0;
    }

    .service4 .node:not(:last-child)::after {
        display: none;
    }
}