/* ============================================
   פוטונים — Warm editorial luxury
   ============================================ */

:root {
  /* Palette */
  --cream:      #F7F8FA;
  --cream-deep: #E8ECF2;
  --paper:      #FFFFFF;
  --ink:        #15243B;
  --ink-soft:   #5A6678;
  --clay:       #2E6FE6;
  --clay-deep:  #1F54B8;
  --olive:      #102036;
  --gold:       #8DB8F0;
  --line:       #E2E7EF;

  /* Type */
  --display: "Heebo", system-ui, sans-serif;
  --body:    "Heebo", system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 18px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

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

.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }

/* ---- Grain overlay ---- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Typography helpers ---- */
.eyebrow, .section-eyebrow {
  font-size: .82rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--clay);
}
.section-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08;
  letter-spacing: -.01em; color: var(--ink); margin-top: .5rem;
}
.section-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 46ch; margin-top: 1rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head .section-sub { margin-inline: auto; }
.ink-accent { color: var(--clay); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 100px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn-solid { background: var(--clay); color: var(--paper); }
.btn-solid:hover { background: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(46,111,230,.5); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-mini { padding: .5rem 1.1rem; font-size: .9rem; background: var(--ink); color: var(--paper); }
.btn-mini:hover { background: var(--clay); }
.btn-block { width: 100%; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 1.1rem 0;
  background: linear-gradient(to bottom, rgba(247,248,250,.96) 0%, rgba(247,248,250,.78) 55%, rgba(247,248,250,0) 100%);
}
.site-header.scrolled {
  background: rgba(247,248,250,.9); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line); padding: .65rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.4rem; }
.logo-mark {
  width: 30px; height: 30px; flex: 0 0 auto;
  background: url("favicon.svg") center / contain no-repeat;
}

.nav { display: flex; gap: 2rem; }
.nav a { font-weight: 600; font-size: .98rem; color: var(--ink); position: relative; padding: .2rem 0; transition: color .25s; }
.nav a::after { content:""; position:absolute; bottom:-2px; inset-inline:0; height:2px; background: var(--clay); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: .3s var(--ease); display: block; }
.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 {
  padding: 9rem 0 5rem; position: relative;
  background-image:
    linear-gradient(to left, rgba(247,248,250,.93) 0%, rgba(247,248,250,.72) 34%, rgba(247,248,250,.42) 68%, rgba(247,248,250,.2) 100%),
    url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 960px) {
  .hero {
    background-image: linear-gradient(to bottom, rgba(247,248,250,.85) 0%, rgba(247,248,250,.93) 58%, var(--cream) 100%), url("images/hero-bg.jpg");
  }
}
.hero-inner { display: block; }
.hero-copy { max-width: 580px; }

.hero-title {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02;
  letter-spacing: -.02em; margin: 1.1rem 0 1.4rem;
}
.hero-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 44ch; }
.hero-actions { display: flex; gap: 1rem; margin: 2rem 0 2.6rem; flex-wrap: wrap; }

.hero-trust { display: flex; gap: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: var(--clay); line-height: 1; }
.hero-trust span { font-size: .9rem; color: var(--ink-soft); margin-top: .3rem; }

/* hero visual */
.hero-visual { position: relative; }
.hero-blob {
  position: absolute; inset: -6% -4% -6% -4%; z-index: 0;
  background: radial-gradient(circle at 70% 30%, rgba(141,184,240,.45), transparent 60%),
              radial-gradient(circle at 25% 75%, rgba(46,111,230,.22), transparent 55%);
  filter: blur(14px); border-radius: 40%;
}
.hero-photo {
  position: relative; z-index: 1; width: 100%; height: auto; display: block;
  border-radius: 22px; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(16,32,54,.45);
}

