/*
Theme Name: CKCK Upgraded
Theme URI: https://ckck.co.il/
Author: Codex
Description: תבנית WordPress מהירה ומודרנית לצ׳יק צ׳ק פיגומים, עם RTL, תפריטים, לוגו, עמודי שירות וגלריית פרויקטים מובנית.
Version: 1.9.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: ckck-upgraded
*/

:root {
  --ckck-blue: #15191c;
  --ckck-blue-2: #2d3337;
  --ckck-steel: #7f8a90;
  --ckck-orange: #f5c400;
  --ckck-yellow: #ffd84d;
  --ckck-ink: #15191c;
  --ckck-muted: #59666d;
  --ckck-line: #d6dde0;
  --ckck-bg: #f4f5f3;
  --ckck-white: #ffffff;
  --ckck-radius: 8px;
  --ckck-shadow: 0 22px 55px rgba(24, 33, 38, 0.16);
}

/* Ackerstein-inspired industrial refresh */
.top-strip {
  display: none;
}

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(24,33,38,.12);
  box-shadow: 0 10px 34px rgba(24,33,38,.08);
}

.site-header::after {
  display: none;
}

.header-inner {
  min-height: 86px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.brand {
  justify-self: start;
}

.brand-logo,
.brand img {
  width: 270px;
  max-height: 72px;
}

.primary-menu {
  gap: 8px;
}

.primary-menu a {
  border-radius: 0;
  padding: 28px 10px;
  color: #1b252b;
  font-size: 15px;
  position: relative;
}

.primary-menu > li > a::after {
  content: "";
  position: absolute;
  inset-inline: 10px;
  bottom: 18px;
  height: 3px;
  background: var(--ckck-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  background: transparent;
  color: var(--ckck-orange);
}

.primary-menu > li:hover > a::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
  transform: scaleX(1);
}

.header-cta {
  background: var(--ckck-orange);
  color: #fff;
  padding: 13px 18px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(245,196,0,.24);
}

.ak-hero {
  position: relative;
  min-height: clamp(650px, 86vh, 850px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #11191e;
}

.ak-hero-media {
  position: absolute;
  inset: 0;
}

.ak-hero-media img,
.ak-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.05);
}

.ak-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,17,22,.14), rgba(10,17,22,.72) 55%, rgba(10,17,22,.94)),
    linear-gradient(0deg, rgba(10,17,22,.82), transparent 52%);
}

.ak-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  height: 10px;
  background: linear-gradient(90deg, var(--ckck-orange), var(--ckck-yellow), var(--ckck-orange));
}

.ak-hero-content {
  position: relative;
  z-index: 3;
  padding: 130px 0 175px;
  max-width: 1180px;
}

.ak-kicker {
  margin: 0 0 18px;
  color: var(--ckck-yellow);
  font-weight: 900;
  letter-spacing: 0;
}

.ak-hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(46px, 7vw, 96px);
  line-height: .96;
  font-weight: 950;
}

.ak-hero-content > p:not(.ak-kicker) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.92);
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 700;
}

.ak-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ak-hero-index {
  position: absolute;
  z-index: 4;
  inset-inline: 0;
  bottom: 10px;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255,255,255,.96);
  color: var(--ckck-ink);
  border-top: 5px solid var(--ckck-orange);
}

.ak-hero-index div {
  padding: 22px 24px;
  border-inline-start: 1px solid var(--ckck-line);
  display: grid;
  gap: 2px;
}

.ak-hero-index div:last-child {
  border-inline-start: 0;
}

.ak-hero-index b {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;
  color: var(--ckck-orange);
}

.ak-hero-index span {
  color: var(--ckck-muted);
  font-weight: 800;
}

.ak-intro,
.ak-activities,
.ak-standard,
.ak-projects,
.ak-process,
.ak-contact {
  padding: clamp(70px, 8vw, 120px) 0;
}

.ak-intro {
  background: #fff;
}

.ak-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}

