/* =========================================================
   Tomer Fitness — אימון כושר אישי
   ערכת "חם + אדום/שחור": שחור חמים · אדום עז · אוף־וייט חם
   Mobile-first. Breakpoints: 700 / 900 / 1024
   ========================================================= */

:root {
  --bg:        #16110F;   /* שחור חמים */
  --bg-2:      #1E1714;   /* סקשן חלופי */
  --surface:   #261D19;   /* כרטיסים */
  --line:      #3A2C25;   /* גבולות */
  --red:       #E23127;   /* אדום מותג */
  --red-dark:  #B21F17;
  --text:      #F5ECE3;   /* אוף־וייט חם */
  --muted:     #B8A99B;   /* אפור חם */
  --paper:     #F5ECE3;   /* בלוק בהיר נדיר */
  --ink:       #16110F;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 22px 55px -22px rgba(0, 0, 0, .7);
  --wrap:      1140px;

  --font-body: "Assistant", "Segoe UI", Arial, sans-serif;
  --font-head: "Rubik", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.section-head { max-width: 46ch; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: .6rem; }
.section-head h2::after {
  content: ""; display: block; width: 54px; height: 4px;
  background: var(--red); border-radius: 2px; margin-top: .8rem;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

.accent { color: var(--red); }

.skip-link {
  position: absolute; right: -999px; top: 0;
  background: var(--red); color: #fff;
  padding: .6rem 1rem; border-radius: 0 0 var(--radius) 0; z-index: 200;
}
.skip-link:focus { right: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700;
  padding: .85rem 1.7rem; border-radius: 999px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(226, 49, 39, .6); }
.btn-sm { padding: .55rem 1.15rem; font-size: .95rem; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.1rem; }

.btn-ghost {
  display: inline-flex; align-items: center;
  font-family: var(--font-head); font-weight: 700;
  color: var(--text); border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}
.btn-ghost:hover { color: var(--red); }

/* ---------- Header (RTL: לוגו מימין, ניווט מימין, CTA משמאל) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(22, 17, 15, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 1.4rem;
  padding-block: .7rem;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 38px; width: auto; }

.nav { display: none; gap: 1.7rem; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); }

.header-inner .btn-sm { margin-inline-start: auto; }  /* דוחף את ה-CTA לקצה שמאל */

@media (min-width: 860px) {
  .nav { display: flex; }               /* מימין, צמוד ללוגו */
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(226, 49, 39, .16), transparent 70%),
    radial-gradient(50% 40% at 10% 100%, rgba(226, 49, 39, .08), transparent 70%);
}
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }

.eyebrow {
  font-family: var(--font-head); font-weight: 700; letter-spacing: .02em;
  color: var(--red); margin-bottom: 1rem;
}
.hero-text h1 { font-size: clamp(2.3rem, 7vw, 4rem); margin-bottom: 1.2rem; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 44ch; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-block: 1.9rem 1.6rem; }

.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; }
.hero-trust li { position: relative; padding-inline-start: 1.3rem; color: var(--text); font-weight: 600; font-size: .95rem; }
.hero-trust li::before { content: "▸"; position: absolute; inset-inline-start: 0; color: var(--red); }

.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
  border: 1px solid var(--line);
}
.hero-media::after {   /* פס אדום מאחורי התמונה */
  content: ""; position: absolute; z-index: -1;
  inset-inline-start: -14px; inset-block-end: -14px;
  width: 55%; height: 55%; border-radius: var(--radius-lg);
  background: var(--red);
}
.hero-badge {
  position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem;
  background: rgba(22, 17, 15, .82); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1rem; font-size: .9rem; color: var(--text);
}
.hero-badge strong { color: var(--red); font-family: var(--font-head); }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

/* ---------- About ---------- */
.about { background: var(--bg-2); }
.about-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.about-media img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  width: 100%; aspect-ratio: 7 / 8; object-fit: cover;
  border: 1px solid var(--line);
}
.about-text h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: 1rem; }
.about-text h2::after {
  content: ""; display: block; width: 54px; height: 4px;
  background: var(--red); border-radius: 2px; margin-top: .8rem;
}
.about-text p { color: var(--muted); }
.about-text p + p { margin-top: 1rem; }
.about-sign { font-family: var(--font-head); font-weight: 700; color: var(--text) !important; margin-top: 1.2rem; }

.about-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2.6rem; margin-top: 2rem; }
.about-stats div { display: flex; flex-direction: column; }
.about-stats strong { font-family: var(--font-head); font-size: 1.8rem; color: var(--text); }
.about-stats span { color: var(--muted); font-size: .95rem; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: .9fr 1.1fr; }
}

/* ---------- Services ---------- */
.cards { display: grid; gap: 1.2rem; }
.card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem 1.6rem;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--red); }
.card-num { font-family: var(--font-head); font-weight: 900; color: var(--red); opacity: .5; font-size: 1rem; }
.card h3 { font-size: 1.25rem; margin: .3rem 0 .5rem; }
.card p { color: var(--muted); font-size: .98rem; }

@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Photo band ---------- */
.band { position: relative; min-height: 60vh; display: grid; }
.band img {
  grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover;
  min-height: 60vh;
}
.band-overlay {
  grid-area: 1 / 1; position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 1.5rem; padding: clamp(2rem, 6vw, 5rem);
  background: linear-gradient(90deg, rgba(22,17,15,.92) 0%, rgba(22,17,15,.7) 45%, rgba(22,17,15,.25) 100%);
}
.band-text { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.7rem, 5vw, 3rem); line-height: 1.15; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.gallery-grid figure { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); }
.gallery-grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-grid figure:hover img { transform: scale(1.05); }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-2); }
.quotes { display: grid; gap: 1.2rem; }
.quote {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem 1.6rem;
}
.quote blockquote { position: relative; font-size: 1.05rem; margin-bottom: .9rem; }
.quote blockquote::before {
  content: "”"; font-family: var(--font-head); font-size: 2.4rem; color: var(--red);
  line-height: 0; display: block; margin-bottom: .6rem;
}
.quote figcaption { color: var(--muted); font-weight: 700; font-size: .95rem; }

@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; }
.accordion { display: grid; gap: .8rem; }
.accordion details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
}
.accordion summary {
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; }
.accordion details[open] summary::after { content: "–"; }
.accordion details[open] summary { margin-bottom: .7rem; }
.accordion p { color: var(--muted); }

/* ---------- Final CTA (בלוק בהיר) ---------- */
.cta-final { background: var(--paper); color: var(--ink); text-align: center; }
.cta-inner { max-width: 40ch; margin-inline: auto; }
.cta-inner h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: .7rem; }
.cta-inner p { color: #6b5f54; margin-bottom: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: #100C0A; color: var(--text); padding-block: 2.5rem; border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 1rem; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand span { color: var(--muted); font-size: .95rem; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1.4rem; color: var(--muted); }
.footer-contact a:hover { color: var(--text); }
.footer-note { color: #6f625a; font-size: .9rem; }

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1fr auto; text-align: start; align-items: center; }
  .footer-brand { justify-content: flex-start; }
  .footer-contact { justify-content: flex-end; }
  .footer-note { grid-column: 1 / -1; text-align: center; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; inset-block-end: 1.1rem; inset-inline-end: 1.1rem; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 26px -6px rgba(37, 211, 102, .55);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
