:root {
    --green-950: #082b1b;
    --green-900: #0b3924;
    --green-800: #104b2e;
    --green-700: #166039;
    --gold-500: #d6a82d;
    --gold-400: #e6bd4b;
    --gold-300: #f3d374;
    --cream: #fbf7ec;
    --cream-dark: #efe5cf;
    --text: #1a2a20;
    --muted: #637168;
    --white: #ffffff;
    --danger: #a73030;
    --success: #177245;
    --shadow: 0 20px 60px rgba(5, 37, 22, 0.14);
    --radius-lg: 28px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--cream);
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    line-height: 1.9;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */
.site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cream);
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

.brand img {
    width: 44px;
    height: 44px;
    padding: 3px;
    object-fit: cover;
    border: 1px solid rgba(242, 205, 105, 0.5);
    border-radius: 50%;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.desktop-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.83);
    font-size: 14px;
    transition: color 0.2s ease;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    content: "";
    background: var(--gold-400);
    transition: width 0.25s ease;
}

.desktop-nav a:hover {
    color: var(--gold-300);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.header-cta {
    padding: 10px 17px;
    color: var(--green-950);
    background: var(--gold-400);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta:hover {
    background: var(--gold-300);
    transform: translateY(-2px);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 100px;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 65%, rgba(214, 168, 45, 0.13), transparent 31%),
        radial-gradient(circle at 12% 20%, rgba(214, 168, 45, 0.12), transparent 25%),
        linear-gradient(120deg, var(--green-950), var(--green-800));
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(30deg, transparent 48%, rgba(241, 211, 116, 0.3) 49%, rgba(241, 211, 116, 0.3) 51%, transparent 52%);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 55px;
}

.eyebrow,
.section-label,
.lead-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-300);
    font-size: 14px;
    font-weight: 700;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--gold-400);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(230, 189, 75, 0.15);
}

.hero h1 {
    max-width: 630px;
    margin: 18px 0;
    font-size: clamp(38px, 5vw, 67px);
    font-weight: 900;
    line-height: 1.38;
    letter-spacing: -1.5px;
}

.hero h1 span,
.section-heading h2 span,
.teacher-content h2 span,
.lead-content h2 span {
    color: var(--gold-300);
}

.hero-description {
    max-width: 570px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 2.05;
}

.hero-description strong {
    color: var(--gold-300);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 12px 23px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    color: var(--green-950);
    background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.btn-outline {
    color: var(--cream);
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-arrow {
    font-size: 20px;
    line-height: 1;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    color: var(--gold-300);
    font-size: 18px;
    line-height: 1.4;
}

.trust-item span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

.trust-divider {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-visual {
    position: relative;
    min-height: 495px;
}

.hero-image-frame {
    position: absolute;
    top: 23px;
    right: 20px;
    width: min(100%, 400px);
    height: 455px;
    overflow: hidden;
    border: 10px solid rgba(251, 247, 236, 0.09);
    border-radius: 48% 48% 24px 24px;
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.3);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(4, 31, 18, 0.55));
}

.hero-gold-ring {
    position: absolute;
    border: 1px solid rgba(230, 189, 75, 0.45);
    border-radius: 50%;
}

.ring-one {
    top: 1px;
    right: -25px;
    width: 445px;
    height: 445px;
}

.ring-two {
    bottom: -40px;
    left: 0;
    width: 200px;
    height: 200px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--green-950);
    background: rgba(251, 247, 236, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}

.card-recipe {
    right: -30px;
    bottom: 70px;
}

.card-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--gold-500);
    background: var(--green-900);
    border-radius: 50%;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 12px;
}

.floating-card small {
    color: var(--muted);
    font-size: 10px;
}

.card-quality {
    top: 100px;
    left: -18px;
    flex-direction: column;
    gap: 0;
    text-align: center;
}

.quality-number {
    color: var(--green-800);
    font-size: 20px;
    font-weight: 900;
}

/* General sections */
.features-section,
.teacher-section,
.gallery-section,
.free-course-section {
    padding: 100px 0;
}

.section-heading h2,
.teacher-content h2,
.lead-content h2 {
    margin: 9px 0 12px;
    color: var(--green-950);
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 900;
    line-height: 1.55;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.center-heading {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    padding: 29px;
    background: var(--white);
    border: 1px solid rgba(16, 75, 46, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(20, 58, 34, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 0;
    content: "";
    background: var(--gold-400);
    transition: height 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 40px rgba(20, 58, 34, 0.12);
}

.feature-card:hover::after {
    height: 100%;
}

.feature-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--gold-500);
    background: rgba(214, 168, 45, 0.13);
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
}

.feature-card h3 {
    margin: 18px 0 7px;
    color: var(--green-900);
    font-size: 19px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 2;
}

/* Teacher */
.teacher-section {
    overflow: hidden;
    background: #f2ebda;
}

.teacher-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 85px;
}

