/**
 * Tax Reader - CSS מרכזי
 * מבוסס על עיצוב Tando Capital
 */

/* ============================================
   גופנים
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

/* ============================================
   איפוסים ובסיס
   ============================================ */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* מונע גלילה אופקית */
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: 'Heebo', 'Open Sans', sans-serif;
    background-image: url(https://taxreader.net/assets/images/TRbckr.jpg);
    background-position: 0 0;
    background-size: cover;
    color: #333333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   לוגו על הרקע
   ============================================ */
.site-logo {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #2C5282;
}

/* ============================================
   תפריט עליון ממורכז
   ============================================ */
.main-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44, 82, 130, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 10px 0 40px;
    border-radius: 999px; /* פינות מעוגלות לחלוטין */
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(44, 82, 130, 0.3);
    max-width: calc(100% - 40px); /* מונע גלישה מחוץ למסך */
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
    justify-content: center;
}

.nav-menu a {
    color: white;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
}

/* רקע עם כתמים מטושטשים */
.hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(44, 82, 130, 0.06) 0%, transparent 70%);
    top: -150px;
    right: -200px;
    z-index: 0;
    animation: fadeIn 1.2s ease-out;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(49, 130, 206, 0.04) 0%, transparent 70%);
    bottom: -100px;
    left: -150px;
    z-index: 0;
    animation: fadeIn 1.5s ease-out;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideRight 1s ease-out;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    color: #2C5282;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 19px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: #2C5282;
    color: white;
    padding: 20px 10px 0 10px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(44, 82, 130, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #2C5282;
    padding: 18px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #2C5282;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #2C5282;
    color: white;
}

/* ============================================
   מעויין עם מסגרות
   ============================================ */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideLeft 1.2s ease-out;
}

.diamond-wrapper {
    position: relative;
}

/* מסגרת עליונה - אפור בהיר */
.diamond-border-top {
    position: absolute;
    width: 520px;
    height: 520px;
    transform: rotate(45deg);
    border-radius: 50px;
    background: #E2E8F0;
    top: -15px;
    right: -15px;
    z-index: 1;
}

/* מסגרת תחתונה - כחול כהה */
.diamond-border-bottom {
    position: absolute;
    width: 520px;
    height: 520px;
    transform: rotate(45deg);
    border-radius: 50px;
    background: #2C5282;
    bottom: -15px;
    left: -15px;
    z-index: 1;
}

/* המעויין עצמו */
.diamond-container {
    position: relative;
    width: 500px;
    height: 500px;
    z-index: 2;
}

.diamond-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(45deg);
    overflow: hidden;
    border-radius: 50px;
    box-shadow: 0 25px 70px rgba(44, 82, 130, 0.2);
}

.diamond-shape img {
    width: 141.42%;
    height: 141.42%;
    object-fit: cover;
    transform: rotate(-45deg) scale(1.1);
    transform-origin: center;
    position: absolute;
    top: -20.71%;
    left: -20.71%;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: 60px 0;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    color: #2C5282;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #2C5282; /* מסגרת כחולה */
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(44, 82, 130, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2C5282 0%, #3182CE 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
}

.service-card h3 {
    font-size: 20px;
    color: #2C5282;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* =========================================
   Numera – Highlight Strip on Home
   ========================================= */

.numera-home-strip {
    margin: 40px auto 0;
    padding-inline: 16px;
}

.numera-home-inner {
    max-width: 1180px;
    margin: 0 auto;
    border-radius: 26px;
    padding: 22px 22px 24px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 20px;
    align-items: center;

    /* רקע מונפש – גרדיאנט כחול+ירוק */
    background: linear-gradient(120deg, #253e5a, #026d41, #339FFF);
    background-size: 250% 250%;
    animation: numeraGradientShift 12s ease-in-out infinite;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.35);
}

/* הילה ירוקה-כחולה ברקע */
.numera-home-inner::before {
    content: "";
    position: absolute;
    inset-inline-start: -120px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(2, 109, 65, 0.9), transparent 65%);
    opacity: 0.7;
    pointer-events: none;
    mix-blend-mode: screen;
}

.numera-home-inner::after {
    content: "";
    position: absolute;
    inset-inline-end: -60px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(51,159,255,0.8), transparent 65%);
    opacity: 0.7;
    pointer-events: none;
    mix-blend-mode: screen;
}

.numera-home-text,
.numera-home-side {
    position: relative;
    z-index: 1;
}

