/* =========================================================
   RESHINO - GLOBAL STYLE
   فایل عمومی سایت
   Header / Footer / Home / Forms / Modals / Contact / Social
========================================================= */

:root {
    --primary: #4e54c8;
    --secondary: #8f94fb;
    --success: #38ef7d;
    --warning: #fbb040;
    --danger: #f85f40;

    --light: #f8f9fa;
    --dark: #343a40;

    --text: #2d3748;
    --text-light: #718096;

    --surface: #ffffff;
    --page-bg: #f4f6fb;

    --border: rgba(78, 84, 200, .13);
    --shadow-sm: 0 8px 20px rgba(78, 84, 200, .07);
    --shadow-md: 0 14px 34px rgba(78, 84, 200, .10);
    --shadow-lg: 0 20px 50px rgba(78, 84, 200, .15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    direction: rtl;
    color: var(--text);
    background:
        radial-gradient(circle at 90% 5%, rgba(143, 148, 251, .10), transparent 24%),
        linear-gradient(135deg, #f7f8fc 0%, #edf0f7 100%);
    font-family: 'Vazirmatn', sans-serif;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

a,
button,
input,
select,
textarea {
    font-family: 'Vazirmatn', sans-serif;
}

/* =========================================================
   MAIN CONTAINER
========================================================= */

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: visible;
}

/* =========================================================
   GLOBAL TITLES
========================================================= */

.page-title {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.65;
    text-align: center;
}

.intro-text {
    max-width: 760px;
    margin: 0 auto 14px;
    color: #4b4f67;
    font-size: 14px;
    font-weight: 700;
    line-height: 2;
    text-align: center;
}

/* =========================================================
   HOME - ELIGIBILITY
========================================================= */

.eligibility-panel {
    width: min(100%, 1160px);
    max-width: 1160px;
    margin: 8px auto 26px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at 88% 14%, rgba(78, 84, 200, .18), transparent 28%),
        radial-gradient(circle at 12% 86%, rgba(143, 148, 251, .18), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(247, 248, 255, .94));
    border: 1px solid rgba(78, 84, 200, .14);
    box-shadow: 0 18px 48px rgba(78, 84, 200, .12);
    isolation: isolate;
}

.eligibility-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
}

.eligibility-panel::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    right: -135px;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(78, 84, 200, .08);
    z-index: -1;
}

.eligibility-head {
    max-width: 820px;
    margin: 0 auto 18px;
    text-align: center;
}

.eligibility-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-bottom: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(78, 84, 200, .08);
    border: 1px solid rgba(78, 84, 200, .12);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.7;
}

.eligibility-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.eligibility-step {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 16px;
    color: #30334a;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(78, 84, 200, .12);
    box-shadow: 0 10px 22px rgba(78, 84, 200, .07);
    font-size: 13px;
    font-weight: 900;
}

.eligibility-step i {
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(78, 84, 200, .11), rgba(143, 148, 251, .20));
    font-size: 12px;
}

#majorForm {
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(78, 84, 200, .13);
    box-shadow: 0 14px 34px rgba(78, 84, 200, .10);
    backdrop-filter: blur(10px);
}

#majorForm .form-item {
    margin-bottom: 12px;
}

#majorForm label {
    display: block;
    margin: 0 0 7px;
    color: #30334a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.8;
}

#majorForm select,
#majorForm input {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 10px 13px;
    border-radius: 15px;
    border: 1px solid rgba(78, 84, 200, .16);
    background: rgba(255, 255, 255, .94);
    color: #30334a;
    box-shadow: 0 8px 18px rgba(78, 84, 200, .06);
    font-size: 13px;
    font-weight: 700;
    transition: .2s ease;
}

#majorForm select:focus,
#majorForm input:focus {
    border-color: rgba(78, 84, 200, .44);
    outline: none;
    box-shadow: 0 0 0 4px rgba(78, 84, 200, .10), 0 10px 22px rgba(78, 84, 200, .09);
}

#grades {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

#grades:empty {
    display: none;
}

#majorForm:has(#grades:empty) .ninth-grade-help {
    display: none;
}

#grades .form-item {
    min-height: 122px;
    margin: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(78, 84, 200, .045), rgba(143, 148, 251, .09));
    border: 1px solid rgba(78, 84, 200, .10);
}

#grades .form-item label {
    min-height: 46px;
    display: flex;
    align-items: flex-start;
}

#grades .form-item input {
    margin-top: auto;
}

.ninth-grade-help {
    width: fit-content;
    max-width: 100%;
    margin: 12px auto 0;
    padding: 8px 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    color: #30334a;
    background: linear-gradient(135deg, rgba(78, 84, 200, .08), rgba(143, 148, 251, .14));
    border: 1px solid rgba(78, 84, 200, .13);
    box-shadow: 0 8px 18px rgba(78, 84, 200, .06);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.8;
    text-align: center;
}