.teacher-image-wrap {
    position: relative;
    min-height: 480px;
}

.teacher-image-backdrop {
    position: absolute;
    top: 25px;
    right: 0;
    width: 90%;
    height: 90%;
    background: var(--green-800);
    border-radius: 45% 45% 35px 35px;
}

.teacher-image {
    position: absolute;
    top: 0;
    right: 30px;
    width: calc(100% - 30px);
    height: 455px;
    object-fit: cover;
    border: 8px solid var(--cream);
    border-radius: 45% 45% 35px 35px;
    box-shadow: var(--shadow);
}

.teacher-badge {
    position: absolute;
    bottom: 15px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 17px;
    color: var(--cream);
    background: var(--green-950);
    border: 1px solid rgba(230, 189, 75, 0.48);
    border-radius: 14px;
    box-shadow: 0 15px 30px rgba(8, 43, 27, 0.26);
}

.badge-star {
    color: var(--gold-400);
    font-size: 25px;
}

.teacher-badge strong,
.teacher-badge small {
    display: block;
}

.teacher-badge strong {
    font-size: 12px;
}

.teacher-badge small {
    color: var(--gold-300);
    font-size: 14px;
    font-weight: 800;
}

.teacher-content > p {
    margin: 0 0 12px;
    color: #536158;
    font-size: 15px;
    line-height: 2.1;
}

.teacher-list {
    padding: 0;
    margin: 23px 0;
    list-style: none;
}

.teacher-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 10px 0;
    color: var(--green-900);
    font-size: 14px;
    font-weight: 600;
}

.teacher-list span {
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    color: var(--green-950);
    background: var(--gold-400);
    border-radius: 50%;
    font-size: 13px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-800);
    border-bottom: 1px solid var(--gold-400);
    font-size: 14px;
    font-weight: 800;
}

/* Gallery */
.gallery-section {
    background: var(--cream);
}

.gallery-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 36px;
}

.gallery-heading p {
    max-width: 330px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 14px;
}

.gallery-item {
    position: relative;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: var(--green-900);
}

.gallery-item.gallery-large {
    grid-row: span 2;
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 80%, rgba(5, 37, 22, 0.84));
}

.gallery-item figcaption {
    position: absolute;
    right: 16px;
    bottom: 14px;
    z-index: 1;
    color: var(--white);
}

.gallery-item figcaption span,
.gallery-item figcaption small {
    display: block;
}

.gallery-item figcaption span {
    font-size: 14px;
    font-weight: 800;
}

.gallery-item figcaption small {
    color: var(--gold-300);
    font-size: 11px;
}

/* Lead form */
.free-course-section {
    position: relative;
    overflow: hidden;
    background: var(--green-950);
}

.free-course-bg-shape {
    position: absolute;
    border: 1px solid rgba(230, 189, 75, 0.2);
    border-radius: 50%;
}

.shape-one {
    top: -190px;
    right: -100px;
    width: 480px;
    height: 480px;
}

.shape-two {
    bottom: -160px;
    left: -80px;
    width: 410px;
    height: 410px;
}

.lead-box {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 55px;
    padding: 55px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(230, 189, 75, 0.27);
    border-radius: var(--radius-lg);
}

.lead-content h2 {
    color: var(--cream);
    font-size: clamp(28px, 3.3vw, 43px);
}

.lead-content p {
    max-width: 570px;
    margin: 0;
    color: rgba(255, 255, 255, 0.77);
    font-size: 15px;
    line-height: 2.05;
}

.mini-course-points {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    color: var(--cream);
    font-size: 13px;
}

.mini-course-points span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mini-course-points b {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    color: var(--green-950);
    background: var(--gold-400);
    border-radius: 50%;
    font-size: 11px;
}

.lead-form-wrapper {
    padding: 6px;
    background: linear-gradient(135deg, rgba(243, 211, 116, 0.9), rgba(214, 168, 45, 0.28));
    border-radius: 22px;
}

.lead-form {
    padding: 29px;
    background: var(--cream);
    border-radius: 18px;
}

.form-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 21px;
}

.form-title-icon {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    color: var(--gold-500);
    background: var(--green-900);
    border-radius: 12px;
}

.form-title strong,
.form-title small {
    display: block;
}

.form-title strong {
    color: var(--green-950);
    font-size: 15px;
}

.form-title small {
    color: var(--muted);
    font-size: 11px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--green-900);
    font-size: 13px;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    color: var(--green-950);
    outline: none;
    background: var(--white);
    border: 1px solid #d9d1bd;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder {
    color: #a6a395;
}

