/* ===== Warm palette & tokens ===== */
:root {
  --clr-bg: #fcf8f1;           /* soft warm ivory */
  --clr-bg-alt: #f4ead9;
  --clr-surface: #ffffff;
  --clr-ink: #2a2017;
  --clr-ink-soft: #6f6052;
  --clr-primary: #b4692c;      /* warm bronze */
  --clr-primary-dark: #8f5120;
  --clr-accent: #d99a3d;       /* honey gold — matches logo */
  --clr-accent-soft: #eecfa0;
  --clr-line: #ecdfcb;
  --clr-shadow: rgba(120, 76, 28, 0.13);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --header-h: 86px;

  --font: "Assistant", "Heebo", system-ui, "Segoe UI", Arial, sans-serif;
  --font-head: "Heebo", "Assistant", system-ui, sans-serif;

  --shadow-sm: 0 4px 16px var(--clr-shadow);
  --shadow-md: 0 12px 34px var(--clr-shadow);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font);
  color: var(--clr-ink);
  background: var(--clr-bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

.section { padding: 92px 0; }
.section-alt { background: var(--clr-bg-alt); }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--clr-primary);
  font-size: 14px;
  margin-bottom: 10px;
}

.divider {
  display: block;
  width: 64px; height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  border-radius: 4px;
  margin: 14px 0 22px;
}
.divider.center { margin-inline: auto; }

.section-head { text-align: center; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s ease, box-shadow .2s ease, transform .12s ease,
              border-color .2s ease, color .2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--clr-accent); outline-offset: 3px; }

/* Primary — solid, with a soft branded shadow and a subtle top highlight */
.btn-primary {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18),
              0 1px 2px rgba(58,32,14,.18),
              0 10px 22px -12px rgba(161,90,43,.7);
}
.btn-primary:hover {
  background: var(--clr-primary-dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18),
              0 2px 4px rgba(58,32,14,.2),
              0 14px 28px -12px rgba(161,90,43,.75);
}

/* Directional arrow on link CTAs (RTL → points left) */
a.btn-primary::after,
a.btn-ghost::after {
  content: "←";
  font-size: 17px;
  line-height: 1;
  transition: transform .2s ease;
}
a.btn-primary:hover::after,
a.btn-ghost:hover::after { transform: translateX(-4px); }

/* Ghost — refined outline for dark backgrounds */
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: #fff;
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.85); }

/* Header CTA — compact solid */
.btn-header {
  background: var(--clr-primary); color: #fff; padding: 10px 20px; font-size: 15px;
  border-radius: 9px;
  box-shadow: 0 6px 16px -10px rgba(161,90,43,.8);
}
.btn-header:hover { background: var(--clr-primary-dark); }

