/* =========================
   Landing Page Section Only
   ========================= */

.section.lp {
    --lp-primary: #00ffed;
    --lp-primary-dark: #115e59;
    --lp-primary-soft: #ecfeff;
    --lp-accent: #14b8a6;
    --lp-text: #0f172a;
    --lp-text-soft: #475569;
    --lp-muted: #64748b;
    --lp-border: #e2e8f0;
    --lp-border-strong: #cbd5e1;
    --lp-bg: #f8fafc;
    --lp-card: #ffffff;
    --lp-card-alt: #f1f5f9;
    --lp-success: #16a34a;
    --lp-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --lp-shadow-md: 0 18px 50px rgba(15, 23, 42, 0.10);
    --lp-radius-sm: 12px;
    --lp-radius-md: 18px;
    --lp-radius-lg: 26px;
    --lp-gap: 24px;
    --lp-font: inherit;
    padding-block: 32px 56px;
    color: var(--lp-text);
}

.section.lp * {
    box-sizing: border-box;
}

.section.lp .card {
    background: var(--lp-card);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    box-shadow: var(--lp-shadow-sm);
}

.section.lp .lp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.section.lp .lp-main {
    min-width: 0;
}

.section.lp .lp-sticky {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 18px;
}


/* Topbar */
.section.lp .lp-topbar {
    position: relative;
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 38%),
        linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-sm);
}

.section.lp .lp-topbar__title {
    margin: 0;
    font-size: clamp(1.1rem, 1.7vw, 2.9rem);
    line-height: 1.5;
    font-weight: 900;
    color: var(--lp-text);
    text-wrap: balance;
}

.section.lp .lp-topbar__share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid var(--lp-border);
}

.section.lp .lp-topbar__label {
    color: var(--lp-text-soft);
    font-size: 0.95rem;
    font-weight: 700;
}

.section.lp .lp-topbar__icons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.section.lp .lp-shareIcon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    text-decoration: none;
    border: 1px solid var(--lp-border);
    background: #fff;
    color: var(--lp-primary-dark);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.section.lp .lp-shareIcon:hover {
    transform: translateY(-2px);
    box-shadow: var(--lp-shadow-sm);
}

.section.lp .lp-shareIcon--copy {
    background: var(--lp-primary);
    color: #fff;
    border-color: var(--lp-primary);
}

.section.lp .lp-shareIcon--blue {
    background: var(--lp-primary-soft);
    color: var(--lp-primary-dark);
    border-color: rgba(20, 184, 166, 0.15);
}

.section.lp .lp-topbar__toast {
    position: absolute;
    inset-inline-start: 24px;
    top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #052e16;
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: var(--lp-shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
}

.section.lp .lp-topbar__toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Wysiwyg */
.section.lp .wysiwyg {
    padding: 28px;
    overflow: hidden;
}

.section.lp .wysiwyg > :first-child {
    margin-top: 0;
}

.section.lp .wysiwyg > :last-child {
    margin-bottom: 0;
}

.section.lp .wysiwyg h1,
.section.lp .wysiwyg h2,
.section.lp .wysiwyg h3,
.section.lp .wysiwyg h4,
.section.lp .wysiwyg h5,
.section.lp .wysiwyg h6 {
    margin: 1.6em 0 0.8em;
    color: var(--lp-text);
    line-height: 1.6;
    font-weight: 900;
}

.section.lp .wysiwyg h1 {
    font-size: 2rem;
}

.section.lp .wysiwyg h2 {
    font-size: 1.5rem;
    position: relative;
    padding-right: 16px;
}

.section.lp .wysiwyg h2::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.25em;
    width: 6px;
    height: calc(100% - 0.5em);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--lp-accent), var(--lp-primary));
}

.section.lp .wysiwyg h3 {
    font-size: 1.2rem;
    position: relative;
    padding-right: 16px;
}
.section.lp .wysiwyg h3::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.25em;
    width: 6px;
    height: calc(100% - 0.5em);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--lp-accent), var(--lp-primary));
}
.section.lp .wysiwyg h4 {
    font-size: 1.1rem;
}

.section.lp .wysiwyg p,
.section.lp .wysiwyg li {
    font-size: 1rem;
    line-height: 2.15;
    color: var(--lp-text-soft);
}

