/* OneOffice — Construction Business Software vertical (page-specific layouts) */

.ooc-page {
    --ooc: #512888;
    --ooc-deep: #2d1650;
    --ooc-mid: #6b3fa6;
    --ooc-soft: #f7f3fc;
    --ooc-tint: #efe7fa;
    --ooc-line: #e6dcf3;
    --ooc-ink: #1f1633;
    --ooc-muted: #5a5370;
}

/* —— Project phase rails —— */
.ooc-rails {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}
.ooc-rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    align-items: center;
}
@media (min-width: 992px) {
    .ooc-rail {
        grid-template-columns: 17.5rem 1fr;
        gap: 1.5rem;
    }
}
.ooc-rail-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.ooc-rail-ic {
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 12px;
    background: var(--ooc-tint);
    color: var(--ooc);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ooc-rail-meta .oov-card-title {
    margin: 0;
    font-size: 1.05rem;
}
.ooc-rail-track {
    position: relative;
    background: repeating-linear-gradient(
        90deg,
        #f4effb 0,
        #f4effb calc(20% - 1px),
        #e6dcf3 calc(20% - 1px),
        #e6dcf3 20%
    );
    border-radius: 14px;
    padding: 0.45rem;
    overflow: hidden;
}
.ooc-rail-bar {
    border-radius: 10px;
    padding: 0.85rem 1.15rem;
    color: #fff;
    background: linear-gradient(95deg, #2d1650 0%, #512888 55%, #7a4fb8 100%);
    box-shadow: 0 8px 20px rgba(45, 22, 80, 0.18);
}
.ooc-rail-bar p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}
@media (min-width: 992px) {
    .ooc-rail:nth-child(1) .ooc-rail-bar { width: 58%; }
    .ooc-rail:nth-child(2) .ooc-rail-bar { width: 58%; margin-left: 10%; }
    .ooc-rail:nth-child(3) .ooc-rail-bar { width: 58%; margin-left: 20%; }
    .ooc-rail:nth-child(4) .ooc-rail-bar { width: 58%; margin-left: 30%; }
    .ooc-rail:nth-child(5) .ooc-rail-bar { width: 58%; margin-left: 36%; }
}

/* —— Materials split (image + feature tiles) —— */
.ooc-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}
@media (min-width: 992px) {
    .ooc-split {
        grid-template-columns: 0.95fr 1.05fr;
        gap: 2.5rem;
    }
}
.ooc-split-media {
    position: relative;
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    min-height: 22rem;
    background: var(--ooc-tint);
    box-shadow: 0 18px 40px rgba(45, 22, 80, 0.14);
}
.ooc-split-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ooc-split-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(to top, rgba(31, 14, 60, 0.55), transparent);
    pointer-events: none;
}
.ooc-split-badge {
    position: absolute;
    left: 1.15rem;
    bottom: 1.15rem;
    z-index: 1;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(81, 40, 136, 0.88);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
}
.ooc-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}
@media (min-width: 576px) {
    .ooc-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}
