/* ===== Shilat Haramot – styles ===== */
:root {
  --navy: #05152F;
  --navy-2: #0c2348;
  --navy-3: #16325f;
  --red: #BC210F;
  --red-dark: #9a1a0b;
  --wa: #0f7a3d;          /* darker WhatsApp green: white text passes AA */
  --wa-dark: #0b6331;
  --text: #2b2f36;
  --muted: #5b6270;
  --line: #CCD6DF;
  --soft: #f3f6f9;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .14);
  --header-h: 72px;
  --container: 1180px;
  --font: "Heebo", "Arial Hebrew", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 860px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #ffb000; outline-offset: 3px; border-radius: 4px; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, transform .15s; line-height: 1.2; white-space: nowrap; }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .95em 1.6em; font-size: 1.08rem; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-outline-light { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: var(--white); box-shadow: 0 2px 14px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand img { width: 118px; height: auto; }
.main-nav { margin-inline-start: 8px; }
.header-phone { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; text-decoration: none; font-weight: 500; border-radius: 8px; color: #e6ecf5; }
.main-nav a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.header-phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: var(--red); padding: 8px 18px 8px 14px; border-radius: 999px; }
.header-phone:hover { background: var(--red-dark); }
.header-phone svg { width: 22px; height: 22px; }
.header-phone-text { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone-text small { font-size: .75rem; opacity: .9; }
.header-phone-text b { font-size: 1.1rem; letter-spacing: .02em; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); width: 44px; height: 44px; cursor: pointer; padding: 0; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; margin: auto; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1060px) {
  .main-nav a { padding: 8px 8px; font-size: .95rem; }
}
@media (max-width: 899px) {
  :root { --header-h: 62px; }
  .header-inner { gap: 10px; }
  .brand img { width: 96px; }
  .menu-toggle { display: block; order: -1; margin-inline-start: -8px; }
  .header-phone { margin-inline-start: auto; padding: 7px 14px 7px 12px; }
  .header-phone-text small { display: none; }
  .header-phone-text b { font-size: 1rem; }
  .main-nav { position: absolute; top: 100%; inset-inline: 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); display: none; margin: 0; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 12px 16px; }
  .main-nav a { padding: 12px; font-size: 1.05rem; }
}
@media (max-width: 380px) {
  .brand img { width: 80px; }
  .header-phone svg { display: none; }
}

