/* =====================================================
   Pound Remittance Landing Page
   Theme: mysaraf
===================================================== */

.ms-pound-page {
    --ms-primary: #0056b3;
    --ms-primary-dark: #003f85;
    --ms-secondary: #277d7d;
    --ms-text: #172033;
    --ms-muted: #667085;
    --ms-border: #e4eaf2;
    --ms-background: #f6f9fc;
    --ms-white: #ffffff;
    --ms-success: #20a06b;
    --ms-radius-lg: 28px;
    --ms-radius-md: 18px;
    --ms-shadow: 0 18px 50px rgba(15, 42, 73, 0.1);

    direction: rtl;
    overflow: hidden;
    color: var(--ms-text);
    background: var(--ms-white);
}

.ms-pound-page *,
.ms-pound-page *::before,
.ms-pound-page *::after {
    box-sizing: border-box;
}

.ms-pound-page svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ms-pound-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.ms-pound-section {
    padding: 100px 0;
}

.ms-pound-section-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.ms-pound-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--ms-primary);
    font-size: 1.9rem;
    font-weight: 800;
}

.ms-pound-section-label::before {
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--ms-secondary);
    content: "";
}

.ms-pound-section-heading h2,
.ms-pound-faq-intro h2,
.ms-pound-comment-heading h2 {
    margin: 0;
    color: var(--ms-text);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.4;
}

.ms-pound-section-heading p,
.ms-pound-faq-intro p,
.ms-pound-comment-heading p {
    margin: 16px auto 0;
    color: var(--ms-muted);
    font-size: 1rem;
    line-height: 2;
}

/* Hero */

.ms-pound-hero {
    position: relative;
    min-height: 760px;
    padding: 110px 0 45px;
    color: var(--ms-white);
    background:
        linear-gradient(
            5deg,
            rgba(0, 25, 55, 0.5) 0%,
            rgba(0, 57, 119, 0.82) 52%,
            rgba(0, 33, 72, 0.96) 100%
        ),
        url("../img/london-hero.webp") center / cover no-repeat;
    isolation: isolate;
}

.ms-pound-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 30%, rgba(255,255,255,0.16), transparent 28%),
        linear-gradient(135deg, rgba(39,125,125,0.25), transparent 55%);
    content: "";
}

.ms-pound-hero-overlay {
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 210px;
    background: linear-gradient(to top, rgba(0, 38, 81, 0.72), transparent);
}

.ms-pound-hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(370px, 0.92fr);
    align-items: center;
    gap: 70px;
}

.ms-pound-hero-content {
    max-width: 690px;
}

.ms-pound-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,0.1);
    font-size: 0.87rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.ms-pound-eyebrow::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6ce4ba;
    box-shadow: 0 0 0 6px rgba(108,228,186,0.14);
    content: "";
}

.ms-pound-hero h1 {
    margin: 24px 0 14px;
    color: #fff;
    font-size: clamp(2.35rem, 5vw, 3.5rem);
    font-weight: 950;
    line-height: 1.25;
    letter-spacing: -1.5px;
}

.ms-pound-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 22px;
}

.ms-pound-hero-features span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
}

.ms-pound-hero-features svg {
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    color: #003f64;
    background: #77e5bd;
    stroke-width: 3;
}

.ms-pound-hero-description {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,0.86);
    font-size: 1.05rem;
    line-height: 2.05;
}

.ms-pound-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.ms-pound-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ms-pound-button:hover {
    transform: translateY(-3px);
}

.ms-pound-button svg {
    width: 20px;
    height: 20px;
}

.ms-pound-button-primary {
    color: var(--ms-primary);
    background: var(--ms-white);
    box-shadow: 0 12px 30px rgba(0,0,0,0.16);
}

.ms-pound-button-primary:hover {
    color: var(--ms-primary-dark);
    background: #f4f8ff;
}

.ms-pound-button-whatsapp {
    border-color: rgba(255,255,255,0.28);
    color: #fff;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.ms-pound-button-whatsapp:hover {
    color: #fff;
    background: #1d9b66;
}

/* Calculator placeholder */

