/*
Theme Name: Herslaw Child Theme
Description: Child theme של Hello Elementor עם עיצוב מותאם
Template: hello-elementor
Version: 4.0 — Unified Data Architecture
Author: Herslaw Team
*/

/* ============================================================
   Self-hosted Heebo — מחליף את Google Fonts External Request
   קבצי פונט נדרשים: /fonts/heebo/Heebo-Regular.woff2 (500)
                      /fonts/heebo/Heebo-SemiBold.woff2 (600)
                      /fonts/heebo/Heebo-Bold.woff2    (700)
                      /fonts/heebo/Heebo-ExtraBold.woff2 (800)
   הורדה: https://fonts.google.com/specimen/Heebo → Download
   ============================================================ */
/* Self-hosted fonts are now handled in Critical CSS (functions.php) to prevent FOUT and ensure elegant rendering. */

/* ========================================
   GLOBAL UTILITIES (Below Fold)
======================================== */
img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   GLOBAL FIXES — Hello Elementor Overrides
   ======================================== */
.site-main article { margin-bottom: 0 !important; }
.entry-content { margin-top: 0 !important; }
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--container-max); }
.elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}


/* Social Icon Brand Colors - Global */
.footer-social-icons a[aria-label="Facebook"] svg {
    fill: #1877F2 !important;
}

.footer-social-icons a[aria-label="Instagram"] svg {
    fill: #E4405F !important;
}

.footer-social-icons a[aria-label="X (Twitter)"] svg {
    fill: #000000 !important;
}

.footer-social-icons a[aria-label="Threads"] svg {
    fill: #000000 !important;
}

.footer-social-icons a[aria-label="LinkedIn"] svg {
    fill: #0077B5 !important;
}

.footer-social-icons a[aria-label="WhatsApp"] svg {
    fill: #25D366 !important;
}

.footer-social-icons a[aria-label="YouTube"] svg {
    fill: #FF0000 !important;
}

.footer-social-icons a[aria-label="Google"] svg {
    fill: none !important;
}

.footer-social-icons a {
    background: white !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    padding: 10px !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

.footer-social-icons a:hover {
    transform: translateY(-5px) !important;
}


/* ========================================
   FLOATING BUTTONS
======================================== */
.floating-contact-buttons {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    border: 3px solid white;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.floating-btn.btn-phone-float {
    background: var(--gold);
    color: var(--navy-dark);
}

.floating-btn.btn-whatsapp-float {
    background: #25D366;
    color: white;
}

@media (min-width: 993px) {
    .floating-contact-buttons {
        left: auto;
        right: 20px;
    }
}

.floating-btn svg {
    width: 28px;
    height: 28px;
}

.hero-location {
    display: block;
    font-size: 1.0rem;
    font-weight: 700;
    color: white;
    margin-top: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hero Trust Bar */
.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-trust-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero-trust-separator {
        display: none;
    }
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}

.hero-trust-item:hover {
    opacity: 0.85;
}

.hero-trust-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 4px;
}

.hero-trust-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.hero-trust-text svg {
    vertical-align: middle;
}

.hero-trust-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    font-weight: 300;
}

.reviews-count-hero {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
}

.hero-image-col {
    display: flex;
    justify-content: flex-start;
    /* RTL: flex-start = ימין = קרוב לטקסט */
    align-items: flex-start;
}

@media (min-width: 992px) {
    .hero-image-col {
        transform: translate(75px, -20px);
    }
}

/* Desktop spacing: hero-v3 מתחת ב-header + עיצוב כרטיסיות שירותים ראשיות */
@media (min-width: 993px) {
    .hero-v3 {
        margin-top: 0;
    }

    .main-service-card h3 {
        font-size: 1.08rem;
        line-height: 1.35;
        font-weight: 800;
    }

    .main-service-desc {
        font-size: 0.92rem;
        line-height: 1.6;
        font-weight: 500;
    }
}

.hero-lawyer-image {
    width: 100%;
    max-width: 560px;
    height: auto;
    object-fit: contain;
    object-position: top right;
    display: block;
    margin: 0;
    align-self: flex-start;
    margin-top: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* Remove EVERYTHING that creates a frame for the cutout */
.hero-lawyer-cutout,
.hero-cutout-container img {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}


/* Scroll margin for reviews sub-elements (not covered by global block) */
#reviews-platforms {
    scroll-margin-top: 150px;
}

.platform-btn[id] {
    scroll-margin-top: 170px;
}



/* ========================================
   GLOBAL SECTION HEADERS
======================================== */
.section-header-v3 {
    text-align: center !important;
    max-width: 900px;
    margin: 0 auto 35px !important;
}

.section-header-v3 h2,
.section-title-v3 {
    display: flex !important;
    width: 100%;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0 0 12px !important;
}

.section-header-v3 h2 svg,
.section-title-v3 svg {
    flex-shrink: 0;
}

.section-subtitle-v3 {
    text-align: center !important;
    font-size: 1.25rem;
    color: var(--gray-700);
    max-width: 800px;
    margin: 0 auto !important;
}

/* Quick Nav */
.quick-nav-v3 {
    background: white;
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: var(--header-height);
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 30px;
}

/* Ensure horizontal layout even if nav tag is missing */
.quick-nav-v3 .nav-wrapper,
.nav-wrapper nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.nav-link-v3 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-link-v3:hover {
    color: var(--navy-dark);
    border-bottom-color: var(--gold);
}

.container-v3 {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}



/* Advantages bullets for mobile - initial prep */
/* Advantages Accordion — mobile only, replaces bullet list */
.advantages-accordion {
    display: none;
}

.faq-item-accordion.active .faq-question-btn {
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

@media (max-width: 768px) {
    .faq-category-title {
        font-size: 1.4rem;
        font-weight: 800;
        margin: 30px 0 15px;
    }
}

.adv-acc-item:first-child {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.adv-acc-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy-dark);
    text-align: right;
    cursor: pointer;
    direction: rtl;
}

.adv-acc-btn:hover {
    color: var(--gold-dark);
}

