/* ===== פונטים ===== */
@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700&display=swap");

/* ===== בסיס ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Assistant", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;   /* אפור חיצוני – מדגיש את הקופסה */
    color: #111;
    direction: rtl;
    text-align: right;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3 {
    margin: 0 0 0.5em;
}

/* ===== קונטיינר ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-frame {
    max-width: 100%;
    margin: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    overflow: visible;
}

/* ===== כפתורים ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: #fff;
    box-shadow: 0 12px 24px rgba(13, 71, 161, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(13, 71, 161, 0.45);
}

.btn-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    padding: 0;
    font-size: 1.5rem;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    margin-inline-start: 0.6rem;
}

.btn-whatsapp:hover {
    background: #1ebe5c;
}

/* ===== כותרת עליונה ===== */
.site-header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 100;
    background: #ffffff;           /* רקע לבן */
    color: #111111;                /* מלל שחור */
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

.main-nav {
    display: flex;
    gap: 18px;
    font-size: 0.95rem;
    font-weight: 600;
}

.main-nav a {
    position: relative;
    padding-block: 4px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -4px;
    height: 2px;
    background: linear-gradient(90deg, #1a73e8, #0d47a1);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 75px;
    width: auto;
}

.logo-text {
    line-height: 1.2;
}

.logo-main {
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-sub {
    font-size: 0.82rem;
    color: #555;
}

/* השארת מקום ל־header קבוע */
body {
    padding-top: 76px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top, #2b7de9 0%, #0d47a1 35%, #062b63 100%);
    color: #fff;
    padding: 160px 0 110px;
}

/* לוגו רקע עדין בצד ימין */
.hero::before {
    content: "";
    position: absolute;

    /* מיקום חדש – בצד ימין */
    inset-block-start: 140px;   /* מרחק מלמעלה */
    inset-inline-end: 80px;     /* מרחק מהצד הימני */

    /* הגדלה */
    width: 260px;
    height: 260px;

    background: url("logo-white.png") no-repeat center / contain;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

/* שכבת המגדלים – קטנה ועדינה יותר */
.hero::after {
    content: "";
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: auto;                     /* לא משמאל */
    inset-inline-end: 0;                          /* כן מימין */
    width: 420px;
    height: 100%;
    background: url("towers.jpg") right bottom / contain no-repeat;
    opacity: 0.25;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between; /* חדש – מפזר יפה בין הטקסט לתמונה */
    gap: 60px;
}

/* טקסט */
.hero-text {
    flex: 1.4;
}

.hero-text h1 {
    font-size: 2.4rem;
    margin-bottom: 0.4rem;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.4rem;
    max-width: 30rem;
}

.hero-bullets {
    margin-bottom: 1.6rem;
    font-size: 0.95rem;
}

.hero-bullets li {
    margin-bottom: 0.3rem;
    padding-inline-start: 0.8rem;
    position: relative;
}

.hero-bullets li::before {
    content: "•";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    color: #aee2ff;
}

.hero-cta {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
}

.hero-contact-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.92;
}

/* פרופיל */
.hero-profile {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.profile-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 50px rgba(3, 22, 74, 0.45);
    backdrop-filter: blur(10px);
}

.profile-img {
    width: 210px;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 12px;
}

.profile-info {
    text-align: center;
    font-size: 0.9rem;
}

.profile-info strong {
    display: block;
    margin-bottom: 4px;
}

/* ===== סקשן כללי ===== */
.section {
    padding: 80px 0;
    background: #f5f7fb;
}

.section:nth-of-type(even) {
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.section-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #555;
    max-width: 640px;
    margin: 0 auto 40px;
}

/* ===== תחומי התמחות ===== */
.services-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.services-text p {
    margin-bottom: 1.6rem;
    color: #444;
}

.services-grid {
    display: grid;
    gap: 18px;
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 16px 16px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.service-card h3 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.service-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

.service-number {
    position: absolute;
    inset-inline-start: 16px;
    inset-block-start: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1a73e8;
}

/* איור */
.services-illustration {
    display: flex;
    justify-content: center;
}

.services-illustration img {
    border-radius: 18px;
    max-width: 360px;  /* הקטנת התמונה */
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

/* ===== הגישה ===== */
.approach-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.approach-text p {
    color: #444;
    margin-bottom: 0.9rem;
}

.approach-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.approach-card ul {
    padding-inline-start: 1rem;
}

.approach-card li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

/* ===== פרויקטים ===== */
.projects-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    transform: translateY(0);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 55%);
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding: 10px 14px;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-title {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== לקוחות מספרים ===== */

.testimonials-layout {
    text-align: right;
}

.testimonials-grid {
    display: flex;          /* שורה אופקית */
    gap: 24px;              /* רווח בין הקלפים */
    margin-top: 32px;
}

/* הקלפים עצמם יתפרסו שווה בשווה */
.testimonial-card {
    flex: 1 1 0;
}

/* במסכים קטנים חוזרים לפריסה אנכית */
@media (max-width: 900px) {
    .testimonials-grid {
        flex-direction: column;
    }
}


/* ===== יצירת קשר ===== */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: 40px;
    align-items: flex-start;
}

.contact-form-wrapper h2 {
    margin-bottom: 0.4rem;
}

.contact-form-wrapper p {
    margin-bottom: 1.2rem;
    color: #444;
    font-size: 0.95rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-top: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d2d7e0;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.18);
}

.form-btn {
    margin-top: 6px;
    width: 100%;
}

/* פרטי קשר */
.contact-details h3 {
    margin-bottom: 0.6rem;
}

.contact-details ul {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-details li {
    margin-bottom: 0.35rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    padding: 6px 0;
    color: #1a73e8;
}

.contact-link i {
    font-size: 1rem;
}

/* ===== פוטר ===== */
.site-footer {
    background: #0b1220;
    color: #e5e7eb;
    padding: 18px 0;
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* ===== אנימציות ===== */
.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.7s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.7s ease forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}
.delay-2 {
    animation-delay: 0.3s;
}
.delay-3 {
    animation-delay: 0.45s;
}
.delay-4 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== רספונסיב ===== */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .hero-profile {
        width: 100%;
        justify-content: center;
    }

    .hero::after {
        width: 280px;
        opacity: 0.22; /* קצת קטנה גם במובייל */
    }

    .services-layout,
    .approach-layout,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .services-illustration {
        order: -1;
        margin-bottom: 16px;
    }

    .header-inner {
        flex-direction: row-reverse;
    }

    .main-nav {
        display: none; /* כדי לא להסתבך ברספונסיב – אפשר בעתיד להוסיף תפריט מובייל */
    }

    body {
        padding-top: 76px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 100px 0 80px;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }

    .profile-img {
        width: 180px;
        height: 220px;
    }

    .project-card img {
        height: 190px;
    }
}
.btn-whatsapp {
    background: #25d366;   /* ירוק וואטסאפ */
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp i,
.whatsapp-floating i {
    font-size: 32px !important;
    color: #fff;
    line-height: 1;
}
.service-card {
    display: block;      /* מבטל את ה-flex ששמנו קודם */
    text-align: right;
}
.service-number {
    display: block;        /* המספר בשורה נפרדת */
    margin-bottom: 8px;    /* המרווח בין המספר לכותרת */
    font-size: 24px;
    font-weight: 700;
}
/* תחומי התמחות – מרווח בין המספר למלל */
.service-card {
    text-align: right;
}

/* ביטול המיקום האבסולוטי של המספר והוספת מרווח מתחתיו */
.service-number {
    position: static;     /* מבטל position:absolute שהיה קודם */
    right: auto;
    top: auto;
    transform: none;

    display: block;       /* שיהיה בשורה נפרדת מעל הכותרת */
    margin-bottom: 8px;   /* מרווח בין המספר לכותרת */
    font-size: 24px;
    font-weight: 700;
}
/* כרטיס טופס ההמלצה */

.testimonial-form-card {
    max-width: 700px;
    margin: 32px auto 0;
    padding: 24px 32px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 35, 52, 0.08);
}

.testimonial-form-title {
    margin-bottom: 8px;
    font-size: 22px;
}

.testimonial-form-text {
    margin-bottom: 16px;
    color: #555;
}

.testimonial-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.testimonial-form label {
    font-size: 14px;
    font-weight: 500;
}

.testimonial-form input,
.testimonial-form textarea {
    width: 100%;
    margin-top: 4px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #d5dde7;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.testimonial-form textarea {
    resize: vertical;
    min-height: 90px;
}

.testimonial-form-note {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}

@media (max-width: 600px) {
    .testimonial-form-card {
        padding: 18px 16px;
    }
}
/* ===== לקוחות מספרים – מבנה כללי ===== */

.testimonials-layout {
    text-align: right;
}

/* מכולת הסליידר */
.testimonials-slider {
    position: relative;
    margin-top: 32px;
    display: flex;
    align-items: stretch;
    gap: 16px;
}

/* המסילה של הקלפים */
.testimonials-track {
    flex: 1 1 auto;
    display: flex;
    gap: 16px;
    overflow: hidden;
    scroll-behavior: smooth;
}

/* קלף המלצה */
.testimonial-card {
    min-width: 320px;
    max-width: 380px;
    flex: 0 0 auto;
    background: #ffffff;
    border-radius: 22px;
    padding: 22px 26px;
    box-shadow: 0 18px 45px rgba(15, 35, 52, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card p {
    margin-bottom: 16px;
}

.testimonial-name {
    font-weight: 600;
    color: #555;
}

/* חיצים */
.testimonial-arrow {
    background: #ffffff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.testimonial-arrow i {
    font-size: 18px;
    color: #333;
}

.testimonial-arrow:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
}

/* טופס המלצה – קטן ועדין */
.testimonial-form-card {
    max-width: 520px;
    margin: 28px auto 0;
    padding: 18px 22px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 35, 52, 0.06);
    font-size: 14px;
}

.testimonial-form-title {
    margin-bottom: 10px;
    font-size: 18px;
}

.testimonial-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testimonial-form-row {
    display: flex;
    gap: 10px;
}

.testimonial-form label {
    flex: 1 1 0;
    font-size: 13px;
}

.testimonial-form input,
.testimonial-form textarea {
    width: 100%;
    margin-top: 3px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #d5dde7;
    font-family: inherit;
    font-size: 13px;
    box-sizing: border-box;
}

.testimonial-form textarea {
    resize: vertical;
    min-height: 70px;
}

.btn-small {
    padding: 8px 18px;
    font-size: 13px;
}

/* רספונסיביות – במובייל הכול נהיה אנכי */
@media (max-width: 900px) {
    .testimonials-slider {
        flex-direction: column;
        align-items: stretch;
    }

    .testimonials-track {
        overflow-x: auto;
    }

    .testimonial-card {
        min-width: 100%;
        max-width: 100%;
    }

    .testimonial-arrow {
        display: none; /* במובייל פשוט לגרור עם האצבע */
    }

    .testimonial-form-row {
        flex-direction: column;
    }
}
/* ===== תפריט נגישות ===== */
.accessibility-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  direction: rtl;
  font-family: inherit;
}

.accessibility-toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 22px;
  background: #0052cc;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.accessibility-toggle:focus {
  outline: 3px solid #ffd54f;
  outline-offset: 2px;
}