.ninth-grade-help i {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--primary);
    background: #fff;
    box-shadow: 0 6px 14px rgba(78, 84, 200, .09);
    font-size: 11px;
}

.ninth-grade-help strong {
    color: var(--primary);
    font-weight: 900;
}

#checkBtn {
    width: min(100%, 330px);
    min-height: 48px;
    margin: 6px auto 0;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 12px 28px rgba(78, 84, 200, .20);
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

/* =========================================================
   HOME SEO CONTENT
========================================================= */

.seo-content {
    max-width: 980px;
    margin: 22px auto 0;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 14px;
    color: var(--text);
    text-align: right;
}

.seo-card {
    min-height: 100%;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .80);
    border: 1px solid rgba(78, 84, 200, .13);
    box-shadow: 0 10px 26px rgba(78, 84, 200, .07);
}

.seo-content h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 17px;
    line-height: 1.8;
}

.seo-content h2::after {
    display: none;
}

.seo-content h2 i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(78, 84, 200, .12), rgba(143, 148, 251, .22));
    font-size: 12px;
}

.seo-content p {
    margin: 0;
    color: #4b4f67;
    font-size: 13px;
    font-weight: 600;
    line-height: 2;
}

.seo-content ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 14px;
    margin: 0;
    padding-right: 18px;
    color: #4b4f67;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: calc(100% - 28px);
    max-width: 1280px;
    margin: 34px auto 16px;
    padding: 0;
    color: var(--text);
    position: relative;
}

.footer-card {
    position: relative;
    overflow: hidden;
    padding: 26px 24px 18px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 12%, rgba(78, 84, 200, .18), transparent 28%),
        radial-gradient(circle at 8% 88%, rgba(143, 148, 251, .20), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(246, 247, 255, .96));
    border: 1px solid rgba(78, 84, 200, .14);
    box-shadow: 0 18px 45px rgba(78, 84, 200, .14);
    isolation: isolate;
}

.footer-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--secondary));
}

.footer-card::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    left: -95px;
    top: -110px;
    border-radius: 50%;
    background: rgba(78, 84, 200, .08);
    z-index: -1;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 8px 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(78, 84, 200, .10);
}

.footer-logo-box {
    width: 54px;
    height: 54px;
    min-width: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(78, 84, 200, .16);
}

.footer-logo-box img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.footer-brand-text h3 {
    margin: 0 0 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 23px;
    font-weight: 900;
    line-height: 1.3;
    text-align: right;
}

.footer-brand-text h3::after {
    display: none;
}

.footer-brand-text p {
    margin: 0;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

.footer-credit {
    width: min(100%, 560px);
    margin: 2px auto 0;
    padding: 13px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(78, 84, 200, .10), rgba(143, 148, 251, .18));
    border: 1px solid rgba(78, 84, 200, .16);
    box-shadow: 0 10px 24px rgba(78, 84, 200, .08);
    text-align: center;
}

.footer-credit p {
    margin: 0;
    color: #30334a;
    font-size: 14px;
    font-weight: 700;
    line-height: 2;
}

.footer-credit strong {
    color: var(--primary);
    font-weight: 900;
}

.footer-credit-icon {
    width: 28px;
    height: 28px;
    margin-left: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 18px rgba(78, 84, 200, .20);
    vertical-align: middle;
}

.footer-info {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.footer-info-item {
    min-height: 56px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 18px;
    color: #30334a;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(78, 84, 200, .13);
    box-shadow: 0 10px 24px rgba(78, 84, 200, .08);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
    transition: .2s ease;
}

.footer-info-item:hover {
    transform: translateY(-3px);
    border-color: rgba(78, 84, 200, .26);
    box-shadow: 0 14px 30px rgba(78, 84, 200, .13);
}

.footer-info-item i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(78, 84, 200, .12), rgba(143, 148, 251, .22));
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(78, 84, 200, .12);
    color: var(--text-light);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
}

.footer-bottom p {
    margin: 0;
}

.footer-mini-links {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.footer-mini-links span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-mini-links i {
    color: var(--primary);
    font-size: 11px;
}

.footer-socials,
.header-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--primary);
    background: #fff;
    border: 1px solid rgba(78, 84, 200, .16);
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(78, 84, 200, .10);
    transition: .2s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.instagram-link:hover {
    color: #e1306c;
    border-color: rgba(225, 48, 108, .28);
}

.social-link.linkedin-link:hover {
    color: #0a66c2;
    border-color: rgba(10, 102, 194, .28);
}

.footer-contact-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contact-btn {
    appearance: none;
    width: fit-content;
    min-height: 40px;
    margin: 0 auto;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    border: 1px solid rgba(78, 84, 200, .18);
    color: var(--primary);
    background: linear-gradient(135deg, rgba(78, 84, 200, .10), rgba(143, 148, 251, .19));
    box-shadow: 0 8px 18px rgba(78, 84, 200, .10);
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
}

.footer-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(78, 84, 200, .16);
}

