/* ============================================================
   תחתית העמוד — סקשן יצירת הקשר המשותף + הפוטר
   נטען אחרי main.css / header-videos.css / components.css,
   ולכן הכללים כאן הם המקור היחיד של הפוטר ושל הטופס התחתון.
   ============================================================ */

/* ---------- 1. סקשן יצירת הקשר (CF7 37) — גרסה מכווצת ---------- */
.contact-section { padding: 62px 0; }
.contact-section:after { width: 440px; height: 440px; top: -90px; }
.contact-grid { gap: 80px; align-items: center; }
.contact-section h2 { font-size: clamp(32px, 3vw, 46px); margin-bottom: 14px; }
.contact-section .contact-copy p { font-size: 17px; line-height: 1.55; }
.contact-phone { font-size: 32px; margin: 16px 0 0; }
.contact-form h3 { font-size: 23px; margin-bottom: 12px; }

.contact-form .form--compact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 8px; }
.contact-form .form--compact .field { margin-bottom: 0; min-width: 0; }
.contact-form .form--compact .field > .name,
.contact-form .form--compact .field .name { font-size: 13px; margin-bottom: 0; line-height: 1.4; }
.contact-form .form--compact input:not([type=submit]):not([type=checkbox]),
.contact-form .form--compact select { min-height: 44px; padding: 6px 1px; margin: 0; }
.contact-form .form--compact .form_line_button { grid-column: 1 / -1; }
.contact-form .form--compact .form_line_button p { margin: 0; }
.contact-form .form--compact .wpcf7-submit { margin-top: 12px; padding: 11px 20px; min-height: 46px; }
.contact-form .form--compact .wpcf7-submit .fas { display: none; }
.contact-form .wpcf7-response-output { margin: 10px 0 0 !important; font-size: 14px; }

@media (max-width: 900px) {
	.contact-grid { gap: 36px; }
}
@media (max-width: 600px) {
	.contact-section { padding: 38px 0 40px; }
	.contact-grid { gap: 22px; }
	.contact-section h2 { font-size: 30px; margin-bottom: 10px; }
	.contact-section .contact-copy p { font-size: 16px; }
	.contact-phone { font-size: 28px; margin-top: 10px; }
	.contact-form { padding-top: 20px; }
	.contact-form h3 { font-size: 21px; margin-bottom: 6px; }
	.contact-form .form--compact { column-gap: 14px; }
}

/* ---------- 2. הפוטר — 4 עמודות ---------- */
/* עמודה 1: המשרד · 2: ניווט מהיר · 3: ייצוג בצווארון לבן · 4: עבירות והליכי חקירה (2 טורים פנימיים).
   יחס של כ-30/18/20/32 (בפועל 27/16/20/37: עמודה 1 קצרה ממילא, והרוחב שנחסך
   ממנה מאפשר לקישורי עמודה 4 להיכנס בשורה אחת ב-1280), ורווח של 44px בין העמודות. */
.footer-grid { display: grid; grid-template-columns: 27fr 16fr 20fr 37fr; column-gap: 44px; row-gap: 40px; align-items: start; }
.footer-grid h3 { font-size: 20px; line-height: 1.3; color: #d2b671; margin: 0; font-weight: 700; }

.footer-brand { min-width: 0; }
.footer-brand__logo { display: block; width: fit-content; line-height: 0; }
.footer-brand__logo img { width: 220px; max-height: 80px; object-fit: contain; object-position: right; margin-bottom: 18px; }
.footer-brand__tagline { font-size: 16px; line-height: 1.6; color: #e4ded2; margin: 0 0 18px; max-width: 380px; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; line-height: 1.5; }
.footer-contact a { display: inline-block; }
.footer-contact a:hover, .footer-col__links a:hover { color: #e6c788; }
.footer-contact a[target] { text-decoration: underline; text-decoration-color: #c2a04d66; text-underline-offset: 4px; }
.footer-brand .footer-search { max-width: 340px; margin-top: 22px; }
.footer-badge { display: block; width: fit-content; margin-top: 18px; line-height: 0; border-radius: 6px; }
.footer-badge img { display: block; height: 62px; width: auto; }
.footer-badge:hover img { opacity: .88; }
.footer-badge + .footer-search { margin-top: 14px; }

.footer-col { min-width: 0; }
.footer-col__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; margin-bottom: 20px; cursor: default; }
.footer-col__head::-webkit-details-marker { display: none; }
.footer-col__head::marker { content: ""; }
.footer-col__chevron { display: none; }
.footer-col__links { list-style: none; margin: 0; padding: 0; display: grid; row-gap: 11px; }
.footer-col__links a { display: block; font-size: 16px; line-height: 1.4; text-wrap: balance; }
.footer-col--offenses .footer-col__links { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; }
.footer-col--offenses .footer-col__links a { font-size: 15px; }
.footer-bottom { margin-top: 44px; }

/* מחשב צר / טאבלט: 2×2 — המשרד + ניווט, ואז שתי עמודות התחומים */
@media (min-width: 768px) and (max-width: 1199px) {
	.footer-grid { grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 44px; }
}

/* מובייל: עמודה 1 פתוחה ראשונה; 2–4 אקורדיון (נסגר בטעינה — footer.php) */
@media (max-width: 767px) {
	.site-footer { padding-top: 46px; }
	.footer-grid { grid-template-columns: 1fr; row-gap: 0; }
	.footer-brand { padding-bottom: 26px; border-bottom: 1px solid #ffffff17; }
	.footer-brand__logo img { width: 190px; margin-bottom: 14px; }
	.footer-contact { gap: 0; }
	.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
	.footer-brand .footer-search { max-width: none; margin-top: 10px; }
	.footer-badge { margin-top: 12px; }
	.footer-badge img { height: 58px; }
	.footer-brand .footer-search input, .footer-brand .footer-search button { min-height: 44px; }

	.footer-col { border-bottom: 1px solid #ffffff17; }
	.footer-col__head { cursor: pointer; margin: 0; min-height: 58px; padding: 6px 0; }
	.footer-col__head h3 { font-size: 18px; }
	.footer-col__chevron { display: inline-flex; flex: none; color: var(--gold-deep); transition: transform .2s ease; }
	.footer-col__chevron .faq-chevron { width: 22px; height: 22px; display: block; }
	.footer-col[open] .footer-col__chevron { transform: rotate(180deg); }
	.footer-col__links { row-gap: 8px; padding: 0 0 18px; }
	.footer-col__links a { display: flex; align-items: center; min-height: 44px; font-size: 15px; line-height: 1.35; }
	.footer-col--services .footer-col__links,
	.footer-col--offenses .footer-col__links { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
	.footer-bottom { margin-top: 0; padding-bottom: 0; border-top: 0; }
	/* מקום פנוי בגובה סרגל המובייל הדביק (61px + אזור הבית באייפון), כדי שלא יסתיר את שורת הזכויות */
	.site-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .footer-col__chevron { transition: none; } }