.ms-pound-calculator-placeholder {
    position: relative;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 30px;
    background: rgba(255,255,255,0.09);
    box-shadow: 0 30px 70px rgba(0, 15, 36, 0.3);
    backdrop-filter: blur(18px);
}

.ms-pound-calculator-placeholder::before {
    position: absolute;
    top: -35px;
    left: -30px;
    z-index: -1;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(74, 214, 190, 0.22);
    filter: blur(8px);
    content: "";
}

.ms-pound-calculator-inner {
    display: flex;
    min-height: 370px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 45px;
    border: 1px dashed rgba(255,255,255,0.32);
    border-radius: 22px;
    text-align: center;
    background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.06));
}

.ms-pound-calculator-icon {
    display: grid;
    width: 78px;
    height: 78px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--ms-secondary), #5bc7b8);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.ms-pound-calculator-icon svg {
    width: 38px;
    height: 38px;
}

.ms-pound-calculator-inner > span {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.ms-pound-calculator-inner strong {
    margin-top: 6px;
    color: #fff;
    font-size: 2rem;
}

.ms-pound-calculator-inner p {
    max-width: 280px;
    margin: 15px 0 0;
    color: rgba(255,255,255,0.72);
    line-height: 1.9;
}

/* Trust cards */

.ms-pound-trust-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 85px;
}

.ms-pound-trust-card {
    display: flex;
    min-height: 115px;
    align-items: center;
    gap: 17px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 18px;
    background: rgba(255,255,255,0.11);
    backdrop-filter: blur(14px);
}

.ms-pound-trust-icon {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: rgba(255,255,255,0.16);
}

.ms-pound-trust-icon svg {
    width: 27px;
    height: 27px;
}

.ms-pound-trust-card strong,
.ms-pound-trust-card span {
    display: block;
}

.ms-pound-trust-card strong {
    margin-bottom: 5px;
    color: #fff;
    font-size: 1.05rem;
}

.ms-pound-trust-card span {
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
}

/* Benefits */

.ms-pound-why {
    position: relative;
    background: #fff;
}

.ms-pound-why::before {
    position: absolute;
    top: 100px;
    right: -120px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0,86,179,0.05);
    filter: blur(4px);
    content: "";
}

.ms-pound-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ms-pound-benefit-card {
    display: flex;
    min-height: 190px;
    gap: 18px;
    padding: 27px;
    border: 1px solid var(--ms-border);
    border-radius: var(--ms-radius-md);
    background: #fff;
    box-shadow: 0 10px 35px rgba(20,48,80,0.05);
    transition: 0.3s ease;
}

.ms-pound-benefit-card:hover {
    border-color: rgba(0,86,179,0.25);
    box-shadow: var(--ms-shadow);
    transform: translateY(-6px);
}

.ms-pound-benefit-card.is-featured {
    color: #fff;
    background: linear-gradient(145deg, var(--ms-primary), var(--ms-secondary));
}

.ms-pound-benefit-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 14px;
    color: var(--ms-primary);
    background: rgba(0,86,179,0.09);
}

.ms-pound-benefit-icon svg {
    width: 23px;
    height: 23px;
    stroke-width: 2.8;
}

.ms-pound-benefit-card.is-featured .ms-pound-benefit-icon {
    color: #fff;
    background: rgba(255,255,255,0.16);
}

.ms-pound-benefit-card h3 {
    margin: 3px 0 10px;
    color: var(--ms-text);
    font-size: 1.05rem;
    font-weight: 900;
}

.ms-pound-benefit-card p {
    margin: 0;
    color: var(--ms-muted);
    font-size: 0.9rem;
    line-height: 1.85;
}

.ms-pound-benefit-card.is-featured h3,
.ms-pound-benefit-card.is-featured p {
    color: #fff;
}

.ms-pound-benefit-card.is-featured p {
    color: rgba(255,255,255,0.78);
}

/* =====================================================
   Process Timeline
===================================================== */

.ms-pound-process {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(0, 86, 179, 0.08),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(39, 125, 125, 0.08),
            transparent 30%
        ),
        #f6f9fc;
}

.ms-pound-process::before {
    position: absolute;
    top: 100px;
    right: -120px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(0, 86, 179, 0.08);
    border-radius: 50%;
    content: "";
}