.section.lp .wysiwyg p {
    margin: 0.95em 0;
}

.section.lp .wysiwyg a {
    color: var(--lp-primary-dark);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
    font-weight: 700;
}

.section.lp .wysiwyg a:hover {
    color: var(--lp-primary);
}

.section.lp .wysiwyg ul,
.section.lp .wysiwyg ol {
    margin: 1em 0;
    padding-inline-start: 1.4rem;
}

.section.lp .wysiwyg li + li {
    margin-top: 0.45rem;
}

.section.lp .wysiwyg img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 20px;
    box-shadow: var(--lp-shadow-md);
}

.section.lp .wysiwyg blockquote {
    margin: 1.4rem 0;
    padding: 18px 20px;
    border-right: 4px solid var(--lp-accent);
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc, #ecfeff);
    color: var(--lp-text);
}

.section.lp .wysiwyg hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to left, transparent, var(--lp-border-strong), transparent);
    margin: 2rem 0;
}

/* =========================================
  All tables inside this landing page
  No id/class needed
  ========================================= */

.section.lp .lp-main .wysiwyg table {
    width: 100%;
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    table-layout: auto;
}

.section.lp .lp-main .wysiwyg caption {
    caption-side: top;
    text-align: right;
    padding: 0 0 12px;
    color: var(--lp-text-soft);
    font-size: 0.95rem;
    font-weight: 700;
}

.section.lp .lp-main .wysiwyg thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
}

.section.lp .lp-main .wysiwyg th,
.section.lp .lp-main .wysiwyg td {
    padding: 15px 16px;
    border-bottom: 1px solid var(--lp-border);
    border-left: 1px solid var(--lp-border);
    text-align: right;
    vertical-align: middle;
    line-height: 1.9;
    font-size: 0.97rem;
}

.section.lp .lp-main .wysiwyg th:last-child,
.section.lp .lp-main .wysiwyg td:last-child {
    border-left: 0;
}

