/* =========================================================
   FM HAIRSTYLE — WHY CHOOSE US (Editorial Redesign)
   Distinct from services preview. Soft, layered, magazine-like.
========================================================= */

.fm-why-choose-us {
    position: relative;
    padding: 5rem 0 6rem;
    background: #FBF6F1; /* warmer, lighter ivory */
    overflow: hidden;
}

/* =========================================================
   AMBIENT BACKGROUND BLOBS
   Soft, blurred coral shapes for depth — not flat.
========================================================= */
.fm-why-choose-us::before,
.fm-why-choose-us::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.fm-why-choose-us::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(217, 140, 107, 0.55) 0%, rgba(217, 140, 107, 0) 70%);
    top: -120px;
    left: -140px;
}

.fm-why-choose-us::after {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 106, 138, 0.4) 0%, rgba(217, 106, 138, 0) 70%);
    bottom: -180px;
    right: -160px;
}

.fm-why-choose-us > .container {
    position: relative;
    z-index: 1;
}


/* =========================================================
   SECTION INTRO — left-aligned editorial header
   Two-column: title block + supporting text
========================================================= */
.fm-why-intro {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 3.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(217, 140, 107, 0.25);
}

.fm-why-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #D98C6B;
    margin-bottom: 1.1rem;
}

.fm-why-eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: #D98C6B;
}

.fm-why-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: #24191A;
    margin: 0;
    letter-spacing: -0.5px;
}

.fm-why-title em {
    font-style: italic;
    background: linear-gradient(135deg, #D98C6B 0%, #D96A8A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fm-why-lede {
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.8;
    color: #6B5E5A;
    margin: 0;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(217, 140, 107, 0.4);
}


/* =========================================================
   PILLAR GRID — staggered 2-column "magazine" layout
========================================================= */
.fm-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-bottom: 3rem;
}


/* =========================================================
   INDIVIDUAL PILLAR — layered editorial card
========================================================= */
.fm-why-pillar {
    position: relative;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 2.25rem 2rem 2rem;
    border: 1px solid rgba(217, 140, 107, 0.12);
    box-shadow:
        0 1px 2px rgba(18, 15, 16, 0.02),
        0 12px 32px -12px rgba(217, 140, 107, 0.18);
    transition: all 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
    isolation: isolate;
}

/* Giant decorative number in the background */
.fm-why-pillar::before {
    content: attr(data-number);
    position: absolute;
    top: -1.5rem;
    right: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    color: rgba(217, 140, 107, 0.08);
    z-index: -1;
    transition: all 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

/* Diagonal accent line that draws in on hover */
.fm-why-pillar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #D98C6B 0%, #D96A8A 100%);
    transition: width 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 2;
}

.fm-why-pillar:hover {
    transform: translateY(-8px);
    border-color: rgba(217, 140, 107, 0.3);
    box-shadow:
        0 1px 2px rgba(18, 15, 16, 0.03),
        0 24px 48px -16px rgba(217, 140, 107, 0.32);
}

.fm-why-pillar:hover::before {
    color: rgba(217, 140, 107, 0.16);
    transform: translateY(-4px) scale(1.05);
}

.fm-why-pillar:hover::after {
    width: 100%;
}


/* =========================================================
   ICON — floating badge with soft coral gradient ring
========================================================= */
.fm-why-pillar-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(217, 140, 107, 0.12) 0%, rgba(217, 106, 138, 0.12) 100%);
    color: #D98C6B;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    transition: all 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.fm-why-pillar-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    border: 1px solid rgba(217, 140, 107, 0.15);
    transition: all 0.45s ease;
    opacity: 0;
}

.fm-why-pillar:hover .fm-why-pillar-icon {
    background: linear-gradient(135deg, #D98C6B 0%, #D96A8A 100%);
    color: #FFFFFF;
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 12px 24px -8px rgba(217, 140, 107, 0.55);
}

.fm-why-pillar:hover .fm-why-pillar-icon::after {
    opacity: 1;
    inset: -8px;
}


/* =========================================================
   PILLAR TEXT
========================================================= */
.fm-why-pillar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #24191A;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.2px;
    line-height: 1.25;
}

.fm-why-pillar-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.75;
    color: #7A6E6A;
    margin: 0;
}


/* =========================================================
   CLOSING STRIP — light pill-cloud on ivory
   Sits inside the section, clearly NOT part of the footer.
========================================================= */
.fm-why-signature {
    position: relative;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px dashed rgba(217, 140, 107, 0.35);
}

/* Small centered "stamp" label above the pills */
.fm-why-signature::before {
    content: 'The FM Promise';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #FBF6F1; /* matches section bg */
    padding: 0 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #D98C6B;
    white-space: nowrap;
}

.fm-why-signature-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    max-width: 960px;
    margin: 0 auto;
}

.fm-why-signature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.25rem;
    background: #FFFFFF;
    border: 1px solid rgba(217, 140, 107, 0.22);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: #4A3E3B;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 14px -8px rgba(217, 140, 107, 0.35);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fm-why-signature-item i {
    color: #D98C6B;
    font-size: 0.85rem;
    transition: all 0.35s ease;
}

