/* ==========================================================================
   Awayly — How It Works
   ========================================================================== */


/* ==========================================================================
   Hero
   ========================================================================== */

.hiw-hero h1 {
    max-width: 900px;
    margin-inline: auto;
}

.hiw-hero h1 span {
    display: block;
    color: var(--blue);
}

.hiw-hero p {
    max-width: 760px;
    margin-inline: auto;
}

.hiw-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.hiw-hero-proof {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 22px;
}

.hiw-hero-proof span {
    color: #65778d;
    font-size: .75rem;
    font-weight: 700;
}

.hiw-hero-proof span::before {
    content: "✓";
    margin-right: 7px;
    color: #0c9a65;
    font-weight: 900;
}


/* ==========================================================================
   Quick overview
   ========================================================================== */

.hiw-overview {
    padding: 0 0 20px;
}

.hiw-overview-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #e0e8f1;
    border-radius: 18px;
    background: #fff;
}

.hiw-overview article {
    padding: 18px 14px;
    text-align: center;
}

.hiw-overview article+article {
    border-left: 1px solid #e7edf4;
}

.hiw-overview strong {
    display: block;
    margin-bottom: 4px;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
}

.hiw-overview span {
    color: var(--navy);
    font-size: .72rem;
    font-weight: 800;
}


/* ==========================================================================
   Intro
   ========================================================================== */

.hiw-intro {
    padding-top: 70px;
}

.hiw-intro-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 62px;
    align-items: start;
}

.hiw-intro-grid p {
    margin: 0;
    color: #68798d;
    line-height: 1.78;
}

.hiw-intro-grid p+p {
    margin-top: 16px;
}


/* ==========================================================================
   Main steps
   ========================================================================== */

.hiw-steps-section {
    background: #f7faff;
}

.hiw-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hiw-step {
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    gap: 45px;
    align-items: center;
    padding: 42px;
    border: 1px solid #e0e8f2;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(15, 42, 73, .05);
}

.hiw-step--reverse .hiw-step-copy {
    order: 2;
}

.hiw-step--reverse .hiw-step-image,
.hiw-step--reverse .hiw-step-panel,
.hiw-step--reverse .hiw-people-card {
    order: 1;
}

.hiw-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 19px;
    border-radius: 13px;
    background: #ecf3ff;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
}

.hiw-step-copy h2 {
    margin: 8px 0 14px;
    color: var(--navy);
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -.03em;
}

.hiw-step-copy>p {
    margin: 0;
    color: #6b7b8f;
    line-height: 1.75;
}

.hiw-step-copy .check-list {
    margin-top: 20px;
}

.hiw-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--blue);
    font-size: .8rem;
    font-weight: 850;
}

.hiw-inline-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hiw-step-image {
    min-width: 0;
}

.hiw-image {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e3eaf3;
    border-radius: 21px;
    box-shadow: 0 20px 46px rgba(15, 42, 73, .09);
}

.hiw-image--mobile {
    display: none;
}


/* ==========================================================================
   Setup panel
   ========================================================================== */

.hiw-step-panel,
.hiw-people-card {
    padding: 30px;
    border: 1px solid #dde7f2;
    border-radius: 22px;
    background:
        linear-gradient(145deg, #f8fbff, #fff);
    box-shadow: 0 18px 42px rgba(15, 42, 73, .06);
}

.hiw-panel-label {
    display: block;
    margin-bottom: 10px;
    color: var(--blue);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hiw-step-panel>strong {
    display: block;
    margin-bottom: 22px;
    color: var(--navy);
    font-size: 1.7rem;
    line-height: 1.2;
}

.hiw-setup-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hiw-setup-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #e4ebf3;
    border-radius: 13px;
    background: #fff;
    color: #42546a;
    font-size: .79rem;
    font-weight: 750;
}

.hiw-setup-list b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    background: #edf4ff;
    color: var(--blue);
    font-size: .68rem;
}


/* ==========================================================================
   People card
   ========================================================================== */

.hiw-person {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
}

.hiw-person+.hiw-person {
    border-top: 1px solid #e7edf4;
}

.hiw-person>span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #eef4ff;
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
}