.adv-acc-chevron {
    flex-shrink: 0;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.adv-acc-btn[aria-expanded="true"] .adv-acc-chevron {
    transform: rotate(180deg);
}

.adv-acc-body {
    padding: 0 0 16px;
    direction: rtl;
}

.adv-acc-body p {
    font-size: 0.97rem;
    line-height: 1.75;
    color: #555;
    margin: 0;
    text-align: right;
}

/* Old bullet list — no longer used */
.advantages-bullets {
    display: none;
}


.icon-gold {
    color: var(--gold);
}

.section-subtitle-v3 {
    font-size: 1.125rem;
    color: var(--gray-700);
}

.trustindex-section,
.services-v3,
.main-services-v3,
.credentials-v3,
.articles-v3,
.faq-v3,
.contact-v3,
.advantages-v3 {
    width: 100%;
    padding: var(--section-gap) 0;
}

.credentials-v3,
.faq-v3 {
    background: white;
}



/* צמצום רווחים לפני כותרות סקשן */
.advantages-v3,
.credentials-v3,
.faq-v3 {
    padding-top: 15px;
}

.trustindex-section {
    background: white;
}

/* סקשנים עם תיבות לבנות - רקע בז' */
.services-v3,
.main-services-v3,
.articles-v3,
.contact-v3 {
    background: #F5F5F0;
}

/* Reduced spacing for advantages and services sections */


.services-v3 {
    padding-top: 8px;
}

.advantages-v3 {
    padding-bottom: 10px;
}

/* Services */
.services-grid-v3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.service-card-v3 {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.service-card-v3:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-icon-gold {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-radius: 20px;
    color: white;
    margin-bottom: 24px;
}

.service-card-v3 h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0 0 16px;
    font-family: 'Heebo', sans-serif;
}

.service-list-v3 {
    list-style: none;
    margin: 0 0 24px;
}

.service-list-v3 li {
    padding: 10px 0;
    padding-right: 24px;
    position: relative;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.service-list-v3 li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--gold);
    font-weight: 700;
}

.service-link-v3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7A530F; /* High-contrast Premium Gold, WCAG AA compliant */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link-v3:hover {
    color: var(--navy-dark, #001f3f);
}

.main-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.main-service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: right;
    display: grid;
    grid-template-columns: 1fr 140px;
    grid-template-rows: auto 1fr;
    align-items: stretch;
    min-height: 140px;
}

.main-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.main-service-image {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 140px;
    height: 100%;
    min-height: 0;
    max-height: none;
    align-self: stretch;
    overflow: hidden;
    background: var(--gray-200);
}

.main-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.main-service-card:hover .main-service-image img {
    transform: scale(1.1);
}

.main-service-card h3 {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy-dark);
    padding: 12px 16px 2px;
    margin: 0;
    align-self: start;
}

.main-service-desc {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-700);
    padding: 2px 16px 12px;
    margin: 0;
    align-self: start;
}