.ak-intro h2,
.ak-section-head h2,
.ak-standard h2,
.ak-contact h2 {
  margin: 0;
  color: var(--ckck-ink);
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.05;
  font-weight: 950;
}

.ak-intro p:last-child,
.ak-standard p,
.ak-contact p {
  color: var(--ckck-muted);
  font-size: 19px;
  font-weight: 700;
}

.ak-section-head {
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.ak-activities {
  background: #eef1f2;
}

.ak-activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(24,33,38,.12);
}

.ak-activity-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}

.ak-activity-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.ak-activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12,18,22,.9), rgba(12,18,22,.26));
}

.ak-activity-card:hover img {
  transform: scale(1.06);
}

.ak-activity-card span {
  position: absolute;
  top: 24px;
  inset-inline-start: 24px;
  color: var(--ckck-yellow);
  font-weight: 950;
  font-size: 28px;
}

.ak-activity-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.1;
}

.ak-activity-card p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-weight: 700;
}

.ak-standard {
  background: #fff;
}

.ak-standard-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: stretch;
}

.ak-standard-copy {
  padding: clamp(28px, 5vw, 62px);
  background: #151d22;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ak-standard-copy h2 {
  color: #fff;
}

.ak-standard-copy p {
  color: rgba(255,255,255,.8);
}

.ak-checks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ak-checks li {
  position: relative;
  padding-inline-start: 28px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
}

.ak-checks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .72em;
  width: 14px;
  height: 4px;
  background: var(--ckck-orange);
}

.ak-standard-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.ak-projects {
  background: #eef1f2;
}

.ak-project-strip {
  display: grid;
  grid-template-columns: 1.25fr .9fr .9fr;
  grid-auto-rows: 270px;
  gap: 16px;
}

.ak-project-strip a {
  overflow: hidden;
  background: #d6dde0;
}

.ak-project-strip a:first-child {
  grid-row: span 2;
}

.ak-project-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.ak-project-strip a:hover img {
  transform: scale(1.045);
}

.ak-process {
  background: #fff;
}

.ak-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ckck-line);
  border-bottom: 1px solid var(--ckck-line);
}

.ak-process-grid div {
  min-height: 250px;
  padding: 30px 26px;
  border-inline-start: 1px solid var(--ckck-line);
}

.ak-process-grid div:last-child {
  border-inline-start: 0;
}

.ak-process-grid b {
  color: var(--ckck-orange);
  font-size: 30px;
}

.ak-process-grid span {
  display: block;
  margin-top: 52px;
  color: var(--ckck-ink);
  font-size: 24px;
  font-weight: 950;
}

.ak-process-grid p {
  margin: 10px 0 0;
  color: var(--ckck-muted);
  font-weight: 700;
}

.ak-contact {
  background:
    linear-gradient(90deg, rgba(24,33,38,.82), rgba(24,33,38,.95)),
    url("assets/images/projects/project-23.jpg") center / cover;
  color: #fff;
}

.ak-contact-grid {
  display: grid;
  grid-template-columns: .95fr .72fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.ak-contact h2,
.ak-contact p {
  color: #fff;
}

.ak-phone {
  display: inline-block;
  margin-top: 18px;
  color: var(--ckck-yellow);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  font-weight: 950;
  text-decoration: none;
}

.ak-contact .contact-form {
  background: #fff;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.ak-contact .contact-form input,
.ak-contact .contact-form textarea {
  border-radius: 0;
  background: #f4f5f3;
}

.ak-contact .contact-form .button {
  width: 100%;
}

.sales-page-hero {
  background: #11191e;
}

.sales-page-hero::after {
  background:
    linear-gradient(90deg, rgba(17,25,30,.94), rgba(17,25,30,.72)),
    repeating-linear-gradient(135deg, rgba(245,196,0,.18) 0 2px, transparent 2px 16px);
}

.sales-hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 78px);
  line-height: 1;
}

.sales-page-main {
  background: #fff;
}