/* טקסט צד שמאל (ברמת RTL) */
.numera-home-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
    color: #E5F9F0;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    backdrop-filter: blur(10px);
}

.numera-home-pill-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: numeraPulseDot 2.4s infinite ease-out;
}

.numera-home-title {
    font-size: 28px;
    line-height: 1.4;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.numera-home-subtitle {
    font-size: 15px;
    color: #E2F3FF;
    line-height: 1.8;
    margin-bottom: 16px;
}

.numera-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.numera-home-btn-main {
    border-radius: 999px;
    padding: 10px 22px;
    background: #ffffff;
    color: #026d41;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.numera-home-btn-main::after {
    content: "→";
    font-size: 13px;
}

.numera-home-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.65);
    background: #026d41;
    color: #ffffff;
}

.numera-home-note {
    font-size: 13px;
    color: #E5F9F0;
}

/* כרטיס צד ימין – הדמיית דאשבורד */
.numera-home-metric-card {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 22px;
    padding: 16px 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    position: relative;
    overflow: hidden;
}

.numera-home-metric-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.numera-home-metric {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 14px;
    padding: 8px 9px;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.numera-home-metric-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    margin-bottom: 3px;
}

.numera-home-metric-value {
    font-size: 17px;
    font-weight: 700;
    color: #E5F9F0;
}

.numera-home-metric-tag {
    font-size: 11px;
    color: #9FD2FE;
    margin-top: 2px;
}

.numera-home-metric-foot {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #9ca3af;
    border-top: 1px solid rgba(55, 65, 81, 0.9);
    padding-top: 8px;
    margin-top: 6px;
}

.numera-home-metric-foot span:first-child {
    font-weight: 700;
    color: #9FD2FE;
}

/* נקודת אור "חיה" */
.numera-home-orbit-dot {
    position: absolute;
    inset-inline-start: 12px;
    top: 10px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.9);
    animation: numeraOrbitGlow 3.2s infinite ease-in-out;
}

/* אנימציות Numera */
@keyframes numeraGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes numeraPulseDot {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
    70%  { transform: scale(1.6); box-shadow: 0 0 0 14px rgba(34,197,94,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

@keyframes numeraOrbitGlow {
    0%,100% { transform: translateY(0); opacity: 1; }
    50%     { transform: translateY(-4px); opacity: 0.7; }
}

/* רספונסיביות Numera Home */
@media (max-width: 992px) {
    .numera-home-inner {
        grid-template-columns: minmax(0, 1fr);
        padding: 18px 18px 20px;
    }

    .numera-home-strip {
        margin-top: 30px;
    }
}

@media (max-width: 640px) {
    .numera-home-title {
        font-size: 22px;
    }

    .numera-home-subtitle {
        font-size: 14px;
    }

    .numera-home-metric-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ============================================
   Why Choose Us Section
   ============================================ */
.why-section {
    padding: 80px 0 90px;
    background: rgba(255, 255, 255, 0.96);
    position: relative;
    overflow: hidden;
}

.why-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.3fr);
    gap: 80px;
    align-items: center;
}

/* צד ה"ברים" – יושבים בצד ימין ב־RTL */
.why-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.why-item {
    background: #253e5a;
    color: #ffffff;
    border-radius: 26px;
    padding: 16px 26px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    opacity: 0.35;
    width: 75%;
    max-width: 100%;
    box-shadow: 0 10px 28px rgba(37, 62, 90, 0.25);
    transition:
        opacity 0.25s.ease-out,
        width 0.3s ease-out,
        box-shadow 0.25s ease-out,
        transform 0.25s.ease-out,
        background 0.25s ease-out;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    column-gap: 16px;
}

.why-item-title {
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
    flex: 0 0 auto;
}

/* הפירוט */
.why-item-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #e2e8f0;
    flex: 1 1 auto;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transform: translateX(8px);
    transition:
        max-width 0.3s ease-out,
        opacity 0.25s ease-out,
        transform 0.25s.ease-out;
}

/* מצב פעיל */
.why-item.why-active {
    opacity: 1;
    width: 100%;
    background: #1a365d;
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(26, 54, 93, 0.55);
}

.why-item.why-active .why-item-desc {
    max-width: 70%;
    opacity: 1;
    white-space: normal;
    transform: translateX(0);
}

/* צד הטקסט */
.why-text {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s.ease-out, transform 0.8s.ease-out;
}

.why-title {
    font-size: 36px;
    font-weight: 800;
    color: #2C5282;
    margin-bottom: 10px;
}

.why-subtitle {
    font-size: 17px;
    color: #64748b;
    margin-bottom: 20px;
}

.why-body {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.9;
}

/* כשהסקשן נכנס לפריים – מופעל ע"י JS */
.why-section.why-visible .why-text {
    opacity: 1;
    transform: translateY(0);
}

/* רספונסיביות Why Section */
@media (max-width: 992px) {
    .why-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 40px;
    }

    .why-list {
        align-items: stretch;
    }

    .why-item {
        width: 100%;
    }

    .why-item.why-active .why-item-desc {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .why-container {
        padding: 0 24px;
    }

    .why-title {
        font-size: 30px;
    }

    .why-item {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 6px;
        width: 100%;
    }

    .why-item-title {
        white-space: normal;
    }

    .why-item-desc {
        max-width: 0;
    }

    .why-item.why-active .why-item-desc {
        max-width: 100%;
    }
}

/* ============================================
   Mission Section
   ============================================ */
.mission-section {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.mission-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* החלק העליון: טקסט + תמונה */
.mission-top {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
    background: #253e5a;
    border-radius: 30px;
}

/* טקסט */
.mission-text {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s.ease-out, transform 0.8s.ease-out;
    padding: 0 20px 10px 10px;
}

.mission-title {
    line-height: 1.4;
    font-weight: 800;
    margin-bottom: 20px;
    color: #f7f3f5;
    font-size: 28px;
}

.mission-subtitle {
    line-height: 1.8;
    margin-bottom: 28px;
    color: #FFFF;
    font-size: 16px;
}

.mission-cta {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    background: #FFF;
    color: #253e5a;
}

.mission-cta:hover {
    transform: scale(1.05)
}

/* תמונה */
.mission-image {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s.ease-out, transform 0.8s.ease-out;
}

.mission-image-inner {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(44, 82, 130, 0.25);
    background: #0f172a;
}

.mission-image-inner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.8s.ease-out;
}

.mission-section.mission-visible .mission-image-inner img {
    transform: scale(1);
}

/* סטטיסטיקות – מתחת לטקסט+תמונה */
.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mission-stat-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 22px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 12px 30px rgba(44, 82, 130, 0.06);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s.ease-out, transform 0.8s.ease-out;
}