.footer-contact-btn::after {
    display: none;
}

/* =========================================================
   RESULT MODAL
========================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background:
        radial-gradient(circle at 20% 15%, rgba(143, 148, 251, .22), transparent 28%),
        radial-gradient(circle at 80% 85%, rgba(78, 84, 200, .20), transparent 32%),
        rgba(24, 26, 45, .62);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    overflow-y: auto;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    width: min(820px, calc(100vw - 44px));
    max-height: calc(100dvh - 44px);
    position: relative;
    overflow-y: auto;
    padding: 22px 20px 18px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 0%, rgba(143, 148, 251, .20), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(246, 247, 255, .97));
    border: 1px solid rgba(255, 255, 255, .76);
    box-shadow: 0 28px 85px rgba(35, 39, 90, .34);
    text-align: center;
    animation: resultModalIn .22s ease-out;
}

.modal-content::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(90deg, var(--secondary), var(--primary), #13b169);
}

@keyframes resultModalIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content.success::before {
    background: linear-gradient(90deg, #13b169, #22c55e, var(--primary));
}

.modal-content.warning::before {
    background: linear-gradient(90deg, #f59e0b, #facc15, var(--primary));
}

.modal-content.error::before {
    background: linear-gradient(90deg, #ef4444, #f97316, var(--primary));
}

.modal-icon {
    width: 58px;
    height: 58px;
    margin: 2px auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 15px 30px rgba(78, 84, 200, .22);
}

.modal-icon i {
    font-size: 24px;
    line-height: 1;
}

.modal-content.success .modal-icon {
    background: linear-gradient(135deg, #13b169, #4e54c8);
}

.modal-content.warning .modal-icon {
    background: linear-gradient(135deg, #f59e0b, #4e54c8);
}

.modal-content.error .modal-icon {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.modal-title {
    margin: 0 0 10px;
    color: #1f2547;
    font-size: 23px;
    font-weight: 950;
    line-height: 1.6;
}

.modal-text {
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    color: #49506a;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(78, 84, 200, .10);
    box-shadow: 0 10px 24px rgba(78, 84, 200, .06);
    font-size: 13px;
    font-weight: 760;
    line-height: 2.05;
    text-align: right;
}

.modal-visual {
    width: 100%;
    margin-top: 14px;
}

.modal-btn {
    width: min(100%, 230px);
    min-height: 48px;
    margin: 16px auto 0;
    padding: 10px 18px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 14px 28px rgba(78, 84, 200, .18);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

/* Eligibility result cards */

.eligibility-result-card,
.goal-result-card {
    width: 100%;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(78, 84, 200, .13);
    box-shadow: 0 12px 30px rgba(78, 84, 200, .09);
    text-align: right;
}

.result-success-card {
    background: linear-gradient(135deg, rgba(19, 177, 105, .09), rgba(255, 255, 255, .88));
    border-color: rgba(19, 177, 105, .20);
}

.result-warning-card {
    background: linear-gradient(135deg, rgba(255, 247, 237, .92), rgba(255, 255, 255, .88));
    border-color: rgba(245, 158, 11, .22);
}

.goal-result-list,
.battery-result-list {
    display: grid;
    gap: 12px;
}

.goal-card-top,
.result-status-row,
.battery-result-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.goal-card-title strong,
.result-status-text strong,
.battery-result-head strong {
    display: block;
    color: #20274a;
    font-size: 14px;
    font-weight: 950;
}

.goal-card-title small,
.result-status-text span,
.battery-result-head small {
    display: block;
    color: #6a7292;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.8;
}

.goal-card-badge,
.result-percent-badge,
.battery-result-head > span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    border: 1px solid rgba(78, 84, 200, .12);
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
}

.goal-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 20px;
    align-items: center;
}

.goal-metrics {
    display: grid;
}

.goal-metric-row {
    padding: 9px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dashed rgba(78, 84, 200, .14);
    color: #49506a;
    font-size: 13px;
    font-weight: 760;
}

.goal-metric-row:last-child {
    border-bottom: 0;
}

.goal-metric-row b {
    color: #20274a;
    font-weight: 950;
}

.goal-battery-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.goal-battery {
    --battery-main: #ef4444;
    --battery-light: #fb7185;
    width: 92px;
    padding-top: 14px;
    position: relative;
}

.goal-battery.level-medium {
    --battery-main: #f59e0b;
    --battery-light: #fde047;
}

.goal-battery.level-good {
    --battery-main: #3b82f6;
    --battery-light: #22c55e;
}

.goal-battery.level-full {
    --battery-main: #22c55e;
    --battery-light: #4e54c8;
}

.goal-battery-cap {
    width: 34px;
    height: 12px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px 8px 4px 4px;
    background: #192038;
}