.authority-layout,
.service-sales-layout,
.standard-layout {
  border: 0;
  box-shadow: none;
  border-top: 6px solid var(--ckck-orange);
}

.related-strip a,
.project-gallery a {
  border-radius: 0;
}

@media (max-width: 1020px) {
  .ak-activity-grid,
  .ak-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ak-standard-grid,
  .ak-contact-grid,
  .ak-intro-grid {
    grid-template-columns: 1fr;
  }

  .ak-project-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .primary-menu a {
    padding: 12px 10px;
  }

  .brand-logo,
  .brand img {
    width: 220px;
  }

  .ak-hero {
    min-height: 760px;
  }

  .ak-hero-content {
    padding: 100px 0 255px;
  }

  .ak-hero-index {
    grid-template-columns: 1fr;
  }

  .ak-hero-index div {
    padding: 14px 18px;
    border-inline-start: 0;
    border-top: 1px solid var(--ckck-line);
  }

  .ak-section-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ak-activity-grid,
  .ak-process-grid,
  .ak-project-strip {
    grid-template-columns: 1fr;
  }

  .ak-project-strip a:first-child {
    grid-row: auto;
  }

  .ak-project-strip {
    grid-auto-rows: 250px;
  }

  .ak-activity-card {
    min-height: 360px;
  }
}

/* Final refresh overrides: keep the new brand system above older base styles. */
.top-strip {
  display: none !important;
}

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(24,33,38,.12);
  box-shadow: 0 10px 34px rgba(24,33,38,.08);
}

.site-header::after {
  display: none;
}

.header-inner {
  min-height: 86px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.brand {
  justify-self: start;
}

.brand-logo,
.brand img {
  width: 270px;
  max-height: 72px;
  object-fit: contain;
}

.primary-menu {
  gap: 8px;
}

.primary-menu a {
  border-radius: 0;
  padding: 28px 10px;
  color: #1b252b;
  font-size: 15px;
  position: relative;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  background: transparent;
  color: var(--ckck-orange);
}

.header-cta {
  border-radius: 0;
  background: var(--ckck-orange);
  color: #fff;
  padding: 13px 18px;
}

.menu-toggle {
  border-radius: 0;
  align-content: center;
  justify-items: center;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ckck-ink);
  display: block;
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 74px;
    grid-template-columns: auto 1fr auto auto;
  }

  .brand-logo,
  .brand img {
    width: 220px;
    max-height: 58px;
  }

  .primary-menu a {
    padding: 12px 10px;
  }

  .mobile-call-cta {
    display: inline-flex;
  }
}

