/* ==========================================================================
   Content blocks
   The markup uses Bootstrap utilities plus a small set of clean component
   classes. Only the parts Bootstrap does not provide live here; everything
   else is plain Bootstrap.
   ========================================================================== */

/* ── Lists ──────────────────────────────────────────────────────────────── */

.c-list {
    margin-bottom: 1.25rem;
    padding-left: 1.15rem;
}

.c-list li {
    margin-bottom: .4rem;
}

/* ── Round icon ─────────────────────────────────────────────────────────── */

.c-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

.c-icon img {
    width: .95rem;
    height: .95rem;
    object-fit: contain;
}

.c-icon--accent img {
    width: 1.05rem;
    height: 1.05rem;
}

/* Small dot used in the feature lists. */
.c-dot {
    flex: 0 0 .4rem;
    width: .4rem;
    height: .4rem;
    margin-top: .55rem;
    border-radius: 50%;
}

/* White box that holds a small icon. */
.c-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 16px rgb(40 40 40 / 12%);
}

.c-icon-box img {
    max-width: 1.4rem;
    max-height: 1.4rem;
}

/* ── Service card ───────────────────────────────────────────────────────── */

.c-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 32px rgb(0 0 0 / 6%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.c-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgb(0 0 0 / 14%);
}

.c-card > img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.c-card__title {
    padding: .7rem .4rem;
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.c-card__title a {
    color: var(--ink);
    transition: color .2s ease;
}

.c-card:hover .c-card__title a {
    color: var(--blue);
}

.c-card__price {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--muted);
}

.c-card__price span {
    margin: 0 .15rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blue);
}

.partner-grid__logo {
    max-height: 100px;
}

/* ── Request block ──────────────────────────────────────────────────────── */

.c-request {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 2rem 2rem 30%;
    border-radius: 15px;
}

.c-request::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--request-background) center / cover no-repeat;
    filter: brightness(.92) contrast(1.08);
}

.c-request > * {
    position: relative;
    z-index: 1;
}

.c-request__col {
    flex: 1 1 auto;
    color: var(--text);
}

.c-request__col:last-child {
    flex: 0 0 320px;
    text-align: center;
}

.c-request__photo {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: 27%;
    max-width: 400px;
    height: auto;
}

@media (min-width: 992px) {
    .c-request {
        min-height: 370px;
        margin-top: 6rem;
    }
}

/* Editorial paragraphs span the available width; headings stay left-aligned. */
.section--compact p[data-component="rich-content"],
.c-editorial p[data-component="rich-content"] {
    text-align: justify;
}

/* ── How we work ────────────────────────────────────────────────────────── */
/* Numbered steps with connecting arrows. The block is scoped by its caption,
   because the partner logo strip reuses the same wrapper class. */

.c-steps:has(> .c-step > .c-step__text) {
    --workflow-blue: #246bd5;
    --workflow-ink: #172d48;
    --workflow-line: #9dbde5;
    counter-reset: workflow-step;
    padding: 14px 0 10px;
}

.c-steps:has(> .c-step > .c-step__text) > .c-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
    text-align: center;
    counter-increment: workflow-step;
}

.c-steps:has(> .c-step > .c-step__text) > .c-step::before {
    content: counter(workflow-step, decimal-leading-zero);
    position: absolute;
    z-index: 1;
    top: -9px;
    left: calc(50% - 65px);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 3px solid #f4f8ff;
    border-radius: 50%;
    background: var(--workflow-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    box-sizing: border-box;
}

.c-steps:has(> .c-step > .c-step__text) > .c-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 49px;
    left: calc(50% + 71px);
    width: calc(100% - 142px);
    height: 14px;
    background: var(--workflow-line);
    clip-path: polygon(0 43%, calc(100% - 9px) 43%, calc(100% - 9px) 6%, 100% 50%, calc(100% - 9px) 94%, calc(100% - 9px) 57%, 0 57%);
}

.c-step__icon {
    width: 112px;
    height: 112px;
    margin-bottom: 22px;
    padding: 25px;
    border: 1px solid #dce9fa;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 8px 24px -14px rgb(36 86 151 / 25%);
    object-fit: contain;
    box-sizing: border-box;
}

.c-step__text {
    color: var(--workflow-ink);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .c-steps:has(> .c-step > .c-step__text) {
        gap: 32px;
        max-width: 560px;
        margin-inline: auto;
        padding: 8px 0;
    }

    .c-steps:has(> .c-step > .c-step__text) > .c-step {
        display: grid;
        grid-template-columns: 80px minmax(0, 1fr);
        align-items: center;
        gap: 24px;
        padding: 16px 20px;
        border: 1px solid #dce9fa;
        border-radius: 20px;
        background: #fff;
        text-align: left;
    }

    .c-steps:has(> .c-step > .c-step__text) > .c-step::before {
        top: 5px;
        left: 9px;
        width: 30px;
        height: 30px;
        border-color: #fff;
        font-size: 11px;
    }

    .c-steps:has(> .c-step > .c-step__text) > .c-step:not(:last-child)::after {
        top: auto;
        bottom: -26px;
        left: 53px;
        width: 14px;
        height: 20px;
        clip-path: polygon(43% 0, 57% 0, 57% calc(100% - 8px), 94% calc(100% - 8px), 50% 100%, 6% calc(100% - 8px), 43% calc(100% - 8px));
    }

    .c-step__icon {
        width: 80px;
        height: 80px;
        margin-bottom: 0;
        padding: 17px;
        border: 0;
        border-radius: 18px;
        background: #f1f6fe;
        box-shadow: none;
    }
}

/* ── Numbers ────────────────────────────────────────────────────────────── */

.c-figure {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.c-figure--last {
    padding-bottom: .5rem;
    margin-bottom: .5rem;
}

.c-figure__value {
    position: relative;
    display: inline-block;
    font-family: var(--font-head);
    font-size: clamp(2rem, 1.4rem + 2vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--blue);
}

.c-figure__value::before {
    content: "";
    position: absolute;
    left: -1.25rem;
    top: 1.9rem;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--blue);
}

.c-figure__line {
    width: 48px;
    height: 3px;
    margin: .85rem auto 0;
    border-radius: 3px;
    background: var(--line);
}

/* ── Contacts ───────────────────────────────────────────────────────────── */

.c-contacts {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 1px 131px rgb(0 0 0 / 10%);
}

.c-contacts__col {
    flex: 1 1 auto;
}

.c-map {
    width: 100%;
    margin-bottom: 2rem;
    overflow: hidden;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.c-blick {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
}