.ms-pound-process::after {
    position: absolute;
    bottom: 80px;
    left: -100px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(39, 125, 125, 0.1);
    border-radius: 50%;
    content: "";
}

.ms-pound-process .ms-pound-container {
    position: relative;
    z-index: 1;
}

/*
 * بدنه اصلی تایم‌لاین
 */
.ms-pound-timeline {
    position: relative;
    max-width: 980px;
    margin: 65px auto 0;
    padding: 10px 0;
}

/*
 * خط عمودی وسط
 */
.ms-pound-timeline::before {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(
        to bottom,
        var(--ms-primary),
        var(--ms-secondary)
    );
    content: "";
    transform: translateX(50%);
}

/*
 * هر مرحله
 */
.ms-pound-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    align-items: center;
    min-height: 165px;
    margin-bottom: 18px;
}

/*
 * مراحل فرد در سمت راست
 */
.ms-pound-timeline-item:nth-child(odd) .ms-pound-timeline-content {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
}

/*
 * مراحل زوج در سمت چپ
 */
.ms-pound-timeline-item:nth-child(even) .ms-pound-timeline-content {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
}

/*
 * شماره وسط خط
 */
.ms-pound-timeline-marker {
    position: relative;
    z-index: 2;
    display: grid;
    grid-column: 2;
    grid-row: 1;
    width: 64px;
    height: 64px;
    margin: auto;
    place-items: center;
    border: 7px solid #f6f9fc;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--ms-primary),
        var(--ms-secondary)
    );
    box-shadow:
        0 10px 25px rgba(0, 86, 179, 0.22),
        0 0 0 1px rgba(0, 86, 179, 0.08);
}

.ms-pound-timeline-marker span {
    font-size: 1.05rem;
    font-weight: 900;
}

/*
 * نقطه کوچک روی شماره
 */
.ms-pound-timeline-marker::after {
    position: absolute;
    top: 4px;
    left: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    content: "";
}

/*
 * محتوای هر مرحله
 */
.ms-pound-timeline-content {
    position: relative;
    min-height: 125px;
    padding: 25px 27px;
    border: 1px solid rgba(0, 86, 179, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 40px rgba(20, 48, 80, 0.07);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.ms-pound-timeline-content:hover {
    border-color: rgba(0, 86, 179, 0.3);
    box-shadow: 0 20px 45px rgba(20, 48, 80, 0.12);
    transform: translateY(-4px);
}

/*
 * اتصال باکس‌های سمت راست به خط
 */
.ms-pound-timeline-item:nth-child(odd) .ms-pound-timeline-content::after {
    position: absolute;
    top: 50%;
    left: -28px;
    width: 28px;
    height: 2px;
    background: rgba(0, 86, 179, 0.28);
    content: "";
    transform: translateY(-50%);
}

/*
 * اتصال باکس‌های سمت چپ به خط
 */
.ms-pound-timeline-item:nth-child(even) .ms-pound-timeline-content::after {
    position: absolute;
    top: 50%;
    right: -28px;
    width: 28px;
    height: 2px;
    background: rgba(39, 125, 125, 0.32);
    content: "";
    transform: translateY(-50%);
}

.ms-pound-timeline-step-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--ms-primary);
    font-size: 0.78rem;
    font-weight: 900;
}

.ms-pound-timeline-step-label::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ms-secondary);
    content: "";
}

.ms-pound-timeline-content h3 {
    margin: 0 0 8px;
    color: var(--ms-text);
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.6;
}

.ms-pound-timeline-content p {
    margin: 0;
    color: var(--ms-muted);
    font-size: 0.92rem;
    line-height: 1.9;
}

/*
 * آخرین مرحله
 */
.ms-pound-timeline-item:last-child {
    margin-bottom: 0;
}

.ms-pound-timeline-item:last-child .ms-pound-timeline-marker {
    background: linear-gradient(
        135deg,
        #1d8c70,
        var(--ms-secondary)
    );
}

/* Timeline responsive */