.ak-intro .ak-kicker,
.ak-activities .ak-kicker,
.ak-projects .ak-kicker,
.ak-process .ak-kicker {
  color: var(--ckck-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ak-intro .ak-kicker::before,
.ak-activities .ak-kicker::before,
.ak-projects .ak-kicker::before,
.ak-process .ak-kicker::before {
  content: "";
  width: 34px;
  height: 5px;
  background: var(--ckck-orange);
}

.ak-hero .ak-kicker,
.ak-standard-copy .ak-kicker,
.ak-contact .ak-kicker {
  color: var(--ckck-yellow);
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ckck-ink);
  background:
    linear-gradient(135deg, rgba(32,43,49,.035) 25%, transparent 25%) 0 0 / 26px 26px,
    var(--ckck-bg);
  font-family: Arial, "Noto Sans Hebrew", "Noto Sans", sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-shell {
  overflow: hidden;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.top-strip {
  background:
    repeating-linear-gradient(135deg, rgba(244,192,25,.95) 0 16px, rgba(24,33,38,.98) 16px 32px);
  color: var(--ckck-white);
  font-size: 14px;
}

.top-strip .wrap {
  min-height: 42px;
  background: rgba(24,33,38,.92);
  padding-inline: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-strip a {
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 4px solid var(--ckck-orange);
  backdrop-filter: blur(14px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 4px;
  background: repeating-linear-gradient(135deg, var(--ckck-yellow) 0 14px, var(--ckck-orange) 14px 28px, var(--ckck-blue) 28px 42px);
}

.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  justify-self: start;
  min-width: 0;
  padding: 8px 0;
}

.brand-logo,
.brand img {
  width: 250px;
  max-height: 76px;
  object-fit: contain;
}

.nav-wrap {
  justify-self: center;
}

.header-cta {
  justify-self: end;
  white-space: nowrap;
}

.mobile-call-cta {
  display: none;
  text-decoration: none;
  background: var(--ckck-orange);
  color: var(--ckck-ink);
  font-weight: 950;
  padding: 10px 14px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: grid;
  font-weight: 800;
  color: var(--ckck-blue);
  line-height: 1.15;
}

.brand-text small {
  color: var(--ckck-orange);
  font-size: 12px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--ckck-line);
  background: var(--ckck-white);
  color: var(--ckck-blue);
  width: 44px;
  height: 44px;
  border-radius: var(--ckck-radius);
  font-size: 24px;
  cursor: pointer;
}

.primary-menu,
.primary-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.primary-menu > li {
  position: relative;
}

.primary-menu a {
  display: block;
  padding: 10px 10px;
  color: var(--ckck-ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  border-radius: var(--ckck-radius);
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  background: #fff1e6;
  color: var(--ckck-orange);
}

.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  min-width: 238px;
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--ckck-white);
  border: 1px solid var(--ckck-line);
  border-radius: var(--ckck-radius);
  box-shadow: var(--ckck-shadow);
}

.primary-menu > li:hover > .sub-menu,
.primary-menu > li:focus-within > .sub-menu {
  display: grid;
}

.primary-menu .sub-menu a {
  padding: 10px 12px;
  font-size: 14px;
  white-space: normal;
}

.primary-menu > .menu-item-has-children > a::after {
  content: "⌄";
  margin-inline-start: 6px;
  color: var(--ckck-orange);
}

.header-cta,
.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--ckck-radius);
  padding: 12px 18px;
  color: var(--ckck-white);
  background:
    linear-gradient(135deg, var(--ckck-orange), #d8b000);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(243, 112, 33, 0.28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  position: relative;
  overflow: hidden;
}

.header-cta::before,
.button::before,
.wp-block-button__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(120%);
  transition: transform .45s ease;
}

.header-cta:hover::before,
.button:hover::before,
.wp-block-button__link:hover::before {
  transform: translateX(-120%);
}

.header-cta:hover,
.button:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(243, 112, 33, 0.3);
}

.button.secondary {
  background:
    linear-gradient(135deg, var(--ckck-blue), #11181c);
  box-shadow: none;
}

.hero {
  min-height: clamp(680px, 84vh, 900px);
  position: relative;
  color: var(--ckck-white);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 18% 26%, rgba(244, 192, 25, 0.22), transparent 22%),
    linear-gradient(90deg, rgba(24, 33, 38, 0.98), rgba(32, 43, 49, 0.76) 48%, rgba(32, 43, 49, 0.22)),
    var(--ckck-blue);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  top: 0;
  height: 10px;
  background: repeating-linear-gradient(135deg, var(--ckck-yellow) 0 18px, var(--ckck-blue) 18px 36px);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(244,192,25,.55) 0 8px, rgba(24,33,38,.55) 8px 16px, transparent 16px 78px),
    linear-gradient(120deg, transparent 0 46%, rgba(255,255,255,.12) 46% 47%, transparent 47% 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 74px);
  mix-blend-mode: screen;
  opacity: .42;
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 170px;
  background: linear-gradient(0deg, var(--ckck-bg), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 190px;
  width: min(720px, 100%);
  margin-inline-start: auto;
}

.hero-content::before {
  content: "";
  display: inline-flex;
  width: 92px;
  height: 8px;
  margin-bottom: 22px;
  background: repeating-linear-gradient(135deg, var(--ckck-yellow) 0 12px, var(--ckck-orange) 12px 24px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ckck-yellow);
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
  max-width: 720px;
}

