/* =========================================================
   WEBARTY TEMPLATES — WHY WEBARTY THEMES
   COMPLETE CSS FOR REPLACEMENT
   Card redesign: 2026-08-27 18:15
   ========================================================= */

.wa-tpl-why,
.wa-tpl-why *,
.wa-tpl-why *::before,
.wa-tpl-why *::after {
    box-sizing: border-box;
}

.wa-tpl-why h2,
.wa-tpl-why p {
    margin: 0;
    padding: 0;
}

.wa-tpl-why {
    --wa-why-dark: #283550;
    --wa-why-text: #657188;
    --wa-why-teal: #00a78e;
    --wa-why-green: #36c88a;
    --wa-why-border: rgba(40, 53, 80, .12);

    width: 100%;
    padding: 100px 0 106px;
    color: var(--wa-why-dark);
    background: linear-gradient(180deg, #e1eaed 0%, #edf3f4 100%);
    font-family: var(--e-global-typography-text-font-family, "Roboto"), Arial, sans-serif;
}

.wa-tpl-why__inner {
    width: min(calc(100% - 128px), 1380px);
    max-width: 1380px;
    margin: 0 auto;
}

.wa-tpl-why__header {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .72fr);
    grid-template-rows: auto auto;
    align-items: end;
    column-gap: clamp(64px, 7vw, 108px);
    margin-bottom: 54px;
}

.wa-tpl-why__eyebrow {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--wa-why-teal);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.wa-tpl-why__eyebrow-line {
    display: block;
    flex: 0 0 33px;
    width: 33px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wa-why-teal), var(--wa-why-green));
}

.wa-tpl-why__title {
    grid-column: 1;
    grid-row: 2;
    max-width: 820px;
    color: var(--wa-why-dark) !important;
    font-family: inherit !important;
    font-size: clamp(39px, 3.45vw, 53px) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    letter-spacing: -.043em !important;
    text-transform: none !important;
}

.wa-tpl-why__intro {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    max-width: 560px;
    padding-bottom: 5px !important;
    color: var(--wa-why-text) !important;
    font-size: 16.5px;
    font-weight: 400;
    line-height: 1.72;
}

.wa-tpl-why__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.wa-tpl-why__item {
    display: flex;
    min-width: 0;
    min-height: 238px;
    flex-direction: column;
    align-items: flex-start;
    padding: 27px 25px 26px;
    border: 1px solid var(--wa-why-border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(40, 53, 80, .035);
    transform: none !important;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.wa-tpl-why__item:hover,
.wa-tpl-why__item:focus-within {
    border-color: rgba(0, 167, 142, .32);
    background: #edf8f5;
    box-shadow: 0 18px 42px rgba(31, 51, 75, .075);
    transform: none !important;
}

.wa-tpl-why__top {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
}

.wa-tpl-why__top > span {
    position: relative;
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 167, 142, .18);
    border-radius: 14px;
    color: var(--wa-why-teal);
    background: rgba(0, 167, 142, .075);
    font-size: 0;
    line-height: 1;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.wa-tpl-why__top > span::before {
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    background: currentColor;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.wa-tpl-why__item:nth-child(1) .wa-tpl-why__top > span::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.4%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.4%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.4%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.4%22%2F%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.4%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.4%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.4%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.4%22%2F%3E%3C%2Fsvg%3E");
}
.wa-tpl-why__item:nth-child(2) .wa-tpl-why__top > span::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222.5%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%221.8%22%2F%3E%3Cpath%20d%3D%22M7%2019h5M9.5%2015v4%22%2F%3E%3Crect%20x%3D%2217.5%22%20y%3D%228%22%20width%3D%224%22%20height%3D%2210%22%20rx%3D%221.2%22%2F%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222.5%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%221.8%22%2F%3E%3Cpath%20d%3D%22M7%2019h5M9.5%2015v4%22%2F%3E%3Crect%20x%3D%2217.5%22%20y%3D%228%22%20width%3D%224%22%20height%3D%2210%22%20rx%3D%221.2%22%2F%3E%3C%2Fsvg%3E");
}
.wa-tpl-why__item:nth-child(3) .wa-tpl-why__top > span::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h5M15%207h5M4%2017h9M19%2017h1%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2217%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h5M15%207h5M4%2017h9M19%2017h1%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2217%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E");
}
.wa-tpl-why__item:nth-child(4) .wa-tpl-why__top > span::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2015a4%204%200%200%201-4%204H8l-5%203V7a4%204%200%200%201%204-4h10a4%204%200%200%201%204%204Z%22%2F%3E%3Cpath%20d%3D%22M8%209h8M8%2013h5%22%2F%3E%3C%2Fsvg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21%2015a4%204%200%200%201-4%204H8l-5%203V7a4%204%200%200%201%204-4h10a4%204%200%200%201%204%204Z%22%2F%3E%3Cpath%20d%3D%22M8%209h8M8%2013h5%22%2F%3E%3C%2Fsvg%3E");
}