.mission-stat-card:nth-child(1) {
    transition-delay: 0.15s;
}
.mission-stat-card:nth-child(2) {
    transition-delay: 0.3s;
}
.mission-stat-card:nth-child(3) {
    transition-delay: 0.45s;
}

.mission-stat-number {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 40px;
    font-weight: 800;
    color: #2C5282;
    margin-bottom: 6px;
}

.mission-percent {
    font-size: 24px;
}

.mission-stat-label {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

/* מצב אחרי סקרול – JS מוסיף את המחלקה הזאת */
.mission-section.mission-visible .mission-text,
.mission-section.mission-visible .mission-image,
.mission-section.mission-visible .mission-stat-card {
    opacity: 1;
    transform: translateY(0);
}

/* רספונסיביות Mission */
@media (max-width: 992px) {
    .mission-container {
        padding: 0 40px;
    }

    .mission-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mission-image {
        order: -1;
    }

    .mission-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .mission-container {
        padding: 0 24px;
    }

    .mission-title {
        font-size: 30px;
    }

    .mission-subtitle {
        font-size: 16px;
    }

    .mission-stat-number {
        font-size: 32px;
    }

    .mission-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #2C5282;
    color: white;
    padding: 50px 0 30px;
    text-align: center;
}

.footer p {
    opacity: 0.9;
    margin-bottom: 8px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-legal-links {
    margin-top: 8px;
    font-size: 13px;
    opacity: 0.9;
}

.footer-legal-links a {
    color: #e2e8f0;
    text-decoration: none;
    margin: 0 4px;
}

.footer-legal-links a:hover {
    text-decoration: underline;
    opacity: 1;
}

.footer-legal-links span {
    color: #cbd5f5;
}


/* ============================================
   WhatsApp Floating Button (כללי – אם תרצה בעוד דפים)
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #253e5a;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 20px #253e5a;
    z-index: 1000;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 24px;
}

/* ============================================
   אנימציות כלליות
   ============================================ */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ============================================
   Responsive כלליות
   ============================================ */
@media (max-width: 1200px) {
    .hero-container {
        gap: 60px;
    }
    
    .diamond-container,
    .diamond-border-top,
    .diamond-border-bottom {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-nav {
        padding: 10px 24px;
    }
    
    .nav-menu {
        gap: 20px;
        font-size: 14px;
    }
    
    .site-logo {
        top: 20px;
        right: 20px;
    }
}

/* מובייל – תיקון תפריט ולוגו */
@media (max-width: 768px) {
    .site-logo {
        position: relative;
        top: 0;
        right: 0;
        margin: 16px auto 0;
        justify-content: center;
        z-index: 10;
    }

    .main-nav {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 8px auto 0;
        max-width: calc(100% - 24px);
        border-radius: 18px;
        padding: 10px 12px;
    }

    .nav-menu {
        margin-top: 0;
        flex-wrap: wrap;
        row-gap: 6px;
        column-gap: 12px;
        justify-content: center;
    }

    .nav-menu li a {
        font-size: 14px;
        padding: 4px 6px;
    }

    .hero {
        padding-top: 40px;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-float span {
        display: none;
    }
    
    .whatsapp-float i {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .diamond-container,
    .diamond-border-top,
    .diamond-border-bottom {
        width: 300px;
        height: 300px;
    }
}

/* ===========================
   Numera Landing Page
   =========================== */

.numera-page {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 40px 24px 0;
}

/* HERO */

.numera-hero {
    padding-top: 40px;
    padding-bottom: 40px;
}

.numera-hero-inner {
    display: flex;
    flex-direction: row-reverse; /* טקסט בצד ימין, ויז'ואל בצד שמאל */
    gap: 48px;
    align-items: center;
}

.numera-hero-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: #253e5a;
    margin-bottom: 12px;
}

.numera-hero-lead {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.numera-hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.numera-hero-bullets li {
    position: relative;
    padding-right: 20px;
    margin-bottom: 6px;
    color: #334155;
    font-size: 14px;
}

.numera-hero-bullets li::before {
    content: "•";
    position: absolute;
    right: 0;
    top: -1px;
    color: #339FFF;
    font-size: 18px;
}

.numera-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.btn-primary-solid {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #253e5a 0%, #339FFF 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s.ease, opacity 0.2s ease;
    box-shadow: 0 12px 35px rgba(37, 62, 90, 0.3);
}

.btn-primary-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(37, 62, 90, 0.38);
    opacity: 0.95;
}

.btn-primary-ghost {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid rgba(37, 62, 90, 0.2);
    color: #253e5a;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    background: #ffffff;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-ghost:hover {
    background: #f1f5f9;
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.35);
}

.numera-hero-note {
    font-size: 12px;
    color: #64748b;
}

/* כרטיסים ויזואליים */

.numera-hero-visual {
    flex: 0 0 40%;
    position: relative;
    min-height: 260px;
}

.numera-card-stack {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.numera-card {
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(37, 62, 90, 0.22);
    border: 1px solid rgba(148, 163, 184, 0.4);
    position: absolute;
    inset-inline: 0;
    margin-inline: auto;
    padding: 18px 18px 16px;
    transform-origin: center;
    animation: floatCard 6s ease-in-out infinite;
}

.numera-card-main {
    top: 10px;
    z-index: 3;
}

.numera-card-small {
    width: 72%;
    font-size: 12px;
}

.numera-card-freelancer {
    top: 190px;
    inset-inline-end: -10px;
    z-index: 2;
    animation-delay: 0.4s;
}

.numera-card-load {
    top: 160px;
    inset-inline-start: -10px;
    z-index: 1;
    animation-delay: 0.8s;
}

.numera-card-header {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.numera-card-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

.dot-green { background: #22c55e; }
.dot-yellow { background: #facc15; }
.dot-red { background: #ef4444; }

.numera-card-body {
    font-size: 13px;
}

.numera-card-title {
    font-weight: 700;
    color: #253e5a;
    margin-bottom: 4px;
}

.numera-card-subtitle {
    color: #64748b;
    font-size: 12px;
    margin-bottom: 10px;
}

.numera-mini-list .mini-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    padding: 3px 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
}

.numera-mini-list .mini-row:last-child {
    border-bottom: none;
}

.mini-label {
    color: #94a3b8;
}

.mini-value {
    color: #1e293b;
    font-weight: 600;
}

.numera-card-small .label {
    font-weight: 700;
    color: #253e5a;
    margin-bottom: 4px;
}

.numera-card-small .line {
    color: #4b5563;
    margin-bottom: 3px;
}

.pill {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    margin-top: 4px;
}

.pill-good {
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
}

.pill-neutral {
    background: rgba(59, 130, 246, 0.06);
    color: #1d4ed8;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* סקשנים כלליים */

.numera-section {
    margin-top: 48px;
}

.numera-section-title {
    font-size: 24px;
    font-weight: 800;
    color: #253e5a;
    margin-bottom: 24px;
}

/* שלוש קוביות - למי זה מיועד */

.numera-three-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.numera-tile {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 20px 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition: transform 0.25s.ease, box-shadow 0.25s.ease, border-color 0.25s.ease;
}

.numera-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.15);
    border-color: #339FFF;
}

.numera-tile h4 {
    font-size: 18px;
    font-weight: 700;
    color: #253e5a;
    margin-bottom: 10px;
}

.numera-tile p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 10px;
}

.numera-tile ul {
    padding-right: 18px;
    margin: 0;
    font-size: 13px;
    color: #4b5563;
}

/* למה נומרה שונה */

.numera-section-alt {
    background: radial-gradient(circle at top left, #e0f2fe 0, #ffffff 55%);
    border-radius: 26px;
    padding: 28px 24px 26px;
    box-shadow: 0 20px 55px rgba(148, 163, 184, 0.35);
}

.numera-diffs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.numera-diff-col h4 {
    font-size: 17px;
    font-weight: 700;
    color: #253e5a;
    margin-bottom: 6px;
}

.numera-diff-col p {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
}

/* איך זה עובד */

.numera-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.numera-step {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 16px 16px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.35);
    position: relative;
    overflow: hidden;
}

.numera-step::after {
    content: "";
    position: absolute;
    inset-inline-start: -40px;
    bottom: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(51,159,255,0.22), transparent 65%);
    opacity: 0;
    transition: opacity 0.25s.ease, transform 0.25s.ease;
}

.numera-step:hover::after {
    opacity: 1;
    transform: translateY(-10px);
}

.numera-step-number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #253e5a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.numera-step h4 {
    font-size: 15px;
    font-weight: 700;
    color: #253e5a;
    margin-bottom: 6px;
}

.numera-step p {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.6;
}

/* חזון */

.numera-vision {
    margin-top: 52px;
}

.numera-vision-inner {
    border-radius: 26px;
    padding: 24px 22px 22px;
    background: #0f172a;
    color: #e5e7eb;
    box-shadow: 0 22px 65px rgba(15, 23, 42, 0.7);
}

.numera-vision-inner h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #e5e7eb;
}

.numera-vision-inner p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 8px;
}

/* CTA סופי */

.numera-final-cta {
    margin-top: 40px;
}

.numera-final-cta-inner {
    border-radius: 24px;
    padding: 22px 20px 24px;
    background: linear-gradient(135deg, #253e5a 0%, #339FFF 100%);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.55);
}

.numera-final-cta-inner h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.numera-final-cta-inner p {
    font-size: 14px;
    margin-bottom: 14px;
}

.btn-wide {
    min-width: 260px;
}

/* רספונסיביות לנומרה */

@media (max-width: 992px) {
    .numera-hero-inner {
        flex-direction: column;
    }

    .numera-hero-visual {
        order: -1;
        width: 100%;
    }

    .numera-three-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .numera-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .numera-page {
        padding-inline: 16px;
    }

    .numera-three-cards {
        grid-template-columns: 1fr;
    }

    .numera-diffs {
        grid-template-columns: 1fr;
    }

    .numera-steps {
        grid-template-columns: 1fr;
    }

    .numera-vision-inner,
    .numera-section-alt,
    .numera-final-cta-inner {
        padding-inline: 16px;
    }
}

/* ============================================
   Service Pages – Layout
   ============================================ */

.service-page {
    max-width: 1100px;
    margin: 140px auto 80px;
    padding: 0 24px;
}

.service-page-header {
    margin-bottom: 30px;
}

.service-page-kicker {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}

.service-page-title {
    font-size: 32px;
    font-weight: 800;
    color: #253e5a;
    margin-bottom: 8px;
}

.service-page-subtitle {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    max-width: 650px;
}

.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 36px;
    margin-top: 30px;
}

.service-main {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    padding: 20px 22px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.service-main h2 {
    font-size: 20px;
    color: #253e5a;
    margin-bottom: 10px;
}

.service-main p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 10px;
}

.service-main ul {
    margin: 0 0 10px;
    padding-right: 18px;
    font-size: 14px;
    color: #4b5563;
}

.service-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service-cta-box {
    background: #253e5a;
    color: #f9fafb;
    border-radius: 18px;
    padding: 18px 18px 20px;
    box-shadow: 0 18px 45px rgba(37, 62, 90, 0.5);
}

.service-cta-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-cta-box p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.service-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-cta-note {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 6px;
}

.service-info-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    font-size: 13px;
    color: #4b5563;
}

