/* ==========================================================================
   תומר חיון — עיסוי רפואי ושיקום תנועתי
   ========================================================================== */

:root {
  --bg: #1b2016;
  --bg-2: #202619;
  --bg-3: #262d1e;
  --panel: #232a1c;
  --panel-border: rgba(240, 232, 216, 0.1);
  --accent: #c9814b;
  --accent-2: #d99a66;
  --cream: #f1ecdd;
  --muted: #a9ac9c;
  --faint: #767a68;

  --font-display: 'Rubik', sans-serif;
  --font-body: 'Heebo', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --container: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- background grid ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(240, 232, 216, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 232, 216, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 40%, transparent 100%);
  animation: grid-drift 50s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 128px, 64px 128px; }
}

/* ---------- ambient background glow ---------- */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.orb-1 {
  width: 560px;
  height: 560px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 72%);
  opacity: 0.28;
  animation: orb-float-1 28s ease-in-out infinite;
}
.orb-2 {
  width: 460px;
  height: 460px;
  bottom: -120px;
  left: -140px;
  background: radial-gradient(circle, #7fae63 0%, transparent 72%);
  opacity: 0.16;
  animation: orb-float-2 34s ease-in-out infinite;
}
.orb-3 {
  width: 380px;
  height: 380px;
  top: 42%;
  left: 50%;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 72%);
  opacity: 0.18;
  animation: orb-float-3 40s ease-in-out infinite;
}
@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-70px, 90px) scale(1.12); }
}
@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -60px) scale(1.08); }
}
@keyframes orb-float-3 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-50%, 70px) scale(0.92); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-grid, .orb { animation: none; }
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow-right { text-align: right; }

.placeholder-note {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  margin-top: 6px;
}

/* ---------- typography ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.15;
  margin-bottom: 20px;
}
.line-white { color: var(--cream); }
.line-accent { color: var(--accent); }

.section-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  margin-bottom: 48px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-solid {
  background: var(--accent);
  color: #1a1a12;
}
.btn-solid:hover { background: var(--accent-2); }

.btn-outline {
  background: transparent;
  border-color: var(--panel-border);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--accent); }

.btn-ghost {
  background: var(--panel);
  border-color: var(--panel-border);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--accent); }

.btn-block { width: 100%; margin-top: 14px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

.icon-wa, .icon-arrow { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.icon-arrow { fill: none; }

/* ---------- image slot (placeholder system) ---------- */
.img-slot {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2c3323, #1c2117 70%);
  border: 1px solid var(--panel-border);
}
.img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.img-slot--loaded img { opacity: 1; }
.img-slot--loaded .img-slot__placeholder { display: none; }

.img-slot__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
  background:
    repeating-linear-gradient(135deg, rgba(240,232,216,0.03) 0 2px, transparent 2px 14px);
}
.img-slot__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  border: 1px dashed rgba(217, 154, 102, 0.4);
  padding: 6px 12px;
  border-radius: 3px;
}
.img-slot__file {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--faint);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 32, 22, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 30px;
  flex-shrink: 0;
  background: var(--cream);
  border-radius: 6px;
  padding: 4px 6px;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.1em;
}
.logo-name { font-weight: 800; font-size: 17px; color: var(--cream); }
.logo-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.main-nav a:hover { color: var(--cream); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-image { position: absolute; inset: 0; z-index: 0; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,24,15,0.55) 0%, rgba(20,24,15,0.55) 40%, rgba(20,24,15,0.92) 100%),
    linear-gradient(90deg, rgba(20,24,15,0.75) 0%, rgba(20,24,15,0.15) 60%);
}
.hero .img-slot__placeholder { z-index: 1; }

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 80px 64px;
  width: 100%;
}
.hero-title { margin-bottom: 24px; }
.hero-title span { display: block; }

.hero-sub {
  max-width: 560px;
  color: var(--cream);
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 36px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  gap: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--panel-border);
  max-width: 560px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--font-display); font-weight: 900; font-size: 30px; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   APPROACH
   ========================================================================== */
.approach { padding-block: 120px; }
.approach-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: stretch;
}
.approach-image { aspect-ratio: 3/4; border-radius: 4px; }

.approach-list { display: flex; flex-direction: column; gap: 0; }
.approach-item {
  position: relative;
  padding: 32px 40px;
  border: 1px solid var(--panel-border);
  border-bottom: none;
}
.approach-item:last-child { border-bottom: 1px solid var(--panel-border); }
.approach-item:nth-child(2) { background: rgba(201, 129, 75, 0.06); }

.approach-num {
  position: absolute;
  right: 40px;
  top: 32px;
  color: var(--accent);
  font-size: 14px;
}
.approach-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.approach-item h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.approach-text { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.approach-tagline { margin-top: 16px; font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.4; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { padding-bottom: 120px; }
.process-box {
  border: 1px solid rgba(201, 129, 75, 0.35);
  background: rgba(201, 129, 75, 0.04);
  border-radius: 4px;
  padding: 44px;
}
.process-box h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
}
.process-box > p {
  max-width: 900px;
  color: var(--muted);
  margin-bottom: 32px;
}
.process-focus-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--accent) !important;
  margin-bottom: 16px !important;
}
.process-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-cols li {
  position: relative;
  padding-right: 16px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--cream);
}
.process-cols li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

