/* ==========================================================================
   מזולה — מחברים אנשים
   Stylesheet
   ========================================================================== */

:root{
  /* palette */
  --forest: #3D5A3C;
  --forest-dark: #2F4A2E;
  --sage: #8A9B7E;
  --terracotta: #C4732E;
  --terracotta-dark: #A85F22;
  --terracotta-light: #E8B98B;
  --cream: #F4F1E4;
  --cream-soft: #EDE8D6;
  --paper: #FBFAF4;
  --ink: #22301F;
  --white: #FFFFFF;

  /* type */
  --font-body: 'Heebo', system-ui, sans-serif;
  --font-head: 'Rubik', system-ui, sans-serif;

  /* spacing scale */
  --sp-1: .5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.25rem;
  --sp-5: 3.5rem;
  --sp-6: 5rem;
  --sp-7: 7rem;

  /* shape */
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 45px -20px rgba(34, 48, 31, .35);
  --shadow-card: 0 12px 30px -14px rgba(34, 48, 31, .28);

  --container: 1180px;
}

/* ---------- reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body, h1, h2, h3, p, figure, blockquote{ margin: 0; }
ul{ margin: 0; padding: 0; list-style: none; }
img{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
svg{ width: 1.2em; height: 1.2em; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body{
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3{ font-family: var(--font-head); color: var(--forest-dark); line-height: 1.2; font-weight: 700; }
h1{ font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2{ font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3{ font-size: 1.2rem; }

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-3);
}

.skip-link{
  position: absolute;
  right: -999px;
  top: auto;
  background: var(--forest);
  color: var(--white);
  padding: .8em 1.4em;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus{
  right: var(--sp-2);
  top: var(--sp-2);
}

:focus-visible{
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: .85em 1.7em;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg{ width: 1.1em; height: 1.1em; }
.btn-primary{
  background: var(--terracotta-dark);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(196, 115, 46, .65);
}
.btn-primary:hover{ background: var(--terracotta); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(196, 115, 46, .7); }
.btn-outline{
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.75);
}
.btn-outline:hover{ background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-sm{ padding: .55em 1.2em; font-size: .88rem; }
.btn-lg{ padding: 1em 2.1em; font-size: 1.05rem; }

/* ---------- header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(244, 241, 228, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 90, 60, .12);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: .6rem;
}
.logo-link{ display: flex; align-items: center; flex-shrink: 0; }
.logo-img{ height: 52px; width: auto; border-radius: 8px; }

.main-nav ul{ display: flex; gap: var(--sp-4); }
.main-nav a{
  font-weight: 500;
  font-size: .98rem;
  color: var(--forest-dark);
  position: relative;
  padding-block: .3em;
}
.main-nav a::after{
  content: '';
  position: absolute;
  right: 0; left: 0; bottom: -2px;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after{ transform: scaleX(1); }

.header-actions{ display: flex; align-items: center; gap: var(--sp-2); }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav-toggle span{
  width: 24px; height: 2px;
  background: var(--forest-dark);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-media, .hero-media img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 85%;
}
.hero-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,48,31,.55) 0%, rgba(34,48,31,.45) 45%, rgba(34,48,31,.82) 100%);
}
.hero-inner{ position: relative; z-index: 2; padding-block: var(--sp-6); max-width: 780px; }
.eyebrow{
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: var(--sp-2);
}
.hero .eyebrow{ color: var(--terracotta-light); }
.hero h1{ color: var(--white); margin-bottom: var(--sp-3); }
.hero-sub{ font-size: 1.15rem; max-width: 60ch; margin-bottom: var(--sp-4); color: rgba(255,255,255,.92); }
.hero-cta{ display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.scroll-cue{
  position: absolute;
  bottom: var(--sp-3);
  right: 50%;
  transform: translateX(50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 20px;
}
.scroll-cue span{
  position: absolute;
  top: 8px; right: 50%;
  transform: translateX(50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--white);
  animation: scrollcue 1.8s infinite ease;
}
@keyframes scrollcue{
  0%{ opacity: 1; top: 8px; }
  70%{ opacity: 0; top: 22px; }
  100%{ opacity: 0; top: 22px; }
}

/* ---------- section shared ---------- */
section{ padding-block: var(--sp-7); }
.section-head{ max-width: 640px; margin-inline: auto; text-align: center; margin-bottom: var(--sp-6); }
.section-sub{ font-size: 1.08rem; color: var(--forest); opacity: .85; margin-top: var(--sp-2); }
.section-head .eyebrow{ justify-content: center; }