.form-group input:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(214, 168, 45, 0.14);
}

.form-submit {
    width: 100%;
    margin-top: 5px;
}

.form-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.form-notice {
    margin: 13px 0 0;
    color: #7c847e;
    font-size: 10px;
    line-height: 1.7;
    text-align: center;
}

.form-message {
    display: none;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.8;
}

.form-message.error {
    display: block;
    color: var(--danger) !important;
    background: #fff0f0;
    border: 1px solid #f4caca;
}

.form-message.success {
    display: block;
    color: var(--success);
    background: #edf9f1;
    border: 1px solid #bee5ca;
}

.course-links-box {
    position: relative;
    max-width: 820px;
    margin: 30px auto 0;
    padding: 32px;
    text-align: center;
    background: var(--cream);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.success-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin: -56px auto 10px;
    place-items: center;
    color: var(--green-950);
    background: var(--gold-400);
    border: 5px solid var(--green-950);
    border-radius: 50%;
    font-size: 21px;
    font-weight: 900;
}

.course-links-box h3 {
    margin: 0;
    color: var(--green-950);
    font-size: 21px;
}

.course-links-box > p {
    margin: 5px 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.course-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.course-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 15px 10px;
    color: var(--green-900);
    background: #f4eddd;
    border: 1px solid #e8d9b9;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease;
}

.course-link:hover {
    background: var(--gold-300);
    transform: translateY(-3px);
}

.course-link span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--cream);
    background: var(--green-800);
    border-radius: 50%;
    font-size: 10px;
}

/* Footer */
.site-footer {
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.7);
    background: #061f14;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-brand p {
    margin: 6px 0 0;
    font-size: 11px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--gold-300);
}

.copyright {
    margin: 0;
    font-size: 10px;
}