.fm-why-signature-item:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 140, 107, 0.5);
    box-shadow: 0 10px 22px -10px rgba(217, 140, 107, 0.5);
}

.fm-why-signature-item:hover i {
    color: #D96A8A;
}

/* =========================================================
   EDITORIAL FRAME
   Soft coral border with corner ticks — defines the "spread".
========================================================= */
.fm-why-frame {
    position: relative;
    padding: 3.5rem 3rem 3rem;
    border: 1px solid rgba(217, 140, 107, 0.35);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.35); /* barely-there lift */
    box-shadow:
        0 1px 2px rgba(18, 15, 16, 0.02),
        0 24px 60px -28px rgba(217, 140, 107, 0.25);
    isolation: isolate;
}

/* Soft inner highlight so the border feels layered, not flat */
.fm-why-frame::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(217, 140, 107, 0.15);
    border-radius: 14px;
    pointer-events: none;
    z-index: 0;
}

/* =========================================================
   CORNER TICKS — small cross marks at each corner
========================================================= */
.fm-why-frame-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    pointer-events: none;
    z-index: 2;
}

.fm-why-frame-corner::before,
.fm-why-frame-corner::after {
    content: '';
    position: absolute;
    background: #D98C6B;
}

.fm-why-frame-corner::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
}

.fm-why-frame-corner::after {
    height: 100%;
    width: 1px;
    left: 50%;
    top: 0;
}

.fm-why-frame-corner--tl { top: -7px; left: -7px; }
.fm-why-frame-corner--tr { top: -7px; right: -7px; }
.fm-why-frame-corner--bl { bottom: -7px; left: -7px; }
.fm-why-frame-corner--br { bottom: -7px; right: -7px; }

/* =========================================================
   INSIDE FRAME — kill the intro's bottom border
   (the frame border already separates; a second line is noise)
========================================================= */
.fm-why-frame .fm-why-intro {
    border-bottom-color: rgba(217, 140, 107, 0.2);
}

/* =========================================================
   FRAME — Responsive
========================================================= */
@media (max-width: 991px) {
    .fm-why-frame {
        padding: 2.5rem 2rem 2.25rem;
        border-radius: 16px;
    }
}

@media (max-width: 767px) {
    .fm-why-frame {
        padding: 2rem 1.25rem 1.75rem;
        border-radius: 14px;
    }

    .fm-why-frame::before {
        inset: 4px;
        border-radius: 11px;
    }

    .fm-why-frame-corner {
        width: 11px;
        height: 11px;
    }

    .fm-why-frame-corner--tl { top: -5.5px; left: -5.5px; }
    .fm-why-frame-corner--tr { top: -5.5px; right: -5.5px; }
    .fm-why-frame-corner--bl { bottom: -5.5px; left: -5.5px; }
    .fm-why-frame-corner--br { bottom: -5.5px; right: -5.5px; }
}

/* =========================================================
   RESPONSIVE — Tablet
========================================================= */
@media (max-width: 991px) {

    .fm-why-choose-us {
        padding: 4rem 0 4.5rem;
    }

    .fm-why-intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.75rem;
    }

    .fm-why-lede {
        padding-left: 1rem;
    }

    .fm-why-grid {
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }

    .fm-why-pillar {
        padding: 1.75rem 1.5rem 1.6rem;
    }

    .fm-why-pillar::before {
        font-size: 6.5rem;
        top: -1rem;
    }

    .fm-why-pillar-title {
        font-size: 1.15rem;
    }
}


/* =========================================================
   RESPONSIVE — Mobile
========================================================= */
@media (max-width: 767px) {

    .fm-why-choose-us {
        padding: 3rem 0 3.5rem;
    }

    .fm-why-choose-us::before,
    .fm-why-choose-us::after {
        filter: blur(60px);
        opacity: 0.4;
    }

    .fm-why-intro {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .fm-why-title {
        font-size: 1.75rem;
    }

    .fm-why-lede {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* Stack pillars single column on mobile */
    .fm-why-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .fm-why-pillar {
        padding: 1.5rem 1.35rem 1.4rem;
    }

    .fm-why-pillar::before {
        font-size: 5.5rem;
        top: -0.75rem;
        right: 0.5rem;
    }

    .fm-why-pillar-icon {
        width: 48px;
        height: 48px;
        border-radius: 13px;
        font-size: 1.1rem;
        margin-bottom: 1.1rem;
    }

    .fm-why-pillar-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .fm-why-pillar-text {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    /* Closing strip — mobile adjustments */
    .fm-why-signature {
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .fm-why-signature::before {
        font-size: 0.6rem;
        letter-spacing: 2.5px;
    }

    .fm-why-signature-inner {
        gap: 0.5rem;
    }

    .fm-why-signature-item {
        font-size: 0.74rem;
        padding: 0.55rem 1rem;
    }

    .fm-why-signature-item i {
        font-size: 0.75rem;
    }
}


/* =========================================================
   RESPONSIVE — Small phones
========================================================= */
@media (max-width: 420px) {
    .fm-why-title {
        font-size: 1.5rem;
    }

    .fm-why-pillar::before {
        font-size: 4.5rem;
    }

    .fm-why-eyebrow {
        font-size: 0.65rem;
        letter-spacing: 2.5px;
    }
}