/* ---------- services ---------- */
.services{ background: var(--cream); }
.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
}
.service-card{
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.service-img{ aspect-ratio: 4/3; overflow: hidden; }
.service-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-img img{ transform: scale(1.06); }
.service-body{ padding: var(--sp-3) var(--sp-3) var(--sp-4); }
.service-body h3{ margin-bottom: .5em; }
.service-body p{ color: var(--ink); opacity: .82; }

.service-card-cta{
  background: var(--forest);
  color: var(--white);
  justify-content: center;
}
.service-body-cta{ display: flex; flex-direction: column; gap: var(--sp-2); align-items: flex-start; padding: var(--sp-4); height: 100%; justify-content: center; }
.service-body-cta h3{ color: var(--white); }
.service-body-cta p{ color: rgba(255,255,255,.85); }
.service-body-cta .btn-outline{ border-color: rgba(255,255,255,.6); margin-top: var(--sp-1); }

/* ---------- compound (Jordan River flagship) ---------- */
.compound{ background: var(--forest); color: var(--white); }
.compound-inner{ max-width: 720px; margin-inline: auto; text-align: center; }
.compound .eyebrow{ color: var(--terracotta-light); }
.compound h2{ color: var(--white); margin-bottom: var(--sp-3); }
.compound p{ color: rgba(255,255,255,.9); font-size: 1.08rem; margin-bottom: var(--sp-4); }
.compound .hero-cta{ justify-content: center; }

/* ---------- equipment grid ---------- */
.equipment{ background: var(--paper); }
.equipment-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--sp-2);
}
.equipment-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5em;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-2);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.equipment-item:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.equipment-icon{ font-size: 2rem; }
.equipment-item span:last-child{ font-family: var(--font-head); font-weight: 500; color: var(--forest-dark); font-size: .92rem; }

/* ---------- audience cards ---------- */
.audience{ background: var(--cream); }
.audience-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-4);
}
.audience-card{
  background: var(--paper);
  border-radius: var(--radius);
  padding: var(--sp-4);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.audience-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.audience-icon{ font-size: 2.6rem; display: block; margin-bottom: var(--sp-2); }
.audience-card h3{ margin-bottom: .5em; }
.audience-card p{ color: var(--ink); opacity: .82; }

/* ---------- how it works ---------- */
.how{ background: var(--paper); }
.steps{
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: var(--sp-3);
}
.step{ text-align: center; padding-inline: var(--sp-1); }
.step-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: var(--sp-2);
}
.step h3{ margin-bottom: .5em; }
.step p{ color: var(--ink); opacity: .8; }
.step-arrow{
  color: var(--sage);
  font-size: 1.6rem;
  padding-top: 1.1rem;
}

/* ---------- promo band ---------- */
.promo{ background: var(--terracotta); color: var(--white); text-align: center; padding-block: var(--sp-5); }
.promo-inner{ display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); }
.promo-text{ font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); }

/* ---------- price calculator ---------- */
.calculator{ background: var(--paper); }
.calc-box{
  max-width: 560px;
  margin-inline: auto;
  background: var(--cream);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-4);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.calc-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding-block: var(--sp-2);
  border-bottom: 1px solid rgba(61,90,60,.14);
}
.calc-label{ font-weight: 500; color: var(--forest-dark); }
.stepper{ display: flex; align-items: center; gap: var(--sp-2); }
.stepper-btn{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, transform .2s ease;
}
.stepper-btn:hover{ background: var(--terracotta-dark); transform: translateY(-2px); }
.stepper-value{
  min-width: 2.2ch;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
}
.calc-total{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3em;
  margin-block: var(--sp-4) var(--sp-2);
  padding-block: var(--sp-3);
  border-top: 2px dashed rgba(61,90,60,.2);
}
.calc-total-label{ font-size: .92rem; color: var(--forest); opacity: .85; }
.calc-total-value{ font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--terracotta-dark); }
.calc-note{ font-size: .85rem; opacity: .7; margin-bottom: var(--sp-3); }

/* ---------- faq ---------- */
.faq{ background: var(--cream); }
.faq-list{ display: flex; flex-direction: column; gap: var(--sp-2); max-width: 760px; margin-inline: auto; }
.faq-item{
  background: var(--paper);
  border: 1px solid rgba(61,90,60,.12);
  border-radius: var(--radius-sm);
  padding-inline: var(--sp-3);
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding-block: var(--sp-2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--forest-dark);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: '+';
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--terracotta);
  transition: transform .25s ease;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item p{ color: var(--ink); opacity: .85; padding-bottom: var(--sp-2); }

