:root {
  --primary: #a97858;
  --primary-dark: #76513c;
  --secondary: #d9bfae;
  --background: #f8f4ee;
  --surface: #fffdfc;
  --surface-soft: #efe2d8;
  --text: #302a27;
  --text-muted: #6f625b;
  --border: #ddcfc5;
  --success: #4f735b;
  --danger: #a74646;
  --shadow: 0 22px 60px rgba(86, 58, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  line-height: 1.6;
}

#app {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.main-navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  max-width: 100vw;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 10px clamp(20px, 6vw, 90px);
  background: rgba(248, 244, 238, 0.94);
  border-bottom: 1px solid rgba(169, 120, 88, 0.16);
  backdrop-filter: blur(16px);
}

.brand-button {
  width: 190px;
  padding: 0;
  background: transparent;
  border: 0;
}

.main-navbar nav {
  display: flex;
  gap: 12px;
}

.nav-link {
  padding: 10px 16px;
  color: var(--primary-dark);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--surface-soft);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button {
  color: #fff;
  background: var(--primary);
}

.secondary-button {
  color: var(--primary-dark);
  background: transparent;
}

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

.primary-button:hover {
  background: var(--primary-dark);
}

.secondary-button:hover {
  background: var(--surface-soft);
}

.eyebrow,
.section-heading > span {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
}

.main-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 35px 20px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.main-footer img {
  width: 160px;
}

.notification {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  max-width: min(380px, calc(100vw - 48px));
  padding: 14px 20px;
  color: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.notification-success {
  background: var(--success);
}

.notification-error {
  background: var(--danger);
}

@media (max-width: 640px) {
  .main-navbar {
    min-height: 70px;
    padding: 8px 16px;
  }

  .brand-button {
    width: 108px;
  }

  .main-navbar nav {
    flex: 0 0 auto;
    gap: 0;
  }

  .nav-link {
    padding: 8px;
    font-size: 13px;
  }

  .main-footer {
    flex-direction: column;
    text-align: center;
  }
}