/* ===== Hero ===== */
.hero { position: relative; color: var(--white); isolation: isolate; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 50% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(5,21,47,.92) 0%, rgba(5,21,47,.75) 45%, rgba(5,21,47,.35) 100%); }
.hero-bg { z-index: -2; }
.hero-inner { padding-block: 80px 128px; min-height: 540px; display: flex; align-items: center; }
.hero-text { max-width: 640px; }
.hero-ctas { margin-top: 28px; }
.hero-note { margin: 14px 0 0; color: #c9d4e4; font-size: .95rem; }
.eyebrow { display: inline-block; font-weight: 700; color: var(--white); background: var(--red); padding: 4px 12px; border-radius: 999px; font-size: .9rem; margin-bottom: 18px; }
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero-chips .eyebrow { margin-bottom: 0; }
.rating-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--white); text-decoration: none; background: rgba(5,21,47,.55); border: 1px solid rgba(255,255,255,.35); }
.rating-chip b { font-weight: 800; }
.rating-chip-stars { color: #ffc53d; font-size: 1rem; line-height: 1; }
.rating-chip:hover { background: rgba(5,21,47,.8); border-color: rgba(255,255,255,.6); }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); font-weight: 800; margin-bottom: .4em; }
.hero h1 span { color: #e7edf6; font-weight: 700; font-size: .62em; display: inline-block; margin-top: .25em; }
.hero-lead { font-size: 1.15rem; max-width: 34em; color: #e7edf6; }


@media (max-width: 899px) {
  .hero::after { background: linear-gradient(180deg, rgba(5,21,47,.6) 0%, rgba(5,21,47,.85) 55%, rgba(5,21,47,.95) 100%); }
  .hero-inner { padding-block: 40px 100px; min-height: 0; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-lead { font-size: 1.05rem; }
}

/* ===== Badges ===== */
.badges-wrap { position: relative; z-index: 2; margin-top: -64px; }
.badges { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--navy); color: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 12px; }
.badges li { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 10px; border-inline-start: 1px solid rgba(255,255,255,.12); }
.badges li:first-child { border-inline-start: 0; }
.badges svg { width: 42px; height: 42px; color: #ff8a7a; margin-bottom: 6px; }
.badges b { font-size: 1.1rem; }
.badges span { font-size: .88rem; color: #b9c6da; }
@media (max-width: 899px) {
  .badges-wrap { margin-top: -56px; }
  .badges { grid-template-columns: repeat(2, 1fr); gap: 16px 0; padding: 20px 8px; margin-inline: 16px; width: auto; }
  .badges li { border: 0; }
  .badges li:last-child { grid-column: 1 / -1; }
  .badges svg { width: 34px; height: 34px; }
}

/* ===== Sections ===== */
.section { padding-block: 88px; }
.kicker { color: var(--red); font-weight: 800; letter-spacing: .02em; margin-bottom: .4em; font-size: 1rem; }
.kicker-light { color: #ff9a8c; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 40em; }
@media (max-width: 899px) { .section { padding-block: 60px; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.about-media { margin: 0; }
.checks { margin: 8px 0 28px; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 34px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-media { max-width: 420px; }
}

/* Services */
.services { background: var(--navy); color: var(--white); position: relative; }
.services h2 { color: var(--white); }
.services .section-lead { color: #c4cfdf; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.service { border: 1px solid rgba(204,214,223,.35); border-radius: var(--radius); padding: 26px 22px; background: rgba(255,255,255,.03); }
.service svg { width: 44px; height: 44px; color: #ff8a7a; margin-bottom: 14px; }
.service h3 { color: var(--white); }
.service p { color: #c4cfdf; margin: 0; font-size: .98rem; }
.services-note { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--navy-2); border-radius: var(--radius); padding: 22px 26px; border: 1px solid rgba(255,138,122,.45); }
.services-note p { margin: 0; max-width: 46em; color: #e2e9f3; }
.services-note b { color: var(--white); }
@media (max-width: 1060px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px 18px; }
  .service svg { grid-row: span 2; margin: 0; width: 40px; height: 40px; }
  .service h3 { margin-bottom: .25em; }
}

/* How */
.how { background: var(--soft); }
.how { padding-block: 56px; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; background: var(--white); border-radius: 12px; padding: 16px 18px; }
.step-num { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: var(--white); font-weight: 800; font-size: 1.1rem; }
.steps h3 { margin: 0 0 .15em; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.5; }
@media (max-width: 899px) { .how { padding-block: 44px; } .steps { grid-template-columns: 1fr; gap: 10px; } }

/* Gallery */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.gallery-head .section-lead { margin: 0; }
.strip-arrows { display: flex; gap: 10px; flex: none; }
.strip-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.strip-btn:hover { border-color: var(--navy); }
.strip-btn:disabled { opacity: .35; cursor: default; }
.strip-btn svg { width: 22px; height: 22px; }
.gallery-grid { display: flex; gap: 12px; margin-top: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.gallery-grid li { flex: 0 0 calc((100% - 48px) / 4.6); scroll-snap-align: start; }
.gallery-grid button { display: block; width: 100%; padding: 0; border: 0; background: var(--soft); border-radius: 10px; overflow: hidden; cursor: zoom-in; }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .3s; }
.gallery-grid img.pos-top { object-position: 50% 20%; }
.gallery-grid button:hover img { transform: scale(1.04); }
@media (max-width: 899px) {
  .strip-arrows { display: none; }
  .gallery-grid { margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; gap: 10px; }
  .gallery-grid li { flex-basis: 62%; }
}

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5,21,47,.92); }
.lightbox-figure { margin: 0; }
.lightbox-figure img { max-width: 92vw; max-height: 88vh; width: auto; border-radius: 8px; }
.lightbox-close, .lightbox-nav { position: fixed; background: rgba(255,255,255,.14); color: var(--white); border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox-close { top: 16px; inset-inline-end: 16px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { inset-inline-start: 16px; }
.lightbox-next { inset-inline-end: 16px; }

/* Reviews */
.reviews { background: var(--white); }
.gallery { background: var(--soft); }
.reviews-grid { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.rating-card { background: var(--red); color: var(--white); border-radius: var(--radius); padding: 32px 28px; position: sticky; top: calc(var(--header-h) + 20px); box-shadow: var(--shadow); }
.rating-card h2 { color: var(--white); margin: 0; }
.rating-card .kicker { color: var(--white); }
.score { font-size: 4.2rem; font-weight: 800; line-height: 1; }
.stars { color: #ffd34d; font-size: 1.4rem; letter-spacing: 3px; margin: 6px 0 4px; }
.rating-card > p:not(.kicker):not(.stars) { color: #ffe3df; }
.review-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.review { background: var(--soft); border-radius: var(--radius); padding: 24px; border: 1px solid #e3e9ef; display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 12px; flex: 1; }
.review blockquote p { margin: 0; font-size: 1.02rem; }
.review .who { margin: 0; font-weight: 700; color: var(--navy); font-size: .95rem; }
.review .who::before { content: "★★★★★"; color: #e0a800; display: block; font-size: .85rem; letter-spacing: 2px; margin-bottom: 2px; }
@media (max-width: 899px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .rating-card { position: static; text-align: center; }
  .review-list { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-list { margin-top: 28px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.faq details[open] { border-color: var(--navy-3); box-shadow: 0 4px 16px rgba(5,21,47,.07); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--navy); font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 500; color: var(--red); line-height: 1; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Contact */
.contact { background: var(--navy); color: var(--white); }
.contact h2 { color: var(--white); }
.contact .section-lead { color: #c4cfdf; }
.contact { padding-block: 64px; text-align: center; }
.contact .section-lead { margin-inline: auto; }
.contact .btn-row { justify-content: center; }
@media (max-width: 899px) {
  .contact { padding-block: 48px; }
  .contact .btn-row .btn { flex: 1 1 100%; }
}

/* Footer */
.site-footer { background: #030d1e; color: #9fb0c8; font-size: .95rem; }
.footer-inner { padding-block: 22px 16px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 10px 40px; }
.footer-contact li { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.35; color: var(--white); font-weight: 700; }
.footer-contact span { color: #8fa1bb; font-weight: 400; font-size: .82rem; }
.footer-contact a { color: var(--white); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-block: 12px 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-logo { width: 72px; height: auto; }
.footer-bottom nav { margin-inline-end: auto; }
@media (min-width: 900px) { .footer-bottom { padding-inline-end: 100px; } } /* keep © clear of the floating WhatsApp button */
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer nav a { color: #d5deeb; }
@media (max-width: 899px) {
  .footer-inner { padding-block: 18px 12px; }
  .footer-contact { display: grid; gap: 6px; }
  .footer-contact li { flex-direction: row; align-items: baseline; gap: 10px; font-size: .95rem; }
  .footer-contact span { flex: 0 0 76px; }
  .footer-bottom { padding-block: 10px 14px; gap: 8px 16px; }
  .footer-logo { width: 60px; }
}

/* ===== Sticky contact ===== */
.sticky-bar { display: none; }
.wa-float { position: fixed; z-index: 90; bottom: 24px; inset-inline-end: 24px; width: 62px; height: 62px; border-radius: 50%; background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
/* Sticky buttons stay hidden while the hero's own call/WhatsApp buttons are on screen (set by main.js) */
.wa-float, .sticky-bar { transition: transform .25s ease, opacity .25s ease, visibility 0s linear 0s; }
.cta-docked .wa-float { transform: scale(.6); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s; }
.cta-docked .sticky-bar { transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.wa-float svg { width: 34px; height: 34px; }

@media (max-width: 899px) {
  .wa-float { display: none; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .sticky-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; z-index: 95; inset-inline: 0; bottom: 0; padding-bottom: env(safe-area-inset-bottom); background: var(--navy); box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
  .sticky-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 64px; color: var(--white); font-weight: 800; font-size: 1.08rem; text-decoration: none; }
  .sticky-bar svg { width: 24px; height: 24px; }
  .sticky-call { background: var(--red); }
  .sticky-wa { background: var(--wa); }
}

/* ===== Legal pages ===== */
.legal { padding-block: 56px 80px; }
.legal h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); font-weight: 800; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal ul { list-style: disc; padding-inline-start: 1.4em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal .updated { color: var(--muted); }
.legal .narrow { max-width: 720px; }