/* Fallback for jump navigation text fading on mobile */
@media (max-width: 768px) {
    .jump-nav .nav-link span {
        display: inline !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Credentials */
.credentials-list-text {
    max-width: 800px;
    margin: 20px auto 0;
}

.credentials-list-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
    padding: 12px 0;
    padding-right: 32px;
    position: relative;
    border-bottom: 1px solid var(--gray-100);
}

.credentials-list-text p::before {
    content: '🎓';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
}

.credentials-more-link {
    text-align: center;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid var(--gold);
}

.credentials-more-link a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.credentials-more-link a:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* Articles */
.articles-grid-v3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.article-card-v3 {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.article-card-v3:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.article-image-v3 {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image-v3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-date-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: var(--navy-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Heebo', sans-serif;
}

.article-content-v3 {
    padding: 24px;
}

.article-content-v3 h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0 0 12px;
}

.article-excerpt {
    color: rgba(17, 24, 39, 0.8);
    margin: 0 0 16px;
    line-height: 1.6;
    font-family: 'Heebo', sans-serif;
}

.article-link-v3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.article-link-v3:hover {
    color: var(--gold-dark);
}

.articles-cta-v3 {
    text-align: center;
    margin-top: 48px;
}

.btn-view-all-articles {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--gold);
    color: var(--navy-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-view-all-articles:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.no-posts-message {
    text-align: center;
    color: var(--gray-700);
    font-size: 1.125rem;
    padding: 40px 20px;
}

/* ========================================
   אקורדיון FAQ - גרסה מתוקנת
======================================== */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .faq-accordion {
        margin-top: 16px !important;
    }
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
}

.faq-item-accordion {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-accordion.active {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.faq-question-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: right;
    transition: background 0.3s ease;
    gap: 12px;
}

.faq-question-btn:hover {
    background: var(--gray-50);
}

.faq-q-text {
    font-family: var(--font-main), 'Heebo', sans-serif !important;
    font-size: 1.125rem !important; /* 18px */
    font-weight: 600 !important; /* Less bulky, elegant weight */
    color: var(--navy-dark) !important;
    line-height: 1.4 !important;
    text-align: right;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
}

.faq-arrow {
    flex-shrink: 0;
    color: var(--gold);
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.faq-item-accordion.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item-accordion.active .faq-answer-content {
    max-height: 1000px;
}

.faq-answer-content p {
    padding: 0 24px 24px;
    font-family: var(--font-main), 'Heebo', sans-serif !important;
    font-size: 1.125rem !important; /* Matches question font size exactly */
    line-height: 1.7 !important;
    color: var(--gray-700) !important;
    margin: 0;
    font-weight: 400 !important;
}

.faq-answer-content ul {
    margin: 0;
    padding: 0 24px 24px 48px;
}

.faq-answer-content ul li {
    font-family: var(--font-main), 'Heebo', sans-serif !important;
    font-size: 1.125rem !important; /* Matches question font size exactly */
    line-height: 1.7 !important;
    margin-bottom: 10px;
    color: var(--gray-700) !important;
    font-weight: 400 !important;
}

/* Responsive - מובייל */
@media (max-width: 768px) {
    .faq-accordion {
        padding: 0 10px;
        gap: 8px;
    }

    .faq-question-btn {
        padding: 16px 12px;
        gap: 8px;
    }

    .faq-q-text {
        font-family: var(--font-main), 'Heebo', sans-serif !important;
        font-size: 1.05rem !important; /* Elegant mobile title size */
        font-weight: 600 !important; /* Unifies mobile with desktop */
        line-height: 1.4 !important;
        word-break: break-word;
    }

    .faq-arrow {
        width: 20px;
        height: 20px;
    }

    .faq-answer-content p {
        padding: 0 12px 20px;
        font-family: var(--font-main), 'Heebo', sans-serif !important;
        font-size: 1.05rem !important; /* Matches question font size exactly */
        line-height: 1.65 !important;
        font-weight: 400 !important;
    }

    .faq-answer-content ul {
        padding: 0 12px 20px 32px;
    }

    .faq-answer-content ul li {
        font-family: var(--font-main), 'Heebo', sans-serif !important;
        font-size: 1.05rem !important; /* Matches question font size exactly */
        font-weight: 400 !important;
    }
}

@media (max-width: 480px) {
    .faq-accordion {
        padding: 0 5px;
    }

    .faq-question-btn {
        padding: 14px 10px;
    }

    .faq-q-text {
        font-family: var(--font-main), 'Heebo', sans-serif !important;
        font-size: 1.02rem !important;
    }

    .faq-answer-content p {
        padding: 0 10px 16px;
        font-family: var(--font-main), 'Heebo', sans-serif !important;
        font-size: 1.02rem !important; /* Matches question font size exactly */
    }

    .faq-answer-content ul {
        padding: 0 10px 16px 28px;
    }
}

/* Contact */
.contact-wrapper-v3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
    align-items: start;
}

.contact-info-v3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card-v3 {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card-v3:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.section-header-v3 h2,
.section-title-v3 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 12px;
    font-family: 'Heebo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-subtitle-v3 {
    font-size: 1.15rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.6;
    font-weight: 500;
    font-family: 'Heebo', sans-serif;
}

@media (max-width: 768px) {

    .section-header-v3 h2,
    .section-title-v3 {
        font-size: 1.8rem;
        gap: 10px;
    }

    .section-subtitle-v3 {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }
}

.contact-icon-gold {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-radius: 50%;
    color: white;
}

.contact-card-v3 h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy-dark);
    margin: 0 0 12px;
    font-family: 'Heebo', sans-serif;
}

@media (max-width: 768px) {
    .contact-card-v3 h3 {
        font-size: 1.15rem;
        font-weight: 800;
        margin-bottom: 8px;
    }
}

.contact-card-v3 p {
    color: var(--gray-900);
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-card-v3 a {
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.contact-card-v3 a:hover {
    color: var(--gold-dark);
}

.contact-map-v3 {
    height: 100%;
    min-height: 540px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-map-v3 iframe {
    width: 100%;
    height: 100%;
    min-height: 540px;
}

/* Footer */
.site-footer-v3 {
    background: var(--navy-dark);
    color: white;
    padding: 30px 0 20px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.footer-col p {
    line-height: 1.8;
    margin: 0 0 0px;
    opacity: 0.9;
}

.footer-contact-quick p {
    margin-bottom: 8px;
}

.footer-menu,
.footer-services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li,
.footer-services-list li {
    margin: 0 0 7px;
}

.footer-menu a,
.footer-services-list a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-menu a:hover,
.footer-services-list a:hover {
    color: var(--gold);
    opacity: 1;
}

.footer-address {
    margin-bottom: 6px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding-top: 10px;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p,
.footer-credits p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* תיקון אייקונים חדשים - SVG עם רקע מובנה */
.footer-social-icons .social-icon.instagram svg,
.footer-social-icons .social-icon.twitter svg,
.footer-social-icons .social-icon.threads svg {
    width: 48px !important;
    height: 48px !important;
    display: block;
}

.footer-social-icons .social-icon.instagram,
.footer-social-icons .social-icon.twitter,
.footer-social-icons .social-icon.threads {
    background: transparent !important;
    padding: 0;
    box-shadow: none;
}

.footer-social-icons .social-icon.instagram:hover,
.footer-social-icons .social-icon.twitter:hover,
.footer-social-icons .social-icon.threads:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image-col {
        order: -1;
    }

    .hero-lawyer-image {
        max-width: 100%;
        object-position: center bottom;
        margin-left: auto;
        margin-right: auto;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy-dark);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .main-navigation.mobile-open {
        display: block;
    }

    .main-navigation .nav-menu {
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 0;
        padding: 10px 0;
        gap: 0;
    }

    .main-navigation .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-navigation .nav-menu li a {
        display: block;
        padding: 14px 20px 14px 45px;
        color: white;
        text-decoration: none;
        font-size: 1rem;
        line-height: 1.3;
    }

    .main-navigation .nav-menu li a:hover {
        background: rgba(212, 175, 55, 0.15);
        color: var(--gold);
    }

    .main-navigation .sub-menu {
        display: none;
        list-style: none;
        margin: 0;
        padding: 0;
        background: rgba(0, 0, 0, 0.2);
    }

    .main-navigation .sub-menu.open {
        display: block;
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
    }

    .main-navigation .sub-menu li a {
        padding-right: 40px;
        font-size: 0.9rem;
    }

    .sub-menu-toggle {
        display: flex;
        background: rgba(212, 175, 55, 0.1);
        border: 1px solid var(--gold);
        color: var(--gold);
        border-radius: 4px;
        cursor: pointer;
        padding: 5px;
        position: absolute;
        left: 10px;
        top: 0;
        bottom: 0;
        margin: auto;
        height: 32px;
        width: 32px;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 2;
    }

    .sub-menu-toggle.open {
        transform: rotate(180deg);
        background: var(--gold);
        color: var(--navy);
    }

    .menu-item-has-children {
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
    }

    .menu-label {
        display: block;
        color: white;
        font-size: 0.85rem;
        font-weight: 600;
        font-family: 'Heebo', sans-serif;
        margin-top: 2px;
        line-height: 1;
        letter-spacing: 0.3px;
        height: auto !important;
        width: auto !important;
        background: none !important;
        border-radius: 0 !important;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .contact-wrapper-v3 {
        grid-template-columns: 1fr;
    }

    .contact-info-v3 {
        grid-template-columns: 1fr;
    }

    /* Mobile header: hamburger right, logo centered big */
    .header-container {
        flex-direction: row;
        padding-top: 0;
        padding-bottom: 0;
    }

    .mobile-menu-toggle {
        order: -1;
    }

    .site-logo {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo-image {
        height: 75px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --section-gap: 40px;
    }

    body {
        padding-top: 70px;
    }

    .header-cta-buttons {
        display: none;
    }

    .hero-text-col h1 {
        font-size: 2rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .services-grid-v3,
    .articles-grid-v3,
    .main-services-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        text-align: right;
    }

    .contact-map-v3 {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .btn-text {
        display: none;
    }

    .logo-image {
        height: 65px;
    }

    .hero-cta-buttons {
        gap: 12px;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }

}

/* מניעת שבירת מספר טלפון */
.btn-cta-primary,
.btn-cta-secondary {
    white-space: nowrap !important;
}

.btn-cta-primary span,
.btn-cta-secondary span {
    white-space: nowrap !important;
}

/* ============================================================
   יתרונות המשרד - Grid Layout
   ============================================================ */
.advantages-v3 {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Accordion hidden on desktop explicitly */
.advantages-accordion {
    display: none !important;
}

.advantage-card {
    background: white;
    border-radius: 12px;
    padding: 28px 22px 24px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.advantage-icon-gold {
    width: 70px;
    height: 70px;
    margin: 0 0 20px 0;
    background: linear-gradient(135deg, #d4af37 0%, #f4d47e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.advantage-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px;
    line-height: 1.4;
    text-align: center;
    width: 100%;
    font-family: 'Heebo', sans-serif;
}

.advantage-card p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
    text-align: right;
}


/* ============================================================
   Footer - רשתות חברתיות
   ============================================================ */
.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 15px 0 10px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.social-icon.facebook {
    background: #1877f2;
    color: white;
}

.social-icon.linkedin {
    background: #0a66c2;
    color: white;
}

.social-icon.whatsapp {
    background: #25d366;
    color: white;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* ============================================================
   Responsive - מובייל
   ============================================================ */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-card {
        padding: 24px 18px 20px;
    }

    .advantage-card h3 {
        font-family: 'Heebo', sans-serif;
        font-size: 1.15rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .advantage-card p {
        font-family: 'Heebo', sans-serif;
        font-size: 1rem;
        line-height: 1.75;
        font-weight: 500;
    }

    .faq-category-title {
        font-size: 1.3rem;
        margin: 40px 0 20px;
    }

    .faq-question-v3 {
        font-size: 1.1rem;
    }

    .footer-social-icons {
        gap: 15px;
    }

    .social-icon {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {


    .advantage-icon-gold {
        width: 60px;
        height: 60px;
    }

    .faq-item-open {
        padding: 20px;
    }
}



/* ========================================
   HERO NEW TEXT STRUCTURE
   ======================================== */
.hero-content-lists {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Reduced from 25px */
    margin-bottom: 20px;
    /* Reduced from 35px */
}

.hero-list-title {
    display: block;
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 5px;
    width: fit-content;
}

.hero-benefits-list.compact {
    margin: 0;
}

.hero-benefits-list.compact li {
    padding: 6px 30px 6px 0;
    /* Reduced padding */
    font-size: 1.05rem;
    line-height: 1.5;
}

.hero-benefits-list.compact li::before {
    top: 6px;
    font-size: 1.2rem;
}

/* התאמת גובה תמונה לטקסט */
.hero-layout {
    align-items: stretch;
}

.hero-image-col {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.hero-lawyer-image {
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    width: 100%;
    max-width: 560px;
}

/* Remove legacy frame when cutout is used */
.hero-lawyer-cutout {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}





/* Review Text Styling */
.review-text-main {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.review-text-sub {
    font-size: 0.95rem;
    opacity: 0.9;
}

.review-text-sub a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    margin: 0 4px;
}

.review-text-sub img {
    margin: 0 2px;
    vertical-align: middle;
}





/* ========================================
   TEMPLATE OPTIMIZATION STYLES
   ======================================== */

/* --- Feature Boxes (Gold/Blue/Green) --- */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.feature-box {
    background: #f8fafc;
    /* gray-50 */
    border: 2px solid #e2e8f0;
    /* gray-200 */
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1a202c;
    /* navy-dark */
}

.feature-box p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: #4a5568;
    /* gray-700 */
}

/* Color Variants */
.feature-box.gold {
    border-color: #D4AF37;
}

.feature-box.gold .feature-icon {
    background: linear-gradient(135deg, #D4AF37, #B8941F);
}

.feature-box.gold:hover {
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.feature-box.blue {
    border-color: #003366;
}

.feature-box.blue .feature-icon {
    background: linear-gradient(135deg, #003366, #001f3f);
}

.feature-box.blue:hover {
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.15);
}

.feature-box.green {
    border-color: #25D366;
}

.feature-box.green .feature-icon {
    background: linear-gradient(135deg, #25D366, #20BA5A);
}

.feature-box.green:hover {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.15);
}


/* --- FAQ Accordion --- */
.faq-wrapper {
    margin: 48px 0;
    background: #f8fafc;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e2e8f0;
}

.faq-header {
    text-align: center;
    margin-bottom: 32px;
}

.faq-header h2 {
    font-size: 1.75rem;
    color: #1a202c;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.faq-header .icon-question {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #D4AF37;
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #cbd5e0;
}

.faq-question {
    width: 100%;
    text-align: right;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f7fafc;
}

.faq-question .faq-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--gold);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
    border-top: 1px solid transparent;
}

.faq-answer.active {
    max-height: 4000px;
    /* specific enough for reasonable content */
    border-top-color: #e2e8f0;
}

.faq-content-inner {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
}

/* --- Video Spot --- */
.video-spot {
    margin: 40px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.video-spot-header {
    background: #1a202c;
    color: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-spot-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Alert Boxes --- */
.alert-box {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 8px;
    margin: 24px 0;
    align-items: flex-start;
}

.alert-box.warning {
    background: #FFFBEB;
    /* yellow-50 */
    border-right: 4px solid #F59E0B;
    /* yellow-500 */
}

.alert-box.info {
    background: #EFF6FF;
    /* blue-50 */
    border-right: 4px solid #3B82F6;
    /* blue-500 */
}

.alert-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.alert-content p {
    margin: 4px 0 0;
    font-size: 1rem;
    line-height: 1.6;
    font-family: 'Heebo', sans-serif;
}


/* ========================================
   HERO UPDATES - Merged from hero-update
   ======================================== */

/* Hero Text Lists */
.hero-new-description {
    margin: 20px 0;
}

.hero-new-description p {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: white;
}

.hero-new-description strong {
    color: var(--gold);
    font-weight: 800;
}

.hero-bullets-v4 {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-bullets-v4 li {
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
}

.hero-block-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--gold) !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-stars-summary-v4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 35px;
    text-decoration: none;
    width: fit-content;
    transition: transform 0.3s ease;
}

.hero-stars-summary-v4:hover {
    transform: scale(1.02);
}

.stars-gold-row {
    display: flex;
    gap: 3px;
}

.hero-platforms-gold-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.gold-platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gold-platform-icon svg {
    fill: var(--gold) !important;
}

.gold-filtered {
    filter: brightness(0) saturate(100%) invert(75%) sepia(48%) saturate(542%) hue-rotate(5deg) brightness(95%) contrast(83%);
    /* Approximates #D4AF37 Gold */
}

/* Hero Layout & Cutout Style */
.hero-v3 {
    background: linear-gradient(135deg, var(--navy-dark) 0%, #0a192f 100%);
    position: relative;
    overflow: hidden;
}

.hero-cutout-container {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-lawyer-cutout {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    object-position: top center;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
    margin-right: 0;
    margin-top: 0;
}

.hero-lawyer-cutout:hover {
    transform: translateY(-5px);
}

.hero-layout {
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Fix White Space Below Header */
.hero-v3 {
    margin-top: 0;
}

/* ========================================
   MOBILE RESPONSIVE - Hero & Components
   ======================================== */
@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    .hero-image-col {
        order: -1;
        max-height: 400px;
    }

    .hero-lawyer-image {
        max-height: 380px !important;
        margin-top: 10px !important;
    }

    .hero-text-col h1 {
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
    }

    .hero-text-col h1 span.name-highlight {
        font-size: 1.5rem !important;
        /* התאמה לגודל הזהה לשורה שמעליו */
        display: block !important;
        margin-top: 5px !important;
    }

    .hero-service-blocks {
        align-items: center !important;
        gap: 6px !important;
        /* Even tighter */
    }

    .hero-service-block {
        border-right: none !important;
        padding-right: 0 !important;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
        padding: 4px 0 6px !important;
        /* Even tighter mobile padding */
    }

    .hero-service-block:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .hero-notary-block,
    .hero-immigration-block {
        margin-top: -10px !important;
        /* Proportional raise for mobile */
    }

    .hero-trust-bar {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {

    /* Main-Service Cards — Mobile Unified */
    .main-services-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    .main-service-card {
        display: grid !important;
        grid-template-columns: 1fr 110px !important;
        grid-template-rows: auto auto !important;
        align-items: start !important;
        background: var(--navy-dark) !important;
        border: 2px solid var(--gold) !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        padding: 0 !important;
        min-height: 0 !important;
    }

    .main-service-image {
        grid-column: 2 !important;
        grid-row: 1 / 3 !important;
        width: 110px !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        align-self: stretch !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .main-service-image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .main-service-card h3 {
        font-family: 'Heebo', sans-serif;
        font-size: 1.15rem;
        font-weight: 800;
        line-height: 1.2;
        color: var(--gold) !important;
        padding: 10px 12px 2px;
        margin: 0;
        text-align: right;
    }

    .main-service-desc {
        font-family: 'Heebo', sans-serif;
        font-size: 0.9rem;
        line-height: 1.55;
        padding: 0 12px 10px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
    }

    .main-service-icon-mobile {
        display: none !important;
    }

    .services-grid-v3 {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .service-list-v3 li {
        font-size: 1rem !important;
        font-weight: 500 !important;
        line-height: 1.5 !important;
        padding: 8px 24px 8px 0 !important;
    }

    /* Floating Contact Buttons - Navy Bottom Bar */
    .floating-contact-buttons {
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        flex-direction: row !important;
        /* RTL: row starts from right — label on right, buttons on left */
        align-items: center !important;
        justify-content: flex-end !important; /* Align to the left to leave room on the right for privacy badge */
        gap: 12px !important;
        background: var(--navy-dark) !important;
        padding: 8px 20px 16px !important;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3) !important;
        border-top: 2px solid var(--gold) !important;
        z-index: 99999 !important;
    }

    .floating-contact-label {
        display: block !important;
        color: var(--gold) !important;
        font-family: 'Heebo', sans-serif !important;
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        align-self: center !important;
        order: 0 !important;
        margin-top: 0 !important;
        line-height: 1 !important;
    }

    .floating-btn {
        width: 55px !important;
        height: 55px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }

    body {
        padding-bottom: 80px !important;
    }

    /* Reduced Spacing on Mobile */
    .container-v3 {
        padding: 0 10px !important;
        /* צמצום שוליים בגוף העמוד */
    }

    .section-header-v3 {
        margin-bottom: 20px !important;
        text-align: right !important;
    }

    .section-header-v3 h2 {
        font-size: 1.75rem !important;
        display: flex !important;
        flex-direction: row !important;
        /* RTL: row = אייקון מימין לכותרת */
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        margin-bottom: 5px !important;
    }

    .section-title-v3 {
        display: flex !important;
        flex-direction: row !important;
        /* RTL: row = אייקון מימין לכותרת */
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
    }

    /* Quick Nav - 2 per row grid on mobile */
    .quick-nav-v3 .nav-wrapper {
        display: block !important;
        padding: 10px !important;
    }

    .quick-nav-v3 .nav-wrapper nav {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
    }

    .nav-link-v3 {
        width: 100% !important;
        justify-content: flex-end !important;
        font-size: 0.8rem !important;
        background: var(--gray-50) !important;
        border: 1px solid var(--gray-200) !important;
        border-radius: 8px !important;
        padding: 8px 8px !important;
        /* צמצום רוחב תיבות */
        margin: 0 !important;
        flex-direction: row-reverse !important;
        text-align: right !important;
    }

    .nav-link-v3 svg {
        display: none !important;
    }

    /* Hero Spacing Mobile */
    .hero-v3 {
        min-height: auto !important;
        display: block !important;
        padding-top: 68px !important;
    }

    .hero-layout {
        gap: 8px !important;
    }

    .hero-container-v3 {
        display: flex;
        flex-direction: column-reverse;
        /* image and text together */
        align-items: center;
    }

    .hero-image-col {
        width: 100%;
        z-index: 5;
        overflow: visible !important;
        max-height: 324px !important;
    }

    .hero-lawyer-cutout {
        max-height: 360px !important;
        margin-right: 0 !important;
        object-fit: cover !important;
        object-position: top center !important;
        mix-blend-mode: multiply !important;
    }

    .hero-lawyer-image {
        max-height: 280px !important;
        object-fit: contain !important;
        object-position: top center !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        mix-blend-mode: multiply !important;
    }

    .hero-text-col h1 {
        font-size: 1.5rem !important;
        /* Smaller in mobile too */
        line-height: 1.1 !important;
        margin-bottom: 10px !important;
        /* צמצום רווח מתחת לכותרת */
        display: block !important;
        text-align: center;
    }

    .hero-text-col h1 span.name-highlight {
        font-size: 1.5rem !important;
        /* זהה לשורה שמעליו */
    }

    .hero-location {
        font-size: 1rem !important;
        font-weight: 600 !important;
    }

    .hero-block-title {
        font-size: 1.1rem !important;
    }

    .hero-block-desc {
        font-size: 0.95rem !important;
    }

    /* Trust bar: vertical layout on mobile, right-aligned */
    .hero-trust-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-top: 20px !important;
    }

    .hero-trust-separator {
        display: none !important;
    }

    .hero-trust-item {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .hero-trust-text {
        font-size: 0.9rem !important;
    }

    /* Advantages — show accordion, hide grid */
    .advantages-grid {
        display: none !important;
    }

    .advantages-accordion {
        display: block !important;
    }

    /* Section titles - Right aligned with icon (RTL) */
    .section-title-v3 {
        font-size: 1.8rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        flex-direction: row !important;
        /* RTL: row = אייקון מימין לכותרת */
    }



    /* צמצום רווחים בין סקשנים */


    .credentials-v3 {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .faq-v3 {
        padding-top: 15px !important;
    }

    .faq-v3 .section-header-v3 {
        margin-bottom: 16px !important;
    }

    /* תיבות צור קשר - אייקון מימין, כותרת+טקסט משמאלו */
    .contact-card-v3 {
        display: grid !important;
        grid-template-columns: 44px 1fr !important;
        grid-template-rows: auto auto !important;
        text-align: right !important;
        padding: 10px 14px !important;
        gap: 0 10px !important;
        align-items: center !important;
    }

    .contact-card-v3 .contact-icon-gold {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        margin: 0 !important;
    }

    .contact-card-v3 .contact-icon-gold svg {
        width: 20px !important;
        height: 20px !important;
    }

    .contact-card-v3 h3 {
        grid-column: 2 !important;
        grid-row: 1 !important;
        font-family: 'Heebo', sans-serif !important;
        font-size: 0.95rem !important;
        margin: 0 !important;
        color: var(--gold) !important;
    }

    .contact-card-v3 p {
        grid-column: 2 !important;
        grid-row: 2 !important;
        font-family: 'Heebo', sans-serif !important;
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        margin: 2px 0 0 !important;
        color: var(--navy-dark) !important;
    }

    .contact-card-v3 a {
        color: var(--navy-dark) !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
    }

    .contact-info-v3 {
        gap: 8px !important;
    }

    /* Accessibility Button Relocation — 140px = under sticky header + one icon height down */
    /* Plugin: Elementor Ally (Pojo Accessibility) — wrapper is #pojo-a11y-toolbar, toggle is inside it */
    #pojo-a11y-toolbar,
    .pojo-a11y-toolbar-toggle,
    .accessibility-btn,
    .wp-accessibility-helper-button,
    #accessibility-trigger,
    .a11y-toolbar {
        top: 60px !important;
        bottom: auto !important;
        z-index: 10001 !important;
    }

    /* Expertise Icons Right-Aligned + Reduced Size */
    .service-icon-gold {
        margin: 0 0 15px auto !important;
        width: 55px !important;
        height: 55px !important;
    }

    .service-icon-gold svg {
        width: 28px !important;
        height: 28px !important;
    }

    /* Global Mobile Text Scaling & Boldness */
    h1,
    h2,
    h3 {
        font-weight: 800 !important;
    }

    strong,
    b {
        font-weight: 900 !important;
    }

    /* Footer Mobile Spacing */
    .footer-col h3 {
        margin-bottom: 5px !important;
    }

    .footer-grid {
        gap: 20px !important;
        margin-bottom: 15px !important;
    }

    .footer-social-icons {
        margin: 10px 0 5px !important;
    }

    .footer-bottom {
        padding-top: 10px !important;
        gap: 5px !important;
    }

    /* Review Platforms Bar - Single row */
    .reviews-platforms-bar {
        padding: 15px 10px !important;
    }

    .platforms-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        justify-content: center !important;
    }

    .platform-btn {
        padding: 8px 10px !important;
        font-size: 0.88rem !important;
        gap: 6px !important;
        white-space: nowrap !important;
    }

    .platform-btn img,
    .platform-btn svg {
        width: 20px !important;
        height: 20px !important;
    }

    .platform-text {
        font-size: 0.82rem !important;
    }

    .mobile-address-wrap {
        flex-direction: column !important;
        gap: 6px !important;
        align-items: flex-start !important;
        /* Corrected to start (right in RTL) */
        text-align: right !important;
        padding: 0 10px !important;
    }
}

/* ========================================
   New Optimization Components Styles
   ======================================== */

/* Google Maps Facade */
.map-facade {
    width: 100%;
    height: 400px;
    background: #f1f3f4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--gray-200);
    padding: 0 !important;
}

.map-facade iframe {
    width: 100% !important;
    height: 100% !important;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.map-placeholder {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.map-facade:hover .map-placeholder {
    transform: scale(1.05);
}

.btn-map-load {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Trustindex Delay */
.trustindex-lazy-container {
    min-height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trustindex-placeholder {
    padding: 40px;
    text-align: center;
    background: #f9fafb;
    border: 1px dashed var(--gray-300);
    border-radius: 12px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.trustindex-lazy-container.loaded .trustindex-placeholder {
    display: none;
}

/* ======= HERSLAW HERO (CSS Background + Gradient) ======= */
.herslaw-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background: #000E31;
}

/* כשיש תמונה — Gradient + Background Image כ-CSS variable */
/* Optimized gradient: Dark under right-aligned text, completely transparent on the left */
.herslaw-hero.has-bg-image {
    background:
        linear-gradient(270deg,
            rgba(0, 14, 49, 0.72) 0%,    /* Dark under right-aligned text for superb contrast */
            rgba(0, 14, 49, 0.45) 45%,   /* Smooth transition */
            rgba(0, 14, 49, 0) 80%),     /* Completely clear from 80% to 100% for maximum image vibrance */
        var(--hero-bg) center center / cover no-repeat;
}

/* מפחית רווח עליון בסקשן התוכן שמיד אחרי ההירו */
.content-section {
    padding-top: 16px;
}

.herslaw-hero__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 30px;
}

.herslaw-hero__text {
    max-width: 100%;
    color: #fff;
}

.herslaw-hero h1 {
    font-size: clamp(2.1rem, 4.8vw, 3rem);
    font-weight: 700;
    margin: 40px 0 16px;
    line-height: 1.4;
    white-space: normal;
    word-break: normal;
    text-align: right;
}

.herslaw-hero__sub {
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.6;
    margin: 0 0 28px;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

/* .herslaw-herosub הוא ה-class בפועל בטמפלייטים — עיצוב ליד .herslaw-hero__sub */
.herslaw-herosub {
    font-family: 'Heebo', sans-serif;
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem);
    font-weight: 700;
    line-height: 1.7;
    max-width: 750px;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    margin: 0 0 24px;
    text-align: right;
}

.herslaw-hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.herslaw-hero__buttons .btn-cta, .hero-cta .btn-cta, .cta-buttons .btn-cta {
    min-width: 190px;
    justify-content: center;
    font-size: 1.125rem;
}

@media (max-width: 767px) {
    .herslaw-hero {
        min-height: 320px;
    }

    .herslaw-hero.has-bg-image {
        background:
            linear-gradient(180deg,
                rgba(0, 14, 49, 0.20) 0%,   /* Reduced opacity at top for color richness */
                rgba(0, 14, 49, 0.45) 100%), /* Under buttons, perfectly readable */
            var(--hero-bg) center center / cover no-repeat;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .herslaw-hero__inner {
        padding: 0 20px 0;
        margin-top: auto;
        width: 100%;
    }

    .herslaw-hero__text {
        max-width: 100%;
    }

    /* כפתורים זה לצד זה בשורה אחת — מצומצמים ברוחב */
    .herslaw-hero__buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .herslaw-hero__buttons .btn-cta {
        flex: 1 1 0;
        padding: 10px 14px;
        font-size: 0.875rem;
        justify-content: center;
    }

    .herslaw-hero h1 {
        font-size: 1.75rem;
    }

    /* ודא שה-hero section מוצג כ-flex-column כדי שה-inner ירד לתחתית */
    .herslaw-hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        margin-top: -5px;
    }

    /* Merged with top definition to avoid redundancy */
    
    .herslaw-hero h1 {
        margin-top: 20px;
        text-align: right !important;
    }
}

/* ========================================
   TEMPLATE DEFAULT STYLES (FROM template-herslaw-default.php)
======================================== */
:root {
    --navy: #001f3f;
    --navy-light: #003366;
    --gold: #D4AF37;
    --gold-light: #F4E4B7;
    --whatsapp: #25D366;
    --green: #10B981;
    --blue: #3B82F6;
    --warning: #F59E0B;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --container: 1200px;
    --sticky-h: 52px;
    --shadow-md: 0 4px 6px rgba(0, 0, 0, .1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, .1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, .15);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header and footer styling inherited from theme (same as front-page) */

.skip-link {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    z-index: 10001;
}

.skip-link:focus {
    top: 10px;
}

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    z-index: 9998;
    transition: width .1s linear;
    will-change: width;
}

/* ========================================
HERO SECTION
======================================== */
.hero-poa {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    padding: 40px 20px;
    color: white;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 48px;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 4px solid var(--gold);
    box-shadow: var(--shadow-xl);
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin: 40px 0 12px;
    line-height: 1.4;
    text-align: right;
}

.hero-summary {
    font-size: 1.25rem;
    line-height: 1.7;
    margin: 0 0 24px;
    opacity: .95;
    font-weight: 700;
    text-align: right;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* No Image Hero Variance */
.hero-layout.no-image {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
}

.hero-layout.no-image .hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-layout.no-image .hero-cta {
    justify-content: center;
}

.hero-layout.no-image .hero-summary {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
JUMP NAVIGATION BAR
======================================== */
.jump-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 998;
    background: white;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* scrolled: maintain white background — text must remain readable */
.jump-nav.scrolled {
    background: white;
    border-bottom-color: var(--gold);
}

.jump-nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 10px;
}

.jump-nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
    padding: 10px 0;
}

.jump-nav-list::-webkit-scrollbar {
    height: 4px;
}

.jump-nav-list::-webkit-scrollbar-track {
    background: transparent;
}

.jump-nav-list::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 2px;
}

.jump-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    text-decoration: none;
    color: var(--navy);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}

.jump-nav-item:hover {
    background: var(--gold-light);
    border-color: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.2);
}

.jump-nav-item.active {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.jump-nav-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* scrolled state: same white background, items stay readable */
.jump-nav.scrolled .jump-nav-item {
    background: var(--gray-50);
    border-color: var(--gray-200);
    color: var(--navy);
}

.jump-nav.scrolled .jump-nav-item:hover,
.jump-nav.scrolled .jump-nav-item.active {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

/* ========================================
BUTTONS (CTA)
======================================== */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    text-decoration: none;
    transition: all .3s var(--ease);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(212, 175, 55, .3);
}

.btn-secondary {
    background: white;
    color: var(--navy);
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* ========================================
CONTENT SECTION
======================================== */
.content-section {
    padding: 24px 20px 48px;
    background: white;
}

/* ודא שבלוקי FAQ שנוצרו אוטומטית יהיו עיצוב וגלויים */
.content-body .faq-wrapper {
    display: block;
    visibility: visible;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Template Mobile Padding Reduction */
@media (max-width: 768px) {
    .content-section {
        padding: 24px 0 48px !important;
    }

    .container {
        padding: 0 15px !important;
    }
}

.content-body h2,
.content-body h3 {
    font-weight: 700;
    color: var(--navy);
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--gold);
}

.content-body h2 {
    font-size: 1.75rem;
    display: block;
}

.content-body h3 {
    font-size: 1.5rem;
    display: inline-block;
}

.content-body h2:first-child,
.content-body h3:first-child {
    margin-top: 0;
}

.content-body p:first-child {
    margin-top: 0;
}

.content-body p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin: 0 0 16px;
    text-align: justify;
}

.content-body ul,
.content-body ol {
    margin: 16px 0;
    padding-right: 24px;
}

.content-body li {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 10px;
    line-height: 1.7;
}

/* ========================================
   TABLE STYLING
======================================== */
.content-body table {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 1.125rem;
}

.content-body table th,
.content-body table td {
    padding: 12px;
    border: 1px solid var(--gray-200);
}

.content-body table th {
    background: var(--gray-50);
    font-weight: 700;
    color: var(--navy);
}

/* ========================================
FEATURE BOXES
======================================== */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.feature-box {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transition: all .3s var(--ease);
    border: 2px solid transparent;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
}

.feature-box.green {
    border-color: var(--green);
}

.feature-box.blue {
    border-color: var(--blue);
}

.feature-box.gold {
    border-color: var(--gold);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.feature-box.green .feature-icon {
    background: var(--green);
    color: white;
}

.feature-box.blue .feature-icon {
    background: var(--blue);
    color: white;
}

.feature-box.gold .feature-icon {
    background: var(--gold);
    color: var(--navy);
}

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 12px;
    border: none !important;
    padding: 0 !important;
}

.feature-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin: 0;
}

/* ========================================
FAQ ACCORDION
======================================== */
.faq-wrapper {
    margin: 48px 0;
    background: var(--gray-50);
    border-radius: 12px;
    padding: 40px 32px;
}

.faq-header {
    text-align: center;
    margin-bottom: 32px;
}

.faq-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px;
    border: none !important;
    padding: 0 !important;
}

.faq-header .icon-question {
    background: var(--gold);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: box-shadow .3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.faq-question {
    width: 100%;
    text-align: right;
    background: white;
    border: none;
    padding: 20px 24px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all .3s ease;
    white-space: normal;
}

.faq-question span {
    flex: 1;
    text-align: right;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question.active {
    background: var(--gold-light);
    color: var(--navy);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    min-width: 24px;
    transition: transform .3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
    padding: 0 24px;
}

.faq-answer.active {
    max-height: 4000px;
    padding: 0 24px 24px;
}

.faq-answer p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin: 0;
    text-align: right;
}

/* ========================================
VIDEO SPOT
======================================== */
.video-spot {
    margin: 48px 0;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.video-spot-header {
    background: rgba(212, 175, 55, 0.15);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--gold);
}

.video-spot-header svg {
    color: var(--gold);
    flex-shrink: 0;
}

.video-spot-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
    margin: 0;
    border: none !important;
    padding: 0 !important;
}

.video-spot-content {
    padding: 28px;
    background: rgba(0, 0, 0, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
ALERT BOXES
======================================== */
.alert-box {
    margin: 24px 0;
    padding: 20px 24px;
    border-radius: 8px;
    border-right: 4px solid;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.alert-box.warning {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-color: var(--warning);
}

.alert-box.info {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    border-color: var(--blue);
}

.alert-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
}

.alert-box.warning .alert-icon {
    background: var(--warning);
    color: white;
}

.alert-box.info .alert-icon {
    background: var(--blue);
    color: white;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    display: block;
    margin-bottom: 4px;
}

.alert-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin: 0;
}

/* ========================================
REVIEWS SECTION
======================================== */
.reviews-section {
    padding: 32px 20px;
    background: var(--gray-50);
    text-align: center;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px;
}

.icon-gold {
    color: var(--gold);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin: 0 0 32px;
}

/* ========================================
FINAL CTA
======================================== */
.final-cta {
    padding: 32px 20px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    line-height: 1.2;
    margin: 0;
}

.final-cta p {
    font-size: clamp(1.225rem, 2.8vw, 1.575rem);
    line-height: 1.2;
    margin: 4px 0 24px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
MOBILE RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .faq-wrapper {
        padding: 24px 12px;
        margin: 32px 0;
    }
    
    .faq-question {
        padding: 16px 14px;
        gap: 12px;
        height: auto;
        min-height: fit-content;
        overflow: visible;
    }
    
    .faq-answer {
        padding: 0 14px;
    }
    
    .faq-answer.active {
        padding: 0 14px 16px;
    }

    .hero-poa {
        padding: 40px 16px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-text {
        padding: 0 4px;
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: row;
        width: 100%;
        gap: 8px;
    }

    .btn-cta {
        flex: 1;
        padding: 10px 14px !important;
        font-size: 0.875rem !important;
    }

    .feature-boxes {
        grid-template-columns: 1fr;
    }

    .video-spot {
        margin: 32px -15px;
        border-radius: 0;
    }

    .jump-nav-container {
        padding: 0 10px;
    }

    /* Match front-page quick-nav: 2-per-row grid, no icons */
    .jump-nav-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        padding: 10px !important;
        white-space: normal !important;
    }

    .jump-nav-item {
        width: 100% !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        font-size: 0.85rem !important;
        background: var(--gray-50) !important;
        border: 1px solid var(--gray-200) !important;
        border-radius: 8px !important;
        padding: 6px 12px !important;
        text-align: right !important;
        color: var(--navy) !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        flex-direction: row !important;
    }

    .jump-nav-item svg {
        display: none !important;
    }

    /* Hero image mobile - optimal placement */
    .hero-poa .hero-layout {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    .hero-poa .hero-image {
        max-width: 100% !important;
        max-height: 200px !important;
        overflow: hidden !important;
        border-radius: 12px !important;
        margin: 0 auto !important;
    }

    .hero-poa .hero-image img {
        width: 100% !important;
        height: 120px !important;
        object-fit: cover !important;
        object-position: top center !important;
    }

    .hero-v3 .hero-image-col {
        max-height: 250px;
        overflow: hidden;
    }
    
    .hero-v3::before {
        background: linear-gradient(to bottom, rgba(0,31,63,0.30) 0%, rgba(0,31,63,0.48) 100%) !important;
    }
    
    .hero-block-desc, .herslaw-herosub {
        font-weight: 700 !important;
        font-size: 1.15rem !important;
        line-height: 1.6 !important;
    }

    /* Related Posts Mobile: Force 2-per-row with smooth fit */
    .related-posts-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .related-post-card {
        padding: 6px !important;
    }

    .related-post-content {
        padding: 8px !important;
    }

    .related-post-content h3 {
        font-size: 0.85rem !important;
        line-height: 1.25 !important;
    }

    .related-post-content p {
        font-size: 0.75rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Tightened Mobile Author Box */
    .article-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px !important;
        padding: 15px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .author-box-section-title {
        display: none !important; /* Hide "About" title in mobile Author Box as requested */
    }

    .author-box-image {
        margin-top: 0 !important;
    }

    .hero-article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    }

    .hero-text-col h1, .hero-v3 h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    .content-section {
        padding: 24px 0 48px !important;
    }
}

/* Lead paragraph for AI optimization */
.lead-paragraph {
    font-size: 1.175rem;
    line-height: 1.8;
}

/* ========================================
ACCESSIBILITY & PRINT
======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* ========================================
   SCROLL-MARGIN — fixed CSS marker above each section
   No JS calculation needed — browser handles natively
   150px = header(80) + quick-nav/jump-nav(~56) + padding(14)
   ======================================== */
#main-services,
#advantages,
#services,
#reviews,
#credentials,
#faq,
#contact,
#articles {
    scroll-margin-top: 150px;
}

/* Template page headings auto-generated by JS get scroll-margin too */
[id^="section-"],
#faq-section,
#video-section {
    scroll-margin-top: 150px;
}

/* Mobile: smaller header (70px), jump-nav takes ~50px */
@media (max-width: 768px) {

    #main-services,
    #advantages,
    #services,
    #reviews,
    #credentials,
    #faq,
    #contact,
    #articles,
    [id^="section-"],
    #faq-section,
    #video-section {
        scroll-margin-top: 130px;
    }
}

/* ========================================
   REVIEWS PLATFORMS BAR (migrated from inline)
   ======================================== */
.reviews-platforms-bar {
    margin-top: 25px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 1px solid #e5e7eb;
}

.reviews-label {
    font-size: 15px;
    color: #4b5563;
    font-weight: 600;
}

.platforms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 50px;
    text-decoration: none !important;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.platform-btn img,
.platform-btn svg {
    display: block;
    width: 18px;
    height: 18px;
    min-width: 18px;
}

.platform-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.platform-btn.google:hover {
    border-color: #4285F4;
    color: #4285F4;
}

.platform-btn.easy:hover {
    border-color: #00AEEF;
    color: #00AEEF;
}

.platform-btn.topper:hover {
    border-color: #FF6600;
    color: #FF6600;
}

@media (min-width: 600px) {
    .reviews-platforms-bar {
        flex-direction: row;
        justify-content: center;
    }

    .reviews-label {
        margin-left: 10px;
    }
}

/* ========================================
   MOBILE ADDRESS ALIGNMENT
   ======================================== */
@media (max-width: 768px) {
    .mobile-address-wrap {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        text-align: right !important;
    }

    /* כתובות משרד — יישור לימין מתחת לכותרת */
    .contact-card-v3 p {
        text-align: right !important;
    }
}

@media print {

    .hero-poa,
    .reviews-section,
    .final-cta,
    .sticky-cta,
    .reading-progress,
    .skip-link,
    .hero-cta,
    .cta-buttons,
    .jump-nav {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
    }

    .content-body h2,
    .content-body h3 {
        page-break-after: avoid;
        border-bottom: 2px solid black;
    }
}

/* Author Box: Tight Unified E-E-A-T Design */
.article-author-box {
    margin-top: 25px;
    margin-bottom: 20px;
    padding: 20px 25px;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    gap: 25px;
    align-items: center;
}

.author-image-wrapper {
    flex-shrink: 0;
}

.author-image-wrapper img {
    border-radius: 4px; /* Square with slight rounding for elegance */
    border: 1px solid var(--gray-200);
    padding: 10;
    background: white;
    width: 100px;
    height: 120px;
    object-fit: cover;
}

.author-box-content {
    flex: 1;
}

.author-name {
    font-size: 1.25rem;
    margin: 0 0 6px;
    color: var(--navy);
    display: flex;
    flex-direction: column;
}

.author-title {
    display: block;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 700;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-bio {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    color: var(--gray-700) !important;
    margin: 0 !important;
}

.author-box-section-title {
    display: none;
}

/* Related Posts */
.related-posts-section {
    background: var(--gray-50);
    padding: 40px 0;
    margin-top: 40px;
    padding-top: 0;
}

.related-posts-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--navy);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
}

.related-post-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    padding: 20px;
}

.related-post-content h3 {
    font-size: 1.1rem;
    margin: 0 0 10px;
    border-bottom: none;
    padding-bottom: 0;
}

.related-post-content h3 a {
    color: var(--navy);
    text-decoration: none;
}

.related-post-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0 0 15px;
    text-align: right;
}

.read-more-link {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}


/* ========================================
   MOBILE RESPONSIVE (Non-Critical)
   ======================================== */

/* ============================================================
   IL PRIVACY & COOKIE CONSENT MOBILE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
    /* Shift the IL Privacy badge to the LEFT side on mobile so it is 100% separated from the right-hand primary contact CTAs */
    .il-privacy-badge,
    #il-privacy-badge,
    .il-privacy-preferences,
    #il-privacy-preferences,
    .il-privacy-trigger,
    #il-privacy-trigger,
    .il-cookie-badge,
    #il-cookie-badge,
    #il-privacy-preferences-badge,
    .il-cookies-trigger,
    #il-cookies-trigger {
        bottom: 80px !important; /* Clears bottom margins perfectly */
        left: 15px !important; /* Shifts badge to the left of the screen */
        right: auto !important; /* Cancels right-aligned layout */
        z-index: 9999 !important; /* Ensures clickability above content */
    }
}