.goal-battery-body {
    height: 148px;
    padding: 6px;
    border-radius: 24px;
    background: linear-gradient(180deg, #101728, #18233f);
    box-shadow: 0 18px 28px rgba(16, 23, 40, .20);
}

.goal-battery-screen {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(236, 240, 255, .88), rgba(221, 231, 255, .96));
}

.goal-battery-liquid {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(180deg, var(--battery-light), var(--battery-main));
    transition: height .75s ease;
}

.goal-battery-percent {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
    text-shadow: 0 2px 8px rgba(15, 23, 42, .30);
}

.goal-card-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    color: #4c546e;
    background: rgba(245, 247, 255, .92);
    border: 1px solid rgba(78, 84, 200, .10);
    font-size: 12px;
    font-weight: 760;
    line-height: 2;
    text-align: center;
}

/* =========================================================
   GOAL RESULT STATUS COLORS
   اندازه و ساختار کارت تغییر نکرده؛ فقط رنگ‌بندی وضعیت اضافه شده است.
========================================================= */

/* کارت نتیجه پایه */
.goal-result-card {
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

/* نوار رنگی بالای کارت */
.goal-result-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    border-radius: 22px 22px 0 0;
    pointer-events: none;
}

/* -------------------------
   LOW - نیاز به تلاش بیشتر
------------------------- */
.goal-result-card.level-low {
    border-color: rgba(239, 68, 68, 0.32);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98),
            rgba(254, 242, 242, 0.96)
        );
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.10);
}

.goal-result-card.level-low::before {
    background: linear-gradient(90deg, #f97316, #ef4444);
}

/* -------------------------
   MEDIUM - متوسط
------------------------- */
.goal-result-card.level-medium {
    border-color: rgba(245, 158, 11, 0.34);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 251, 235, 0.97)
        );
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.10);
}

.goal-result-card.level-medium::before {
    background: linear-gradient(90deg, #facc15, #f59e0b);
}

/* -------------------------
   GOOD - خوب
------------------------- */
.goal-result-card.level-good {
    border-color: rgba(59, 130, 246, 0.30);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98),
            rgba(239, 246, 255, 0.97)
        );
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.09);
}

.goal-result-card.level-good::before {
    background: linear-gradient(90deg, #60a5fa, #22c55e);
}

/* -------------------------
   FULL - مناسب / کامل
------------------------- */
.goal-result-card.level-full {
    border-color: rgba(34, 197, 94, 0.32);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.98),
            rgba(240, 253, 244, 0.97)
        );
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.10);
}

.goal-result-card.level-full::before {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

/* Badge وضعیت */
.goal-card-badge.level-low {
    color: #b91c1c;
    background: linear-gradient(
        135deg,
        rgba(254, 226, 226, 0.96),
        rgba(255, 237, 213, 0.96)
    );
    border-color: rgba(239, 68, 68, 0.20);
}

.goal-card-badge.level-medium {
    color: #a16207;
    background: linear-gradient(
        135deg,
        rgba(254, 249, 195, 0.96),
        rgba(254, 240, 138, 0.92)
    );
    border-color: rgba(245, 158, 11, 0.22);
}

.goal-card-badge.level-good {
    color: #1d4ed8;
    background: linear-gradient(
        135deg,
        rgba(219, 234, 254, 0.96),
        rgba(224, 242, 254, 0.94)
    );
    border-color: rgba(59, 130, 246, 0.20);
}

.goal-card-badge.level-full {
    color: #166534;
    background: linear-gradient(
        135deg,
        rgba(220, 252, 231, 0.96),
        rgba(224, 231, 255, 0.92)
    );
    border-color: rgba(34, 197, 94, 0.20);
}

/* باکس توضیح پایین کارت */
.goal-result-card.level-low .goal-card-note {
    background: rgba(254, 242, 242, 0.94);
    border-color: rgba(239, 68, 68, 0.18);
}

.goal-result-card.level-medium .goal-card-note {
    background: rgba(255, 251, 235, 0.95);
    border-color: rgba(245, 158, 11, 0.18);
}

.goal-result-card.level-good .goal-card-note {
    background: rgba(239, 246, 255, 0.94);
    border-color: rgba(59, 130, 246, 0.16);
}

.goal-result-card.level-full .goal-card-note {
    background: rgba(240, 253, 244, 0.94);
    border-color: rgba(34, 197, 94, 0.18);
}

/* =========================================================
   END GOAL RESULT STATUS COLORS
========================================================= */


/* =========================================================
   INSTAGRAM PROMO MODAL
========================================================= */

#instagramPromoModal.promo-modal-overlay {
    z-index: 10020;
    padding: 16px;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 20% 12%, rgba(225, 48, 108, .18), transparent 28%),
        radial-gradient(circle at 80% 82%, rgba(78, 84, 200, .22), transparent 32%),
        rgba(21, 24, 45, .64);
}

#instagramPromoContent.promo-modal-content {
    width: min(520px, calc(100vw - 26px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 24px 22px 18px;
    position: relative;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(248, 249, 255, .98));
    border: 1px solid rgba(255, 255, 255, .86);
    box-shadow: 0 28px 76px rgba(22, 28, 67, .30);
    text-align: center;
}

