/* ==========================================================================
   ארטל – פתרונות ריהוט למשרד
   דף נחיתה. עברית, RTL.
   ========================================================================== */

/* ---------- 1. טוקנים ---------- */

:root {
    --navy-900: #0f2033;
    --navy-800: #14263b;
    --navy-700: #1b2d42;
    --navy-600: #24384f;

    --gold-600: #b18a45;
    --gold-500: #c9a05c;
    --gold-400: #d9b776;
    --gold-300: #e7ce9c;

    --ink: #16263a;
    --body: #4e5a6b;
    --muted: #7a8797;
    --line: #e4e7ec;
    --line-soft: #eef0f3;

    --bg: #ffffff;
    --bg-soft: #f4f5f7;
    --card: #ffffff;

    --danger: #c0392b;
    --success: #1f7a4d;

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(16, 32, 51, .06);
    --shadow: 0 4px 18px rgba(16, 32, 51, .08);
    --shadow-lg: 0 18px 50px rgba(16, 32, 51, .18);

    --container: 1200px;
    --header-h: 74px;

    --display: "Rubik", "Assistant", "Segoe UI", system-ui, sans-serif;
    --text: "Assistant", "Rubik", "Segoe UI", system-ui, sans-serif;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. בסיס ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--display);
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.015em;
}

p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

a {
    color: inherit;
    text-decoration: none;
    transition: color .18s var(--ease);
}

button { font: inherit; color: inherit; }

:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 2px;
    border-radius: 3px;
}

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

[hidden] { display: none !important; }

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    inset-inline-start: 16px;
    top: -60px;
    z-index: 200;
    background: var(--navy-800);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 3. כפתורים ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.0625rem;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s var(--ease), border-color .2s var(--ease),
                transform .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-gold {
    background: var(--gold-400);
    color: #2a2113;
    box-shadow: 0 2px 10px rgba(177, 138, 69, .25);
}
.btn-gold:hover { background: var(--gold-300); transform: translateY(-2px); }
.btn-gold:active { transform: translateY(0); }

.btn-outline-light {
    background: transparent;
    border-color: rgba(233, 214, 178, .55);
    color: #f3ede2;
}
.btn-outline-light:hover { border-color: var(--gold-400); color: #fff; background: rgba(217, 183, 118, .12); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 1.125rem; }

/* ---------- 4. Header ---------- */

/* עוגן "דף הבית" – נקודה בגובה אפס בראש הדף.
   על ה-header עצמו זה לא עבד: הוא sticky, ולכן תמיד "כבר בראש המסך". */
#top {
    display: block;
    height: 0;
    scroll-margin-top: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: var(--header-h);
}

/* לוגו */
.logo { display: flex; flex-direction: column; align-items: flex-start; flex: none; }
.logo-word {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: .12em;
    color: var(--navy-800);
    direction: ltr;
    line-height: 1;
}
.logo-word .a { color: var(--gold-500); }
.logo-tag {
    font-size: .6875rem;
    color: var(--muted);
    letter-spacing: .01em;
    margin-top: 4px;
}

/* ניווט */
.main-nav { flex: 1; }
.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list a {
    font-size: .9375rem;
    color: var(--ink);
    font-weight: 600;
    padding: 6px 0;
    position: relative;
}
.nav-list a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    background: var(--gold-500);
    transform: scaleX(0);
    transition: transform .22s var(--ease);
}
.nav-list a:hover { color: var(--gold-600); }
.nav-list a:hover::after { transform: scaleX(1); }

/* טלפון */
.header-phone {
    display: flex;
    align-items: center;
    gap: 11px;
    flex: none;
}
.header-phone .icon-ring {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    color: var(--gold-500);
    flex: none;
}
.header-phone .icon-ring svg { width: 26px; height: 26px; }
.header-phone .num {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink);
    direction: ltr;
    line-height: 1.15;
}
.header-phone .label { font-size: .8125rem; color: var(--muted); line-height: 1.2; }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 8px;
    cursor: pointer;
    color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- 5. Hero ---------- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 560px;
    padding-block: 72px;
    overflow: hidden;
    background: var(--navy-900);
    isolation: isolate;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to right,
        rgba(15, 32, 51, 0) 0%,
        rgba(15, 32, 51, .35) 34%,
        rgba(15, 32, 51, .84) 62%,
        rgba(15, 32, 51, .95) 100%);
}