/* ==========================================================================
   TREATMENTS
   ========================================================================== */
.treatments { padding-block: 60px 120px; }
.treatments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.treatment-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  overflow: hidden;
}
.treatment-image { aspect-ratio: 16/9; }
.card-tag {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cream);
  background: rgba(20, 24, 15, 0.6);
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.treatment-body { padding: 32px; }
.treatment-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.treatment-subtitle { color: var(--accent-2); font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.treatment-body ul { margin-bottom: 24px; }
.treatment-body li {
  position: relative;
  padding-right: 16px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--muted);
}
.treatment-body li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--accent);
}
.focus-areas {
  padding-top: 20px;
  border-top: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.focus-label { font-family: var(--font-mono); font-size: 10px; color: var(--faint); letter-spacing: 0.1em; }
.focus-tags { font-size: 14px; color: var(--cream); }

/* ==========================================================================
   TESTIMONIALS (real WhatsApp reviews gallery)
   ========================================================================== */
.testimonials { padding-block: 60px 120px; }
.reviews-grid {
  columns: 3;
  column-gap: 24px;
}
.review-card {
  position: relative;
  break-inside: avoid;
  margin-bottom: 24px;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 16px 32px rgba(10, 12, 6, 0.35);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.review-card:hover { transform: translateY(-4px); border-color: rgba(201, 129, 75, 0.4); }
.review-card img { width: 100%; display: block; }

/* ==========================================================================
   STORY
   ========================================================================== */
.story { padding-block: 60px 120px; }
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.story-text { color: var(--muted); margin-bottom: 20px; max-width: 540px; }
.story-image { aspect-ratio: 4/5; border-radius: 4px; }

/* ==========================================================================
   PROMO (SKI)
   ========================================================================== */
.promo { padding-bottom: 120px; }
.promo-title { display: flex; flex-direction: column; align-items: flex-end; text-align: right; margin-bottom: 32px; }
.promo-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--panel);
}
.promo-content { padding: 48px; display: flex; flex-direction: column; align-items: flex-start; }
.promo-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  border: 1px solid rgba(217, 154, 102, 0.35);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.promo-content h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}
.promo-content > p { color: var(--muted); margin-bottom: 24px; }
.promo-list { margin-bottom: 32px; }
.promo-list li { font-size: 15px; color: var(--cream); margin-bottom: 12px; }
.promo-image { position: relative; aspect-ratio: 16/9; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding-bottom: 120px; }
.contact-title { text-align: right; }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
}
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.info-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 4px;
  padding: 32px;
}
.info-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 28px;
}
.status-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #7fae63;
  box-shadow: 0 0 0 4px rgba(127, 174, 99, 0.2);
}
.info-row { display: flex; gap: 14px; margin-bottom: 22px; }
.info-row:last-child { margin-bottom: 0; }
.info-icon { font-size: 18px; width: 22px; flex-shrink: 0; color: var(--accent-2); }
.info-icon .icon-wa { fill: var(--accent-2); }
.info-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.info-value { color: var(--muted); font-size: 14px; line-height: 1.6; }
.info-link { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

.therapist-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.therapist-image { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.therapist-image .img-slot__tag { font-size: 8px; padding: 3px 5px; }
.therapist-image .img-slot__file { font-size: 7px; }
.therapist-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 800; }
.therapist-card > p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.therapist-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.therapist-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-2);
  background: rgba(201, 129, 75, 0.1);
  border: 1px solid rgba(201, 129, 75, 0.25);
  padding: 6px 10px;
  border-radius: 3px;
}

.contact-form-wrap { display: flex; }
.whatsapp-cta-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(160deg, rgba(201, 129, 75, 0.1), var(--panel) 55%);
  border: 1px solid rgba(201, 129, 75, 0.3);
  border-radius: 4px;
  padding: 44px;
  text-align: right;
}
.whatsapp-cta-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 129, 75, 0.15);
  color: var(--accent-2);
  margin-bottom: 24px;
}
.whatsapp-cta-icon .icon-wa { width: 28px; height: 28px; }
.whatsapp-cta-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
}
.whatsapp-cta-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 420px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { border-top: 1px solid var(--panel-border); padding-block: 32px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--faint); }

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .approach-grid,
  .promo-box,
  .contact-grid,
  .story-grid { grid-template-columns: 1fr; }
  .treatments-grid,
  .process-cols { grid-template-columns: 1fr; }
  .story-grid { gap: 32px; }
  .story-image { order: -1; aspect-ratio: 16/10; }
  .reviews-grid { columns: 2; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .btn-nav-cta { display: none; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0; left: 0;
    background: var(--bg-2);
    padding: 24px 32px;
    border-bottom: 1px solid var(--panel-border);
    gap: 18px;
  }
  .site-header.nav-open .btn-nav-cta {
    display: inline-flex;
  }

  .hero-stats { gap: 32px; flex-wrap: wrap; }
  .promo-content { padding: 32px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .process-box { padding: 28px; }
  .approach-item { padding: 24px; }
  .reviews-grid { columns: 1; }
}