.btn-block { width: 100%; padding-block: 15px; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0;
  height: var(--header-h);
  background: rgba(251, 246, 239, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(90,58,30,.08);
  border-bottom-color: var(--clr-line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 60px; width: auto; display: block; }

.main-nav { display: flex; gap: 6px; margin-inline-start: auto; }
.main-nav a {
  padding: 9px 15px; border-radius: 8px; font-weight: 600; font-size: 16px;
  color: var(--clr-ink); transition: background .15s, color .15s;
}
.main-nav a:hover, .main-nav a.active { background: rgba(161,90,43,.1); color: var(--clr-primary); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--clr-ink); border-radius: 3px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding-top: var(--header-h);
  background-color: #3a281c;
  background-image:
    radial-gradient(1000px 520px at 85% -10%, rgba(217,154,61,.30), transparent 60%),
    linear-gradient(to left, rgba(34,23,14,.90) 0%, rgba(42,29,18,.70) 42%, rgba(48,33,20,.44) 100%),
    url("../assets/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(255,255,255,.06) 0, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 59h60M59 0v60' stroke='%23ffffff' stroke-opacity='.04' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content { position: relative; max-width: 720px; padding: 40px 0; }
.hero-eyebrow {
  font-weight: 700; letter-spacing: .12em; text-transform: none;
  color: var(--clr-accent-soft); margin-bottom: 16px; font-size: 15px;
}
.hero h1 { font-size: clamp(38px, 7vw, 68px); font-weight: 900; line-height: 1.05; }
.hero h1 span { color: var(--clr-accent-soft); font-weight: 700; }
.hero-lead { font-size: clamp(17px, 2.2vw, 21px); margin: 22px 0 34px; color: rgba(255,255,255,.9); max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; inset-block-end: 26px; inset-inline-start: 50%; transform: translateX(50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px;
}
.scroll-cue::before {
  content: ""; position: absolute; inset-block-start: 8px; inset-inline-start: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: #fff; border-radius: 3px; animation: scrolldot 1.6s infinite;
}
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-image-inner {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 4 / 4.4; background: var(--clr-bg-alt);
  border: 6px solid #fff;
}
.about-image-inner img { width: 100%; height: 100%; object-fit: cover; }
.about-image-inner.img-fallback {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--clr-accent-soft), var(--clr-bg-alt));
}
.about-image-inner.img-fallback::after {
  content: "שי אלימלך"; font-family: var(--font-head); font-weight: 700;
  color: var(--clr-primary-dark); font-size: 22px; opacity: .7;
}
.about-text h2 { font-size: clamp(26px, 3.6vw, 38px); }
.about-text p { margin-bottom: 16px; color: var(--clr-ink-soft); }
.about-text blockquote {
  margin-top: 22px; padding-inline-start: 18px; border-inline-start: 4px solid var(--clr-accent);
  font-family: var(--font-head); font-style: italic; font-size: 19px; color: var(--clr-primary-dark);
}

/* ===== Services (horizontal cards, distinct layout) ===== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  position: relative; display: flex; gap: 20px; align-items: flex-start;
  background: var(--clr-surface); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--clr-line);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
/* gold accent bar on the inline-start edge, grows on hover */
.service-card::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
  width: 4px; background: linear-gradient(var(--clr-primary), var(--clr-accent));
  transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--clr-accent-soft); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  color: var(--clr-primary-dark);
  background: linear-gradient(135deg, rgba(217,154,61,.18), rgba(180,105,44,.12));
  border: 1px solid rgba(180,105,44,.14);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--clr-primary-dark); }
.service-card p { color: var(--clr-ink-soft); font-size: 15.5px; }

/* ===== Appraisals list ===== */
.appraisals-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.appraisals-intro h2 { font-size: clamp(26px, 3.6vw, 38px); }
.appraisals-intro p { color: var(--clr-ink-soft); margin-bottom: 16px; }
.appraisals-note {
  background: var(--clr-bg-alt); border-radius: var(--radius-sm); padding: 16px 18px;
  border-inline-start: 4px solid var(--clr-accent); font-size: 15.5px; margin-bottom: 26px !important;
}
.appraisals-list { list-style: none; display: grid; gap: 12px; }
.appraisals-list li {
  display: flex; align-items: center; gap: 16px;
  background: var(--clr-surface); border: 1px solid var(--clr-line);
  border-radius: var(--radius-sm); padding: 15px 18px;
  box-shadow: 0 2px 10px rgba(90,58,30,.05);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.appraisals-list li:hover { transform: translateX(-4px); border-color: var(--clr-accent-soft); box-shadow: var(--shadow-sm); }
.appraisals-list .ap-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  color: var(--clr-primary-dark);
  background: linear-gradient(135deg, rgba(217,154,61,.18), rgba(180,105,44,.12));
  border: 1px solid rgba(180,105,44,.14);
}
.appraisals-list .ap-icon svg { width: 23px; height: 23px; }
.appraisals-list strong { display: block; color: var(--clr-primary-dark); font-size: 16px; }
.appraisals-list small { display: block; color: var(--clr-ink-soft); font-size: 13.5px; line-height: 1.5; margin-top: 2px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3.6vw, 38px); }
.contact-info > p { color: var(--clr-ink-soft); margin-bottom: 26px; }
.contact-list { list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.ci-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  color: var(--clr-primary-dark);
  background: linear-gradient(135deg, rgba(217,154,61,.18), rgba(180,105,44,.12));
  border: 1px solid rgba(180,105,44,.14); flex-shrink: 0;
}
.ci-icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--clr-ink-soft); font-size: 13px; }
.contact-list a { font-weight: 700; font-size: 17px; color: var(--clr-ink); }
.contact-list a:hover { color: var(--clr-primary); }