/* רספונסיביות לדפי שירות */
@media (max-width: 992px) {
    .service-page {
        margin-top: 120px;
    }

    .service-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .service-page-title {
        font-size: 26px;
    }

    .service-page-subtitle {
        font-size: 14px;
    }
}

/* ============================================
   Service Detail Pages – Hero & Sections
   ============================================ */

.service-hero {
    margin-bottom: 40px;
}

.service-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: flex-start;
}

.service-breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
}

.service-hero-title {
    font-size: 30px;
    font-weight: 800;
    color: #253e5a;
    margin-bottom: 10px;
}

.service-hero-subtitle {
    font-size: 15px;
    color: #4b5568;
    line-height: 1.8;
    margin-bottom: 14px;
}

.service-hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: 14px;
    color: #475569;
}

.service-hero-bullets li {
    position: relative;
    padding-right: 16px;
    margin-bottom: 4px;
}

.service-hero-bullets li::before {
    content: "•";
    position: absolute;
    right: 0;
    top: -1px;
    color: #339FFF;
}

/* כרטיס צד */
.service-hero-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 16px 18px 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 14px;
}

.service-hero-card-header {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.service-hero-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: #253e5a;
    margin-bottom: 6px;
}

.service-hero-card-body p {
    font-size: 13px;
    color: #4b5568;
    line-height: 1.7;
    margin-bottom: 10px;
}