.hero-content { max-width: 560px; }
.hero h1 {
    font-size: clamp(2.1rem, 5.1vw, 3.5rem);
    line-height: 1.13;
    color: #fff;
    margin-bottom: 22px;
}
.hero h1 .accent { color: var(--gold-400); display: block; }
.hero-lead {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.0625rem, 1.9vw, 1.25rem);
    color: #fff;
    margin-bottom: 14px;
}
.hero-text {
    color: rgba(233, 238, 244, .82);
    font-size: 1.0625rem;
    max-width: 480px;
    margin-bottom: 30px;
}

/* ---------- 6. רצועת יתרונות ---------- */

.features {
    background: var(--navy-700);
    padding-block: 40px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.feature {
    text-align: center;
    padding: 6px 26px;
    position: relative;
}
.feature + .feature::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 14%;
    height: 72%;
    width: 1px;
    background: rgba(201, 160, 92, .3);
}
.feature-icon { color: var(--gold-400); margin: 0 auto 12px; }
.feature-icon svg { width: 38px; height: 38px; margin-inline: auto; stroke-width: 1.4; }
.feature h3 {
    color: #fff;
    font-size: 1.0625rem;
    margin-bottom: 6px;
}
.feature p {
    color: rgba(217, 226, 235, .78);
    font-size: .9375rem;
    line-height: 1.55;
}

/* ---------- 7. סקשן ראשי: טופס + למה ארטל ---------- */

.quote-section {
    padding-block: 56px 64px;
    background: var(--bg);
}
.quote-grid {
    display: grid;
    /* בעמוד RTL העמודה הראשונה היא הימנית: "למה ארטל" מימין, הטופס משמאל */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.62fr);
    gap: 26px;
    align-items: start;
}
.quote-form { grid-column: 2; grid-row: 1; }
.quote-why  { grid-column: 1; grid-row: 1; }

.panel {
    background: var(--bg-soft);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 34px 32px 36px;
}

.panel-head { text-align: center; margin-bottom: 26px; }
.panel-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 8px;
}
.panel-head p { color: var(--muted); font-size: .9688rem; }

/* --- שדות טופס --- */

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.field { position: relative; }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="date"] {
    width: 100%;
    height: 54px;
    padding: 20px 15px 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    font-family: var(--text);
    font-size: 1rem;
    color: var(--ink);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input::placeholder { color: transparent; }
.field input:hover { border-color: #cfd6de; }
.field input:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(201, 160, 92, .18);
}

.field label {
    position: absolute;
    inset-inline-start: 16px;
    top: 16px;
    font-size: 1rem;
    color: var(--muted);
    pointer-events: none;
    transition: transform .16s var(--ease), font-size .16s var(--ease), color .16s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
    transform: translateY(-11px);
    font-size: .75rem;
    color: var(--gold-600);
}
.field .req { color: var(--danger); }

.field-date { position: relative; }
.field-date input[type="date"] { padding-top: 6px; padding-bottom: 6px; }
.field-date .cal-icon {
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}
.field-date .cal-icon svg { width: 20px; height: 20px; }
.field-date input::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }

.field-label {
    display: block;
    font-family: var(--display);
    font-weight: 600;
    font-size: .9688rem;
    color: var(--ink);
    margin: 22px 0 10px;
}

/* --- כמות עמדות --- */

.size-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.size-options input { position: absolute; opacity: 0; pointer-events: none; }
.size-options label {
    display: grid;
    place-items: center;
    min-height: 50px;
    padding: 6px 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: var(--display);
    font-weight: 600;
    font-size: .9375rem;
    color: var(--ink);
    cursor: pointer;
    transition: border-color .18s var(--ease), background-color .18s var(--ease), transform .18s var(--ease);
}
.size-options label:hover { border-color: var(--gold-400); transform: translateY(-1px); }
.size-options input:checked + label {
    border-color: var(--gold-500);
    background: linear-gradient(180deg, #fdf7ea, #faf1de);
    box-shadow: inset 0 0 0 1px var(--gold-500);
}
.size-options input:focus-visible + label { outline: 3px solid var(--gold-500); outline-offset: 2px; }

/* --- קטגוריות (מה אתם צריכים) --- */

.needs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.need { position: relative; }
.need input { position: absolute; opacity: 0; pointer-events: none; }

.need-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    height: 100%;
    min-height: 124px;
    padding: 18px 8px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
                transform .2s var(--ease), background-color .2s var(--ease);
}
.need-card:hover {
    border-color: var(--gold-400);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.need-card .need-icon { color: var(--navy-700); transition: color .2s var(--ease); }
.need-card .need-icon svg { width: 34px; height: 34px; stroke-width: 1.4; }
.need-card .need-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: .875rem;
    line-height: 1.35;
    color: var(--ink);
}
.need-card .need-count {
    font-size: .75rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 4px;
}
.need-card .need-count svg { width: 13px; height: 13px; }