@media (max-width: 820px) {
    .ms-pound-timeline {
        max-width: 680px;
        margin-top: 45px;
        padding-right: 4px;
    }

    /*
     * انتقال خط به سمت راست
     */
    .ms-pound-timeline::before {
        right: 31px;
        transform: none;
    }

    .ms-pound-timeline-item {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 17px;
        min-height: auto;
        margin-bottom: 25px;
    }

    .ms-pound-timeline-marker {
        grid-column: 1;
        grid-row: 1;
        width: 60px;
        height: 60px;
        margin: 7px 0 0;
    }

    .ms-pound-timeline-item:nth-child(odd) .ms-pound-timeline-content,
    .ms-pound-timeline-item:nth-child(even) .ms-pound-timeline-content {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }

    .ms-pound-timeline-item:nth-child(odd) .ms-pound-timeline-content::after,
    .ms-pound-timeline-item:nth-child(even) .ms-pound-timeline-content::after {
        top: 35px;
        right: -18px;
        left: auto;
        width: 18px;
    }
}

@media (max-width: 600px) {
    .ms-pound-timeline {
        padding: 0;
    }

    .ms-pound-timeline::before {
        right: 24px;
    }

    .ms-pound-timeline-item {
        grid-template-columns: 50px minmax(0, 1fr);
        column-gap: 13px;
        margin-bottom: 20px;
    }

    .ms-pound-timeline-marker {
        width: 50px;
        height: 50px;
        border-width: 6px;
    }

    .ms-pound-timeline-marker span {
        font-size: 0.9rem;
    }

    .ms-pound-timeline-content {
        min-height: auto;
        padding: 20px 18px;
    }

    .ms-pound-timeline-item:nth-child(odd) .ms-pound-timeline-content::after,
    .ms-pound-timeline-item:nth-child(even) .ms-pound-timeline-content::after {
        top: 31px;
        right: -14px;
        width: 14px;
    }
}
/* Consultation */

.ms-pound-consultation-section {
    padding: 85px 0;
}

.ms-pound-consultation-box {
    position: relative;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 50px;
    overflow: hidden;
    padding: 55px;
    border-radius: var(--ms-radius-lg);
    color: #fff;
    background:
        radial-gradient(circle at 5% 5%, rgba(255,255,255,0.2), transparent 24%),
        linear-gradient(125deg, #003e83 0%, #0056b3 45%, #277d7d 100%);
    box-shadow: 0 25px 60px rgba(0,63,133,0.22);
}

.ms-pound-consultation-decoration {
    position: absolute;
    bottom: -120px;
    left: -70px;
    width: 330px;
    height: 330px;
    border: 50px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

.ms-pound-consultation-content,
.ms-pound-lead-form {
    position: relative;
    z-index: 1;
}

.ms-pound-consultation-content > span {
    display: inline-block;
    margin-bottom: 12px;
    color: #92f0d0;
    font-weight: 800;
}

.ms-pound-consultation-content h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 900;
    line-height: 1.55;
}

.ms-pound-consultation-content p {
    margin: 17px 0 0;
    color: rgba(255,255,255,0.78);
    line-height: 2;
}

.ms-pound-lead-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
    gap: 13px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    background: rgba(255,255,255,0.11);
    backdrop-filter: blur(14px);
}

.ms-pound-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ms-pound-form-group label {
    color: inherit;
    font-size: 0.86rem;
    font-weight: 800;
}

.ms-pound-form-group input,
.ms-pound-form-group textarea {
    width: 100%;
    border: 1px solid #dce3ed;
    border-radius: 11px;
    outline: none;
    color: var(--ms-text);
    background: #fff;
    font: inherit;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.ms-pound-form-group input {
    height: 52px;
    padding: 0 15px;
}

.ms-pound-form-group textarea {
    min-height: 145px;
    padding: 14px 15px;
    resize: vertical;
}

.ms-pound-form-group input:focus,
.ms-pound-form-group textarea:focus {
    border-color: var(--ms-primary);
    box-shadow: 0 0 0 4px rgba(0,86,179,0.1);
}

.ms-pound-form-submit {
    display: inline-flex;
    height: 52px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 19px;
    border: 0;
    border-radius: 11px;
    color: var(--ms-primary);
    background: #fff;
    font: inherit;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
}

.ms-pound-form-submit svg {
    width: 19px;
    height: 19px;
}

/* =====================================================
   Expandable Content
===================================================== */

.ms-pound-content-section {
    background: var(--ms-background);
}

.ms-pound-content-box {
    max-width: 940px;
    margin: auto;
    padding: 45px;
    border: 1px solid var(--ms-border);
    border-radius: var(--ms-radius-lg);
    background: #ffffff;
    box-shadow: var(--ms-shadow);
}


.ms-pound-expandable-content {
    position: relative;
    overflow: hidden;
    height: auto;
    max-height: 245px;
    transition: max-height 0.65s ease;
}

/*
 * محوشدگی انتهای محتوا در حالت بسته
 */
 
 .ms-pound-expandable-content::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    height: 130px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        #ffffff 88%
    );
    content: "";
    opacity: 1;
    transition: opacity 0.25s ease;
}

