/* ==========================================================================
   DOWCH homepage — hero + four service shortcuts
   Scoped to .p01-home. Loaded only by templates/p01-home.php.
   Brand: existing gradient #248dff -> #79d3ed, Poppins, body #747986,
   headings #222c47, link blue #1476d2 (accessible shade of the logo blue).
   ========================================================================== */

/* ---------- Hero layout ---------- */
.p01-home .home-banner {
    background: #fff;
}

.p01-home .home-banner .container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 56px;
    min-height: 600px;
    padding-top: 56px;
    padding-bottom: 56px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.p01-home .home-banner .banner-content {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: auto;
    max-width: 600px;
    min-width: 0;
}

.p01-home .home-banner .banner-image {
    position: static;
    top: auto;
    right: auto;
    -webkit-box-flex: 0;
    -webkit-flex: 0 1 46%;
    -ms-flex: 0 1 46%;
    flex: 0 1 46%;
    max-width: 560px;
    margin: 0 0 0 auto;
    padding: 0;
}

.p01-home .home-banner .banner-image picture {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    -webkit-border-radius: 18px;
    border-radius: 18px;
    background: #eef3f8;
}

.p01-home .home-banner .banner-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.p01-home .home-banner .banner-image figcaption {
    margin: 10px 0 0;
    font-family: poppins, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #747986;
    text-align: left;
}

/* ---------- Eyebrow ---------- */
.p01-home .home-banner .banner-eyebrow {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    max-width: none;
    margin: 0 0 18px;
    font-family: poppins, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #1476d2;
}

.p01-home .home-banner .banner-eyebrow::before {
    content: '';
    -webkit-flex: 0 0 22px;
    -ms-flex: 0 0 22px;
    flex: 0 0 22px;
    width: 22px;
    height: 2px;
    background: #79d3ed;
    border-radius: 2px;
}

/* ---------- Headline ---------- */
.p01-home .home-banner h1 {
    margin: 0 0 22px;
    font-size: 50px;
    line-height: 1.14;
    letter-spacing: -.01em;
    color: #222c47;
    text-wrap: balance;
}

/* ---------- Lead ---------- */
.p01-home .home-banner .banner-lead {
    max-width: 560px;
    margin: 0 0 32px;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    color: #747986;
}

.p01-home .home-banner .banner-lead p {
    max-width: none;
    margin: 0 0 14px;
}

.p01-home .home-banner .banner-lead p:last-child {
    margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.p01-home .home-banner .banner-lead a {
    display: inline;
    width: auto;
    height: auto;
    padding: 0;
    background: none;
    background-image: none;
    border: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: #1476d2;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.p01-home .home-banner .banner-lead a:hover {
    color: #0f6fc5;
    opacity: 1;
}

.p01-home .home-banner .banner-lead a:focus-visible {
    outline: 2px solid #1476d2;
    outline-offset: 2px;
}

.p01-home .home-banner .link_btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 14px;
}