.contact-form-wrap {
  background: var(--clr-surface); border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow-md); border: 1px solid var(--clr-line);
}
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-weight: 600; font-size: 15px; color: var(--clr-ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: inherit; font-size: 16px; padding: 12px 14px;
  border: 1.6px solid var(--clr-line); border-radius: var(--radius-sm);
  background: var(--clr-bg); color: var(--clr-ink); transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--clr-primary); box-shadow: 0 0 0 3px rgba(161,90,43,.14);
}
.contact-form textarea { resize: vertical; }
/* Honeypot — visually hidden without causing RTL horizontal overflow */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; white-space: nowrap;
  clip: rect(0 0 0 0); clip-path: inset(50%);
}
.form-status { font-weight: 600; font-size: 15px; min-height: 4px; }
.form-status.ok { color: #2e7d4f; }
.form-status.err { color: #b3402e; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--clr-surface); border: 1px solid var(--clr-line);
  border-radius: var(--radius-sm); box-shadow: 0 2px 10px rgba(90,58,30,.05);
  overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: var(--clr-accent-soft); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--clr-ink);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px; font-weight: 400;
  color: var(--clr-primary); background: rgba(161,90,43,.1);
  transition: transform .25s ease, background .2s ease, color .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--clr-primary); color: #fff; }
.faq-item summary:hover { color: var(--clr-primary); }
.faq-answer { padding: 0 22px 20px; }
.faq-answer p { color: var(--clr-ink-soft); margin: 0; }

/* ===== Footer ===== */
.site-footer { background: #2f2118; color: #efe4d6; padding-top: 56px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 66px; width: auto; display: block; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a, .footer-contact a { color: #d8c9b8; font-weight: 500; transition: color .15s; }
.footer-nav a:hover, .footer-contact a:hover, .legal-nav a:hover { color: var(--clr-accent-soft); }
.footer-contact { display: flex; flex-direction: column; gap: 4px; text-align: start; }
.footer-bottom { padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: #b7a692; font-size: 14px; }
.legal-nav { display: flex; gap: 18px; }
.legal-nav a { color: #d8c9b8; font-size: 14px; font-weight: 500; }

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
  position: fixed; inset-block-end: 24px; inset-inline-start: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(37,211,102,.4);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.05);
  background: #1ebe5a;
  box-shadow: 0 10px 24px rgba(37,211,102,.5);
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Legal pages ===== */
.legal-page { padding: calc(var(--header-h) + 60px) 0 80px; }
.legal-page .container { max-width: 900px; }
.legal-page h1 { font-size: clamp(28px, 5vw, 40px); color: var(--clr-primary-dark); margin-bottom: 8px; }
.legal-page .divider { margin-bottom: 30px; }
.legal-page h2 { font-size: 22px; margin: 30px 0 10px; color: var(--clr-primary-dark); }
.legal-page p, .legal-page li { color: var(--clr-ink-soft); margin-bottom: 14px; }
.legal-page ul { padding-inline-start: 22px; margin-bottom: 16px; }
.legal-page .contact-box {
  background: var(--clr-bg-alt); border-radius: var(--radius-sm); padding: 20px 22px;
  border-inline-start: 4px solid var(--clr-accent); margin: 20px 0;
}
.legal-page a { color: var(--clr-primary); font-weight: 600; }
.back-home { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; color: var(--clr-primary); }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .about-grid, .appraisals-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-image { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 780px) {
  .btn-header { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset-block-start: var(--header-h); inset-inline: 0;
    background: var(--clr-surface); flex-direction: column; gap: 0;
    padding: 10px 20px 20px; box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .3s ease; margin: 0;
    border-bottom: 1px solid var(--clr-line);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 10px; border-bottom: 1px solid var(--clr-line); border-radius: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-nav, .footer-contact { justify-content: center; align-items: center; }
}
@media (max-width: 560px) {
  :root { --header-h: 74px; }
  .brand-logo { height: 50px; }
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