/*
 * حالت باز:
 * محدودیت ارتفاع به‌طور کامل برداشته می‌شود.
 */
.ms-pound-expandable-content.is-expanded {
    overflow: visible;
    max-height: none;
}

/*
 * حذف گرادیان در حالت باز
 */
.ms-pound-expandable-content.is-expanded::after {
    visibility: hidden;
    opacity: 0;
}

/*
 * جلوگیری از مخفی‌شدن محتوای داخلی توسط CSSهای دیگر
 */
.ms-pound-expandable-content.is-expanded .ms-pound-hidden-content {
    display: block;
    visibility: visible;
    overflow: visible;
    height: auto;
    max-height: none;
    opacity: 1;
}

.ms-pound-hidden-content {
    display: block;
}

.ms-pound-content-box h2 {
    margin: 0 0 18px;
    color: var(--ms-text);
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 900;
}

.ms-pound-content-box h3 {
    margin: 28px 0 10px;
    color: var(--ms-primary);
    font-size: 1.25rem;
}

.ms-pound-content-box p {
    margin: 0 0 15px;
    color: var(--ms-muted);
    line-height: 2.15;
}

/*
 * دکمه بیشتر بدانید
 */
.ms-pound-read-more {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 25px auto 0;
    padding: 10px 17px;
    border: 0;
    color: var(--ms-primary);
    background: transparent;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.ms-pound-read-more svg {
    width: 21px;
    height: 21px;
    transition: transform 0.3s ease;
}

.ms-pound-read-more[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* FAQ */

.ms-pound-faq-section {
    background: #fff;
}

.ms-pound-faq-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: start;
    gap: 70px;
}

.ms-pound-faq-intro {
    position: sticky;
    top: 110px;
}

.ms-pound-faq-intro .ms-pound-section-label {
    margin-bottom: 10px;
}

.ms-pound-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--ms-primary);
    font-weight: 900;
    text-decoration: none;
}

.ms-pound-text-link svg {
    width: 20px;
    height: 20px;
}

.ms-pound-accordion {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.ms-pound-accordion-item {
    overflow: hidden;
    border: 1px solid var(--ms-border);
    border-radius: 16px;
    background: #fff;
    transition: border 0.25s ease, box-shadow 0.25s ease;
}

.ms-pound-accordion-item.is-open {
    border-color: rgba(0,86,179,0.3);
    box-shadow: 0 14px 35px rgba(0,86,179,0.08);
}

.ms-pound-accordion-item h3 {
    margin: 0;
}

.ms-pound-accordion-trigger {
    display: flex;
    width: 100%;
    min-height: 75px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border: 0;
    color: var(--ms-text);
    background: transparent;
    font: inherit;
    font-size: 1rem;
    font-weight: 900;
    text-align: right;
    cursor: pointer;
}

.ms-pound-accordion-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 10px;
    color: var(--ms-primary);
    background: rgba(0,86,179,0.08);
}

.ms-pound-accordion-icon svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.ms-pound-accordion-item.is-open .ms-pound-accordion-icon svg {
    transform: rotate(45deg);
}

.ms-pound-accordion-answer > div {
    padding: 0 22px 22px;
}

.ms-pound-accordion-answer p {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--ms-border);
    color: var(--ms-muted);
    line-height: 2;
}

/* Comment */