.accessibility-panel {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 220px;
  padding: 14px 12px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: none;
}

.accessibility-panel.open {
  display: block;
}

.accessibility-panel h3 {
  margin: 0 0 10px;
  font-size: 16px;
  text-align: right;
}

.acc-btn {
  width: 100%;
  text-align: right;
  margin-bottom: 6px;
  padding: 6px 8px;
  font-size: 13px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: #f7f7f7;
  cursor: pointer;
}

.acc-btn:hover {
  background: #edf4ff;
}

/* מצבי נגישות בפועל */
html.acc-high-contrast {
  filter: contrast(1.1);
  background: #000;
}

html.acc-high-contrast body {
  background: #000 !important;
  color: #fff !important;
}

html.acc-high-contrast a {
  color: #ffeb3b !important;
}

html.acc-underline-links a {
  text-decoration: underline !important;
}

/* טיפוגרפיה משופרת */
h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

p, li {
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== טיפוגרפיה גדולה יותר בדסקטופ ===== */
@media (min-width: 1024px) {
  body {
    font-size: 1.05rem; /* בערך 17px במקום 16px */
  }

  .hero-text h1 {
    font-size: clamp(2.8rem, 4vw, 4rem);
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 1.6vw, 1.6rem);
}

.hero-bullets {
    font-size: clamp(1.1rem, 1.3vw, 1.4rem);
}

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

/* ===== הגדלת סקייל לדסקטופ ===== */
@media (min-width: 1200px) {
    html {
        font-size: 18px;  /* היה 16px – עלייה של ~12.5% */
    }

    body {
        font-size: 1.05rem;
    }

    .hero-text h1 {
        font-size: 3rem;   /* כותרת גדולה וברורה */
    }

    .hero-subtitle,
    .hero-bullets,
    p, li {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}
.map-wrapper {
  margin-top: 16px;  
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  max-width: 420px;   /* מצמצם את הרוחב */
  height: 260px;      /* גובה קבוע */
}
html {
    zoom: 1.10;
}