.p01-home .home-banner .link_btn a {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: 54px;
    padding: 0 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 27px;
    border-radius: 27px;
    font-family: poppins, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.p01-home .home-banner .link_btn .btn-quote {
    background-image: -webkit-gradient(linear, left bottom, left top, from(#248dff), to(#79d3ed));
    background-image: -webkit-linear-gradient(bottom, #248dff 0%, #79d3ed 100%);
    background-image: -o-linear-gradient(bottom, #248dff 0%, #79d3ed 100%);
    background-image: linear-gradient(0deg, #248dff 0%, #79d3ed 100%);
    color: #ffffff;
    -webkit-box-shadow: 0 10px 22px -12px rgba(36, 141, 255, .75);
    box-shadow: 0 10px 22px -12px rgba(36, 141, 255, .75);
}

.p01-home .home-banner .link_btn .btn-ghost {
    background: #ffffff;
    border: 1px solid #bfe3fb;
    color: #1476d2;
}

.p01-home .home-banner .link_btn a:hover {
    opacity: .94;
}

.p01-home .home-banner .link_btn a:focus-visible,
.p01-home .p01-s03 .item h4 a:focus-visible {
    outline: 2px solid #1476d2;
    outline-offset: 3px;
}

.p01-home .home-banner .link_btn .btn-ghost:hover {
    background: #f4fbff;
    border-color: #79d3ed;
    color: #0f6fc5;
    opacity: 1;
}

.p01-home .home-banner .banner-note {
    max-width: none;
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    color: #747986;
}

/* ---------- Proof row ---------- */
.p01-home .home-banner .banner-proof {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin: 34px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid #edf1f6;
    list-style: none;
}

.p01-home .home-banner .banner-proof li {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 0;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    padding: 0 18px;
    border-left: 1px solid #edf1f6;
}

.p01-home .home-banner .banner-proof li:first-child {
    padding-left: 0;
    border-left: 0;
}

.p01-home .home-banner .banner-proof strong {
    display: block;
    margin-bottom: 3px;
    font-family: poppins, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: #222c47;
}

.p01-home .home-banner .banner-proof span {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: #747986;
}

/* ---------- Responsive: hero ---------- */
@media (max-width: 1240px) {
    .p01-home .home-banner .container {
        gap: 40px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 901px) and (max-width: 1240px) {
    .p01-home .home-banner .banner-content {
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 0;
        -ms-flex: 1 1 0;
        flex: 1 1 0;
        max-width: 560px;
    }

    .p01-home .home-banner .banner-image {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 42%;
        -ms-flex: 0 0 42%;
        flex: 0 0 42%;
    }

    .p01-home .home-banner h1 {
        font-size: 44px;
    }
}

@media (max-width: 900px) {
    .p01-home .home-banner .container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
        min-height: 0;
        padding-top: 48px;
        padding-bottom: 48px;
        padding-left: 24px;
        padding-right: 24px;
        gap: 0;
    }

    .p01-home .home-banner .banner-content {
        max-width: none;
        width: 100%;
        -webkit-flex-basis: auto;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }

    .p01-home .home-banner .banner-image {
        -webkit-flex-basis: auto;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
        width: 100%;
        max-width: 440px;
        margin: 40px auto 0;
        padding: 0;
    }

    .p01-home .home-banner h1 {
        font-size: 40px;
    }
}

@media (max-width: 600px) {
    .p01-home .home-banner .container {
        padding-top: 36px;
        padding-bottom: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .p01-home .home-banner .banner-eyebrow {
        font-size: 11px;
        letter-spacing: .1em;
        margin-bottom: 14px;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .p01-home .home-banner .banner-eyebrow::before {
        margin-top: 6px;
    }

    .p01-home .home-banner h1 {
        font-size: 32px;
        line-height: 1.18;
        margin-bottom: 18px;
    }

    .p01-home .home-banner .banner-lead {
        font-size: 16px;
        line-height: 1.65;
        margin-bottom: 26px;
    }

    .p01-home .home-banner .link_btn {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: stretch;
        -webkit-align-items: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }

    .p01-home .home-banner .link_btn a {
        width: 100%;
        height: 52px;
        font-size: 16px;
    }

    .p01-home .home-banner .banner-note {
        margin-top: 12px;
    }

    .p01-home .home-banner .banner-proof {
        display: block;
        margin-top: 26px;
        padding-top: 0;
        border-top: 0;
    }

    .p01-home .home-banner .banner-proof li {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: baseline;
        -webkit-align-items: baseline;
        -ms-flex-align: baseline;
        align-items: baseline;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 14px;
        padding: 11px 0;
        border-left: 0;
        border-top: 1px solid #edf1f6;
    }

    .p01-home .home-banner .banner-proof li:first-child {
        padding-top: 0;
        border-top: 0;
    }

    .p01-home .home-banner .banner-proof li:last-child {
        padding-bottom: 0;
    }

    .p01-home .home-banner .banner-proof strong {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        margin-bottom: 0;
        font-size: 17px;
    }

    .p01-home .home-banner .banner-proof span {
        font-size: 12px;
        text-align: right;
    }

    .p01-home .home-banner .banner-image {
        margin-top: 32px;
        max-width: 360px;
    }
}

@media (max-width: 380px) {
    .p01-home .home-banner h1 {
        font-size: 29px;
    }

    .p01-home .home-banner .banner-proof strong {
        font-size: 15px;
    }

    .p01-home .home-banner .banner-proof span {
        font-size: 11px;
    }
}

/* ---------- Four service shortcuts ---------- */
.p01-home .p01-s03 .hd h2 {
    text-wrap: balance;
}

.p01-home .p01-s03 .hd a {
    color: #1476d2;
}

.p01-home .p01-s03 .hd a:hover {
    color: #0f6fc5;
    opacity: 1;
}

.p01-home .p01-s03 .item {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 270px;
    border-radius: 6px;
}

.p01-home .p01-s03 .item .text {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.p01-home .p01-s03 .item .mml-icon {
    -webkit-box-shadow: 0 10px 24px -6px rgba(36, 141, 255, .28);
    box-shadow: 0 10px 24px -6px rgba(36, 141, 255, .28);
    -webkit-transition: -webkit-transform .2s ease, box-shadow .2s ease;
    transition: transform .2s ease, box-shadow .2s ease;
}

.p01-home .p01-s03 .item h4 {
    margin-bottom: 12px;
    font-size: 19px;
    line-height: 1.3;
}

.p01-home .p01-s03 .item h4 a {
    color: #222c47;
    -webkit-transition: color .2s ease;
    transition: color .2s ease;
}

/* Whole card is clickable, keyboard focus stays on the heading link. */
.p01-home .p01-s03 .item h4 a::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.p01-home .p01-s03 .item p {
    max-width: 262px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 400;
    color: #747986;
}

.p01-home .p01-s03 .item .card-more {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    font-family: poppins, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: #1476d2;
}

.p01-home .p01-s03 .item .card-more span {
    display: inline-block;
    -webkit-transition: -webkit-transform .2s ease;
    transition: transform .2s ease;
}

.p01-home .p01-s03 .item:hover h4 a,
.p01-home .p01-s03 .item:focus-within h4 a {
    color: #1476d2;
}

.p01-home .p01-s03 .item:hover .mml-icon,
.p01-home .p01-s03 .item:focus-within .mml-icon {
    -webkit-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 14px 28px -6px rgba(36, 141, 255, .34);
    box-shadow: 0 14px 28px -6px rgba(36, 141, 255, .34);
}

.p01-home .p01-s03 .item:hover .card-more span,
.p01-home .p01-s03 .item:focus-within .card-more span {
    -webkit-transform: translateX(3px);
    -ms-transform: translateX(3px);
    transform: translateX(3px);
}

.p01-home .p01-s03 .item:hover .card-more,
.p01-home .p01-s03 .item:focus-within .card-more {
    color: #0f6fc5;
}

.p01-home .p01-s03 .item:focus-within {
    outline: 2px solid #79d3ed;
    outline-offset: 8px;
}

@media (max-width: 1024px) {
    .p01-home .p01-s03 .bd .item {
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: calc(50% - 20px);
        max-width: 320px;
        margin: 0 10px 40px;
    }

    .p01-home .p01-s03 .bd {
        margin: 0 -10px;
    }
}

@media (max-width: 600px) {
    .p01-home .p01-s03 {
        padding-left: 10px;
        padding-right: 10px;
    }

    .p01-home .p01-s03 .bd .item {
        width: 100%;
        max-width: 340px;
        margin: 0 auto 36px;
    }

    .p01-home .p01-s03 .item .mml-icon {
        width: 108px;
        height: 108px;
        margin-bottom: 24px;
    }

    .p01-home .p01-s03 .item h4 {
        font-size: 18px;
    }

    .p01-home .p01-s03 .item p {
        font-size: 14.5px;
    }
}


/* ---------- Who We Are (section 2) ---------- */
.p01-home .p01-s01 .pic {
    aspect-ratio: 1 / 1;
}

.p01-home .p01-s01 .pic img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.p01-home .p01-s01 .text-main p {
    line-height: 1.7;
}

.p01-home .p01-s01 .text-main p + p {
    margin-top: 16px;
}

.p01-home .p01-s01 .text-main p a {
    color: #1476d2;
    border-bottom: 1px solid rgba(20, 118, 210, .22);
    -webkit-transition: color .18s ease, border-color .18s ease;
    transition: color .18s ease, border-color .18s ease;
}

.p01-home .p01-s01 .text-main p a:hover {
    color: #0f6fc5;
    border-bottom-color: #0f6fc5;
    opacity: 1;
}

.p01-home .p01-s01 .text-main p a:focus-visible {
    outline: 2px solid #1476d2;
    outline-offset: 3px;
}


/* ---------- Section 3: common supply chain challenges ---------- */
.p01-home .p01-s02 .section-eyebrow {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-family: poppins, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .12em;
    color: #1476d2;
}

.p01-home .p01-s02 .section-eyebrow::before {
    content: '';
    -webkit-flex: 0 0 22px;
    -ms-flex: 0 0 22px;
    flex: 0 0 22px;
    width: 22px;
    height: 2px;
    background: #79d3ed;
    border-radius: 2px;
}

.p01-home .p01-s02 h2 {
    margin: 0 0 16px;
}

.p01-home .p01-s02 .section-intro {
    max-width: 600px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    color: #747986;
}

.p01-home .p01-s02 .text-main {
    padding-top: 28px;
}

@media (max-width: 768px) {
    .p01-home .p01-s02 .text-main {
        padding-top: 22px;
    }

    .p01-home .p01-s02 .section-eyebrow {
        font-size: 11px;
        letter-spacing: .1em;
    }
}


.p01-home .p01-s02 .pic img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