.need input:checked ~ .need-card {
    border-color: var(--gold-500);
    background: linear-gradient(180deg, #fdf8ec, #f9efdc);
    box-shadow: inset 0 0 0 1px var(--gold-500);
}
.need input:checked ~ .need-card .need-icon { color: var(--gold-600); }
.need input:focus-visible ~ .need-card { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.need-check {
    position: absolute;
    inset-block-start: 8px;
    inset-inline-end: 8px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--gold-500);
    color: #fff;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: scale(.5);
    transition: opacity .18s var(--ease), transform .22s var(--ease);
}
.need-check svg { width: 12px; height: 12px; stroke-width: 3; }
.need input:checked ~ .need-card .need-check { opacity: 1; transform: scale(1); }

/* --- אזור העלאת קובץ --- */

.dropzone {
    display: block;
    border: 1.5px dashed #cdd4dd;
    border-radius: var(--radius);
    background: #fff;
    padding: 26px 18px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.dropzone:hover, .dropzone.is-over {
    border-color: var(--gold-500);
    background: #fdfaf3;
}
.dropzone input[type="file"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dropzone .dz-icon { color: var(--navy-600); margin-bottom: 8px; }
.dropzone .dz-icon svg { width: 30px; height: 30px; margin-inline: auto; stroke-width: 1.4; }
.dropzone .dz-main { font-size: .9375rem; color: var(--ink); }
.dropzone .dz-hint { font-size: .8125rem; color: var(--muted); margin-top: 3px; }
.dropzone .dz-file {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .9375rem;
    color: var(--success);
    font-weight: 600;
}
.dropzone .dz-file svg { width: 16px; height: 16px; }
.dropzone.has-file .dz-idle { display: none; }
.dropzone.has-file .dz-file { display: flex; }

.form-submit { margin-top: 22px; }

.form-note {
    margin-top: 12px;
    font-size: .8125rem;
    color: var(--muted);
    text-align: center;
}

/* הודעות טופס */
.alert {
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: .9375rem;
    margin-bottom: 20px;
    border: 1px solid;
}
.alert-error { background: #fdf1f0; border-color: #f2c7c2; color: #8e2c20; }
.alert-success { background: #eefaf3; border-color: #b9e5cd; color: #14603a; }
.alert ul { margin: 6px 0 0; padding-inline-start: 18px; }

/* --- למה ארטל --- */

.why-head { text-align: center; margin-bottom: 30px; }
.why-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.why-head .rule {
    width: 60px; height: 3px;
    background: var(--gold-500);
    border-radius: 2px;
    margin: 12px auto 0;
}

.why-list { display: grid; gap: 24px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-badge {
    width: 56px; height: 56px;
    flex: none;
    border-radius: 50%;
    background: var(--navy-800);
    color: var(--gold-400);
    display: grid;
    place-items: center;
}
.why-badge svg { width: 27px; height: 27px; stroke-width: 1.4; }
.why-item h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.why-item p { font-size: .9375rem; line-height: 1.6; }

/* ---------- 8. פרויקטים ---------- */

.projects { padding-block: 54px 62px; background: var(--bg); }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.125rem); }
.section-head .rule {
    width: 68px; height: 3px;
    background: var(--gold-500);
    border-radius: 2px;
    margin: 14px auto 0;
}

.carousel { position: relative; }
.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4 * 18px) / 5);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-block-end: 6px;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.project-card { scroll-snap-align: start; }
.project-card .thumb {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-soft);
    box-shadow: var(--shadow-sm);
}
.project-card .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.project-card:hover .thumb img { transform: scale(1.05); }
.project-card h3 {
    font-size: 1rem;
    text-align: center;
    margin-top: 14px;
}
.project-card .city {
    font-size: .875rem;
    color: var(--muted);
    text-align: center;
    margin-top: 2px;
}

.carousel-btn {
    position: absolute;
    top: 38%;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 2;
    transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-btn:hover { background: var(--navy-800); color: var(--gold-400); border-color: var(--navy-800); }
.carousel-btn[disabled] { opacity: .35; cursor: default; }
.carousel-btn[disabled]:hover { background: #fff; color: var(--ink); border-color: var(--line); }
.carousel-prev { inset-inline-start: -18px; }
.carousel-next { inset-inline-end: -18px; }

/* ---------- 9. רצועת CTA ---------- */

.cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 2.4fr) minmax(0, 1.15fr);
    background: var(--navy-800);
    align-items: stretch;
}
.cta-media { grid-column: 3; grid-row: 1; min-height: 230px; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }

.cta-main {
    grid-column: 2;
    grid-row: 1;
    padding: 46px 44px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cta-main h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-main p {
    color: rgba(219, 227, 236, .82);
    max-width: 520px;
    margin-bottom: 24px;
}

.cta-whats {
    grid-column: 1;
    grid-row: 1;
    padding: 40px 34px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
}
.cta-whats::after {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    top: 22%;
    height: 56%;
    width: 1px;
    background: rgba(201, 160, 92, .32);
}
.cta-whats .wa-mark { color: #fff; margin-bottom: 10px; }
.cta-whats .wa-mark svg { width: 52px; height: 52px; }
.cta-whats h3 { color: #fff; font-size: 1.1875rem; }
.cta-whats p { color: rgba(219, 227, 236, .78); font-size: .9375rem; margin-bottom: 14px; }

/* ---------- 10. Footer ---------- */

.site-footer {
    background: var(--navy-800);
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: rgba(214, 223, 232, .82);
    padding-block: 46px 0;
    font-size: .9375rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}
.footer-brand { grid-column: 4; }
.footer-brand .logo-word { color: #fff; font-size: 1.9rem; }
.footer-brand .logo-tag { color: rgba(214, 223, 232, .7); }
.footer-brand p { margin-top: 16px; line-height: 1.65; max-width: 300px; }

/* לוגואים של מותגים שאנחנו מייצגים – על צ'יפ בהיר כדי שייקראו על הכחול */
.brand-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    margin-top: 30px;
    padding: 0;
    list-style: none;
}
.brand-logos li { flex: 1 1 118px; max-width: 168px; }

/* הכותרת למעלה, הלוגו מתחתיה – והצ'יפים מיושרים לתחתית גם אם כותרת נשברת לשתי שורות */
.brand-logos a {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 7px;
    height: 100%;
}
.bl-name {
    font-family: var(--display);
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    color: #fff;
    transition: color .2s var(--ease);
}
.bl-chip {
    display: grid;
    place-items: center;
    height: 66px;
    padding: 9px 12px;
    background: #fff;
    border-radius: var(--radius-sm);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.brand-logos a:hover .bl-name,
.brand-logos a:focus-visible .bl-name { color: var(--gold-400); }
.brand-logos a:hover .bl-chip,
.brand-logos a:focus-visible .bl-chip {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
}
.brand-logos img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-footer h4 {
    color: #fff;
    font-size: 1.0625rem;
    margin-bottom: 14px;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list a:hover { color: var(--gold-400); }

.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 19px; height: 19px; color: var(--gold-400); flex: none; }
.footer-contact .ltr { direction: ltr; }
.footer-contact a:hover { color: var(--gold-400); }

.footer-bottom {
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-block: 16px 18px;
    text-align: center;
    font-size: .875rem;
    color: rgba(196, 207, 219, .7);
}
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- 11. גלריית מוצרים נפתחת ---------- */

/* נפתחת מתחת לכפתורי הקטגוריות, בתוך הטופס */
.needs-gallery {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
    transition: grid-template-rows .34s var(--ease), opacity .24s var(--ease), margin-top .34s var(--ease);
}
.needs-gallery.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 12px;
}
.ng-inner { overflow: hidden; min-height: 0; }

.ng-card {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold-500);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.ng-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line-soft);
    background: linear-gradient(180deg, #fdfaf3, #fff);
}
.ng-icon { color: var(--gold-600); flex: none; }
.ng-icon svg { width: 26px; height: 26px; stroke-width: 1.4; }
.ng-titles { flex: 1; min-width: 0; }
.ng-titles h3 { font-size: 1.0625rem; }
.ng-titles p { font-size: .8125rem; color: var(--muted); }
.ng-close {
    flex: none;
    width: 32px; height: 32px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 50%;
    color: var(--muted);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: color .18s var(--ease), border-color .18s var(--ease);
}
.ng-close svg { width: 14px; height: 14px; stroke-width: 2; }
.ng-close:hover { color: var(--ink); border-color: #c6cfd8; }

.ng-body { padding: 16px; background: var(--bg-soft); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 12px;
}
.gallery-tile {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: zoom-in;
    text-align: start;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.gallery-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--gold-400);
}
.gallery-tile .g-thumb { display: block; aspect-ratio: 4 / 3; background: #eef1f4; }
.gallery-tile .g-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-tile .g-name {
    display: block;
    padding: 8px 10px 10px;
    font-size: .8125rem;
    font-weight: 600;
    font-family: var(--display);
    color: var(--ink);
    line-height: 1.35;
}

.gallery-empty { text-align: center; padding: 30px 18px; color: var(--muted); font-size: .9375rem; }
.gallery-empty svg { width: 36px; height: 36px; margin: 0 auto 10px; color: #b9c2cd; }
.gallery-loading { text-align: center; padding: 30px 18px; color: var(--muted); font-size: .9375rem; }

.ng-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid var(--line-soft);
    background: #fff;
}
.ng-foot .btn-gold { flex: 1; }
.ng-foot .btn { padding: 12px 22px; font-size: 1rem; }
.btn-ghost {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--body);
    flex: none;
}
.btn-ghost:hover { border-color: #c3ccd6; background: var(--bg-soft); }

/* הכפתור שהגלריה שלו פתוחה */
.need input:not(:checked) ~ .need-card.is-viewing {
    border-color: var(--gold-400);
    box-shadow: inset 0 0 0 1px var(--gold-400);
}

/* מציג תמונה מוגדלת */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(7, 15, 25, .93);
    padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
    max-width: 100%;
    max-height: 84vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.lightbox-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 26px;
    text-align: center;
    color: rgba(240, 244, 248, .9);
    font-size: .9375rem;
}
.lb-btn {
    position: absolute;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color .18s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 24px; inset-inline-end: 24px; }
.lb-prev { inset-inline-start: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 24px; top: 50%; transform: translateY(-50%); }


@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 12. חשיפה בגלילה ---------- */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 13. רספונסיבי ---------- */

@media (max-width: 1080px) {
    .nav-list { gap: 18px; }
    .nav-list a { font-size: .875rem; }
    .quote-grid { grid-template-columns: 1fr; }
    .quote-form { grid-column: 1; grid-row: 1; }
    .quote-why  { grid-column: 1; grid-row: 2; }
    .carousel-track { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
    .carousel-prev { inset-inline-start: -10px; }
    .carousel-next { inset-inline-end: -10px; }
    .needs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    :root { --header-h: 66px; }

    .nav-toggle { display: grid; place-items: center; }
    .main-nav {
        position: fixed;
        inset-block-start: var(--header-h);
        inset-inline: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        padding: 10px 20px 18px;
        display: none;
    }
    .main-nav.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list li + li { border-top: 1px solid var(--line-soft); }
    .nav-list a { display: block; padding: 13px 2px; }
    .nav-list a::after { display: none; }

    .header-inner { justify-content: space-between; gap: 12px; }
    .header-phone .num { font-size: 1.0625rem; }
    .header-phone .label { display: none; }
    .logo-word { font-size: 1.45rem; }

    .hero { min-height: 480px; padding-block: 54px; }
    .hero::before {
        background: linear-gradient(to right,
            rgba(15, 32, 51, .74) 0%, rgba(15, 32, 51, .88) 50%, rgba(15, 32, 51, .96) 100%);
    }

    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
    .feature:nth-child(odd)::after { display: none; }

    .panel { padding: 26px 20px 30px; }
    .field-row { grid-template-columns: 1fr; }
    .size-options { grid-template-columns: repeat(3, 1fr); }
    .needs-grid { grid-template-columns: repeat(2, 1fr); }

    .carousel-track { grid-auto-columns: calc((100% - 18px) / 2); }

    .cta-band { grid-template-columns: 1fr; }
    .cta-media { grid-column: 1; grid-row: 1; min-height: 190px; }
    .cta-main { grid-column: 1; grid-row: 2; padding: 34px 22px; }
    .cta-whats { grid-column: 1; grid-row: 3; padding: 8px 22px 34px; }
    .cta-whats::after { inset-inline: 22px; inset-block-start: 0; top: 0; height: 1px; width: auto; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .footer-brand { grid-column: 1 / -1; grid-row: 1; }
    .footer-brand p { max-width: none; }

    .ng-foot { flex-wrap: wrap; }
    .ng-foot .btn { width: 100%; flex: none; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 10px; }
    .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
}

@media (max-width: 520px) {
    .carousel-track { grid-auto-columns: 82%; }
    .carousel-btn { display: none; }
    .hero h1 { font-size: 2rem; }
    .size-options { gap: 8px; }
    .size-options label { font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .carousel-track { scroll-behavior: auto; }
}

@media print {
    .site-header, .cta-band, .needs-gallery, .lightbox, .carousel-btn { display: none !important; }
}