/* ---------- gallery ---------- */
.gallery{ background: var(--cream); }
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: var(--sp-2);
}
.gallery-item{ overflow: hidden; border-radius: var(--radius-sm); }
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img{ transform: scale(1.08); }
.gallery-item:nth-child(1){ grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6){ grid-column: span 2; }

/* ---------- about ---------- */
.about{ background: var(--paper); }
.about-inner{
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: var(--sp-6);
  align-items: center;
}
.about-media{ border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/5; }
.about-media img{ width: 100%; height: 100%; object-fit: cover; }
.about-content h2{ margin-bottom: var(--sp-3); }
.about-content p{ margin-bottom: var(--sp-2); opacity: .88; }
.about-content p:last-child{ margin-bottom: 0; }

/* ---------- testimonials ---------- */
.testimonials{ background: var(--forest-dark); color: var(--cream); }
.testimonials .eyebrow{ color: var(--terracotta-light); }
.testimonials h2{ color: var(--white); }
.testi-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--sp-3);
}
.testi-card{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.testi-card p{ font-size: 1.02rem; line-height: 1.75; opacity: .95; }
.testi-card footer{ display: flex; align-items: baseline; gap: .6em; margin-top: auto; }
.testi-name{ font-family: var(--font-head); font-weight: 700; color: var(--terracotta-light); }
.testi-role{ font-size: .88rem; opacity: .7; }

/* ---------- final cta ---------- */
.final-cta{
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding-block: var(--sp-7);
}
.final-cta-media, .final-cta-media img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-cta-overlay{ position: absolute; inset: 0; background: linear-gradient(180deg, rgba(47,74,46,.88), rgba(34,48,31,.92)); }
.final-cta-inner{ position: relative; z-index: 2; max-width: 640px; margin-inline: auto; }
.final-cta h2{ color: var(--white); margin-bottom: var(--sp-2); }
.final-cta p{ font-size: 1.1rem; opacity: .92; margin-bottom: var(--sp-4); }
.final-cta .hero-cta{ justify-content: center; }

/* ---------- footer ---------- */
.site-footer{ background: var(--ink); color: var(--cream); padding-top: var(--sp-6); }
.footer-inner{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(244,241,228,.14);
}
.footer-brand{ display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-logo{ height: 46px; width: auto; border-radius: 6px; align-self: flex-start; }
.footer-brand p{ opacity: .75; max-width: 30ch; }
.footer-nav{ display: flex; flex-direction: column; gap: .8em; }
.footer-nav a{ opacity: .8; transition: opacity .15s ease, color .15s ease; }
.footer-nav a:hover{ opacity: 1; color: var(--terracotta); }
.footer-contact{ display: flex; flex-direction: column; gap: .8em; align-items: flex-start; }
.footer-contact a{ opacity: .9; font-weight: 500; }
.footer-contact a:hover{ color: var(--terracotta); }
.footer-bottom{ padding-block: var(--sp-3); text-align: center; font-size: .88rem; opacity: .6; }

/* ---------- floating whatsapp ---------- */
.whatsapp-float{
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 600;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .65);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float svg{ width: 30px; height: 30px; }
.whatsapp-float:hover{ transform: scale(1.08); box-shadow: 0 16px 34px -8px rgba(37, 211, 102, .75); }

/* ---------- scroll reveal ---------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px){
  .about-inner{ grid-template-columns: 1fr; }
  .about-media{ aspect-ratio: 16/9; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: span 2; }
}

@media (max-width: 860px){
  .main-nav{
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid rgba(61,90,60,.14);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open{ max-height: 480px; }
  .main-nav ul{ flex-direction: column; padding: var(--sp-3); gap: var(--sp-2); }
  .nav-toggle{ display: flex; }
  .header-actions .btn-sm{ display: none; }

  .steps{ grid-template-columns: 1fr; }
  .step-arrow{ transform: rotate(-90deg); padding-block: 0; }

  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

@media (max-width: 640px){
  section{ padding-block: var(--sp-6); }
  .hero{ min-height: 100vh; }
  .card-grid{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
  .footer-brand{ grid-column: auto; }
  .whatsapp-float{ width: 52px; height: 52px; bottom: 16px; left: 16px; }
  .whatsapp-float svg{ width: 26px; height: 26px; }

  .equipment-grid{ grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
  .audience-grid{ grid-template-columns: 1fr; }
  .calc-box{ padding: var(--sp-4) var(--sp-3); }
  .calc-total-value{ font-size: 2rem; }
}