.hiw-person strong,
.hiw-person small {
    display: block;
}

.hiw-person strong {
    color: var(--navy);
    font-size: .82rem;
}

.hiw-person small {
    margin-top: 2px;
    color: #8593a3;
    font-size: .69rem;
}

.hiw-person b {
    color: var(--navy);
    font-size: .74rem;
}


/* ==========================================================================
   Roles
   ========================================================================== */

.hiw-roles-heading {
    max-width: 850px;
    margin-bottom: 32px;
}

.hiw-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hiw-role-grid article {
    padding: 29px;
    border: 1px solid #dee7f0;
    border-radius: 21px;
    background: #fff;
}

.hiw-role-label {
    display: inline-flex;
    margin-bottom: 15px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #edf4ff;
    color: var(--blue);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.hiw-role-grid h3 {
    margin: 0 0 11px;
    color: var(--navy);
    font-size: 1.17rem;
    line-height: 1.35;
}

.hiw-role-grid p {
    margin: 0;
    color: #6d7e91;
    font-size: .82rem;
    line-height: 1.68;
}

.hiw-role-grid .check-list {
    margin-top: 18px;
}


/* ==========================================================================
   Absence section
   ========================================================================== */

.hiw-absence {
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, .07), transparent 25%),
        #f8fbff;
}

.hiw-absence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.hiw-absence-grid p {
    color: #6b7b90;
    line-height: 1.75;
}

.hiw-absence-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 22px;
}

.hiw-absence-links a {
    color: var(--blue);
    font-size: .78rem;
    font-weight: 850;
}

.hiw-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hiw-type-grid span {
    padding: 18px 20px;
    border: 1px solid #dfe8f2;
    border-radius: 15px;
    background: #fff;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(15, 42, 73, .04);
}

.hiw-type-grid span::before {
    content: "✓";
    margin-right: 9px;
    color: #0b9f79;
}


/* ==========================================================================
   Before / after
   ========================================================================== */

.hiw-before-after-heading {
    max-width: 750px;
    margin-bottom: 30px;
}

.hiw-before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.hiw-before,
.hiw-after {
    padding: 32px;
    border-radius: 22px;
}

.hiw-before {
    border: 1px solid #e5e7eb;
    background: #fafafa;
}

.hiw-after {
    border: 1px solid #cfe1f8;
    background: #f3f8ff;
}