.ms-pound-comment-section {
    padding-top: 30px;
    background: #fff;
}

.ms-pound-comment-box {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 60px;
    padding: 55px;
    border: 1px solid var(--ms-border);
    border-radius: var(--ms-radius-lg);
    background:
        radial-gradient(circle at 100% 0, rgba(0,86,179,0.07), transparent 30%),
        #f9fbfd;
}

.ms-pound-comment-heading {
    align-self: start;
}

.ms-pound-comment-form {
    padding: 30px;
    border: 1px solid var(--ms-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(23,32,51,0.06);
}

.ms-pound-comment-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.ms-pound-comment-form .ms-pound-form-group {
    color: var(--ms-text);
}

.ms-pound-comment-form .ms-pound-button-primary {
    margin-top: 20px;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--ms-primary), var(--ms-secondary));
}

/* Accessibility */

.ms-pound-page a:focus-visible,
.ms-pound-page button:focus-visible,
.ms-pound-page input:focus-visible,
.ms-pound-page textarea:focus-visible {
    outline: 3px solid rgba(39,125,125,0.42);
    outline-offset: 3px;
}

/* Responsive */

@media (max-width: 1050px) {
    .ms-pound-hero-container {
        grid-template-columns: 1fr 0.8fr;
        gap: 35px;
    }

    .ms-pound-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .ms-pound-consultation-box {
        grid-template-columns: 1fr;
    }

    .ms-pound-lead-form {
        grid-template-columns: 1fr 1fr;
    }

    .ms-pound-form-submit {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .ms-pound-section {
        padding: 75px 0;
    }

    .ms-pound-hero {
        padding-top: 80px;
    }

    .ms-pound-hero-container,
    .ms-pound-faq-layout,
    .ms-pound-comment-box {
        grid-template-columns: 1fr;
    }

    .ms-pound-calculator-placeholder {
        max-width: 580px;
        width: 100%;
        margin: auto;
    }

    .ms-pound-calculator-inner {
        min-height: 280px;
    }

    .ms-pound-trust-items,
    .ms-pound-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .ms-pound-timeline::before {
        display: none;
    }

    .ms-pound-faq-intro {
        position: static;
    }
}

@media (max-width: 600px) {
    .ms-pound-container {
        width: min(100% - 28px, 1180px);
    }

    .ms-pound-section {
        padding: 60px 0;
    }

    .ms-pound-hero {
        min-height: auto;
        padding: 65px 0 35px;
        background-position: 38% center;
    }

    .ms-pound-hero h1 {
        font-size: 2.35rem;
    }

    .ms-pound-hero-actions,
    .ms-pound-button {
        width: 100%;
    }

    .ms-pound-trust-items,
    .ms-pound-benefits,
    .ms-pound-timeline,
    .ms-pound-lead-form,
    .ms-pound-comment-fields {
        grid-template-columns: 1fr;
    }

    .ms-pound-trust-items {
        margin-top: 50px;
    }

    .ms-pound-benefit-card {
        min-height: auto;
    }

    .ms-pound-consultation-box,
    .ms-pound-content-box,
    .ms-pound-comment-box {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .ms-pound-lead-form,
    .ms-pound-comment-form {
        padding: 18px;
    }

    .ms-pound-form-submit {
        grid-column: auto;
    }

    .ms-pound-comment-box {
        gap: 35px;
    }

    .ms-pound-accordion-trigger {
        padding: 16px;
        font-size: 0.93rem;
    }

    .ms-pound-accordion-answer > div {
        padding: 0 16px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ms-pound-page *,
    .ms-pound-page *::before,
    .ms-pound-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =====================================================
   HERO LAYOUT AND TRUST CARDS - FINAL FIX
===================================================== */

/*
 * ارتفاع هیرو بر اساس محتوای واقعی تعیین می‌شود.
 * این مقدار فقط حداقل ارتفاع مناسب دسکتاپ را حفظ می‌کند.
 */
.ms-pound-hero {
    min-height: 690px;
    padding: 72px 0 48px;
    overflow: hidden;
}

/*
 * هیرو فقط دو ستون دارد:
 * محتوای متنی در سمت راست و محاسبه‌گر در سمت چپ.
 */
.ms-pound-hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(370px, 0.92fr);
    align-items: center;
    gap: 70px;
}

/*
 * ستون محتوای سمت راست
 */
.ms-pound-hero-content {
    width: 100%;
    min-width: 0;
    max-width: 690px;
    padding: 0;
}

/*
 * ستون محاسبه‌گر
 * فقط جایگاه افزونه کنترل می‌شود.
 */
.ms-pound-calculator {
    width: 100%;
    min-width: 0;
    max-width: 470px;
    margin-inline: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

/*
 * سه کارت دقیقاً زیر دکمه‌های هیرو قرار می‌گیرند.
 */
.ms-pound-hero-content .ms-pound-trust-items {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 30px 0 0;
}

/*
 * طراحی کارت‌ها فشرده‌تر شده تا هر سه کارت
 * در عرض ستون محتوای سمت راست قرار بگیرند.
 */
.ms-pound-hero-content .ms-pound-trust-card {
    display: flex;
    min-width: 0;
    min-height: 98px;
    align-items: center;
    gap: 11px;
    padding: 14px 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.11);
    box-shadow: 0 12px 30px rgba(0, 22, 54, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ms-pound-hero-content .ms-pound-trust-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.ms-pound-hero-content .ms-pound-trust-icon svg {
    width: 22px;
    height: 22px;
}

.ms-pound-hero-content .ms-pound-trust-card > div:last-child {
    min-width: 0;
}

.ms-pound-hero-content .ms-pound-trust-card strong,
.ms-pound-hero-content .ms-pound-trust-card span {
    display: block;
}

.ms-pound-hero-content .ms-pound-trust-card strong {
    margin: 0 0 3px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.55;
}

.ms-pound-hero-content .ms-pound-trust-card span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.74rem;
    line-height: 1.6;
}

/* =====================================================
   Hero: medium desktop
===================================================== */

@media (max-width: 1050px) {
    .ms-pound-hero {
        min-height: auto;
        padding: 65px 0 45px;
    }

    .ms-pound-hero-container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(320px, 0.82fr);
        gap: 36px;
    }

    .ms-pound-hero-content .ms-pound-trust-items {
        gap: 8px;
        margin-top: 26px;
    }

    .ms-pound-hero-content .ms-pound-trust-card {
        min-height: 92px;
        gap: 8px;
        padding: 12px 10px;
    }

    .ms-pound-hero-content .ms-pound-trust-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .ms-pound-hero-content .ms-pound-trust-icon svg {
        width: 20px;
        height: 20px;
    }

    .ms-pound-hero-content .ms-pound-trust-card strong {
        font-size: 0.8rem;
    }

    .ms-pound-hero-content .ms-pound-trust-card span {
        font-size: 0.68rem;
    }
}

/* =====================================================
   Hero: tablet
===================================================== */

@media (max-width: 820px) {
    .ms-pound-hero {
        min-height: auto;
        padding: 65px 0 45px;
    }

    .ms-pound-hero-container {
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 42px;
    }

    .ms-pound-hero-content {
        order: 1;
        max-width: 100%;
    }

    .ms-pound-calculator {
        order: 2;
        width: 100%;
        max-width: 580px;
        margin-inline: auto;
    }

    .ms-pound-hero-content .ms-pound-trust-items {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 30px;
    }

    .ms-pound-hero-content .ms-pound-trust-card {
        min-height: 96px;
    }
}

/* =====================================================
   Hero: mobile
===================================================== */

@media (max-width: 600px) {
    .ms-pound-hero {
        padding: 52px 0 35px;
    }

    .ms-pound-hero-content .ms-pound-trust-items {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 28px;
    }

    .ms-pound-hero-content .ms-pound-trust-card {
        min-height: 82px;
        padding: 13px 16px;
    }

    .ms-pound-hero-content .ms-pound-trust-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .ms-pound-hero-content .ms-pound-trust-icon svg {
        width: 23px;
        height: 23px;
    }

    .ms-pound-hero-content .ms-pound-trust-card strong {
        font-size: 0.94rem;
    }

    .ms-pound-hero-content .ms-pound-trust-card span {
        font-size: 0.79rem;
    }
}