.service-mini-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.service-mini-list li {
    margin-bottom: 4px;
}

.service-mini-list span {
    font-weight: 600;
    color: #253e5a;
}

.service-hero-cta {
    margin-top: 8px;
    margin-bottom: 8px;
}

.service-hero-note {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

/* סקשן כללי */
.service-section {
    margin-top: 40px;
}

.service-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #253e5a;
    margin-bottom: 18px;
}

/* 3 קוביות */
.service-three-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 20px;
}

.service-tile {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(148,163,184,0.45);
    box-shadow: 0 12px 32px rgba(15,23,42,0.08);
}

.service-tile h3 {
    font-size: 16px;
    font-weight: 700;
    color: #253e5a;
    margin-bottom: 8px;
}

.service-tile p {
    font-size: 14px;
    color: #4b5568;
    line-height: 1.7;
}

/* 2 עמודות */
.service-section-alt {
    background: #f8fafc;
    border-radius: 22px;
    padding: 22px 20px 20px;
}

.service-two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 20px;
}

.service-col h3 {
    font-size: 16px;
    font-weight: 700;
    color: #253e5a;
    margin-bottom: 8px;
}

.service-col ul {
    padding-right: 18px;
    margin: 0;
    font-size: 14px;
    color: #4b5568;
}

/* שלבי עבודה */
.service-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