.hiw-before>span,
.hiw-after>span {
    display: inline-flex;
    margin-bottom: 13px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: .65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hiw-before>span {
    background: #eee;
    color: #6f7782;
}

.hiw-after>span {
    background: #e7f1ff;
    color: var(--blue);
}

.hiw-before h3,
.hiw-after h3 {
    margin: 0 0 16px;
    color: var(--navy);
    font-size: 1.25rem;
}

.hiw-before ul,
.hiw-after ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hiw-before li,
.hiw-after li {
    color: #66788b;
    font-size: .8rem;
}

.hiw-before li::before {
    content: "–";
    margin-right: 9px;
    color: #9aa4af;
}

.hiw-after li::before {
    content: "✓";
    margin-right: 9px;
    color: #0b9f79;
    font-weight: 900;
}


/* ==========================================================================
   Pricing
   ========================================================================== */

.hiw-price-section {
    padding-top: 35px;
}

.hiw-price-card {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 35px;
    align-items: center;
    padding: 38px 42px;
    border: 1px solid #dce6f2;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(15, 42, 73, .06);
}

.hiw-price-card h2 {
    margin: 7px 0 10px;
    color: var(--navy);
    font-size: 2rem;
    line-height: 1.18;
}

.hiw-price-card p {
    max-width: 700px;
    margin: 0;
    color: #6b7c90;
    line-height: 1.7;
}

.hiw-price {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: end;
    white-space: nowrap;
}

.hiw-price>span {
    align-self: start;
    margin-top: 8px;
    color: var(--navy);
    font-weight: 850;
}

.hiw-price strong {
    color: var(--navy);
    font-size: 3.8rem;
    line-height: .9;
    letter-spacing: -.05em;
}

.hiw-price small {
    margin: 0 0 5px 5px;
    color: #74859a;
    font-size: .8rem;
}

.hiw-price b {
    grid-column: 1 / -1;
    margin-top: 5px;
    color: #62758b;
    font-size: .7rem;
    text-align: right;
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.hiw-faq {
    background: #f8fbff;
}


/* ==========================================================================
   Final CTA
   ========================================================================== */

.hiw-final {
    padding: 28px 0 88px;
}

.hiw-final-card {
    padding: 58px 34px;
    border-radius: 27px;
    background:
        radial-gradient(circle at 10% 15%, rgba(95, 226, 211, .15), transparent 28%),
        radial-gradient(circle at 90% 85%, rgba(56, 125, 255, .18), transparent 30%),
        #0c2d54;
    text-align: center;
    box-shadow: 0 25px 65px rgba(12, 45, 84, .17);
}

.hiw-final-card h2 {
    max-width: 780px;
    margin: 10px auto 14px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.hiw-final-card p {
    max-width: 650px;
    margin: 0 auto;
    color: #c4d3e4;
    line-height: 1.7;
}

.hiw-final-card>div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media(min-width:701px) {

    .hiw-image--desktop {
        display: block !important;
    }

    .hiw-image--mobile {
        display: none !important;
    }

}


@media(max-width:1050px) {

    .hiw-overview-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hiw-overview article:nth-child(4) {
        border-left: 0;
    }

    .hiw-overview article:nth-child(n+4) {
        border-top: 1px solid #e7edf4;
    }

    .hiw-step {
        grid-template-columns: 1fr;
    }

    .hiw-step--reverse .hiw-step-copy,
    .hiw-step--reverse .hiw-step-image,
    .hiw-step--reverse .hiw-step-panel,
    .hiw-step--reverse .hiw-people-card {
        order: initial;
    }

    .hiw-price-card {
        grid-template-columns: 1fr auto;
    }

    .hiw-price-card>.btn {
        grid-column: 1 / -1;
        width: max-content;
    }

}


@media(max-width:850px) {

    .hiw-intro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hiw-role-grid {
        grid-template-columns: 1fr;
    }

    .hiw-absence-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hiw-before-after-grid {
        grid-template-columns: 1fr;
    }

}


@media(max-width:700px) {

    .hiw-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hiw-hero-actions .btn {
        width: 100%;
    }

    .hiw-hero-proof {
        align-items: flex-start;
        flex-direction: column;
        width: max-content;
        max-width: 100%;
        margin-inline: auto;
    }

    .hiw-overview {
        overflow: hidden;
    }

    .hiw-overview .container {
        padding-right: 0;
    }

    .hiw-overview-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 0 18px 4px 0;
    }

    .hiw-overview-grid::-webkit-scrollbar {
        display: none;
    }

    .hiw-overview article {
        flex: 0 0 62%;
        scroll-snap-align: start;
        padding: 17px 18px;
        border: 1px solid #e1e9f2 !important;
        border-radius: 15px;
        background: #fff;
        text-align: left;
    }

    .hiw-step {
        gap: 26px;
        padding: 24px 20px;
        border-radius: 21px;
    }

    .hiw-image--desktop {
        display: none !important;
    }

    .hiw-image--mobile {
        display: block !important;
        width: min(100%, 420px);
        margin-inline: auto;
    }

    .hiw-step-panel,
    .hiw-people-card {
        padding: 22px 18px;
    }

    .hiw-step-panel>strong {
        font-size: 1.4rem;
    }

    .hiw-type-grid {
        grid-template-columns: 1fr;
    }

    .hiw-price-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 22px;
    }

    .hiw-price-card h2 {
        font-size: 1.6rem;
    }

    .hiw-price {
        width: max-content;
    }

    .hiw-price b {
        text-align: left;
    }

    .hiw-price-card>.btn {
        grid-column: auto;
        width: 100%;
    }

    .hiw-final {
        padding-bottom: 55px;
    }

    .hiw-final-card {
        padding: 42px 20px;
        border-radius: 22px;
    }

    .hiw-final-card>div {
        align-items: stretch;
        flex-direction: column;
    }

    .hiw-final-card .btn {
        width: 100%;
    }

}