#instagramPromoContent.promo-modal-content::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(90deg, #fd1d1d, #fcb045, #c13584, #5851db);
}

#instagramPromoContent .promo-floating-shape,
#instagramPromoContent .promo-features,
#instagramPromoContent .promo-secondary-btn {
    display: none;
}

.promo-close-btn {
    position: absolute;
    top: 13px;
    left: 13px;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(78, 84, 200, .10);
    color: #596076;
    background: #fff;
    box-shadow: 0 8px 18px rgba(78, 84, 200, .10);
    cursor: pointer;
    z-index: 4;
}

.promo-close-btn::after {
    display: none;
}

#instagramPromoContent .promo-badge {
    width: fit-content;
    margin: 4px auto 14px;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    color: #4d5270;
    background: rgba(225, 48, 108, .08);
    border: 1px solid rgba(225, 48, 108, .12);
    font-size: 12px;
    font-weight: 900;
}

#instagramPromoContent .promo-badge i {
    color: #e1306c;
}

#instagramPromoContent .promo-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

#instagramPromoContent .promo-icon-wrap {
    width: 86px;
    height: 86px;
    margin: 0 auto;
    position: relative;
}

#instagramPromoContent .promo-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: linear-gradient(135deg, #fd1d1d, #fcb045 38%, #c13584 66%, #5851db);
    box-shadow: 0 18px 30px rgba(193, 53, 132, .18);
}

#instagramPromoContent .promo-icon-core {
    position: absolute;
    inset: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 21px;
    background: #fff;
}

#instagramPromoContent .promo-icon-core i {
    font-size: 38px;
    background: linear-gradient(135deg, #fd1d1d, #fcb045 38%, #c13584 66%, #5851db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#instagramPromoContent .promo-copy h3 {
    width: fit-content;
    max-width: 100%;
    margin: 4px auto 9px;
    padding: 4px 12px;
    color: #1f2547;
    background: transparent;
    border: 0;
    font-size: 25px;
    font-weight: 950;
    line-height: 1.7;
    text-align: center;
}

#instagramPromoContent .promo-copy p {
    max-width: 390px;
    margin: 0 auto;
    color: #525a75;
    font-size: 13px;
    font-weight: 760;
    line-height: 2.05;
    text-align: center;
}

#instagramPromoContent .promo-handle-box {
    margin: 16px auto 0;
    padding: 13px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(246, 247, 255, .96));
    border: 1px solid rgba(78, 84, 200, .10);
    box-shadow: 0 12px 28px rgba(78, 84, 200, .07);
    text-align: center;
}

#instagramPromoContent .promo-handle-label {
    display: block;
    margin-bottom: 9px;
    color: #69708b;
    font-size: 11px;
    font-weight: 850;
}

#instagramPromoContent .promo-handle-link {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    color: #1f2547;
    background: #fff;
    border: 1px solid rgba(225, 48, 108, .14);
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(225, 48, 108, .08);
    font-size: 20px;
    font-weight: 950;
    direction: ltr;
}

#instagramPromoContent .promo-handle-link i {
    color: #e1306c;
    font-size: 23px;
}

#instagramPromoContent .promo-actions {
    margin-top: 14px;
}

#instagramPromoContent .promo-primary-btn {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #fd1d1d, #fcb045 42%, #c13584 70%, #5851db);
    text-decoration: none;
    box-shadow: 0 16px 28px rgba(193, 53, 132, .20);
    font-size: 13px;
    font-weight: 950;
}

/* =========================================================
   CONTACT MODAL
========================================================= */

#contactModal.contact-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background:
        radial-gradient(circle at 18% 14%, rgba(143, 148, 251, .22), transparent 29%),
        radial-gradient(circle at 82% 86%, rgba(78, 84, 200, .20), transparent 32%),
        rgba(24, 26, 45, .62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow-y: auto;
}

#contactModal.contact-modal-overlay.active {
    display: flex;
}

#contactModalContent.contact-modal-content {
    width: min(860px, calc(100vw - 40px));
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 32px;
    background:
        radial-gradient(circle at 94% 4%, rgba(143, 148, 251, .22), transparent 32%),
        radial-gradient(circle at 4% 96%, rgba(78, 84, 200, .12), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, .99), rgba(246, 247, 255, .98));
    border: 1px solid rgba(255, 255, 255, .84);
    box-shadow: 0 30px 90px rgba(35, 39, 90, .38);
    text-align: right;
}

#contactModalContent.contact-modal-content::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    border-radius: 32px 32px 0 0;
    background: linear-gradient(90deg, var(--secondary), var(--primary), #13b169);
}

.contact-modal-close {
    position: absolute;
    top: 17px;
    left: 17px;
    z-index: 5;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #4b4f67;
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(78, 84, 200, .13);
    box-shadow: 0 8px 20px rgba(78, 84, 200, .11);
    cursor: pointer;
}

