:root {
  --paper: #f7f2e7;
  --paper-2: #efe8d8;
  --ink: #26342f;
  --muted: #65736c;
  --sage: #5f786d;
  --sage-dark: #425c52;
  --sage-soft: #dfe8df;
  --ochre: #bf8d35;
  --line: rgba(38, 52, 47, 0.12);
  --white: rgba(255, 255, 255, 0.72);
  --shadow: 0 20px 60px rgba(62, 69, 60, 0.10);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --header-h: 66px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 280px;
  margin: 0;
  direction: rtl;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(191, 141, 53, 0.09), transparent 24rem),
    radial-gradient(circle at 88% 30%, rgba(95, 120, 109, 0.10), transparent 26rem),
    var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.container {
  width: min(1160px, calc(100% - clamp(28px, 5vw, 64px)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 242, 231, 0.90);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(38, 52, 47, 0.07);
}

.nav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 24px);
  min-width: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--ink); }

/* Keep the navbar CTA readable: the generic nav-link color is more specific than .button-primary. */
.nav-links a.button-primary { color: #fff; }
.nav-links a.button-primary:hover { color: #fff; background: #344c43; }

.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  padding: clamp(46px, 7vw, 86px) 0 clamp(58px, 8vw, 92px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(38px, 6.5vw, 88px);
  align-items: center;
}

.hero-copy { min-width: 0; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage-dark);
  font-weight: 700;
  font-size: clamp(0.88rem, 1.4vw, 0.96rem);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 20px;
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 780;
  text-wrap: balance;
}

h1 span {
  display: block;
  color: var(--sage);
}

.lead {
  max-width: 630px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.7vw, 1.28rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.93rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
  touch-action: manipulation;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: #fff;
  background: var(--sage-dark);
  box-shadow: 0 10px 26px rgba(66, 92, 82, 0.18);
}

.button-primary:hover { background: #344c43; }

.button-secondary {
  background: rgba(255,255,255,0.42);
  border-color: var(--line);
}

.hero-art-wrap {
  position: relative;
  isolation: isolate;
  width: min(100%, 560px);
  justify-self: center;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero-art-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% 7% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 120, 109, 0.18), transparent 68%);
  filter: blur(16px);
}

.hero-art {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(68px, 8vw, 96px) 0;
}

.section-soft {
  background: rgba(239, 232, 216, 0.58);
  border-block: 1px solid rgba(38, 52, 47, 0.06);
}

.section-head {
  max-width: 710px;
  margin-bottom: clamp(26px, 4vw, 36px);
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--ochre);
  font-size: 0.9rem;
  font-weight: 800;
}

h2 {
  margin-bottom: 13px;
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-head p,
.about-copy,
.card p,
.faq-answer {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  min-width: 0;
  padding: clamp(22px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.card-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-dark);
  font-weight: 800;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.card p { margin-bottom: 0; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 7vw, 84px);
  align-items: start;
}

.quote-card {
  padding: clamp(24px, 3vw, 30px);
  background: var(--sage-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.quote-card p {
  margin-bottom: 0;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.about-copy p:last-child { margin-bottom: 0; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.info-item {
  min-width: 0;
  padding: clamp(21px, 3vw, 26px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.50);
}

.info-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.info-value {
  font-weight: 780;
  font-size: 1.18rem;
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

details {
  padding: 19px 21px;
  background: rgba(255,255,255,0.48);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

summary {
  cursor: pointer;
  font-weight: 740;
  min-height: 34px;
}

.faq-answer {
  margin: 12px 0 0;
}

.contact-box {
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  background: var(--sage-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.contact-box h2 { margin-bottom: 10px; }
.contact-box p { margin-bottom: 0; color: rgba(255,255,255,0.78); }
.contact-box .button-primary { background: #fff; color: var(--sage-dark); box-shadow: none; }
.contact-box .button-primary:hover { background: #f6f1e6; }

.setup-note {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px dashed rgba(191, 141, 53, 0.55);
  border-radius: 12px;
  color: #7f6432;
  background: rgba(191, 141, 53, 0.07);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 28px 0 max(38px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.small-note { max-width: 680px; }

@media (max-width: 980px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.button) { display: none; }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
    gap: 40px;
  }

  h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); }
  .hero-art-wrap { width: min(100%, 430px); }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav { min-height: var(--header-h); gap: 10px; }
  .brand { font-size: 0.96rem; }
  .nav-links .button { min-height: 42px; padding-inline: 15px; font-size: 0.88rem; }

  .hero {
    padding: 30px 0 62px;
  }

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

  .hero-art-wrap {
    order: -1;
    width: min(72vw, 330px);
  }

  .hero-copy { text-align: center; }
  h1 {
    max-width: 12ch;
    margin-inline: auto;
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }
  .lead { margin-inline: auto; }
  .hero-meta, .cta-row { justify-content: center; }

  .cards,
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .cards { gap: 12px; }
  .about-grid { gap: 22px; }
  .quote-card { order: 2; }

  .contact-box { text-align: center; }
  .contact-box .button { width: 100%; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 24px, 1160px); }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 24px; }

  .brand {
    max-width: 52vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links .button {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.84rem;
  }

  .hero-art-wrap { width: min(74vw, 300px); }
  h1 { font-size: clamp(2.35rem, 13vw, 3.55rem); }
  .lead { font-size: 1rem; }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .cta-row .button { width: 100%; }

  .hero-meta { gap: 8px; }
  .pill { min-height: 36px; font-size: 0.88rem; }

  .info-grid { grid-template-columns: 1fr; }
  .card, .info-item { padding: 21px; }
  details { padding: 17px 18px; }

  .footer-row { flex-direction: column; }
}

@media (max-width: 360px) {
  .container { width: min(100% - 20px, 1160px); }
  .brand { font-size: 0.88rem; }
  .nav-links .button { padding-inline: 11px; }
  .hero-art-wrap { width: min(78vw, 265px); }
  h1 { font-size: 2.2rem; }
}

@media (min-width: 1440px) {
  .hero-grid { gap: 96px; }
  .hero-art-wrap { width: 580px; }
  .hero-art { max-width: 580px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