/* mattress illustration */
.mattress {
  display: block; width: 78%; aspect-ratio: 5/2.6; border-radius: 14px;
  background:
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(21,36,59,.05) 26px 27px),
    linear-gradient(180deg, #FFFFFF, #E4E9F0);
  box-shadow: inset 0 -10px 22px -12px rgba(33,27,20,.25), 0 14px 30px -18px rgba(33,27,20,.5);
  position: relative; border: 1px solid var(--line);
}
.mattress::before, .mattress::after {
  content:""; position:absolute; inset-inline: 8px; height: 3px; border-radius: 4px;
  background: rgba(33,27,20,.08);
}
.mattress::before { top: 22%; } .mattress::after { bottom: 22%; }
.mattress--hero { width: 86%; aspect-ratio: 5/2.8; }
.mattress .seam { position:absolute; top:0; bottom:0; width:1px; background: rgba(33,27,20,.07); }
.mattress .seam:nth-child(1){inset-inline-start:30%;}
.mattress .seam:nth-child(2){inset-inline-start:50%;}
.mattress .seam:nth-child(3){inset-inline-start:70%;}

/* ============================================
   Marquee
   ============================================ */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding: .9rem 0; }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: 1.1rem; font-weight: 500; letter-spacing: .02em; opacity: .9; }
.marquee-track span:nth-child(even){ color: var(--gold); }
@keyframes marquee { to { transform: translateX(50%); } } /* RTL: scroll toward start */

/* ============================================
   About
   ============================================ */
.about { padding: 6.5rem 0; }
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.about-copy p { color: var(--ink-soft); margin-top: 1.1rem; font-size: 1.06rem; }
.text-link { display: inline-block; margin-top: 1.6rem; font-weight: 600; color: var(--clay); }
.text-link:hover { color: var(--clay-deep); }