.hero h1 span {
  color: var(--ckck-orange);
}

.hero p {
  margin: 22px 0 0;
  max-width: 640px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
}

.construction-hero .hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(24,33,38,.12), rgba(24,33,38,.34) 42%, rgba(24,33,38,.96) 70%),
    linear-gradient(0deg, rgba(24,33,38,.35), transparent 44%);
}

.construction-hero .hero-media::after {
  z-index: 2;
  opacity: .28;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(244,192,25,.48);
  background: rgba(24,33,38,.58);
  color: #fff;
  border-radius: var(--ckck-radius);
  font-weight: 900;
  font-size: 14px;
}

.hero-proof {
  position: absolute;
  z-index: 4;
  inset-inline: 0;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  color: var(--ckck-white);
  background: rgba(255,255,255,.94);
  border-radius: var(--ckck-radius);
  box-shadow: var(--ckck-shadow);
  overflow: hidden;
}

.hero-proof div {
  min-height: 92px;
  padding: 18px 24px;
  color: var(--ckck-blue);
  border-inline-start: 1px solid var(--ckck-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,246,242,.96));
}

.hero-proof div:first-child {
  border-inline-start: 0;
}

.hero-proof b {
  display: block;
  color: var(--ckck-orange);
  font-size: 34px;
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  font-weight: 900;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.section {
  padding: 84px 0;
}

.section.white {
  background:
    linear-gradient(180deg, #fff, #f7f7f4);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head h2,
.page-title,
.entry-content h2 {
  color: var(--ckck-blue);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  margin: 0;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  max-width: 560px;
  color: var(--ckck-muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.stat-card,
.contact-panel,
.content-card {
  background: var(--ckck-white);
  border: 1px solid var(--ckck-line);
  border-radius: var(--ckck-radius);
  box-shadow: var(--ckck-shadow);
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  min-height: 260px;
  text-decoration: none;
  background:
    linear-gradient(180deg, #ffffff, #faf9f5);
}

.service-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 5px;
  background: repeating-linear-gradient(135deg, var(--ckck-yellow) 0 12px, var(--ckck-blue) 12px 24px);
}

.service-card strong {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--ckck-radius);
  background: #fff0e7;
  color: var(--ckck-orange);
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 0 0 10px;
  color: var(--ckck-blue);
  font-size: 23px;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,196,0,.45);
  box-shadow: 0 28px 65px rgba(24,33,38,.18);
}

.service-card p,
.content-card p {
  color: var(--ckck-muted);
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.industrial-panel {
  position: relative;
  padding: clamp(26px, 4vw, 44px);
  background: #202b31;
  color: var(--ckck-white);
  border-radius: var(--ckck-radius);
  overflow: hidden;
  box-shadow: var(--ckck-shadow);
}

.industrial-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, rgba(245,196,0,.28), transparent 38%);
  pointer-events: none;
}

.industrial-panel > * {
  position: relative;
}

.industrial-panel .page-title,
.industrial-panel p,
.industrial-panel li {
  color: var(--ckck-white);
}

.feature-image {
  border-radius: var(--ckck-radius);
  overflow: hidden;
  box-shadow: var(--ckck-shadow);
  aspect-ratio: 4 / 3.25;
  transform: rotate(-1.2deg);
  border: 6px solid var(--ckck-white);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list li::before {
  content: "✓";
  color: var(--ckck-orange);
  font-weight: 900;
}

.stats-band {
  background:
    repeating-linear-gradient(135deg, rgba(244,192,25,.16) 0 12px, transparent 12px 48px),
    linear-gradient(135deg, rgba(245,196,0,.18), transparent 28%),
    #202b31;
  color: var(--ckck-white);
}

.stat-card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: var(--ckck-white);
  padding: 32px;
  box-shadow: none;
}

.stat-card b {
  display: block;
  color: var(--ckck-yellow);
  font-size: 48px;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-card.light {
  background: var(--ckck-white);
  color: var(--ckck-ink);
  border-color: var(--ckck-line);
  box-shadow: var(--ckck-shadow);
}

.stat-card.light b {
  color: var(--ckck-orange);
  font-size: 32px;
}

.stat-card.light span {
  color: var(--ckck-blue);
  font-weight: 800;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.project-gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--ckck-radius);
  grid-column: span 3;
  aspect-ratio: 1 / 0.78;
  background: #d7dee7;
  box-shadow: 0 12px 28px rgba(24,33,38,.12);
}

.project-gallery a:nth-child(1),
.project-gallery a:nth-child(8) {
  grid-column: span 6;
  grid-row: span 2;
  aspect-ratio: 1.5 / 1;
}

.project-gallery a:nth-child(5),
.project-gallery a:nth-child(10) {
  grid-column: span 3;
  grid-row: span 2;
  aspect-ratio: .72 / 1;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.project-gallery a:hover img {
  transform: scale(1.06);
}

.project-gallery a::after {
  content: "הצג פרויקט";
  position: absolute;
  inset-inline: 10px;
  bottom: 10px;
  padding: 8px 10px;
  color: var(--ckck-white);
  background: rgba(24, 33, 38, 0.86);
  border-radius: var(--ckck-radius);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: .25s ease;
}

.project-gallery a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(5, 15, 31, 0.88);
  padding: 24px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-height: 88vh;
  max-width: min(1100px, 94vw);
  border-radius: var(--ckck-radius);
}

.lightbox button {
  position: fixed;
  top: 18px;
  left: 18px;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ckck-white);
  color: var(--ckck-blue);
  font-size: 26px;
  cursor: pointer;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(32,43,49,.10), rgba(245,196,0,.10)),
    #ffffff;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: clamp(24px, 4vw, 42px);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form input,
.contact-form textarea,
.search-field {
  width: 100%;
  border: 1px solid var(--ckck-line);
  border-radius: var(--ckck-radius);
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  background: var(--ckck-white);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.page-hero {
  padding: 82px 0 48px;
  background:
    repeating-linear-gradient(135deg, rgba(244,192,25,.12) 0 12px, transparent 12px 52px),
    linear-gradient(135deg, rgba(245,196,0,.22), transparent 36%),
    #202b31;
  color: var(--ckck-white);
}

.designed-page-hero {
  padding: 72px 0;
}

.designed-page-hero p {
  max-width: 680px;
  color: rgba(255,255,255,.88);
  font-size: 18px;
}

.page-hero-image {
  overflow: hidden;
  border-radius: var(--ckck-radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  aspect-ratio: 4 / 3;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.designed-page-main {
  padding-top: 46px;
}

.page-benefits {
  margin-bottom: 54px;
}

.page-section-head {
  margin-top: 12px;
}

.page-contact-panel {
  margin-top: 22px;
}

.sales-page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 76px;
  color: var(--ckck-white);
  background:
    repeating-linear-gradient(135deg, rgba(244,192,25,.14) 0 12px, transparent 12px 54px),
    linear-gradient(135deg, rgba(245,196,0,.2), transparent 38%),
    #202b31;
}

.sales-page-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 8px;
  background: repeating-linear-gradient(135deg, var(--ckck-yellow) 0 16px, var(--ckck-blue) 16px 32px);
}

.sales-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 44px;
  align-items: center;
}

.sales-hero-copy h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.sales-hero-copy p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.88);
  font-size: 20px;
  font-weight: 700;
}

