/* ==========================================================================
   Sitcom Computers — סיטקום מחשבים
   Design system + layout. RTL, Hebrew-first.
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-900: #0a1834;
  --navy-800: #0f2350;
  --navy-700: #163069;
  --blue-600: #1f5fe0;
  --blue-500: #2f7bff;
  --cyan-400: #35c7e0;
  --accent: #ff7a1a;        /* warm CTA accent */
  --accent-600: #e85f00;

  /* Neutrals */
  --ink: #10182b;
  --slate-700: #33415c;
  --slate-500: #5b6b8c;
  --slate-300: #aab6cf;
  --line: #e6ebf5;
  --surface: #ffffff;
  --surface-2: #f5f8ff;
  --surface-3: #eef3fd;

  /* System */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 8px rgba(15, 35, 80, 0.06);
  --shadow: 0 10px 30px rgba(15, 35, 80, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 35, 80, 0.16);
  --maxw: 1180px;
  --font: "Heebo", "Assistant", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Reset ------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }

/* Layout helpers ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: 92px; }
.section--tight { padding-block: 64px; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue-600);
  background: var(--surface-3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); color: var(--navy-900); }
.section-lead {
  max-width: 640px;
  margin: 16px auto 0;
  color: var(--slate-500);
  font-size: 1.08rem;
}

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-600));
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 122, 26, 0.32);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 122, 26, 0.42); }
.btn--ghost {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,0.18); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--outline { border-color: var(--line); color: var(--navy-800); background: #fff; }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn .ic { width: 18px; height: 18px; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; gap: 2px; }
.brand__word {
  direction: ltr;
  display: inline-flex;
  align-items: center;
  font-family: "Fredoka", "Heebo", sans-serif;
  font-weight: 600;
  font-size: 1.95rem;
  color: #23a7e0;
  letter-spacing: 0.5px;
}
.brand__word .chip {
  height: 1.25em;
  width: 1.25em;
  margin: 0 -1px;
  transform: translateY(1px);
}
.brand__sub {
  align-self: flex-end;
  font-family: "Heebo", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: #77797f;
  letter-spacing: 3px;
}

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--slate-700);
  font-size: 0.98rem;
  transition: background .15s ease, color .15s ease;
}
.nav__links a:hover { background: var(--surface-2); color: var(--navy-900); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  color: var(--navy-900);
  direction: ltr;
}
.nav__phone .ic { width: 18px; height: 18px; color: var(--blue-600); }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy-900);
}
.nav__toggle svg { width: 26px; height: 26px; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(53,199,224,0.28), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(47,123,255,0.30), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 60% at 60% 20%, #000, transparent 80%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-block: 96px 104px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero__badge b { color: var(--cyan-400); }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.12;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--cyan-400), #8fd6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: 20px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.86);
  max-width: 540px;
}
.hero__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  margin-top: 44px;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero__stat b { display: block; font-size: 1.8rem; color: #fff; font-weight: 800; }
.hero__stat span { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* Hero visual card */
.hero__card {
  background: linear-gradient(160deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.hero__card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.hero__card .muted { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 18px; }
.hero__list { display: grid; gap: 12px; }
.hero__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.98rem;
}
.hero__list .tick {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  color: #06213a;
}
.hero__list .tick svg { width: 15px; height: 15px; }

/* Hero artwork */
.hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__art img {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 24px 50px rgba(0, 10, 40, 0.45));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__art img { animation: none; }
}

/* Trust bar --------------------------------------------------------------- */
.trust {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 26px;
}
.trust__item { display: flex; align-items: center; gap: 12px; color: var(--slate-700); font-weight: 600; }
.trust__item .ic { width: 26px; height: 26px; color: var(--blue-600); flex: 0 0 auto; }

