/* ============================================================
   LEXA - בניית אתרים | CSS
   עמוד חדש בפורמט של עמוד הקישורים. שומר על אותה שפה עיצובית
   (טורקיז #0d9488 לפעולות, סגול #7c3aed למשני), עצמאי לחלוטין
   ומתחיל בכל הכללים תחת .lexa-sites-page כדי לא לגעת בשאר האתר.

   רכיבים חדשים בקובץ הזה:
   - שלושה צעדים (ה-hero עבר לתבנית lexa-hero הגלובלית של עמודי
     הפיצ'רים, ולכן אין לו CSS כאן)
   - כרטיסי סוגי אתרים (מחליפים את הקטלוג המסונן)
   - "מה כלול" + טופס בקשת הצעת מחיר
   בלוקי התוכן החינוכיים (2x2, טבלת השוואה, צ'ק-ליסט) משתמשים
   במחלקות התבנית הגלובליות (custom-card / shadow-purple / וכו')
   בדיוק כמו בעמוד הקישורים, כדי שייראו זהים.
   ============================================================ */

.lexa-sites-page {
    --st-teal:        #0d9488;
    --st-teal-dark:   #0f766e;
    --st-teal-darker: #134e4a;
    --st-teal-bg:     #f0fdf9;
    --st-teal-border: #99f6e4;
    --st-purple:      #7c3aed;
    --st-purple-dark: #5b21b6;
    --st-purple-bg:   #f5f3ff;
    --st-text:        #111827;
    --st-muted:       #6b7280;
    --st-faded:       #9ca3af;
    --st-line:        #e8eaf0;
    --st-line-soft:   #eef1f6;
    --st-bg-soft:     #f8fafc;
    --st-danger:      #ef4444;
}


/* ════════════════════════════════════════
   PAGE-WIDE TYPOGRAPHY BOOST
   מגדיל את כיתות ה-fs של התבנית רק בעמוד הזה, כדי שבלוקי
   התוכן יהיו קריאים בלי לגעת בשאר האתר (זהה לעמוד הקישורים).
════════════════════════════════════════ */
.lexa-sites-page .fs-12 { font-size: 13.5px !important; }
.lexa-sites-page .fs-14 { font-size: 15.5px !important; }
.lexa-sites-page .fs-15 { font-size: 16.5px !important; }
.lexa-sites-page .fs-16 { font-size: 17.5px !important; }
.lexa-sites-page .fs-18 { font-size: 19px !important; }
.lexa-sites-page .fs-20 { font-size: 21px !important; }
.lexa-sites-page .fs-22 { font-size: 23px !important; }
.lexa-sites-page p { line-height: 1.65; }
.lexa-sites-page #quote-form { scroll-margin-top: 90px; }


/* ════════════════════════════════════════
   STEPS - "איך זה עובד" בשורה אחת דקה
════════════════════════════════════════ */
.lexa-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 0 4px;
}

.lexa-step {
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--st-bg-soft);
    border: 1.5px solid var(--st-line-soft);
    border-radius: 10px;
    padding: 9px 13px;
    min-width: 0;
}

.lexa-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    min-width: 27px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--st-teal) 0%, var(--st-teal-dark) 100%);
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(13,148,136,.28);
}

.lexa-step__body {
    font-size: .9rem;
    color: var(--st-muted);
    line-height: 1.45;
    min-width: 0;
}

.lexa-step__body strong { color: var(--st-text); font-weight: 800; }


/* ── Hint: עיגול "?" עם popover הסבר ── */
.lexa-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
    line-height: 1;
    cursor: help;
    vertical-align: middle;
    margin-right: 2px;
    transition: background .15s, color .15s;
}

.lexa-hint:hover,
.lexa-hint:focus { background: var(--st-teal); color: #fff; outline: none; }


/* ════════════════════════════════════════
   SITE-TYPE CARDS - מחליפים את הקטלוג
════════════════════════════════════════ */
.lexa-stypes {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.lexa-stype {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid var(--st-line);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    overflow: hidden;
    transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
    min-width: 0;
}

.lexa-stype:hover {
    box-shadow: 0 10px 30px rgba(91,33,182,.14);
    border-color: var(--st-purple);
    transform: translateY(-4px);
}

/* כרטיס מודגש (למשל הפופולרי) */
.lexa-stype--featured { border-color: var(--st-teal); }
.lexa-stype--featured:hover { border-color: var(--st-teal-dark); box-shadow: 0 10px 30px rgba(13,148,136,.18); }

.lexa-stype__ribbon {
    background: linear-gradient(135deg, var(--st-teal) 0%, var(--st-teal-dark) 100%);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    text-align: center;
    padding: 5px 10px;
    letter-spacing: .02em;
}

.lexa-stype__pad {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 18px 18px;
}

.lexa-stype__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 15px;
    background: var(--st-purple-bg);
    color: var(--st-purple-dark);
    margin-bottom: 13px;
}

.lexa-stype__icon i { font-size: 30px; }

.lexa-stype--featured .lexa-stype__icon { background: var(--st-teal-bg); color: var(--st-teal-dark); }

.lexa-stype__title {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--st-text);
    margin: 0 0 4px;
    line-height: 1.3;
}

