/* =========================================
   Basic Reset
========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #1b1b1b;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

img,
svg {
    display: block;
    max-width: 100%;
}

/* =========================================
   Why Choose Miesha Section
========================================= */

.miesha-why {
    position: relative;
    overflow: hidden;
    padding: clamp(65px, 7vw, 115px) 0;
    background:
        radial-gradient(
            circle at top left,
            rgba(255, 78, 111, 0.08),
            transparent 35%
        ),
        #fff3f5;
}

.miesha-why__container {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
}

/* =========================================
   Section Heading
========================================= */

.miesha-why__heading {
    max-width: 780px;
    margin: 0 auto clamp(38px, 4.5vw, 65px);
    text-align: center;
}

.miesha-why__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: #f52f5b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.miesha-why__eyebrow::before,
.miesha-why__eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.miesha-why__title {
    margin: 0;
    color: #171717;
    font-size: clamp(32px, 3.5vw, 54px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.4px;
}

.miesha-why__description {
    max-width: 690px;
    margin: 20px auto 0;
    color: #666666;
    font-size: clamp(15px, 1.15vw, 18px);
    line-height: 1.75;
}

/* =========================================
   Feature Grid
========================================= */

.miesha-why__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
}

/* =========================================
   Feature Card
========================================= */

.miesha-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;
    padding: clamp(28px, 2.4vw, 40px)
             clamp(22px, 2vw, 32px);
    background: #ffffff;
    border: 1px solid rgba(245, 47, 91, 0.1);
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(24, 24, 24, 0.06);
    isolation: isolate;
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.miesha-feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        #f52f5b 0%,
        #ff7047 100%
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.miesha-feature-card::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -65px;
    z-index: -1;
    width: 150px;
    height: 150px;
    background: rgba(245, 47, 91, 0.05);
    border-radius: 50%;
    transition:
        right 0.35s ease,
        bottom 0.35s ease,
        transform 0.35s ease;
}

.miesha-feature-card:hover {
    transform: translateY(-9px);
    border-color: rgba(245, 47, 91, 0.2);
    box-shadow: 0 22px 48px rgba(245, 47, 91, 0.13);
}

.miesha-feature-card:hover::before {
    transform: scaleX(1);
}

.miesha-feature-card:hover::after {
    right: -35px;
    bottom: -45px;
    transform: scale(1.15);
}

/* =========================================
   Feature Icon
========================================= */

.miesha-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin-bottom: 25px;
    color: #f52f5b;
    background: #fff0f3;
    border: 1px solid rgba(245, 47, 91, 0.08);
    border-radius: 50%;
    transition:
        color 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease;
}

.miesha-feature-card__icon svg {
    width: 35px;
    height: 35px;
}

.miesha-feature-card:hover .miesha-feature-card__icon {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #f52f5b 0%,
        #ff7047 100%
    );
    border-color: transparent;
    transform: rotate(-5deg) scale(1.06);
}

/* =========================================
   Feature Content
========================================= */

.miesha-feature-card__content {
    position: relative;
    z-index: 1;
}

.miesha-feature-card__title {
    margin: 0 0 12px;
    color: #171717;
    font-size: clamp(20px, 1.5vw, 24px);
    font-weight: 700;
    line-height: 1.3;
}

.miesha-feature-card__text {
    margin: 0;
    color: #707070;
    font-size: 15px;
    line-height: 1.72;
}

/* =========================================
   Tablet
========================================= */

@media (max-width: 991px) {
    .miesha-why__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .miesha-feature-card {
        min-height: 285px;
    }
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 575px) {
    .miesha-why {
        padding: 58px 0;
    }

    .miesha-why__container {
        width: min(100% - 24px, 1320px);
    }

    .miesha-why__heading {
        margin-bottom: 32px;
    }

    .miesha-why__eyebrow {
        font-size: 11px;
        letter-spacing: 1.7px;
    }

    .miesha-why__eyebrow::before,
    .miesha-why__eyebrow::after {
        width: 20px;
    }

    .miesha-why__title {
        font-size: 31px;
        letter-spacing: -0.8px;
    }

    .miesha-why__description {
        margin-top: 15px;
        font-size: 14px;
        line-height: 1.7;
    }

    .miesha-why__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .miesha-feature-card {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: start;
        gap: 17px;
        min-height: auto;
        padding: 23px 19px;
        border-radius: 15px;
    }

    .miesha-feature-card__icon {
        width: 58px;
        height: 58px;
        margin-bottom: 0;
    }

    .miesha-feature-card__icon svg {
        width: 28px;
        height: 28px;
    }

    .miesha-feature-card__title {
        margin-bottom: 7px;
        font-size: 19px;
    }

    .miesha-feature-card__text {
        font-size: 14px;
        line-height: 1.6;
    }

    .miesha-feature-card:hover {
        transform: translateY(-4px);
    }
}

/* =========================================
   Very Small Screens
========================================= */

@media (max-width: 360px) {
    .miesha-feature-card {
        grid-template-columns: 1fr;
    }

    .miesha-feature-card__icon {
        margin-bottom: 2px;
    }
}

/* =========================================
   Reduced Motion Accessibility
========================================= */

@media (prefers-reduced-motion: reduce) {
    .miesha-feature-card,
    .miesha-feature-card::before,
    .miesha-feature-card::after,
    .miesha-feature-card__icon {
        transition: none;
    }

    .miesha-feature-card:hover {
        transform: none;
    }
}