/* Cards / services -------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--surface-3), #dbe7ff);
  color: var(--blue-600);
  margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.22rem; color: var(--navy-900); margin-bottom: 9px; }
.card p { color: var(--slate-500); font-size: 0.99rem; }

/* Section backgrounds */
.bg-soft { background: var(--surface-2); }
.bg-navy {
  color: #fff;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(53,199,224,0.20), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
}
.bg-navy .section-title { color: #fff; }
.bg-navy .section-lead { color: rgba(255,255,255,0.78); }

/* Business band ----------------------------------------------------------- */
.biz {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}
.biz__list { display: grid; gap: 16px; margin-top: 26px; }
.biz__list li { display: flex; gap: 14px; align-items: flex-start; }
.biz__list .num {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(53,199,224,0.15);
  color: var(--cyan-400);
  font-weight: 800;
}
.biz__list b { display: block; color: #fff; font-size: 1.03rem; }
.biz__list span { color: rgba(255,255,255,0.72); font-size: 0.96rem; }
.biz__panel {
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.biz__panel h3 { font-size: 1.5rem; margin-bottom: 10px; }
.biz__panel p { color: rgba(255,255,255,0.8); margin-bottom: 22px; }

/* Why us ------------------------------------------------------------------ */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__ic {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-3);
  color: var(--blue-600);
}
.feature__ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; color: var(--navy-900); margin-bottom: 5px; }
.feature p { color: var(--slate-500); font-size: 0.97rem; }

/* Testimonials ------------------------------------------------------------ */
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}
.quote__stars { color: #ffb200; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 14px; }
.quote p { font-size: 1.05rem; color: var(--slate-700); }
.quote__by { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: #fff; font-weight: 800;
}
.quote__by b { color: var(--navy-900); font-size: 0.98rem; }
.quote__by span { color: var(--slate-500); font-size: 0.86rem; }

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(53,199,224,0.24), transparent 60%),
    linear-gradient(135deg, var(--blue-600), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 54px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 8px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contact ----------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact__info { display: grid; gap: 14px; align-content: start; }
.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.info-row .ic {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--surface-3);
  color: var(--blue-600);
}
.info-row .ic svg { width: 22px; height: 22px; }
.info-row b { display: block; color: var(--navy-900); font-size: 1.02rem; margin-bottom: 2px; }
.info-row span, .info-row a { color: var(--slate-500); font-size: 0.98rem; }
.info-row a:hover { color: var(--blue-600); }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.hours-table td { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 0.97rem; }
.hours-table td:first-child { color: var(--slate-700); font-weight: 600; }
.hours-table td:last-child { text-align: start; color: var(--slate-500); direction: ltr; unicode-bidi: plaintext; }
.hours-table tr:last-child td { border-bottom: none; }
.closed { color: var(--accent-600); font-weight: 700; }

.map-embed {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  filter: saturate(1.05);
}
.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Form -------------------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; font-size: 0.95rem; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 0.82rem; color: var(--slate-500); text-align: center; margin: 0; }
.form-note a { color: var(--blue-600); font-weight: 700; }
.form-error { color: var(--accent-600); font-weight: 600; margin-top: 12px; }

.form-success {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 32px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.form-success__ic {
  width: 66px; height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: #fff;
}
.form-success__ic svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.4rem; color: var(--navy-900); margin-bottom: 10px; }
.form-success p { color: var(--slate-500); margin-bottom: 22px; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.72);
  padding-block: 56px 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; }
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 0.95rem; }
.site-footer .brand__word { color: #ffffff; }
.site-footer .brand__sub { color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  transition: background .15s ease;
}
.footer-social a:hover { background: var(--blue-600); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}

/* Floating WhatsApp ------------------------------------------------------- */
.wa-float {
  position: fixed;
  inset-inline-start: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }

/* Utility ----------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-block: 64px 72px; }
  .biz { grid-template-columns: 1fr; gap: 30px; }
  .contact { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .section { padding-block: 64px; }
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.open .nav__links {
    display: flex;
    position: absolute;
    top: 74px;
    inset-inline: 0;
    flex-direction: column;
    background: #fff;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    gap: 2px;
  }
  .nav.open .nav__links a { padding: 12px; border-radius: 10px; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .cta-band { padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}