.about-visual { position: relative; height: 420px; }
.stack-card { position: absolute; border-radius: var(--radius); box-shadow: 0 30px 60px -34px rgba(16,32,54,.45); border: 1px solid var(--line); overflow: hidden; }
.stack-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stack-1 { inset-inline-end: 0; top: 0; width: 70%; height: 58%; background: linear-gradient(150deg, #5B92F2, #2E6FE6); }
.stack-2 { inset-inline-start: 0; top: 28%; width: 64%; height: 56%; background: linear-gradient(150deg, var(--olive), #38402F); }
.stack-3 { inset-inline-end: 12%; bottom: 0; width: 58%; height: 46%; background: linear-gradient(150deg, var(--paper), var(--cream-deep)); }
.about-badge {
  position: absolute; inset-inline-end: -6px; top: 44%; z-index: 3;
  background: var(--clay); color: var(--paper); font-family: var(--display);
  font-weight: 700; font-size: 1rem; padding: .7rem 1.1rem; border-radius: 100px;
  transform: rotate(-6deg); box-shadow: 0 14px 30px -14px rgba(31,84,184,.6);
}

/* ============================================
   Catalog
   ============================================ */
.catalog { padding: 6rem 0; background: var(--paper); border-block: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.product-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(33,27,20,.4); }
.product-visual { aspect-ratio: 16/10; display: grid; place-items: center; position: relative; overflow: hidden; }
.product-visual .mattress { width: 72%; transition: transform .5s var(--ease); }
.product-card:hover .mattress { transform: scale(1.05) rotate(-1.5deg); }
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-visual img { transform: scale(1.06); }
.tone-a { background: linear-gradient(150deg, #EDF0F4, #D7DEE8); }
.tone-b { background: linear-gradient(150deg, #E6EDF7, #C5D6EE); }
.tone-c { background: linear-gradient(150deg, #ECEEF2, #D2D8E2); }
.tone-d { background: linear-gradient(150deg, #E4EDF8, #BFD3EF); }
.tone-e { background: linear-gradient(150deg, #EAEDF2, #CCD5E2); }
.tone-f { background: linear-gradient(150deg, #E6EEF8, #C3D5F0); }
.product-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 700; }
.product-body p { color: var(--ink-soft); font-size: .98rem; margin-top: .5rem; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; }
.price { font-size: .95rem; color: var(--ink-soft); }
.price strong { font-family: var(--display); font-size: 1.4rem; color: var(--ink); }
.more-link {
  align-self: flex-start; margin-top: .9rem; padding: 0; background: none; border: 0;
  cursor: pointer; font-family: var(--body); font-weight: 600; font-size: .95rem;
  color: var(--clay); transition: gap .25s, color .25s; display: inline-flex; gap: .3rem;
}
.more-link:hover { color: var(--clay-deep); gap: .55rem; }

/* ============================================
   Product modal
   ============================================ */
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(16,32,54,.55); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s var(--ease); }
.modal.open .modal-overlay { opacity: 1; }
.modal-card {
  position: relative; z-index: 1; width: min(640px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--paper); border-radius: 22px; border: 1px solid var(--line);
  box-shadow: 0 50px 100px -30px rgba(16,32,54,.6);
  padding: 2.4rem clamp(1.4rem, 4vw, 2.6rem);
  transform: translateY(20px) scale(.97); opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.modal.open .modal-card { transform: none; opacity: 1; }
.modal-close {
  position: absolute; inset-block-start: 1rem; inset-inline-end: 1.1rem;
  width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--cream); color: var(--ink); font-size: 1.6rem; line-height: 1;
  transition: background .25s, transform .25s;
}
.modal-close:hover { background: var(--clay); color: #fff; transform: rotate(90deg); }
.modal-hero { width: 100%; height: clamp(180px, 32vw, 260px); object-fit: cover;
  border-radius: 14px; margin-bottom: 1.5rem; }
.modal-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.2; color: var(--ink); margin-bottom: 1.1rem; padding-inline-end: 2.5rem; }
.modal-compose { background: var(--cream); border: 1px solid var(--line); border-inline-start: 4px solid var(--clay);
  border-radius: 12px; padding: .85rem 1.1rem; color: var(--ink-soft); font-size: 1rem; }
.modal-compose span { color: var(--ink); font-weight: 700; }
.modal-intro { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; margin-top: 1.2rem; }
.modal-subtitle { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--ink);
  margin: 1.6rem 0 .8rem; }
.modal-benefits { list-style: none; display: grid; gap: .9rem; }
.modal-benefits li { position: relative; padding-inline-start: 1.6rem; color: var(--ink-soft);
  font-size: 1.02rem; line-height: 1.7; }
.modal-benefits li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0;
  color: var(--clay); font-weight: 800; }
.modal-benefits strong { color: var(--ink); }
.price-table { width: 100%; border-collapse: collapse; margin-top: .4rem;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.price-table td { padding: .75rem 1.1rem; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.price-table tr:nth-child(even) td { background: var(--cream); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:first-child { color: var(--ink-soft); }
.price-table td:last-child { text-align: left; font-weight: 700; color: var(--ink);
  font-family: var(--display); white-space: nowrap; }
.addon-table td:last-child { white-space: normal; }
.addon-ask { font-family: var(--body); font-weight: 600; font-size: .88rem; color: var(--clay); }
.modal-cta { margin-top: 1.8rem; }

/* ============================================
   Process
   ============================================ */
.process { padding: 6.5rem 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.step { padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); position: relative; transition: transform .35s var(--ease); }
.step:hover { transform: translateY(-5px); }
.step-num { font-family: var(--display); font-size: 2.4rem; font-weight: 900; color: var(--clay); opacity: .35; line-height: 1; }
.step h3 { font-family: var(--display); font-size: 1.3rem; margin: .6rem 0 .5rem; }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* ============================================
   Why
   ============================================ */
.why { padding: 6rem 0; }
.why-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3.5rem; align-items: start; }
.features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .35s var(--ease), border-color .35s; }
.feature:hover { transform: translateY(-4px); border-color: var(--clay); }
.feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--cream-deep); color: var(--clay); font-size: 1.3rem; }
.feature h3 { font-family: var(--display); font-size: 1.25rem; margin: .9rem 0 .4rem; }
.feature p { color: var(--ink-soft); font-size: .96rem; }

/* ============================================
   Clients / Trusted by
   ============================================ */
.clients { padding: 5.5rem 0; background: var(--paper); border-block: 1px solid var(--line); }
.clients .section-head { margin-bottom: 2.6rem; }
.clients-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem;
}
.client {
  aspect-ratio: 3/2; display: grid; place-items: center; padding: 1.2rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.client:hover { transform: translateY(-4px); border-color: var(--clay);
  box-shadow: 0 20px 36px -22px rgba(21,36,59,.35); }
.client img {
  max-width: 100%; max-height: 56px; width: auto; object-fit: contain;
}
.client-ph { font-weight: 700; color: var(--ink-soft); opacity: .5; font-size: .95rem; }
.clients-note { text-align: center; margin-top: 2.4rem; color: var(--ink-soft); font-size: 1.05rem; }
.clients-note a { color: var(--clay); font-weight: 600; }
.clients-note a:hover { color: var(--clay-deep); }

/* ============================================
   Contact
   ============================================ */
.contact { padding: 6.5rem 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-direct { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.2rem; }
.contact-line { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s, transform .3s; }
a.contact-line:hover { border-color: var(--clay); transform: translateX(-4px); }
.ci { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; background: var(--clay); color: var(--paper); font-size: 1.2rem; }
.contact-line span:last-child { font-size: .95rem; color: var(--ink-soft); line-height: 1.4; }
.contact-line strong { color: var(--ink); font-size: 1.05rem; }

.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: 0 30px 60px -40px rgba(33,27,20,.4); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--cream); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(46,111,230,.18);
}
.field textarea { resize: vertical; }
.form-note { margin-top: 1rem; text-align: center; color: var(--olive); font-weight: 600; }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--ink); color: var(--cream); padding: 4rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: .6rem; }
.footer-brand .logo-text { font-family: var(--display); font-size: 1.4rem; }
.footer-brand .logo-mark { display: inline-block; }
.footer-brand p { color: rgba(246,240,230,.6); font-size: .96rem; max-width: 32ch; margin-top: .4rem; }
.footer-nav { display: flex; flex-direction: column; gap: .7rem; }
.footer-nav a { color: rgba(246,240,230,.75); transition: color .25s; }
.footer-nav a:hover { color: var(--gold); }
.footer-meta p { color: rgba(246,240,230,.6); font-size: .95rem; margin-bottom: .4rem; }
.footer-meta .copy { margin-top: 1rem; font-size: .85rem; color: rgba(246,240,230,.4); }

/* ============================================
   WhatsApp FAB
   ============================================ */
.whatsapp-fab {
  position: fixed; inset-block-end: 1.4rem; inset-inline-start: 1.4rem; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(160deg, #25D366, #128C7E); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(18,140,126,.7), 0 0 0 0 rgba(37,211,102,.5);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: waPulse 2.6s var(--ease) infinite;
}
.whatsapp-fab svg { width: 32px; height: 32px; fill: #fff; }
.whatsapp-fab:hover { transform: scale(1.08) translateY(-2px); animation-play-state: paused;
  box-shadow: 0 18px 40px -12px rgba(18,140,126,.85); }
@keyframes waPulse {
  0%   { box-shadow: 0 14px 34px -10px rgba(18,140,126,.7), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 14px 34px -10px rgba(18,140,126,.7), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 14px 34px -10px rgba(18,140,126,.7), 0 0 0 0 rgba(37,211,102,0); }
}

/* WhatsApp contact-line icon */
.ci--wa { background: linear-gradient(160deg, #25D366, #128C7E); }
.ci--wa svg { width: 22px; height: 22px; fill: #fff; }

/* ============================================
   Reveal animation
   ============================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .about-inner, .why-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-visual { height: 340px; max-width: 460px; margin-inline: auto; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* Hamburger nav — tablets & phones */
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex; position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    padding: .4rem 1.2rem 1rem; box-shadow: 0 24px 44px -22px rgba(16,32,54,.45);
    border-top: 1px solid var(--line);
  }
  .nav.open a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav.open a:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .hero { padding: 7rem 0 3.5rem; }
  .hero-copy { max-width: 100%; }
  .hero-title { font-size: clamp(2.1rem, 8.5vw, 3rem); }
  .hero-lead { font-size: 1.05rem; }
  .hero-trust { gap: 1.4rem; flex-wrap: wrap; }
  .hero-actions { gap: .7rem; }
  .hero-actions .btn { flex: 1; }
  .product-grid, .steps, .features, .footer-inner { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .about, .why, .process, .catalog, .contact, .clients { padding-block: 4rem; }
  .modal-card { padding: 1.8rem 1.3rem; }
}

/* ============================================
   Subpages (תקנון / הצהרת נגישות)
   ============================================ */
.subpage-header {
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
.subpage-header .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--clay); }
.back-link:hover { color: var(--clay-deep); }

.legal { padding: 3.5rem 0 5rem; }
.legal-wrap { width: min(100% - 2.4rem, 820px); margin-inline: auto; }
.legal .eyebrow { display: block; margin-bottom: .6rem; }
.legal h1 {
  font-family: var(--display); font-weight: 900; line-height: 1.1;
  font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.01em; margin-bottom: .6rem;
}
.legal .updated { color: var(--ink-soft); font-size: .95rem; margin-bottom: 2.4rem; }
.legal h2 {
  font-family: var(--display); font-weight: 700; font-size: 1.45rem;
  margin: 2.2rem 0 .7rem; color: var(--ink);
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.1rem; font-weight: 700; margin: 1.2rem 0 .4rem; }
.legal p, .legal li { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; }
.legal p { margin-bottom: 1rem; }
.legal ul, .legal ol { margin: 0 1.2rem 1.2rem; display: grid; gap: .5rem; }
.legal a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.legal .callout {
  background: var(--paper); border: 1px solid var(--line);
  border-inline-start: 4px solid var(--clay); border-radius: 12px;
  padding: 1.1rem 1.3rem; margin: 1.6rem 0; color: var(--ink-soft);
}
.legal .toc {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.3rem 1.5rem; margin-bottom: 2.4rem;
}
.legal .toc strong { display: block; margin-bottom: .6rem; }
.legal .toc ol { margin: 0 1.1rem 0; gap: .35rem; }
.legal .toc a { color: var(--ink); text-decoration: none; }
.legal .toc a:hover { color: var(--clay); text-decoration: underline; }
.legal .contact-box {
  background: var(--olive); color: var(--cream); border-radius: var(--radius);
  padding: 1.6rem 1.8rem; margin-top: 2.5rem;
}
.legal .contact-box h2 { color: var(--cream); border: 0; padding: 0; margin: 0 0 .6rem; }
.legal .contact-box p { color: rgba(246,240,230,.85); }
.legal .contact-box strong { color: #fff; }
.legal .contact-box a { color: var(--gold); }

/* ============================================
   404 — Not Found
   ============================================ */
.notfound {
  min-height: 68vh; display: grid; place-items: center; text-align: center;
  padding: 7rem 0 5rem;
  background: radial-gradient(900px 480px at 50% -12%, rgba(46,111,230,.13), transparent 60%), var(--cream);
}
.notfound .container { max-width: 620px; }
.nf-code {
  font-family: var(--display); font-weight: 900; line-height: .9;
  font-size: clamp(5rem, 18vw, 9rem); letter-spacing: -.04em; margin-bottom: .3rem;
  background: linear-gradient(140deg, var(--clay), #8DB8F0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h1 {
  font-family: var(--display); font-weight: 800; color: var(--ink);
  font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem;
}
.nf-text { color: var(--ink-soft); font-size: 1.1rem; max-width: 46ch; margin: 0 auto 2rem; }
.nf-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.2rem; }
.nf-links {
  display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.nf-links a { color: var(--clay); font-weight: 600; }
.nf-links a:hover { color: var(--clay-deep); }
