/* =====================================================================
   site.css — כל העיצוב של האתר הציבורי (v4 שאושר: גווני אדמה וחום בהיר, המבנה של v3. שמות המשתנים נשארו מ-v3).
   להחלפת נראות: קודם המשתנים בסעיף 1. ה-PHP לא צריך שינוי.
   1. משתנים            2. בסיס ורכיבים קטנים (mark, chip, כפתורים, פרחים צפים)
   3. כותרת וניווט        4. hero (דף הבית) + ticker
   5. כותרות סעיפים        6. כרטיסי שירות
   7. גלריה וסינון        8. אודות / תהליך / המלצות
   9. CTA וטופס פנייה      10. עמודים פנימיים (page-hero, prose, עבודה, שירות, צור קשר)
   11. lightbox           12. פוטר + וואטסאפ צף
   13. רספונסיבי           14. נגישות, תנועה, הדפסה
   ===================================================================== */

/* ---------- 1. משתנים ---------- */
:root {
    --leaf: #6B4A33;
    --leaf2: #7A5740;
    --lime: #EBCFA3;
    --lime-soft: #E7EBD5;
    --fuchsia: #B4532A;
    --fuchsia2: #8F3F1E;
    --blush: #F3DDCB;
    --paper: #EFE4D6;
    --ink: #33241A;
    --muted: #6A5546;
    --on-leaf: #F1E3D3;
    --on-leaf-muted: #E6D3BF;
    --line: #D9C6B2;
    --whatsapp: #25D366;
    --error: #B3261E;
    --success: #1E7A46;

    --font-display: 'Secular One', 'Assistant', sans-serif;
    --font-body: 'Assistant', system-ui, sans-serif;
    --fs-base: 19px;

    --pop: 5px 5px 0 var(--leaf);
    --pop-lg: 8px 8px 0 var(--leaf);
    --border: 2.5px solid var(--leaf);
    --radius: 30px;
    --radius-lg: 48px;
    --radius-xl: 64px;
    --arch: 999px 999px 28px 28px;

    --wrap: 1240px;
    --gutter: 28px;
    --sec-y: 110px;
    --header-h: 96px;
}