.sales-hero-media {
  display: grid;
  grid-template-columns: 1fr .62fr;
  gap: 14px;
  align-items: end;
}

.sales-hero-media img {
  width: 100%;
  object-fit: cover;
  border: 6px solid rgba(255,255,255,.95);
  border-radius: var(--ckck-radius);
  box-shadow: 0 24px 65px rgba(0,0,0,.28);
}

.sales-hero-media img:first-child {
  aspect-ratio: 4 / 3.25;
}

.sales-hero-media img:last-child {
  aspect-ratio: 3 / 4;
  transform: translateY(28px);
}

.sales-page-main {
  padding: 72px 0 88px;
  background: var(--ckck-bg);
}

.authority-layout,
.service-sales-layout,
.standard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: 28px;
  align-items: stretch;
}

.authority-copy,
.service-sales-copy,
.standard-layout > div:first-child,
.use-case-panel,
.gallery-intro {
  background: var(--ckck-white);
  border: 1px solid var(--ckck-line);
  border-radius: var(--ckck-radius);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--ckck-shadow);
}

.authority-copy h2,
.service-sales-copy h2,
.standard-layout h2,
.gallery-intro h2 {
  margin: 0 0 14px;
  color: var(--ckck-blue);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
}

.authority-copy p,
.service-sales-copy p,
.standard-layout p,
.gallery-intro p {
  color: var(--ckck-muted);
  margin: 0;
}