.section.lp .lp-main .wysiwyg thead th {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.section.lp .lp-main .wysiwyg tbody tr:nth-child(odd) td {
    background: #ffffff;
}

.section.lp .lp-main .wysiwyg tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.section.lp .lp-main .wysiwyg tbody tr:hover td {
    background: #ecfeff;
}

.section.lp .lp-main .wysiwyg td {
    color: var(--lp-text-soft);
    word-break: break-word;
    overflow-wrap: anywhere;
}

.section.lp .lp-main .wysiwyg th strong,
.section.lp .lp-main .wysiwyg td strong {
    color: var(--lp-text);
}

.section.lp .lp-main .wysiwyg table a {
    color: var(--lp-primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.section.lp .lp-main .wysiwyg table a:hover {
    color: var(--lp-primary);
    text-decoration: underline;
}

.section.lp .lp-main .wysiwyg table p {
    margin: 0;
    line-height: 1.85;
}

.section.lp .lp-main .wysiwyg table ul,
.section.lp .lp-main .wysiwyg table ol {
    margin: 0;
    padding-inline-start: 1.1rem;
}

.section.lp .lp-main .wysiwyg table img {
    display: inline-block;
    max-width: 80px;
    height: auto;
    margin: 0;
    border-radius: 12px;
    box-shadow: none;
}

/* Optional table variants if they exist in future content */
.section.lp .lp-main .wysiwyg table.table-bordered th,
.section.lp .lp-main .wysiwyg table.table-bordered td {
    border-color: #dbe4ee;
}

.section.lp .lp-main .wysiwyg table.table-zebra tbody tr:nth-child(even) td {
    background: #f1f5f9;
}

.section.lp .lp-main .wysiwyg table.table-hover tbody tr:hover td {
    background: #dcfce7;
}

.section.lp .lp-main .wysiwyg table.table-compact th,
.section.lp .lp-main .wysiwyg table.table-compact td {
    padding: 11px 13px;
    font-size: 0.92rem;
}

/* Responsive: keep every table usable without extra classes */
@media (max-width: 767px) {
    .section.lp .lp-main .wysiwyg table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        min-width: 100%;
        max-width: 100%;
        border-radius: 16px;
        scrollbar-width: thin;
        scrollbar-color: rgba(15, 118, 110, 0.35) transparent;
    }

    .section.lp .lp-main .wysiwyg table::-webkit-scrollbar {
        height: 10px;
    }

    .section.lp .lp-main .wysiwyg table::-webkit-scrollbar-track {
        background: transparent;
    }

    .section.lp .lp-main .wysiwyg table::-webkit-scrollbar-thumb {
        background: rgba(15, 118, 110, 0.25);
        border-radius: 999px;
    }

    .section.lp .lp-main .wysiwyg thead th {
        position: static;
    }

    .section.lp .lp-main .wysiwyg th,
    .section.lp .lp-main .wysiwyg td {
        padding: 12px 14px;
        white-space: nowrap;
    }
}


.section.lp .wysiwyg th,
.section.lp .wysiwyg td {
    padding: 14px 16px;
    border: 1px solid var(--lp-border);
    text-align: right;
    vertical-align: top;
    line-height: 1.9;
}

.section.lp .wysiwyg th {
    background: var(--lp-text);
    color: #fff;
    font-weight: 800;
}

.section.lp .wysiwyg tr:nth-child(even) td {
    background: #f8fafc;
}

/* FAQ */
.section.lp .lp-qa {
    margin-top: 24px;
    padding: 26px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    background: var(--lp-card);
    box-shadow: var(--lp-shadow-sm);
}

.section.lp .lp-qa__title {
    margin: 0 0 20px;
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 900;
    color: var(--lp-text);
}

.section.lp .lp-qa__box {
    display: grid;
    gap: 14px;
}

.section.lp .lp-qa__box h3 {
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--lp-border);
    border-radius: 16px 16px 0 0;
    background: var(--lp-card-alt);
    color: var(--lp-text);
    font-size: 1rem;
    font-weight: 800;
}

.section.lp .lp-qa__box p {
    margin: -14px 0 0;
    padding: 16px 18px;
    border: 1px solid var(--lp-border);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    color: var(--lp-text-soft);
    background: #fff;
    line-height: 2;
}

/* Comments */
.section.lp .lp-comments {
    margin-top: 24px;
    padding: 26px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    background: var(--lp-card);
    box-shadow: var(--lp-shadow-sm);
}

.section.lp .lp-comments__top {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.section.lp .lp-comments__login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    background: var(--lp-primary-soft);
    color: var(--lp-primary-dark);
    font-weight: 800;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.section.lp .lp-comments__login:hover {
    background: #dffaf8;
    transform: translateY(-1px);
}

.section.lp .lp-commentForm {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
}

.section.lp .lp-editor {
    min-height: 130px;
    resize: vertical;
    line-height: 2;
}

.section.lp .lp-comments__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 18px;
    padding-top: 18px;
    border-top: 1px solid var(--lp-border);
}

.section.lp .lp-comments__count {
    font-size: 1rem;
    font-weight: 900;
    color: var(--lp-text);
}

.section.lp .lp-commentList {
    display: grid;
    gap: 14px;
}

.section.lp .lp-comment {
    padding: 18px;
    border: 1px solid var(--lp-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.section.lp .lp-comment__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.section.lp .lp-comment__author {
    font-size: 1rem;
    font-weight: 900;
    color: var(--lp-text);
}

.section.lp .lp-comment__time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lp-muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.section.lp .lp-comment__body {
    color: var(--lp-text-soft);
    line-height: 2;
    word-break: break-word;
}

/* Responsive */
@media (max-width: 1100px) {
    .section.lp .lp-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 20px;
    }

    .section.lp .wysiwyg,
    .section.lp .lp-comments,
    .section.lp .lp-qa,
    .section.lp .lp-topbar {
        padding: 22px;
    }
}

@media (max-width: 991px) {
    .section.lp .lp-layout {
        grid-template-columns: 1fr;
    }


    .section.lp .lp-main {
        order: 1;
    }

    .section.lp .lp-sticky {
        position: static;
    }
}

@media (max-width: 767px) {
    .section.lp {
        padding-block: 20px 40px;
    }

    .section.lp .lp-topbar {
        padding: 18px;
        gap: 14px;
    }

    .section.lp .lp-topbar__title {
        font-size: 1.45rem;
    }

    .section.lp .lp-topbar__share {
        flex-direction: column;
        align-items: stretch;
    }

    .section.lp .lp-topbar__icons {
        justify-content: flex-start;
    }

    .section.lp .lp-topbar__toast {
        position: static;
        width: fit-content;
    }

    .section.lp .wysiwyg,
    .section.lp .lp-comments,
    .section.lp .lp-qa {
        padding: 18px;
        border-radius: 18px;
    }


    .section.lp .wysiwyg h2 {
        font-size: 1.28rem;
    }

    .section.lp .wysiwyg h3 {
        font-size: 1.12rem;
    }

    .section.lp .lp-shareIcon {
        width: 40px;
        height: 40px;
    }

    .section.lp .lp-comment {
        padding: 16px;
    }
}

@media (max-width: 575px) {
    .section.lp .lp-comment__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .section.lp .wysiwyg table,
    .section.lp .wysiwyg thead,
    .section.lp .wysiwyg tbody,
    .section.lp .wysiwyg tr,
    .section.lp .wysiwyg th,
    .section.lp .wysiwyg td {
        display: block;
    }

    .section.lp .wysiwyg thead {
        display: none;
    }

    .section.lp .wysiwyg tr {
        margin-bottom: 12px;
        border: 1px solid var(--lp-border);
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
    }

    .section.lp .wysiwyg td {
        border: 0;
        border-bottom: 1px solid var(--lp-border);
    }

    .section.lp .wysiwyg td:last-child {
        border-bottom: 0;
    }
}
/* =========================
   Sidebar modern override
   ========================= */
.section.lp .lp-aside {
    min-width: 0;
}

.section.lp .lp-sticky {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 20px;
    align-self: start;
}

/* Card base */
.section.lp .lp-widget {
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfe 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.section.lp .lp-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    border-color: rgba(99, 102, 241, 0.18);
}

/* Contact card */
.section.lp .lp-call {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    text-decoration: none;
    color: inherit;
}

.section.lp .lp-call__meta {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.section.lp .lp-call__label {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    line-height: 1.8;
}

.section.lp .lp-call__value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f172a;
    line-height: 1.4;
}

.section.lp .lp-call__img {
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
    object-fit: contain;
    display: block;
    border-radius: 18px;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
}

/* Consultation card */
.section.lp .lp-consult {
    padding: 22px;
}

.section.lp .lp-news__title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.section.lp .lp-news__text {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 2;
    color: #64748b;
}

/* form */
.section.lp .lawyerCard,
.section.lp .lp-news__form {
    display: grid;
    gap: 12px;
}

/* inputs */
.section.lp .lp-input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    color: #0f172a;
    font-size: 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.section.lp .lp-input--textarea {
    height: auto;
    min-height: 120px;
    padding: 14px 16px;
    resize: vertical;
    line-height: 2;
}

.section.lp .lp-input::placeholder {
    color: #94a3b8;
    padding: 15px;
    font-family:"Vazirmatn", system-ui, -apple-system, Segoe UI, Roboto, sans-serif ;
}

.section.lp .lp-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}

/* button */
.section.lp .lp-btn {
    height: 52px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.22);
}