.lexa-stype__for {
    font-size: .88rem;
    color: var(--st-muted);
    line-height: 1.5;
    margin: 0 0 14px;
}

.lexa-stype__list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lexa-stype__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .9rem;
    color: #374151;
    line-height: 1.5;
}

.lexa-stype__list i {
    color: var(--st-teal);
    font-size: 1.05rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* מחיר "החל מ..." */
.lexa-stype__price {
    margin-top: auto;
    background: var(--st-teal-bg);
    border: 1px solid var(--st-teal-border);
    border-radius: 11px;
    padding: 11px 14px;
    margin-bottom: 13px;
    text-align: center;
}

.lexa-stype__price-label {
    display: block;
    font-size: .78rem;
    color: var(--st-muted);
    font-weight: 600;
    margin-bottom: 1px;
}

.lexa-stype__price-amount {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--st-teal-dark);
    line-height: 1.1;
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
}

.lexa-stype__price-vat {
    display: block;
    font-size: .72rem;
    color: var(--st-faded);
    margin-top: 1px;
}

.lexa-stype__cta {
    width: 100%;
    padding: 12px 14px;
    background: linear-gradient(135deg, var(--st-teal) 0%, var(--st-teal-dark) 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-shadow: 0 3px 10px rgba(13,148,136,.25);
    transition: filter .18s, transform .15s, box-shadow .18s;
    line-height: 1.4;
    text-decoration: none;
}

.lexa-stype__cta:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(13,148,136,.35);
    color: #fff;
}

.lexa-stype__cta:active { transform: translateY(0); filter: brightness(.96); }
.lexa-stype__cta i { font-size: 1rem; opacity: .9; }


/* ════════════════════════════════════════
   QUOTE FORM - בקשת הצעת מחיר
════════════════════════════════════════ */
.lexa-quote {
    background: #fff;
    border: 1.5px solid var(--st-line);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    padding: 26px 26px 24px;
}

.lexa-quote__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.lexa-quote__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lexa-quote__field--full { grid-column: 1 / -1; }

.lexa-quote__label {
    font-size: .88rem;
    font-weight: 700;
    color: var(--st-muted);
}

.lexa-quote__label .req { color: var(--st-danger); font-weight: 800; }

.lexa-quote__input,
.lexa-quote__select,
.lexa-quote__textarea {
    width: 100%;
    border: 1.5px solid var(--st-line);
    border-radius: 10px;
    background: #fff;
    color: var(--st-text);
    font-size: .95rem;
    font-weight: 500;
    direction: rtl;
    transition: border-color .18s, box-shadow .18s;
    appearance: none;
    -webkit-appearance: none;
}

.lexa-quote__input,
.lexa-quote__select { height: 46px; padding: 0 14px; }
.lexa-quote__select { padding-left: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat left 13px center; cursor: pointer; }
.lexa-quote__textarea { min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.55; }

.lexa-quote__input::placeholder,
.lexa-quote__textarea::placeholder { color: var(--st-faded); font-weight: 400; }

.lexa-quote__input:focus,
.lexa-quote__select:focus,
.lexa-quote__textarea:focus {
    outline: none;
    border-color: var(--st-teal);
    box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}

.lexa-quote__consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .85rem;
    color: var(--st-muted);
    line-height: 1.5;
}

.lexa-quote__consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--st-teal); flex-shrink: 0; }
.lexa-quote__consent a { color: var(--st-teal); font-weight: 600; }

.lexa-quote__actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.lexa-quote__submit {
    flex: 1;
    min-width: 220px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--st-teal) 0%, var(--st-teal-dark) 100%);
    border: none;
    border-radius: 11px;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(13,148,136,.3);
    transition: filter .18s, transform .15s, box-shadow .18s;
}

.lexa-quote__submit:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(13,148,136,.4); }
.lexa-quote__submit:active { transform: translateY(0); filter: brightness(.96); }

.lexa-quote__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 13px 20px;
    background: #fff;
    border: 1.5px solid #22c35e;
    border-radius: 11px;
    color: #128c3e;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s, color .18s;
    white-space: nowrap;
}

.lexa-quote__whatsapp:hover { background: #f0fdf4; color: #0f7a35; }
.lexa-quote__whatsapp i { font-size: 1.2rem; }

.lexa-quote__note {
    grid-column: 1 / -1;
    font-size: .86rem;
    color: var(--st-faded);
    line-height: 1.5;
    margin: 2px 0 0;
}


/* ════════════════════════════════════════
   TOAST (זהה לעמוד הקישורים)
════════════════════════════════════════ */
#toastContainer {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.toast-success {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
    padding: 13px 26px;
    border-radius: 40px;
    font-size: .95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(13,148,136,.32);
    pointer-events: auto;
    line-height: 1.4;
}


/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1199px) {
    .lexa-stypes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .lexa-steps { grid-template-columns: 1fr; gap: 6px; }
    .lexa-quote { padding: 20px 16px 18px; }
    .lexa-quote__grid { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
    .lexa-stypes { grid-template-columns: 1fr; }
    .lexa-sites-page .fs-36 { font-size: 26px !important; }
    .lexa-quote__actions { flex-direction: column; align-items: stretch; }
    .lexa-quote__submit { min-width: 0; }
    .lexa-quote__whatsapp { justify-content: center; }
}