:root {
  --sand-50: #FAF4E8;
  --sand-100: #F5EDE0;
  --sand-200: #EDE1CE;
  --sand-300: #E0D1B6;
  --espresso: #2E241A;
  --espresso-soft: #3F3324;
  --espresso-60: rgba(46,36,26,0.6);
  --espresso-40: rgba(46,36,26,0.4);
  --espresso-20: rgba(46,36,26,0.2);
  --espresso-10: rgba(46,36,26,0.1);
  --olive: #6B7A4B;
  --olive-deep: #4F5B36;
  --terra: #B8694A;
  --cream: #FDF9EE;

  --font-serif: "Frank Ruhl Libre", Georgia, serif;
  --font-sans: "Assistant", -apple-system, sans-serif;

  --bg: var(--sand-100);
  --fg: var(--espresso);
  --accent: var(--olive);
  --pad-x: clamp(20px, 4vw, 72px);
  --maxw: 880px;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

html, body { overflow-x: hidden; }

img { max-width: 100%; height: auto; display: block; border-radius: 3px; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.center { text-align: center; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px var(--pad-x);
  background: rgba(245,237,224,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--espresso-10);
  transition: padding 300ms;
}
.nav-scrolled { padding: 10px var(--pad-x); }
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  border-radius: 0;
}
.nav-links {
  flex: 1;
  display: flex;
  gap: 22px;
  justify-content: center;
}
.nav-link {
  font-size: 14px;
  color: var(--espresso-60);
  transition: color 200ms;
}
.nav-link:hover { color: var(--fg); }
.nav-cta {
  padding: 8px 18px;
  background: var(--fg);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  border-radius: 3px;
  transition: background 200ms;
}
.nav-cta:hover { background: var(--accent); }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
.nav-burger span {
  width: 22px;
  height: 1.5px;
  background: var(--fg);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px var(--pad-x) 8px;
  gap: 4px;
  background: rgba(245,237,224,0.98);
}
.nav-mobile a {
  padding: 10px 0;
  font-size: 16px;
  color: var(--fg);
  border-bottom: 1px solid var(--espresso-10);
  text-align: start;
}
.nav-mobile .mobile-cta {
  margin-top: 8px;
  padding: 12px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 3px;
  text-align: center;
  font-weight: 500;
  border-bottom: 0;
}

@media (max-width: 800px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile:not([hidden]) { display: flex; }
  .nav-mobile[hidden] { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding-top: 60px;
}
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  object-position: center 70%;
  border-radius: 0;
}
.hero-img-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
  pointer-events: none;
}
.hero-title {
  position: absolute;
  bottom: 18%;
  left: 5%;
  right: auto;
  z-index: 1;
  max-width: 90%;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(42px, 10vw, 88px);
  color: white;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3), 0 0 60px rgba(0,0,0,0.15);
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 0;
}
.hero-below {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--pad-x) 16px;
  text-align: center;
}
.hero-below p {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.4;
  color: var(--espresso-soft);
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-weight: 700;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 16px 36px;
  background: var(--fg);
  color: var(--bg);
  font-size: 17px;
  font-weight: 500;
  border-radius: 3px;
  transition: background 200ms, transform 200ms;
  border: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.btn-large {
  padding: 20px 48px;
  font-size: 20px;
}
.btn-light {
  background: var(--sand-100);
  color: var(--fg);
}
.btn-light:hover {
  background: white;
}

/* ============ SECTIONS ============ */
.sect {
  padding: clamp(60px, 8vh, 100px) 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease, transform 800ms ease;
}
.sect.in { opacity: 1; transform: none; }
#about { padding-top: clamp(24px, 3vh, 40px); }
.sect-alt { background: var(--sand-200); }
.sect-dark {
  background: var(--espresso);
  color: var(--sand-100);
}
.sect-accent {
  background: var(--accent);
  color: var(--sand-100);
}

h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  text-align: center;
}
.sect-dark h2, .sect-accent h2 { color: var(--sand-100); }

.body-text {
  font-size: 20px;
  line-height: 1.8;
  color: var(--espresso-soft);
  margin-bottom: 24px;
}
.sect-dark .body-text { color: rgba(245,237,224,0.85); }

.highlight-text {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  color: var(--fg);
  margin-top: 24px;
  font-style: italic;
}

/* ============ IMAGE LAYOUTS ============ */
.img-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.img-single {
  margin: 40px 0;
}
.img-single img {
  max-width: min(600px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 12px 40px -8px rgba(46,36,26,0.18);
}

.beside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 24px;
}
.beside-center { align-items: center; }
.beside img {
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
}

@media (max-width: 700px) {
  .img-pair { grid-template-columns: 1fr; }
  .beside { grid-template-columns: 1fr; gap: 24px; }
}

/* ============ LISTS ============ */
.simple-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.simple-list li {
  font-size: 18px;
  line-height: 1.6;
  padding-right: 24px;
  position: relative;
}
.simple-list li::before {
  content: "✧";
  position: absolute;
  right: 0;
  color: var(--accent);
}

/* ============ TESTIMONIALS ============ */
.testi-stage {
  position: relative;
  min-height: 180px;
  margin: 24px auto;
}
.testi {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
  pointer-events: none;
  text-align: center;
}
.testi-on { opacity: 1; transform: none; pointer-events: auto; }
.testi-quote {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  font-style: normal;
  margin-bottom: 20px;
}
.testi-name {
  font-size: 16px;
  font-weight: 600;
  display: block;
}
.testi-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}
.testi-ctrl > button {
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--espresso-20);
  transition: all 200ms;
}
.testi-ctrl > button:hover { background: var(--fg); color: var(--bg); }
.testi-dots { display: flex; gap: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--espresso-20);
  transition: all 200ms;
  padding: 0;
}
.dot.on { background: var(--accent); transform: scale(1.4); }

/* ============ FAQ ============ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}
.faq-item {
  border-top: 1px solid var(--espresso-20);
}
.faq-item:last-child { border-bottom: 1px solid var(--espresso-20); }
.faq-q {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  text-align: right;
  gap: 16px;
}
.faq-q-txt {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
}
.faq-plus {
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  width: 28px;
  text-align: center;
  line-height: 1;
}
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms ease;
}
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a {
  overflow: hidden;
  font-size: 20px;
  line-height: 1.7;
  color: var(--espresso-soft);
}
.faq-item.open .faq-a {
  padding-bottom: 20px;
}

/* ============ REGISTER ============ */

/* ============ FOOTER ============ */
.foot {
  background: var(--espresso);
  color: var(--sand-300);
  padding: 32px var(--pad-x);
  font-size: 14px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}
.social-icons a {
  color: var(--sand-300);
  transition: color 200ms, transform 200ms;
}
.social-icons a:hover {
  color: white;
  transform: translateY(-2px);
}


/* ============ FOCUS ============ */
/* ============ MOBILE ============ */
@media (max-width: 700px) {
  .hero-title { font-size: clamp(32px, 9vw, 50px); bottom: 5%; left: 4%; }
  .hero-below p { font-size: clamp(20px, 5.5vw, 32px); white-space: nowrap; }
  h2 { font-size: clamp(26px, 6vw, 34px); }
  .body-text { font-size: 20px; }
  .simple-list li { font-size: 20px; }
  .testi-stage { min-height: 220px; }
  .sect { padding: clamp(48px, 7vh, 80px) 0; }
  .highlight-text { font-size: clamp(20px, 5vw, 26px); }
}

/* ============ FOCUS ============ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.field input:focus-visible, .field textarea:focus-visible { outline: none; }