.section.lp .lp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(79, 70, 229, 0.28);
}

.section.lp .lp-btn:active {
    transform: translateY(0);
}

/* Instagram card */
.section.lp .lp-insta {
    display: block;
    padding: 18px;
    text-decoration: none;
    color: inherit;
}

.section.lp .lp-insta__row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.section.lp .lp-insta__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #fdf2f8, #f5f3ff);
    color: #db2777;
    font-size: 24px;
    flex: 0 0 52px;
}

.section.lp .lp-insta__text {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.section.lp .lp-insta__title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.6;
}

.section.lp .lp-insta__sub {
    font-size: 13px;
    color: #64748b;
    letter-spacing: .3px;
}

/* Mobile */
@media (max-width: 991px) {
    .section.lp .lp-sticky {
        position: static;
        top: auto;
    }
}

@media (max-width: 575px) {
    .section.lp .lp-call {
        flex-direction: column;
        align-items: flex-start;
    }

    .section.lp .lp-call__img {
        width: 96px;
        height: 96px;
        flex-basis: 96px;
    }

    .section.lp .lp-call__value {
        font-size: 18px;
    }

    .section.lp .lp-consult {
        padding: 18px;
    }

    .section.lp .lp-insta {
        padding: 16px;
    }
}
.lp-stickyWrap{
    margin-top: 5px;
    margin-bottom: 5px;
}