/* Responsive */
@media (max-width: 950px) {
    .desktop-nav {
        display: none;
    }

    .hero-grid,
    .teacher-grid,
    .lead-box {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .eyebrow,
    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-visual {
        width: min(470px, 100%);
        min-height: 450px;
        margin: 10px auto 0;
    }

    .teacher-grid {
        gap: 35px;
    }

    .teacher-image-wrap {
        width: min(460px, 100%);
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lead-box {
        gap: 35px;
    }

    .lead-content {
        text-align: center;
    }

    .mini-course-points {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 30px, 1160px);
    }

    .site-header {
        padding: 13px 0;
    }

    .brand {
        font-size: 15px;
    }

    .brand img {
        width: 37px;
        height: 37px;
    }

    .header-cta {
        padding: 8px 10px;
        font-size: 10px;
    }

    .hero {
        padding: 115px 0 65px;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-trust {
        gap: 10px;
    }

    .trust-item strong {
        font-size: 14px;
    }

    .trust-item span {
        max-width: 80px;
        font-size: 10px;
        line-height: 1.5;
    }

    .hero-visual {
        min-height: 375px;
    }

    .hero-image-frame {
        right: 50%;
        width: 280px;
        height: 345px;
        transform: translateX(50%);
        border-radius: 45% 45% 20px 20px;
    }

    .ring-one {
        right: 50%;
        width: 335px;
        height: 335px;
        transform: translateX(50%);
    }

    .card-recipe {
        right: 2px;
        bottom: 12px;
    }

    .card-quality {
        top: 45px;
        left: 0;
    }

    .features-section,
    .teacher-section,
    .gallery-section,
    .free-course-section {
        padding: 65px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .teacher-image-wrap {
        min-height: 385px;
    }

    .teacher-image {
        right: 18px;
        width: calc(100% - 18px);
        height: 365px;
    }

    .teacher-badge {
        bottom: 2px;
        left: 0;
    }

    .gallery-heading {
        display: block;
    }

    .gallery-heading p {
        margin-top: 5px;
    }

    .gallery-grid {
        grid-auto-rows: 160px;
        gap: 10px;
    }

    .gallery-item.gallery-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .lead-box {
        padding: 25px 18px;
    }

    .lead-form {
        padding: 22px 17px;
    }

    .course-links {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}
/* =========================================================
   Mobile touch / click fix
   جلوگیری از قرار گرفتن لایه‌های تزئینی روی فرم و دکمه‌ها
   ========================================================= */

.free-course-section {
    position: relative;
    isolation: isolate;
}

/* اشکال‌های تزئینی نباید هیچ کلیک یا لمس موبایل را دریافت کنند */
.free-course-bg-shape,
.hero-pattern,
.hero-gold-ring,
.teacher-image-backdrop,
.image-overlay,
.gallery-item::before,
.gallery-item::after,
.free-course-section::before,
.free-course-section::after {
    pointer-events: none !important;
}

/* محتوای اصلی بخش باید بالاتر از پس‌زمینه تزئینی باشد */
.free-course-section > .container {
    position: relative;
    z-index: 10;
}

/* خود فرم و اجزای قابل تعامل باید روی همه لایه‌ها باشند */
.lead-box,
.lead-form-wrapper,
.lead-form,
.course-recovery,
#leadForm,
#recoveryForm,
.form-group,
.form-group input,
.form-submit,
#submitButton,
#recoveryButton,
.btn,
button {
    position: relative;
    z-index: 20;
    pointer-events: auto;
}

/* رفع اختلال لمس در برخی مرورگرهای موبایل */
input,
button,
a,
label {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/*
 * برای iOS Safari:
 * font-size کمتر از 16px باعث Zoom ناخواسته هنگام ورود به input می‌شود.
 */
@media (max-width: 768px) {
    .lead-form input,
    .course-recovery input,
    input[type="tel"],
    input[type="text"] {
        font-size: 16px !important;
        position: relative;
        z-index: 30;
        pointer-events: auto !important;
    }

    .lead-form button,
    .course-recovery button,
    #submitButton,
    #recoveryButton {
        position: relative;
        z-index: 31;
        pointer-events: auto !important;
        touch-action: manipulation;
        cursor: pointer;
    }

    .lead-form-wrapper,
    .course-recovery,
    .course-links-box {
        position: relative;
        z-index: 25;
    }
}
/* فقط سفید شدن متن‌های بخش بازیابی آموزش */
.course-recovery,
.course-recovery .recovery-title,
.course-recovery .recovery-text,
.course-recovery label,
.course-recovery p,
.course-recovery h1,
.course-recovery h2,
.course-recovery h3,
.course-recovery h4 {
    color: #f3d374 !important;
}


.course-recovery input {
    color: #000000 !important;
}

.course-recovery input::placeholder {
    color: rgba(255, 255, 255, 0.75) !important;
}
.contact-links {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    max-width: 620px;
    margin: 28px auto 20px;
    padding: 0 16px;
}

.contact-link {
    flex: 1 1 0;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
    touch-action: manipulation;
}

.contact-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
}

.contact-icon {
    font-size: 24px;
    line-height: 1;
}

.contact-link span:last-child {
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 480px) {
    .contact-links {
        gap: 8px;
        padding: 0 10px;
    }

    .contact-link {
        min-height: 60px;
        padding-inline: 4px;
    }

    .contact-link span:last-child {
        font-size: 11px;
    }

    .contact-icon {
        font-size: 22px;
    }
}
.admin-body {
    min-height: 100vh;
    margin: 0;
    background: #f8f1eb;
    color: #382017;
    font-family: inherit;
}

.admin-login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    box-sizing: border-box;
}

.admin-login-form {
    width: min(100%, 390px);
    padding: 30px;
    background: #ffffff;
    border: 1px solid rgba(125, 52, 29, 0.18);
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(73, 35, 23, 0.14);
    box-sizing: border-box;
}

.admin-login-form h1 {
    margin: 0 0 24px;
    color: #6d321f;
    font-size: 22px;
}

.admin-login-form label {
    display: block;
    margin: 16px 0 7px;
    color: #593123;
    font-weight: 700;
}

.admin-login-form input {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #d9b9a9;
    border-radius: 7px;
    color: #382017;
    background: #ffffff;
    font: inherit;
}

.admin-login-form button,
.admin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 7px;
    background: #0B3822;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.admin-login-form button {
    width: 100%;
    margin-top: 24px;
}

.admin-dashboard {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-header h1 {
    margin: 0;
    color: #5b2e1d;
    font-size: 24px;
}

.admin-header p {
    margin: 8px 0 0;
    color: #785446;
}

.admin-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-button-export {
    background: #397443;
}

.admin-button-logout {
    background: #795244;
}

.admin-table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid rgba(125, 52, 29, 0.16);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(73, 35, 23, 0.08);
}

.admin-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px;
    border-bottom: 1px solid #f0e2da;
    text-align: right;
    white-space: nowrap;
}

.admin-table th {
    background: #fff6f1;
    color: #6d321f;
    font-size: 14px;
}

.admin-table td {
    color: #493026;
    font-size: 14px;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-empty {
    padding: 28px !important;
    text-align: center !important;
    color: #785446 !important;
}

.admin-alert {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 7px;
}

.admin-alert-error {
    background: #fff0ef;
    border: 1px solid #f0b7b2;
    color: #9b2c25;
}

@media (max-width: 640px) {
    .admin-dashboard {
        width: min(100% - 20px, 1180px);
        padding-top: 18px;
    }

    .admin-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-header h1 {
        font-size: 20px;
    }

    .admin-actions {
        width: 100%;
    }

    .admin-button {
        flex: 1 1 0;
    }
}