.contact-modal-close::after {
    display: none;
}

.contact-modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 30px 30px 20px 78px;
    border-bottom: 1px solid rgba(78, 84, 200, .11);
}

.contact-modal-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 21px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 15px 32px rgba(78, 84, 200, .24);
}

.contact-modal-icon i {
    font-size: 24px;
}

.contact-modal-heading h2 {
    margin: 0 0 5px;
    padding: 0;
    color: #292d4d;
    font-size: 24px;
    font-weight: 950;
    line-height: 1.6;
    text-align: right;
}

.contact-modal-heading h2::after {
    display: none;
}

.contact-modal-heading p {
    margin: 0;
    color: #62677f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

#contactForm {
    padding: 22px 30px 30px;
}

.contact-form-status {
    display: none;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.9;
}

.contact-form-status.active {
    display: flex;
}

.contact-form-status.success {
    color: #087443;
    background: rgba(19, 177, 105, .10);
    border: 1px solid rgba(19, 177, 105, .20);
}

.contact-form-status.error {
    color: #b42318;
    background: rgba(239, 68, 68, .09);
    border: 1px solid rgba(239, 68, 68, .19);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 13px;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #30334a;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.8;
}

.contact-field label i {
    color: var(--primary);
    font-size: 11px;
}

.required-mark {
    color: #ef4444;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    margin: 0;
    border-radius: 15px;
    border: 1px solid rgba(78, 84, 200, .16);
    color: #30334a;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 18px rgba(78, 84, 200, .055);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.contact-field input {
    min-height: 48px;
    padding: 10px 13px;
}

.contact-field textarea {
    min-height: 145px;
    padding: 12px 13px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: rgba(78, 84, 200, .46);
    box-shadow: 0 0 0 4px rgba(78, 84, 200, .10), 0 10px 24px rgba(78, 84, 200, .09);
}

.contact-field.has-error input,
.contact-field.has-error textarea {
    border-color: rgba(239, 68, 68, .60);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .08);
}

.contact-field-error {
    display: block;
    min-height: 20px;
    margin-top: 4px;
    color: #c62828;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.8;
}

.contact-message-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    color: #7a7f95;
    font-size: 10px;
    font-weight: 700;
}

.contact-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 5px;
}

.contact-submit-btn,
.contact-cancel-btn {
    width: auto;
    min-height: 46px;
    margin: 0;
    padding: 9px 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
}

.contact-submit-btn {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 11px 24px rgba(78, 84, 200, .22);
}

.contact-cancel-btn {
    color: #555a72;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(78, 84, 200, .14);
}

.contact-submit-btn::after,
.contact-cancel-btn::after {
    display: none;
}

/* =========================================================
   SWEETALERT CONTACT SUCCESS
========================================================= */

.reshino-contact-swal,
.reshino-contact-swal * {
    font-family: 'Vazirmatn', sans-serif !important;
}

.reshino-contact-swal {
    width: min(480px, calc(100vw - 28px)) !important;
    padding: 28px 24px 24px !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at 90% 5%, rgba(34, 197, 94, .15), transparent 32%),
        linear-gradient(145deg, #fff, #f7f8ff) !important;
    box-shadow: 0 28px 80px rgba(35, 39, 90, .28) !important;
}

.reshino-contact-swal-title {
    color: #20274a !important;
    font-size: 22px !important;
    font-weight: 950 !important;
    line-height: 1.8 !important;
}

.reshino-contact-swal-text {
    color: #596078 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 2 !important;
}