.wa-tpl-why__item:hover .wa-tpl-why__top > span,
.wa-tpl-why__item:focus-within .wa-tpl-why__top > span {
    border-color: var(--wa-why-teal);
    color: #ffffff;
    background: var(--wa-why-teal);
}

.wa-tpl-why__top strong {
    display: block;
    min-width: 0;
    margin-top: 20px;
    color: var(--wa-why-dark);
    font-size: 20.5px;
    font-weight: 800;
    line-height: 1.24;
    letter-spacing: -.026em;
}

.wa-tpl-why__item > p {
    max-width: none;
    margin: 12px 0 0 !important;
    color: var(--wa-why-text) !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.64;
}

@media (min-width: 1201px) and (max-width: 1320px) {
    .wa-tpl-why {
        padding: 88px 0 94px;
    }
}

@media (max-width: 1200px) {
    .wa-tpl-why {
        padding: 88px 0 94px;
    }

    .wa-tpl-why__inner {
        width: min(calc(100% - 56px), 1380px);
    }

    .wa-tpl-why__header {
        grid-template-columns: minmax(0, 1fr) minmax(330px, .76fr);
        column-gap: 48px;
    }

    .wa-tpl-why__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .wa-tpl-why__item {
        min-height: 220px;
        padding: 27px 26px 26px;
    }
}

@media (max-width: 1080px) {
    .wa-tpl-why__inner {
        width: min(calc(100% - 48px), 1380px);
    }

    .wa-tpl-why__header {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0;
        margin-bottom: 44px;
    }

    .wa-tpl-why__eyebrow,
    .wa-tpl-why__title,
    .wa-tpl-why__intro {
        grid-column: 1;
        grid-row: auto;
    }

    .wa-tpl-why__intro {
        max-width: 760px;
        margin-top: 22px !important;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    .wa-tpl-why {
        padding: 72px 0 78px;
    }

    .wa-tpl-why__inner {
        width: calc(100% - 48px);
    }

    .wa-tpl-why__header {
        margin-bottom: 36px;
    }

    .wa-tpl-why__eyebrow {
        gap: 10px;
        margin-bottom: 16px;
        font-size: 11px;
    }

    .wa-tpl-why__eyebrow-line {
        flex-basis: 27px;
        width: 27px;
        height: 2px;
    }

    .wa-tpl-why__title {
        font-size: clamp(31px, 8.1vw, 38px) !important;
        line-height: 1.09 !important;
    }

    .wa-tpl-why__intro {
        margin-top: 20px !important;
        font-size: 15px;
        line-height: 1.65;
    }

    .wa-tpl-why__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .wa-tpl-why__item {
        min-height: 0;
        padding: 25px 22px 24px;
        border-radius: 19px;
    }

    .wa-tpl-why__top {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .wa-tpl-why__top > span {
        width: 50px;
        height: 50px;
        border-radius: 13px;
    }

    .wa-tpl-why__top > span::before {
        width: 24px;
        height: 24px;
    }

    .wa-tpl-why__top strong {
        margin-top: 18px;
        font-size: 20.5px;
    }

    .wa-tpl-why__item > p {
        margin: 11px 0 0 !important;
        font-size: 14px;
    }
}

@media (max-width: 390px) {
    .wa-tpl-why__inner {
        width: calc(100% - 40px);
    }

    .wa-tpl-why__title {
        font-size: 30px !important;
    }

    .wa-tpl-why__item {
        padding: 23px 20px 22px;
    }
}

@media (min-width: 1920px) {
    .wa-tpl-why {
        padding: 112px 0 118px;
    }

    .wa-tpl-why__inner {
        width: min(calc(100% - 160px), 1560px);
        max-width: 1560px;
    }

    .wa-tpl-why__header {
        grid-template-columns: minmax(0, 1.06fr) minmax(420px, .74fr);
        gap: 104px;
        margin-bottom: 60px;
    }

    .wa-tpl-why__title {
        font-size: 54px !important;
    }

    .wa-tpl-why__intro {
        max-width: 580px;
        font-size: 17px;
    }

    .wa-tpl-why__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }

    .wa-tpl-why__item {
        min-height: 246px;
        padding: 31px 29px 29px;
    }

    .wa-tpl-why__top strong {
        margin-top: 21px;
        font-size: 22px;
    }

    .wa-tpl-why__item > p {
        margin-top: 13px !important;
        font-size: 14.75px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-tpl-why *,
    .wa-tpl-why *::before,
    .wa-tpl-why *::after {
        transition: none !important;
        animation: none !important;
    }
}