.service-step {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 14px 14px;
    border: 1px solid rgba(148,163,184,0.4);
    box-shadow: 0 10px 26px rgba(15,23,42,0.08);
}

.service-step-number {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #253e5a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.service-step h3 {
    font-size: 14px;
    font-weight: 700;
    color: #253e5a;
    margin-bottom: 4px;
}

.service-step p {
    font-size: 13px;
    color: #4b5568;
    line-height: 1.6;
}

/* CTA סופי */
.service-final-cta {
    margin-top: 40px;
}

.service-final-cta-inner {
    border-radius: 24px;
    padding: 20px 18px 22px;
    background: linear-gradient(135deg, #253e5a 0%, #339FFF 100%);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 55px rgba(15,23,42,0.55);
}

.service-final-cta-inner h2 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.service-final-cta-inner p {
    font-size: 14px;
    margin-bottom: 12px;
}

/* רספונסיביות לדפי שירות החדשים */
@media (max-width: 992px) {
    .service-hero-inner {
        grid-template-columns: minmax(0,1fr);
    }

    .service-three-cols {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .service-steps {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 640px) {
    .service-three-cols,
    .service-two-cols,
    .service-steps {
        grid-template-columns: minmax(0,1fr);
    }

    .service-hero-title {
        font-size: 24px;
    }
}