.ooc-tile {
    background: #fff;
    border: 1px solid var(--ooc-line);
    border-radius: 16px;
    padding: 1.2rem 1.25rem;
    box-shadow: 0 8px 22px rgba(81, 40, 136, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ooc-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(81, 40, 136, 0.1);
}
.ooc-tile .oov-ic {
    margin-bottom: 0.75rem;
}
.ooc-tile .oov-card-title {
    font-size: 1.02rem;
}
.ooc-tile--accent {
    grid-column: 1 / -1;
    display: flex;
    gap: 1.1rem;
    align-items: center;
    background: linear-gradient(135deg, #2d1650 0%, #512888 100%);
    border-color: transparent;
}
.ooc-tile--accent .oov-card-title {
    color: #fff;
}
.ooc-tile--accent .oov-card-text {
    color: rgba(255, 255, 255, 0.88);
}
.ooc-tile--accent .oov-ic {
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

/* —— Multi-site locations —— */
.ooc-sites {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .ooc-sites {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1200px) {
    .ooc-sites {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
}
.ooc-site {
    position: relative;
    background: #fff;
    border: 1px solid var(--ooc-line);
    border-radius: 18px;
    padding: 1.5rem 1.25rem 1.35rem;
    text-align: center;
    box-shadow: 0 10px 26px rgba(81, 40, 136, 0.07);
}
.ooc-site-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--ooc);
    color: #fff;
    box-shadow: 0 0 0 6px var(--ooc-tint);
}
.ooc-site .oov-card-title {
    font-size: 1.02rem;
}
.ooc-site .oov-card-text {
    font-size: 0.9rem;
}
@media (min-width: 1200px) {
    .ooc-sites {
        position: relative;
    }
    .ooc-sites::before {
        content: "";
        position: absolute;
        left: 10%;
        right: 10%;
        top: 2.55rem;
        border-top: 2px dashed #cdb9ea;
        z-index: 0;
    }
    .ooc-site {
        z-index: 1;
    }
}

/* —— CRM opportunity board —— */
.ooc-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) {
    .ooc-board {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1200px) {
    .ooc-board {
        grid-template-columns: repeat(5, 1frapp);
        gap: 0.9rem;
    }
}
.ooc-col {
    /* background: #fff; */
    /* border: 1px solid var(--ooc-line); */
    /* border-radius: 16px; */
    /* padding: 1.15rem; */
    /* box-shadow: 0 8px 22px rgba(81, 40, 136, 0.06); */
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 100%;
}
.ooc-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--ooc-tint);
}
.ooc-col-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ooc);
}
.ooc-col-no {
    font-size: 0.85rem;
    font-weight: 800;
    color: #b9a0dc;
}
.ooc-col-card {
    background: var(--ooc-soft);
    border: 1px solid var(--ooc-line);
    border-left: 4px solid var(--ooc);
    border-radius: 12px;
    padding: 1rem 1.05rem;
    flex: 1 1 auto;
}
.ooc-col-card .oov-card-title {
    font-size: 1.02rem;
}
.ooc-col-card .oov-card-text {
    font-size: 0.9rem;
}
.ooc-col:nth-child(2) .ooc-col-card { border-left-color: #62359c; }
.ooc-col:nth-child(3) .ooc-col-card { border-left-color: #7248ae; }
.ooc-col:nth-child(4) .ooc-col-card { border-left-color: #8a5fc6; }
.ooc-col:nth-child(5) .ooc-col-card { border-left-color: #a57ad6; }

/* —— Finance section with image —— */
.ooc-finance-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}
@media (min-width: 992px) {
    .ooc-finance-top {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 2.5rem;
    }
}
.ooc-finance-art {
    background: #fff;
    border-radius: 24px;
    padding: 0.9rem;
    box-shadow: 0 18px 40px rgba(45, 22, 80, 0.12);
    border: 1px solid var(--ooc-line);
}
.ooc-finance-art img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}
.ooc-path {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}
.ooc-path-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--ooc-line);
    border-radius: 14px;
    padding: 1rem 1.15rem;
}
.ooc-path-item .oov-ic {
    width: 2.5rem;
    height: 2.5rem;
}
.ooc-path-item .oov-card-title {
    font-size: 1.02rem;
}
.ooc-finance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) {
    .ooc-finance-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.ooc-finance-card {
    background: #fff;
    border: 1px solid var(--ooc-line);
    border-top: 4px solid var(--ooc);
    border-radius: 16px;
    padding: 1.4rem;
    box-shadow: 0 8px 22px rgba(81, 40, 136, 0.06);
}
.ooc-finance-card .oov-ic {
    margin-bottom: 0.9rem;
}

/* —— Marketing pulse cards —— */
.ooc-pulse {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}
@media (min-width: 768px) {
    .ooc-pulse {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1200px) {
    .ooc-pulse {
        grid-template-columns: repeat(5, 1fr);
        align-items: stretch;
    }
    .ooc-pulse-card:nth-child(even) {
        transform: translateY(1.25rem);
    }
}
.ooc-pulse-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    padding: 1.5rem 1.25rem;
    overflow: hidden;
}
.ooc-pulse-no {
    position: absolute;
    right: 0.85rem;
    top: 0.35rem;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
}
.ooc-pulse-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #d9c6f2;
    color: #2d1650;
    margin-bottom: 1rem;
}
.ooc-pulse-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.4rem;
}
.ooc-pulse-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}
@media (max-width: 1199px) {
    .ooc-pulse-card:nth-child(even) {
        transform: none;
    }
}

/* —— Workforce access badges —— */
.ooc-workforce {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) {
    .ooc-workforce {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1200px) {
    .ooc-workforce {
        grid-template-columns: repeat(6, 1fr);
    }
    .ooc-workforce-card {
        grid-column: span 2;
    }
    .ooc-workforce-card:nth-child(4),
    .ooc-workforce-card:nth-child(5) {
        grid-column: span 3;
    }
}
.ooc-workforce-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--ooc-line);
    border-radius: 16px;
    padding: 1.25rem 1.3rem;
    box-shadow: 0 8px 22px rgba(81, 40, 136, 0.06);
}
.ooc-workforce-card .oov-card-title {
    font-size: 1.05rem;
}
.ooc-toggle {
    flex: 0 0 auto;
    position: relative;
    width: 2.5rem;
    height: 1.35rem;
    margin-top: 0.2rem;
    border-radius: 999px;
    background: var(--ooc);
}
.ooc-toggle::after {
    content: "";
    position: absolute;
    top: 0.18rem;
    right: 0.18rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #fff;
}
.ooc-workforce-body {
    flex: 1 1 auto;
}
