:root{
  --accent: #1fb6ff;
  --accent-dark: #0b7fb7;
  --muted: #6b7280;
  --bg: #f6f8fb;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(17,24,39,0.08);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Page wrapper */
.contact-page {
  width: 100%;
  margin: 36px auto;
  padding: 0;
  direction: rtl;
}

.layosigns
{
	text-align: center;
	margin: auto;
	/* display: grid; */
	/* gap: 15px; */
	/* padding-bottom: 20px; */
	/* grid-template-columns: repeat(3, 1fr); */
	width: 100%;
}

/* Header */
.contact-top {
  background: linear-gradient(135deg, #0f172a 0%, rgba(11,127,183,0.95) 100%);
  color: #fff;
  padding: 26px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

@media screen and (max-width: 400px) {

	.contact-page{
		padding: 0;
	}
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand .logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  position: relative;
}

.contact-top h1 { margin: 0; font-size: 22px; padding: 0; }
.contact-top p { margin: 0; color: rgba(255,255,255,0.9); font-size: 13px; }

/* Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 26px;
  align-items: start;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Info card */
.contact-info {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,0.03);
}

.contact-info h3 { margin: 0 0 10px 0; font-size: 18px; }
.contact-info p { margin: 0 0 14px 0; color: var(--muted); font-size: 14px; }

.contact-method {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 8px;
  border-radius: 8px;
  transition: background .15s, transform .08s;
  text-decoration: none;
  color: inherit;
}
.contact-method:hover { background: rgba(11,127,183,0.06); transform: translateY(-2px); }

.contact-method .ico {
  min-width: 40px;
  min-height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: linear-gradient(180deg, rgba(11,127,183,0.12), rgba(11,127,183,0.06));
}

/* small meta in info */
.meta { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* Form card */
.contact-card {
  background: var(--card);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,0.03);
  position: relative;
  overflow: visible;
}

/* Form header inside card */
.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.form-head h3 { margin: 0; font-size: 18px; }
.form-head small { color: var(--muted); }

/* Inputs */
.field {
  margin-bottom: 12px;
}
.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e6e9ee;
  font-size: 14px;
  background: #fff;
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(31,182,255,0.08);
}

.field textarea { min-height: 170px; resize: vertical; }

/* Submit area */
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.btn {
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.btn:disabled { background: #b9dff3; cursor: not-allowed; }

.secondary {
  background: transparent;
  border: 1px solid #e6e9ee;
  color: #111827;
  padding: 9px 13px;
  border-radius: 10px;
  cursor: pointer;
}


/* מניעת התנגשויות וסידור המבנה */

.gt-studio-flex {
    display: flex;
    gap: 15px; /* הצמדה בין הסליידר לבאנר */
    align-items: center;
    background: #fcfcfc;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}

/* הגדרות הסליידר האנכי */
.gt-slider-container {
    width: 130px;
    height: 300px;
    position: relative;
    flex-shrink: 0;
}

.gt-custom-swiper {
    height: 100%;
    overflow: hidden;
}

.gt-custom-slide {
    width: 100%;
    height: auto;
}

.gt-sig-item {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid #eef0f2;
    transition: 0.2s;
}

.gt-sig-item.active {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(31,182,255,0.2);
}

/* כפתורי ניווט לסליידר */
.gt-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    color: var(--accent);
    font-size: 14px;
    background: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.gt-prev { top: -12px; }
.gt-next { bottom: -12px; }

/* הבאנר הראשי */
.gt-main-preview {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gt-iframe-box {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-radius: 5px;
    overflow: hidden;
    line-height: 0;
    transform: scale(1.1); /* הגדלה עדינה */
}

#mainSigPreview {
    width: 400px;
    height: 225px;
    border: none;
    background: #fff;
}

/* שדות העתקה */
.gt-copy-group {
    margin-bottom: 15px;
}
.gt-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}
.gt-copy-group input {
    background: #f9fbff !important;
    font-family: monospace;
}

/* מובייל */
@media (max-width: 880px) {
    .gt-studio-flex { flex-direction: column; }
    .gt-slider-container { width: 100%; height: auto; padding: 10px 0; }
    .gt-nav { display: none; }
    .gt-iframe-box { transform: scale(0.9); }
}




/* נקודת השבירה העיקרית - מעבירים לטור אחד מוקדם יותר כדי למנוע דחיסה */
/* פתרון לתצוגה בטווח 500px - 1070px */
@media (max-width: 1070px) {
    .gt-studio-flex {
        flex-direction: column;
        padding: 15px;
    }

    .gt-slider-container {
        width: 100%;
        height: auto;
        /* הגבלת גובה כדי שלא יתפוס חצי מסך */
        max-height: 120px; 
        margin-bottom: 25px;
        padding: 0 35px; /* רווח לחיצים בצדדים */
    }

    .gt-custom-slide {
        /* כאן הקסם: במקום להתכווץ, ה-Slide יתפוס רוחב הגיוני */
        width: 140px !important; 
        height: auto !important;
    }

    .gt-sig-item {
        width: 100%;
        height: 78px; /* גובה קבוע ל-thumbnail במצב אופקי */
    }

    /* התאמת החיצים למצב אופקי */
    .gt-nav {
        top: 50% !important;
        transform: translateY(-50%);
    }
    .gt-prev { left: 0; top: 50% !important; transform: translateY(-50%) rotate(-90deg); }
    .gt-next { right: 0; left: auto; bottom: auto; top: 50% !important; transform: translateY(-50%) rotate(-90deg); }
    
    .gt-iframe-box {
        transform: scale(1);
        max-width: 100%;
    }
    
    #mainSigPreview {
        max-width: 100%;
    }
}

/* התאמה למובייל (מתחת ל-500px) */
@media (max-width: 500px) {
    .gt-custom-slide {
        width: 120px !important; /* קצת יותר קטן למובייל */
    }
    .gt-sig-item {
        height: 68px;
    }
    .gt-iframe-box {
        transform: scale(0.85);
    }
}