/* ---------- 2. בסיס ורכיבים קטנים ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -.01em; line-height: 1.1; }
p { margin: 0 0 1em; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--fuchsia2); }
a:hover { color: var(--leaf); }
:focus-visible { outline: 3px solid var(--fuchsia); outline-offset: 3px; border-radius: 6px; }
.site-main { overflow-x: hidden; overflow-x: clip; }
.site-main:focus { outline: none; }
body.nav-open, body.lightbox-open { overflow: hidden; }
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.mark { position: relative; white-space: nowrap; display: inline-block; padding: 0 .14em; color: #fff; z-index: 0; }
.mark::before { content: ""; position: absolute; inset: .1em -.04em .02em; background: var(--fuchsia); border-radius: .18em; transform: rotate(-2deg); z-index: -1; }

.chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; padding: 7px 16px; border-radius: 999px; background: var(--lime); color: var(--leaf); border: 2px solid var(--leaf); line-height: 1.3; text-decoration: none; }
a.chip:hover { color: var(--leaf); background: #F2DDBB; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 30px; border-radius: 999px; font: 800 19px var(--font-body); text-decoration: none; border: var(--border); cursor: pointer; transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translate(-2px, -2px); }
.btn i { font-size: 1.1em; }
.btn--lime, .btn--primary { background: var(--lime); color: var(--leaf); box-shadow: var(--pop); }
.btn--lime:hover, .btn--primary:hover { box-shadow: 7px 7px 0 var(--leaf); color: var(--leaf); }
.btn--fuchsia { background: var(--fuchsia); color: #fff; box-shadow: var(--pop); }
.btn--fuchsia:hover { color: #fff; box-shadow: 7px 7px 0 var(--leaf); }
.btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--line:hover { color: var(--leaf); background: var(--lime); border-color: var(--lime); }
.btn--ghost { background: #fff; color: var(--leaf); box-shadow: var(--pop); }
.btn--ghost:hover { color: var(--leaf); }
.btn--whatsapp { background: var(--whatsapp); color: var(--leaf); box-shadow: var(--pop); }
.btn--whatsapp:hover { color: var(--leaf); }
.btn--sm { min-height: 50px; font-size: 16px; padding: 0 22px; }
.btn--block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.flo { position: absolute; pointer-events: none; z-index: 5; height: auto; filter: drop-shadow(0 18px 22px rgba(80, 52, 32, .35)); animation: sway 7s ease-in-out infinite; }
.flo--b { animation-delay: -2.3s; }
.flo--c { animation-delay: -4.6s; }
@keyframes sway { 0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); } 50% { transform: rotate(calc(var(--r, 0deg) + 4deg)) translateY(-10px); } }

.skip-link { position: absolute; inset-inline-start: 1rem; top: -100px; background: var(--lime); color: var(--leaf); padding: .6rem 1rem; border-radius: 999px; border: var(--border); z-index: 1000; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.empty-note { text-align: center; color: var(--muted); padding: 2rem 0; }

/* ---------- 3. כותרת וניווט ---------- */
.site-header { position: absolute; top: 0; inset-inline: 0; z-index: 30; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { text-decoration: none; color: #fff; display: flex; align-items: center; gap: 12px; }
.brand:hover { color: #fff; }
.brand__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--fuchsia); box-shadow: 0 0 0 4px var(--lime); flex: none; }
.brand__logo { height: 56px; width: auto; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-display); font-size: 36px; line-height: 1; }
.brand__tagline { font-size: 14px; color: var(--lime); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 14px; }
.nav__list { display: flex; gap: 6px; background: rgba(255, 255, 255, .1); padding: 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); list-style: none; margin: 0; }
.nav__link { display: block; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; padding: 9px 18px; border-radius: 999px; }
.nav__link:hover, .nav__link.is-active { background: var(--lime); color: var(--leaf); }
.header-cta { min-height: 50px; font-size: 16px; padding: 0 22px; }
.nav-toggle { display: none; width: 50px; height: 50px; border-radius: 50%; background: var(--lime); border: var(--border); box-shadow: 3px 3px 0 var(--leaf); cursor: pointer; position: relative; z-index: 120; padding: 0; }
.nav-toggle__bar { display: block; width: 22px; height: 2.5px; background: var(--leaf); margin: 4px auto; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 4. hero (דף הבית) + ticker ---------- */
.hero { background: var(--leaf); color: #fff; border-radius: 0 0 var(--radius-xl) var(--radius-xl); padding: 150px 0 110px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; left: -200px; top: -180px; background: var(--leaf2); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(54px, 7vw, 104px); line-height: 1.02; margin: 22px 0 26px; color: #fff; }
.hero__subtitle { font-size: 21px; max-width: 520px; color: var(--on-leaf); margin: 0 0 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__facts { display: flex; gap: 10px 26px; flex-wrap: wrap; margin: 34px 0 0; padding: 0; list-style: none; font-weight: 700; font-size: 16px; color: var(--lime); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__stage { position: relative; height: 620px; }
.hero__arch { position: absolute; right: 70px; top: 0; width: 380px; height: 560px; border-radius: 190px 190px 28px 28px; overflow: hidden; border: 10px solid var(--lime); background: var(--leaf2); }
.hero__arch img, .hero__pill img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero__pill { position: absolute; left: 0; bottom: 30px; width: 230px; height: 300px; border-radius: 999px; overflow: hidden; border: 8px solid #fff; transform: rotate(-8deg); background: var(--leaf2); }
.hero__badge { position: absolute; left: 30px; top: 20px; width: 150px; height: 150px; border-radius: 50%; background: var(--fuchsia); display: grid; place-items: center; z-index: 6; }
.hero__badge svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.hero__badge b { font-family: var(--font-display); font-weight: 400; font-size: 30px; color: #fff; line-height: 1; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__stage .f1 { width: 250px; top: -40px; right: -10px; --r: 14deg; }
.hero__stage .f2 { width: 150px; bottom: -30px; right: 280px; --r: -20deg; }
.hero__stage .f3 { width: 120px; top: 180px; left: 200px; --r: 25deg; z-index: 4; }

.ticker-wrap { overflow: hidden; margin-top: -56px; padding: 26px 0; position: relative; z-index: 8; }
.ticker { background: var(--lime); border-block: var(--border); margin: 0 -20px; transform: rotate(-1.6deg); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: tick 32s linear infinite; }
.ticker__group { font-family: var(--font-display); font-size: 40px; color: var(--leaf); padding: 16px 0; display: inline-flex; align-items: center; white-space: nowrap; }
.ticker__item { padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; }
.ticker__item svg { width: 30px; height: 30px; color: var(--fuchsia); }
@keyframes tick { to { transform: translateX(50%); } }

/* ---------- 5. כותרות סעיפים ---------- */
.section { padding: var(--sec-y) 0; position: relative; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 50px; }
.section__title { font-size: clamp(42px, 5vw, 72px); line-height: 1; }
.section__lead { max-width: 420px; margin: 0; color: var(--muted); font-size: 19px; }
.section__foot { margin-top: 48px; display: flex; justify-content: center; }
.section--green { background: var(--leaf); border-radius: var(--radius-xl); margin: 0 16px; color: #fff; }
.section--green .section__title { color: #fff; }
.section--green .section__lead { color: var(--on-leaf-muted); }
.section--spaced { margin-top: var(--sec-y); }
.section--blush { background: var(--blush); border-block: var(--border); }

/* ---------- 6. כרטיסי שירות ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: #FAF4EC; border: var(--border); border-radius: 34px; padding: 14px 14px 26px; color: var(--ink); transition: transform .2s, box-shadow .2s; position: relative; display: flex; flex-direction: column; }
.service-card:hover { transform: translate(-4px, -4px); box-shadow: var(--pop-lg); }
.service-card--alt { background: var(--blush); }
.service-card--lime { background: var(--lime-soft); }
.service-card__media { height: 270px; border-radius: 120px 120px 22px 22px; overflow: hidden; background: var(--blush); }
.service-card__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .5s; }
.service-card:hover .service-card__img { transform: scale(1.06); }
.service-card__num { position: absolute; top: 24px; left: 24px; width: 52px; height: 52px; border-radius: 50%; background: var(--fuchsia); color: #fff; font: 400 24px var(--font-display); display: grid; place-items: center; border: var(--border); }
.service-card__body { display: flex; flex-direction: column; flex: 1; }
.service-card__title { font-size: 30px; margin: 20px 12px 4px; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: 34px; }
.service-card__text { margin: 0 12px; color: var(--muted); font-size: 17px; }
.service-card__more { display: none; }
.service-card--no-media { padding-top: 80px; }

/* ---------- 7. גלריה וסינון ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 800 16px var(--font-body); cursor: pointer; background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .4); text-decoration: none; }
.filter-chip:hover { border-color: var(--lime); color: var(--lime); }
.filter-chip.is-active, .filter-chip[aria-pressed="true"] { background: var(--lime); color: var(--leaf); border-color: var(--lime); }
.filter-chip__count { font-size: 13px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 18px; }
.gallery__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--leaf2); }
.gallery__item[hidden] { display: none; }
.gallery__link { display: block; width: 100%; height: 100%; color: inherit; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s; }
.gallery__item:hover .gallery__img { transform: scale(1.07); }
.gallery__caption { position: absolute; bottom: 14px; right: 14px; max-width: calc(100% - 28px); background: var(--lime); color: var(--leaf); font-weight: 800; font-size: 15px; line-height: 1.3; padding: 7px 15px; border-radius: 999px; border: 2px solid var(--leaf); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-arch { border-radius: 200px 200px 30px 30px; }
.gallery--light .gallery__item { border: var(--border); background: var(--blush); }
.gallery__link[data-lightbox-item] { cursor: zoom-in; }

/* ---------- 8. אודות / תהליך / המלצות ---------- */
.about-teaser__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.about-art { position: relative; height: 560px; }
.about-art__big { position: absolute; inset: 0 40px 0 60px; border-radius: 999px 999px 40px 40px; overflow: hidden; border: var(--border); box-shadow: 12px 12px 0 var(--fuchsia); background: var(--blush); }
.about-art__big img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-teaser__title { font-size: clamp(46px, 5.4vw, 78px); line-height: 1; margin: 18px 0 24px; }
.about-teaser__text p { font-size: 21px; margin: 0 0 16px; }
.about-teaser__text .btn { margin-top: 14px; }

.process__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; }
.process__step { padding: 34px 28px; border-inline-start: 2.5px dashed rgba(80, 52, 32, .35); }
.process__step:first-child { border: 0; }
.process__num { display: block; font: 400 92px/1 var(--font-display); color: var(--fuchsia); -webkit-text-stroke: 2.5px var(--leaf); }
.process__title { font-size: 28px; margin: 10px 0 6px; }
.process__text { margin: 0; color: var(--muted); font-size: 17px; }

.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 30px; }
.testimonial { margin: 0; background: #fff; border: var(--border); border-radius: 34px; box-shadow: var(--pop-lg); padding: 34px 30px; display: flex; flex-direction: column; gap: 16px; }
.testimonial:nth-child(3n+2) { background: var(--blush); }
.testimonial:nth-child(3n) { background: var(--lime-soft); }
.testimonial__media { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; border: var(--border); }
.testimonial__img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__text { margin: 0; font-size: 19px; }
.testimonial__text::before { content: "\201D"; display: block; font: 400 70px/0.6 var(--font-display); color: var(--fuchsia); margin-bottom: 10px; }
.testimonial__name { font-family: var(--font-display); font-size: 22px; }
.testimonial__meta { display: block; font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--muted); }

/* ---------- 9. CTA וטופס פנייה ---------- */
.cta-band { background: var(--fuchsia); border: var(--border); border-radius: var(--radius-lg); box-shadow: 12px 12px 0 var(--leaf); padding: 64px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; color: #fff; }
.cta-band__title { font-size: clamp(46px, 5vw, 74px); line-height: 1; color: #fff; }
.cta-band__title .mark::before { background: var(--leaf); }
.cta-band__text p { font-size: 21px; margin: 18px 0 28px; color: #fff; }
.cta-band__phone { font-size: 22px; min-height: 68px; }
.cta-band--simple { grid-template-columns: 1fr auto; padding: 48px 56px; }

.lead-form { background: #FAF4EC; border: var(--border); border-radius: 32px; padding: 26px; color: var(--ink); }
.lead-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-label { font-weight: 800; font-size: 15px; }
.req { color: var(--fuchsia); }
.form-input, .form-select, .form-textarea { width: 100%; min-height: 52px; border-radius: 16px; border: 2px solid var(--line); padding: 0 14px; font: 400 17px var(--font-body); color: var(--ink); background: #fff; }
.form-textarea { min-height: 90px; padding: 12px 14px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: 3px solid var(--lime); border-color: var(--leaf); }
.form-input[dir="ltr"] { text-align: right; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.form-error { color: var(--error); font-size: 15px; font-weight: 700; margin: 0; }
.form-error--block { background: #FDECEA; border: 2px solid var(--error); padding: 10px 14px; border-radius: 16px; margin-bottom: 14px; }
.form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.form-actions .btn { width: 100%; }
.form-note { color: var(--muted); font-size: 14px; margin: 0; text-align: center; }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-success { background: #fff; border: var(--border); border-radius: 32px; padding: 40px 28px; text-align: center; color: var(--ink); box-shadow: var(--pop-lg); }
.form-success > i { font-size: 54px; color: var(--success); margin-bottom: 12px; }
.form-success h2 { font-size: 40px; margin-bottom: 10px; }
.form-success a { color: var(--fuchsia2); font-weight: 800; }

/* ---------- 10. עמודים פנימיים ---------- */
.page-hero { background: var(--leaf); color: #fff; border-radius: 0 0 var(--radius-xl) var(--radius-xl); padding: 150px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; left: -220px; top: -260px; background: var(--leaf2); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__title { font-size: clamp(46px, 6vw, 88px); line-height: 1.02; margin: 18px 0 16px; color: #fff; max-width: 15ch; }
.page-hero__lead { font-size: 21px; max-width: 620px; color: var(--on-leaf); margin: 0; }
.page-hero .flo { width: 190px; left: 6%; bottom: -40px; --r: -14deg; }
.page-hero .flo[src*="cotton-branch"], .page-hero .flo[src*="dried-eucalyptus"], .page-hero .flo[src*="pampas"], .page-hero .flo[src*="wheat-bundle"] { width: 120px; bottom: -90px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 15px; font-weight: 700; }
.breadcrumbs li { color: var(--on-leaf-muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; opacity: .6; }
.breadcrumbs a { color: var(--lime); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }

.prose { max-width: 72ch; font-size: 19px; }
.prose h2 { font-size: 38px; margin: 1.3em 0 .4em; }
.prose h3 { font-size: 28px; margin: 1.2em 0 .4em; }
.prose ul, .prose ol { padding-inline-start: 1.3rem; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--fuchsia); }
.prose img { border-radius: 22px; border: var(--border); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; background: var(--blush); border: var(--border); border-radius: 24px; font-family: var(--font-display); font-size: 24px; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 2px solid var(--line); padding: 8px 12px; }
.prose a { font-weight: 700; }

.content-page { display: grid; gap: 70px; align-items: start; }
.content-page--has-media { grid-template-columns: .9fr 1.1fr; }
.content-page__media { position: relative; height: 560px; }
.content-page__media .about-art__big { inset: 0 20px 0 30px; }
.content-page__body { background: #fff; border: var(--border); border-radius: 34px; box-shadow: var(--pop-lg); padding: 44px 48px; }
.content-page:not(.content-page--has-media) .content-page__body { max-width: 860px; margin: 0 auto; width: 100%; }

.work-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 40px; padding: 0; }
.work-meta__item { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: var(--border); border-radius: 999px; padding: 8px 18px; box-shadow: 3px 3px 0 var(--leaf); }
.work-meta dt { font-size: 14px; color: var(--muted); font-weight: 700; }
.work-meta dd { margin: 0; font-weight: 800; }
.work-meta a { color: var(--fuchsia2); }
.work-layout { display: block; }
.work-layout__text { margin-top: 56px; }
.work-layout--single { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.work-layout--single .work-layout__text { margin-top: 0; }
.gallery--single { grid-template-columns: 1fr; grid-auto-rows: 600px; }
.gallery--single .gallery__item { box-shadow: 12px 12px 0 var(--fuchsia); }
.gallery--related .gallery__item.g-tall { grid-row: span 1; }
.work-description { margin: 0 0 30px; }
.work-cta { margin-top: 64px; }

.service-detail { display: grid; gap: 70px; align-items: center; }
.service-detail--has-media { grid-template-columns: .9fr 1.1fr; }
.service-detail__media { position: relative; height: 540px; }
.service-detail__body .prose { margin-bottom: 30px; }
.work-cta__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.contact-card { background: var(--fuchsia); color: #fff; border: var(--border); border-radius: var(--radius-lg); box-shadow: 12px 12px 0 var(--leaf); padding: 44px 36px; position: relative; }
.contact-card__title { font-size: 46px; line-height: 1; margin-bottom: 16px; }
.contact-card__intro { color: #fff; font-size: 19px; }
.contact-card__list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-card__link, .contact-card__line { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 21px; }
.contact-card__link:hover { color: var(--lime); }
.contact-card__link i, .contact-card__line i { width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--leaf); display: grid; place-items: center; font-size: 18px; border: 2px solid var(--leaf); flex: none; }
.contact-card .flo { width: 140px; top: -90px; left: -30px; --r: -20deg; }

.notfound { text-align: center; }
.notfound .hero__actions { justify-content: center; }

/* ---------- 11. lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(40, 26, 17, .95); display: flex; align-items: center; justify-content: center; padding: 64px 72px 56px; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 22px; border: 4px solid var(--lime); }
.lightbox__caption { color: #fff; margin-top: 12px; font-weight: 700; text-align: center; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; width: 54px; height: 54px; border-radius: 50%; background: var(--lime); color: var(--leaf); border: var(--border); box-shadow: 3px 3px 0 #000; cursor: pointer; font-size: 20px; display: grid; place-items: center; }
.lightbox__close { top: 16px; inset-inline-end: 16px; }
.lightbox__prev { inset-inline-start: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { inset-inline-end: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__counter { position: absolute; bottom: 18px; inset-inline: 0; text-align: center; color: var(--on-leaf-muted); font-weight: 700; font-size: 15px; }
.lightbox--single .lightbox__prev, .lightbox--single .lightbox__next, .lightbox--single .lightbox__counter { display: none; }

/* ---------- 12. פוטר + וואטסאפ צף ---------- */
.site-footer { background: var(--leaf); color: var(--on-leaf-muted); padding: 64px 0 34px; font-size: 16px; margin-top: var(--sec-y); border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer__brand { font-family: var(--font-display); font-size: 40px; color: #fff; line-height: 1; margin-bottom: 8px; }
.footer__tagline { color: var(--lime); font-weight: 700; margin: 0 0 8px; }
.footer__area { margin: 0; }
.footer__title { font-family: var(--font-display); font-size: 22px; color: #fff; margin-bottom: 12px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-weight: 700; }
.footer__links i { width: 1.3rem; color: var(--lime); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; font-size: 15px; }
.footer__copy, .footer__legal { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px; }
.credit a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .9); font-size: 13px; }
.credit img { height: 16px; width: auto; }
.home .site-footer, .page-contact .site-footer { margin-top: var(--sec-y); }

.wa-float { position: fixed; bottom: 22px; left: 22px; z-index: 40; width: 66px; height: 66px; border-radius: 50%; background: var(--whatsapp); border: var(--border); box-shadow: var(--pop); display: grid; place-items: center; color: #fff; font-size: 34px; text-decoration: none; transition: transform .15s; }
.wa-float:hover { transform: translate(-2px, -2px); color: #fff; }
body.nav-open .wa-float, body.lightbox-open .wa-float { display: none; }

/* באנר העוגיות (includes/ga_consent.php) בפלטה של האתר */
body .gac { background: var(--leaf); color: #fff; border-top: var(--border); box-shadow: 0 -8px 0 var(--lime); font-family: var(--font-body); }
body .gac-txt { font-size: 16px; }
body .gac-txt a, body .gac-more { color: var(--lime); }
body .gac-btn { background: var(--lime); color: var(--leaf); border: 2px solid var(--leaf); border-radius: 999px; box-shadow: 3px 3px 0 #000; font-weight: 800; }
body .gac-btn2 { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
body .gac-opts { border-top-color: rgba(255, 255, 255, .2); }
/* מקום לכפתור הנגישות (OpenNagish, פינה ימנית תחתונה) כדי שלא יסתיר את כפתורי הבאנר */
body .gac-in { padding-inline-start: 92px; }

/* ---------- 13. רספונסיבי ---------- */
@media (max-width: 980px) {
    :root { --sec-y: 80px; --header-h: 84px; }
    .work-layout--single { grid-template-columns: 1fr; gap: 40px; }
    .gallery--single { grid-auto-rows: 460px; }
    .hero__inner, .about-teaser__inner, .cta-band, .content-page--has-media, .service-detail--has-media, .contact-grid { grid-template-columns: 1fr; }
    .cta-band--simple { grid-template-columns: 1fr; }
    .hero__stage { height: 560px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .process__list { grid-template-columns: 1fr 1fr; }
    .process__step:nth-child(3) { border: 0; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 40px 24px; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__col--brand { grid-column: 1 / -1; }

    .nav-toggle { display: block; }
    .nav { position: fixed; inset: 0; z-index: 110; background: var(--leaf); flex-direction: column; justify-content: center; gap: 28px; padding: 100px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
    .nav-open .nav { opacity: 1; visibility: visible; }
    .nav__list { flex-direction: column; align-items: stretch; background: none; border: 0; padding: 0; gap: 8px; width: min(100%, 360px); }
    .nav__link { font-family: var(--font-display); font-weight: 400; font-size: 30px; text-align: center; padding: 10px 20px; }
    .header-cta { min-height: 60px; font-size: 19px; }
    .site-header__inner > .header-cta--desktop { display: none; }
}
@media (min-width: 981px) {
    .nav .header-cta { display: none; }
}
@media (max-width: 600px) {
    :root { --gutter: 18px; --sec-y: 64px; --fs-base: 18px; --header-h: 76px; }
    .brand__name { font-size: 30px; }
    .brand__tagline { font-size: 13px; }
    .hero { padding: 110px 0 90px; border-radius: 0 0 40px 40px; }
    .hero__title { font-size: clamp(48px, 14vw, 64px); margin: 16px 0 18px; }
    .hero__subtitle { font-size: 19px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__stage { height: 470px; }
    .hero__arch { width: 250px; height: 380px; right: 20px; border-radius: 125px 125px 22px 22px; }
    .hero__pill { width: 160px; height: 210px; bottom: 20px; }
    .hero__badge { width: 110px; height: 110px; top: -10px; left: auto; right: -4px; }
    .hero__badge b { font-size: 22px; }
    .hero__stage .f1 { width: 170px; right: -30px; }
    .hero__stage .f2 { width: 110px; right: 170px; }
    .hero__stage .f3 { display: none; }
    .ticker__group { font-size: 28px; }
    .services-grid, .process__list { grid-template-columns: 1fr; }
    .process__step { border: 0; border-top: 2.5px dashed rgba(80, 52, 32, .35); padding: 26px 8px; }
    .process__step:first-child { border-top: 0; }
    .gallery { grid-auto-rows: 170px; gap: 12px; }
    .gallery__caption { font-size: 13px; padding: 5px 11px; bottom: 10px; right: 10px; }
    .section--green { margin: 0 8px; border-radius: 40px; }
    .lead-form { padding: 18px; }
    .lead-form .form-row { grid-template-columns: 1fr; }
    .about-art, .content-page__media, .service-detail__media { height: 420px; }
    .about-art__big { inset: 0 24px 0 30px; }
    .page-hero { padding: 110px 0 60px; border-radius: 0 0 40px 40px; }
    .page-hero .flo { width: 120px; left: -10px; bottom: -30px; }
    .content-page__body { padding: 28px 22px; }
    .cta-band__phone { font-size: 19px; }
    .btn { min-height: 56px; font-size: 18px; padding: 0 24px; }
    .contact-card { padding: 34px 22px; }
    .contact-card__title { font-size: 38px; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .lightbox { padding: 64px 8px 84px; }
    .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
    .wa-float { width: 58px; height: 58px; font-size: 30px; bottom: 16px; left: 16px; }
}

/* ---------- 14. נגישות, תנועה, הדפסה ---------- */
@media (prefers-reduced-motion: reduce) {
    .flo, .ticker__track, .hero__badge svg { animation: none !important; }
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
    .site-header, .site-footer, .wa-float, .cta-band, .lightbox, .flo, .ticker-wrap { display: none !important; }
    .hero, .page-hero { background: none; color: #000; padding: 20px 0; }
}

/* ---------- 15. תיקוני QA (27.10.2026): פרחים לא נוגעים בטקסט, שכבות, ריווח ----------
   הפרחים ניתנים להחלפה מהניהול (גם תמונה שהועלתה), ולכן כל מיקום מקבל "קופסה" קבועה
   (רוחב + גובה + object-fit) במקום להסתמך על יחס-הגובה של קובץ מסוים.
   !important נדרש רק כדי לגבור על style מוטבע שמגיע מה-PHP. */
.flo { object-fit: contain; }

/* כותרת עמוד פנימי: הפרח בפינה השמאלית התחתונה, בתוך ריפוד התחתית */
.page-hero .flo, .page-hero .flo[src] { width: 190px; height: 230px; left: 5%; bottom: -36px; object-position: center bottom; }

/* פס ה-CTA: הדלפיניום תלוי מחוץ לפינה השמאלית העליונה, בתוך הריפוד בלבד (לא על הטופס) */
.cta-band > .flo { width: 96px !important; height: 280px !important; top: -150px !important; left: -58px !important; object-position: center top; }

/* כרטיס צור קשר: הוורד מעל הפינה, בחוץ */
.contact-card > .flo { width: 130px; height: 140px; top: -96px; left: -34px; object-position: center bottom; }

/* פרח מעל גלריית "מהאירועים האחרונים" בבית */
.section--green > .flo { width: 105px !important; height: 260px !important; top: -170px !important; object-position: center top; }

/* פרחים ליד תמונות (אודות, עמוד תוכן, שירות): תקרת גובה למקרה של תמונה מוארכת */
.about-art > .flo, .content-page__media > .flo, .service-detail__media > .flo { max-height: 300px; }

/* עבודה בודדת בלי תיאור: עמודה אחת ממורכזת במקום חצי מסך ריק ליד התמונה */
.work-layout--single:not(:has(.work-description)) { grid-template-columns: minmax(0, 760px); justify-content: center; gap: 36px; }
.work-layout--single:not(:has(.work-description)) .work-cta__actions { justify-content: center; }
.work-layout--single:not(:has(.work-description)) .gallery--single { grid-auto-rows: 540px; }
/* "עוד עבודות": תמיד שורה מלאה (wide + 2 = 4 עמודות; בנייד 2+1+1) */
.gallery--related .gallery__item:nth-child(n+4) { display: none; }

/* בית/צור קשר: הסעיף האחרון כבר מסתיים בריפוד, בלי עוד מרווח לפני הפוטר */
.home .site-footer, .page-contact .site-footer { margin-top: 0; }

/* באנר העוגיות: מתחת לתפריט הנייד הפתוח ול-lightbox; הוואטסאפ הצף עולה מעליו כשהוא מוצג */
body.nav-open .gac, body.lightbox-open .gac { z-index: 20 !important; }
body:has(#gacBar) .wa-float { bottom: calc(var(--gac-h, 150px) + 14px); }

@media (max-width: 980px) {
    .cta-band > .flo, .contact-card > .flo { display: none !important; }
    .page-hero .flo, .page-hero .flo[src] { width: 100px; height: 120px; left: 2%; bottom: -40px; }
}
@media (max-width: 600px) {
    .page-hero .flo, .page-hero .flo[src] { width: 64px; height: 64px; left: 2px; bottom: -8px; }
    .section--green > .flo { width: 46px !important; height: 170px !important; top: -130px !important; left: 3% !important; }
    .work-layout--single:not(:has(.work-description)) .gallery--single { grid-auto-rows: 420px; }
    /* hero בנייד: החותמת עוברת לשמאל הקשת (השטח הפנוי מעל תמונת הגלולה), הפיוני נשאר מימין למעלה */
    .hero__badge { width: 100px; height: 100px; top: 18px; left: 2px; right: auto; }
}

/* ---------- 16. פוטר (27.10.2026): פרח בפינה, ובנייד פוטר קומפקטי וממורכז ---------- */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; top: -34px; left: 3%; width: 84px; height: 96px; background: url("/assets/img/decor/rose-rust.webp") center bottom / contain no-repeat; transform: rotate(-14deg); filter: drop-shadow(0 12px 14px rgba(40, 26, 17, .35)); pointer-events: none; }

@media (max-width: 700px) {
    .site-footer { padding: 44px 0 112px; text-align: center; }
    .site-footer::before { top: -30px; left: 10px; width: 62px; height: 72px; }
    .footer__grid { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-bottom: 24px; }
    .footer__col { width: 100%; }
    .footer__brand { font-size: 38px; margin-bottom: 4px; }
    .footer__tagline { margin: 0; }
    .footer__area { margin-top: 4px; }
    /* כותרות העמודות נשארות לקוראי מסך בלבד */
    .footer__title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
    .footer__links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 0; font-size: 17px; }
    .footer__links:not(.footer__contact) li + li::before { content: "•"; color: var(--lime); margin: 0 12px; }
    .footer__contact { gap: 10px; }
    .footer__contact li { flex: 1 1 140px; max-width: 200px; }
    .footer__contact a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 16px; border-radius: 999px; background: var(--lime); color: var(--leaf); border: var(--border); box-shadow: 3px 3px 0 #000; font-weight: 800; font-size: 17px; white-space: nowrap; }
    .footer__contact a:hover { color: var(--leaf); transform: translate(-1px, -1px); }
    .footer__contact a i { width: auto; color: var(--leaf); font-size: 18px; }
    .footer__bottom { flex-direction: column; justify-content: center; gap: 8px; padding-top: 18px; font-size: 14px; text-align: center; }
    .footer__legal { justify-content: center; gap: 4px 8px; }
}