.authority-copy blockquote {
  margin: 26px 0 0;
  padding: 18px 22px;
  border-inline-start: 6px solid var(--ckck-orange);
  background: #fff3e8;
  color: var(--ckck-blue);
  font-size: 22px;
  font-weight: 900;
}

.authority-image {
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--ckck-radius);
  box-shadow: var(--ckck-shadow);
}

.authority-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sales-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.sales-points div {
  min-height: 118px;
  padding: 20px;
  background: var(--ckck-white);
  border: 1px solid var(--ckck-line);
  border-top: 5px solid var(--ckck-orange);
  border-radius: var(--ckck-radius);
  box-shadow: 0 12px 28px rgba(24,33,38,.08);
}

.sales-points b {
  display: block;
  color: var(--ckck-orange);
  font-size: 28px;
  line-height: 1;
}

.sales-points span {
  display: block;
  margin-top: 10px;
  color: var(--ckck-blue);
  font-weight: 900;
}

.service-sales-layout .sales-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.use-case-panel {
  background:
    linear-gradient(135deg, rgba(245,196,0,.12), transparent 42%),
    #202b31;
  color: var(--ckck-white);
}

.use-case-panel h3 {
  margin: 0 0 18px;
  color: var(--ckck-yellow);
  font-size: 30px;
}

.use-case-panel ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.use-case-panel li {
  padding: 12px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--ckck-radius);
  font-weight: 900;
}

.related-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.related-strip a {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--ckck-radius);
  color: var(--ckck-white);
  text-decoration: none;
  box-shadow: var(--ckck-shadow);
}

.related-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.related-strip a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(24,33,38,.92), rgba(24,33,38,.15));
}

.related-strip span,
.related-strip small {
  position: relative;
  z-index: 1;
  display: block;
  margin-inline: 18px;
}

.related-strip span {
  margin-top: 150px;
  color: var(--ckck-yellow);
  font-size: 22px;
  font-weight: 900;
}

.related-strip small {
  margin-top: 6px;
  font-weight: 800;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  overflow: hidden;
  border-radius: var(--ckck-radius);
  box-shadow: var(--ckck-shadow);
}

.process-line span {
  min-height: 84px;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--ckck-white);
  border-inline-start: 1px solid var(--ckck-line);
  color: var(--ckck-blue);
  font-weight: 900;
}

.process-line span:first-child {
  border-inline-start: 0;
  background: var(--ckck-orange);
  color: var(--ckck-white);
}

.gallery-intro {
  margin-bottom: 28px;
}

.page-hero .page-title {
  color: var(--ckck-white);
}

.page-main {
  padding: 56px 0 86px;
}

.entry-content {
  background: var(--ckck-white);
  border: 1px solid var(--ckck-line);
  border-radius: var(--ckck-radius);
  padding: clamp(24px, 4vw, 46px);
  box-shadow: var(--ckck-shadow);
}