.reshino-contact-swal-confirm {
    min-width: 180px !important;
    min-height: 46px !important;
    margin: 8px 0 0 !important;
    padding: 9px 24px !important;
    border: 0 !important;
    border-radius: 15px !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    box-shadow: 0 12px 26px rgba(78, 84, 200, .24) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

/* =========================================================
   HEADER
   راست: برند | وسط: منو | چپ: تماس و شبکه‌های اجتماعی
   ردیف دوم: آمار بازدید داخل همان هدر
========================================================= */

.reshino-header {
    width: calc(100% - 28px);
    max-width: 1280px;
    margin: 16px auto 20px;
    padding: 0;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(78, 84, 200, 0.12);
    border-radius: 22px;

    box-shadow: 0 8px 24px rgba(78, 84, 200, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.reshino-header__inner {
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 10px 18px 7px;

    display: grid;
    grid-template-columns:
        minmax(250px, 1fr)
        auto
        minmax(250px, 1fr);

    align-items: center;
    gap: 18px;
}

.reshino-header__main {
    display: contents;
}

/* Brand - Right */

.reshino-header__brand {
    grid-column: 1;
    justify-self: start;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: inherit;
    text-decoration: none;
}

.reshino-header__logo {
    width: 46px;
    height: 46px;
    min-width: 46px;
    padding: 5px;

    object-fit: contain;

    border-radius: 15px;
    background: #fff;
    border: 1px solid rgba(78, 84, 200, 0.10);

    box-shadow: 0 8px 20px rgba(78, 84, 200, 0.10);
}

.reshino-header__brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.reshino-header__brand-name {
    color: var(--primary);

    font-size: 20px;
    font-weight: 950;
    line-height: 1.25;
}

.reshino-header__tagline {
    display: block;
    margin-top: 2px;

    color: #858a9c;

    font-size: 9px;
    font-weight: 750;
    line-height: 1.5;

    white-space: nowrap;
}

/* Navigation - Center */

.reshino-header__nav {
    grid-column: 2;
    justify-self: center;

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 5px;

    border-radius: 16px;
    background: #f7f8ff;
    border: 1px solid rgba(78, 84, 200, 0.08);
}

.reshino-header__nav-link {
    min-height: 40px;
    padding: 8px 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border-radius: 12px;

    color: #545a70;
    text-decoration: none;

    font-size: 10px;
    font-weight: 900;

    white-space: nowrap;

    transition:
        color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.reshino-header__nav-link i {
    color: #6970cf;
    font-size: 10px;
}

.reshino-header__nav-link:hover {
    color: var(--primary);
    background: #fff;
    transform: translateY(-1px);
}

.reshino-header__nav-link.is-active {
    color: #fff;

    background: linear-gradient(
        135deg,
        var(--primary),
        #7278ea
    );

    box-shadow: 0 8px 18px rgba(78, 84, 200, 0.19);
}

.reshino-header__nav-link.is-active i {
    color: #fff;
}

/* Actions - Left */

.reshino-header__tools {
    grid-column: 3;
    justify-self: end;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;

    margin: 0;
}

.reshino-header__contact {
    appearance: none;

    width: auto;
    min-width: 0;
    min-height: 36px;

    margin: 0;
    padding: 6px 11px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    border: 0;
    border-radius: 11px;

    color: #fff;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    box-shadow: 0 8px 18px rgba(78, 84, 200, 0.17);

    font-size: 9px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.reshino-header__contact:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(78, 84, 200, 0.24);
}

.reshino-header__contact::after {
    display: none;
}

.reshino-header__socials {
    display: flex;
    align-items: center;
    gap: 5px;
}

.reshino-header__social {
    width: 36px;
    height: 36px;
    min-width: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #555dc4;

    background: #fff;
    border: 1px solid rgba(78, 84, 200, 0.10);

    box-shadow: 0 6px 14px rgba(78, 84, 200, 0.05);

    text-decoration: none;

    transition:
        color 0.18s ease,
        transform 0.18s ease,
        background 0.18s ease;
}

.reshino-header__social:hover {
    transform: translateY(-1px);
    background: #f8f9ff;
}

.reshino-header__social.instagram:hover {
    color: #e1306c;
}

.reshino-header__social.linkedin:hover {
    color: #0a66c2;
}

/* Visit stats - Second row inside same header */

.reshino-header .header-stats {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;

    margin: 0;
    padding: 7px 18px 10px;

    background: transparent;

    border-top: 1px solid rgba(78, 84, 200, 0.07);
}

/*
   ظاهر این دو باکس عمداً همان استایل قبلی پروژه است.
*/

.reshino-header .header-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 12px;

    border-radius: 999px;

    background: linear-gradient(
        135deg,
        rgba(78, 84, 200, 0.09),
        rgba(143, 148, 251, 0.18)
    );

    border: 1px solid rgba(78, 84, 200, 0.14);

    color: var(--text);

    box-shadow: 0 6px 14px rgba(78, 84, 200, 0.06);

    white-space: nowrap;
}

.reshino-header .header-stat-item i {
    color: var(--primary);
    font-size: 13px;
}

.reshino-header .header-stat-label {
    color: var(--text-light);

    font-size: 12px;
    font-weight: 600;
}

.reshino-header .header-stat-value {
    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
}

/* =========================================================
   MAJORS OUTER LAYOUT
========================================================= */

.majors-main-frame {
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0 20px 30px;

    background: transparent;
}

.majors-page-v3 {
    width: 100%;
    max-width: 1220px;

    margin: 0 auto 26px;

    overflow: hidden;

    border-radius: 24px;

    background: #fff;
    border: 1px solid rgba(78, 84, 200, 0.09);

    box-shadow: 0 16px 40px rgba(40, 45, 95, 0.10);
}

.majors-inner-v3 {
    width: calc(100% - 36px);
    max-width: 1160px;

    margin: 0 auto;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1040px) {
    .reshino-header__inner {
        grid-template-columns:
            minmax(190px, 1fr)
            auto
            minmax(170px, 1fr);

        gap: 10px;
    }

    .reshino-header__tagline {
        display: none;
    }
}

@media (max-width: 900px) {
    .seo-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 9px;
    }

    /* Header */

    .reshino-header {
        width: calc(100% - 18px);
        margin: 12px auto 16px;

        border-radius: 18px;
    }

    .reshino-header__inner {
        padding: 9px 10px 6px;

        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    .reshino-header__brand {
        grid-column: 1;
    }

    .reshino-header__tools {
        grid-column: 2;
    }

    .reshino-header__nav {
        grid-column: 1 / -1;
        grid-row: 2;

        width: 100%;
    }

    .reshino-header__nav-link {
        flex: 1;
        min-height: 36px;
        padding-inline: 8px;
    }

    .reshino-header__contact {
        width: 36px;
        height: 36px;
        padding: 0;
    }

    .reshino-header__contact span {
        display: none;
    }

    .reshino-header .header-stats {
        gap: 6px;
        padding: 6px 10px 8px;
    }

    .reshino-header .header-stat-item {
        padding: 5px 9px;
        gap: 5px;
    }

    .reshino-header .header-stat-item i {
        font-size: 11px;
    }

    .reshino-header .header-stat-label {
        font-size: 10px;
    }

    .reshino-header .header-stat-value {
        font-size: 11px;
    }

    /* Home */

    .eligibility-panel {
        width: calc(100% - 2px);
        margin: 4px auto 22px;
        padding: 18px 13px;

        border-radius: 22px;
    }

    .page-title {
        font-size: 20px;
    }

    .intro-text {
        font-size: 12px;
    }

    .eligibility-steps {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    #majorForm {
        padding: 13px;
        border-radius: 19px;
    }

    #grades {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    #grades .form-item {
        min-height: 0;
        padding: 10px;

        border-radius: 15px;
    }

    #grades .form-item label {
        min-height: 0;
    }

    #majorForm select,
    #majorForm input,
    #majorForm textarea {
        font-size: 16px !important;
    }

    .ninth-grade-help {
        width: 100%;

        border-radius: 14px;

        font-size: 10px;
    }

    #checkBtn {
        width: 100%;
        min-height: 44px;

        font-size: 13px;
    }

    .seo-content ul {
        grid-template-columns: 1fr;
    }

    /* Footer */

    .footer {
        width: calc(100% - 18px);
        margin: 26px auto 12px;
    }

    .footer-card {
        padding: 20px 14px 14px;

        border-radius: 20px;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    /* Result Modal */

    .modal-overlay {
        padding: 10px;
        align-items: flex-start;
    }

    .modal-content {
        width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);

        margin: auto 0;
        padding: 18px 14px 14px;

        border-radius: 24px;
    }

    .goal-card-body {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .goal-battery-wrap {
        order: -1;
    }

    .goal-battery {
        width: 86px;
    }

    .goal-battery-body {
        height: 132px;
    }

    /* Instagram modal */

    #instagramPromoModal.promo-modal-overlay {
        padding: 8px;
    }

    #instagramPromoContent.promo-modal-content {
        width: calc(100vw - 14px);
        max-height: calc(100dvh - 16px);

        padding: 18px 12px 14px;

        border-radius: 24px;
    }

    /* Contact modal */

    #contactModal.contact-modal-overlay {
        padding: 12px;
    }

    #contactModalContent.contact-modal-content {
        width: 100%;
        max-width: 100%;
        max-height: calc(100dvh - 24px);

        border-radius: 26px;
    }

    .contact-modal-header {
        padding: 24px 18px 16px 62px;
    }

    .contact-modal-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;

        border-radius: 17px;
    }

    .contact-modal-heading h2 {
        font-size: 20px;
    }

    #contactForm {
        padding: 17px 18px 21px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-field-full {
        grid-column: auto;
    }

    .contact-field input,
    .contact-field textarea {
        font-size: 16px !important;
    }

    .contact-form-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .contact-submit-btn,
    .contact-cancel-btn {
        width: 100%;
    }

    /* Majors */

    .majors-main-frame {
        padding: 0 10px 24px;
    }

    .majors-page-v3 {
        border-radius: 18px;
    }

    .majors-inner-v3 {
        width: calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    .reshino-header__social.linkedin {
        display: none;
    }

    .reshino-header__brand {
        gap: 6px;
    }

    .reshino-header .header-stat-item {
        min-height: 31px;
        padding: 5px 9px;
    }

    .reshino-header .header-stat-label {
        font-size: 9px;
    }

    .reshino-header .header-stat-value {
        font-size: 10px;
    }

    .footer-brand {
        gap: 9px;
    }

    .footer-brand-text h3 {
        font-size: 18px;
    }

    .footer-brand-text p,
    .footer-credit p,
    .footer-info-item {
        font-size: 11px;
    }

    .reshino-contact-swal {
        padding: 23px 17px 19px !important;
        border-radius: 23px !important;
    }

    .reshino-contact-swal-title {
        font-size: 18px !important;
    }

    .reshino-contact-swal-confirm {
        width: 100% !important;
    }
}