.entry-content p,
.entry-content li {
  color: var(--ckck-muted);
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: var(--ckck-blue);
}

.site-footer {
  background: #181f24;
  color: var(--ckck-white);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 26px;
}

.footer-logo {
  width: 260px;
  background: var(--ckck-white);
  padding: 10px;
  border-radius: var(--ckck-radius);
  margin-bottom: 16px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--ckck-yellow);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--ckck-white);
  text-decoration: none;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 34px;
  padding-top: 18px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 72px;
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-wrap {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--ckck-white);
    border-bottom: 1px solid var(--ckck-line);
    padding: 14px 16px 18px;
  }

  .nav-wrap.is-open {
    display: block;
  }

  .primary-menu .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    box-shadow: none;
    border: 0;
    background: #f5f8fb;
    margin: 4px 10px 8px 0;
  }

  .primary-menu {
    display: grid;
    gap: 4px;
  }

  .header-cta {
    display: none;
  }

  .grid.cols-3,
  .grid.cols-4,
  .split,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-gallery a,
  .project-gallery a:nth-child(1),
  .project-gallery a:nth-child(5),
  .project-gallery a:nth-child(8),
  .project-gallery a:nth-child(10) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / .78;
  }
}

@media (max-width: 560px) {
  .top-strip .wrap {
    justify-content: center;
  }

  .brand img {
    width: 190px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    padding: 100px 0 250px;
  }

  .construction-hero .hero-media::before {
    background: linear-gradient(0deg, rgba(24,33,38,.96), rgba(24,33,38,.72) 58%, rgba(24,33,38,.24));
  }

  .hero-proof {
    grid-template-columns: 1fr;
    bottom: 20px;
  }

  .hero-proof div {
    min-height: 70px;
    border-inline-start: 0;
    border-top: 1px solid var(--ckck-line);
  }

  .hero-proof div:first-child {
    border-top: 0;
  }

  .sales-hero-grid,
  .authority-layout,
  .service-sales-layout,
  .standard-layout {
    grid-template-columns: 1fr;
  }

  .sales-hero-media {
    grid-template-columns: 1fr 1fr;
  }

  .sales-points,
  .service-sales-layout .sales-points,
  .related-strip,
  .process-line {
    grid-template-columns: 1fr;
  }

  .related-strip span {
    margin-top: 120px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: auto 1fr auto auto !important;
  }

  .brand {
    grid-column: 1;
  }

  .mobile-call-cta {
    display: inline-flex !important;
    grid-column: 3;
    grid-row: 1;
    white-space: nowrap;
  }

  .menu-toggle {
    grid-column: 4;
    grid-row: 1;
  }

  .nav-wrap {
    grid-column: 1 / -1;
  }
}

/* Final refresh overrides: keep the new brand system above older base styles. */
.top-strip {
  display: none !important;
}

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(24,33,38,.12);
  box-shadow: 0 10px 34px rgba(24,33,38,.08);
}

.site-header::after {
  display: none;
}

.header-inner {
  min-height: 86px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.brand {
  justify-self: start;
}

.brand-logo,
.brand img {
  width: 270px;
  max-height: 72px;
  object-fit: contain;
}

.primary-menu {
  gap: 8px;
}

.primary-menu a {
  border-radius: 0;
  padding: 28px 10px;
  color: #1b252b;
  font-size: 15px;
  position: relative;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  background: transparent;
  color: var(--ckck-orange);
}

.header-cta {
  border-radius: 0;
  background: var(--ckck-orange);
  color: #fff;
  padding: 13px 18px;
}

.menu-toggle {
  border-radius: 0;
  align-content: center;
  justify-items: center;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ckck-ink);
  display: block;
}

@media (max-width: 920px) {
  .header-inner {
    min-height: 74px;
  }

  .brand-logo,
  .brand img {
    width: 220px;
    max-height: 58px;
  }

  .primary-menu a {
    padding: 12px 10px;
  }
}
