/* עידן הנדסה — אתר חברה */
:root {
  --bg: #f4f2ed;
  --bg-alt: #e9e5dc;
  --surface: #ffffff;
  --ink: #101828;
  --ink-muted: #4a5563;
  --navy: #102040;
  --navy-deep: #0a1830;
  --navy-soft: #1a3358;
  --gold: #e8a820;
  --gold-deep: #c48a12;
  --gold-soft: #f7e6b8;
  --gold-text: #8a5c00; /* darker gold for small text (contrast AA) */
  --accent: #102040;
  --accent-soft: #1a3358;
  --accent-light: #e8eef6;
  --border: #d4cec2;
  --done: #3d5c4e;
  --active: #c47a2a;
  --form4: #102040;
  --shadow: 0 10px 30px rgba(16, 32, 64, 0.08);
  --radius: 14px;
  --font: "Heebo", "Segoe UI", Tahoma, Arial, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container.narrow {
  width: min(100% - 2.5rem, 760px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 242, 237, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 8px;
  background: #fff;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
}

.logo-text small {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--navy);
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 0.48rem 1.05rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--navy-soft);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}


/* Nav project departments */
.nav-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
}
.nav-sub {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.nav-group-label {
  background: none;
  border-top: 0;
  border-bottom: 0;
  border-inline-start: 0;
  font-family: inherit;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-text);
  padding-inline-end: 0.35rem;
  border-inline-end: 1px solid var(--border);
}
.nav-dept {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
}
.nav-dept:hover {
  color: var(--gold-text) !important;
}

/* Hero logo-only */
/* Project department lists (no photos) */
.projects-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
}
.projects-tabs a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: var(--shadow);
}
.projects-tabs a:hover {
  border-color: var(--gold);
  background: #fff8e8;
}
.projects-dept {
  scroll-margin-top: 96px;
  margin-bottom: 2.5rem;
}
.projects-dept .projects-group-title {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}
.project-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}
.project-list-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.project-list-item h4 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  color: var(--navy);
}
.project-list-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.project-list-item .badge {
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.project-list-item--empty {
  border-style: dashed;
  background: transparent;
  box-shadow: none;
  grid-column: 1 / -1;
  justify-content: center;
  text-align: center;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.25rem 0 3.75rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(232, 168, 32, 0.12), transparent 55%),
    linear-gradient(165deg, #e8eef6 0%, var(--bg) 55%, #f7f0e0 100%);
  border-bottom: 3px solid var(--gold);
}

.hero-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  flex: 1;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(232, 168, 32, 0.35);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero h1 span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.52em;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0;
}

.hero-tagline {
  margin: 0 0 1.75rem;
  font-size: 1.12rem;
  color: var(--ink-muted);
  max-width: 38em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-inline-start: 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.hero-points li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.hero-visual {
  flex: 0 0 auto;
  position: relative;
  width: clamp(260px, 38vw, 460px);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(16, 32, 64, 0.08);
  border: 1px solid rgba(16, 32, 64, 0.08);
  background: linear-gradient(160deg, #e8eef6 0%, #f4f0e6 100%);
  aspect-ratio: 2.4 / 1;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(232, 238, 246, 0.55) 0%, rgba(247, 240, 224, 0.42) 55%, rgba(232, 238, 246, 0.62) 100%);
  mix-blend-mode: soft-light;
  z-index: 1;
}

.hero-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.38;
  filter: saturate(0.85) contrast(0.95) brightness(1.08);
  position: absolute;
  inset: 0;
}

.hero-brand {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  text-align: center;
  pointer-events: none;
}

.hero-brand-logo {
  width: clamp(64px, 18%, 92px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(15, 40, 80, 0.16));
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  padding: 0.35rem;
  border: 1px solid rgba(16, 32, 64, 0.08);
}

.hero-brand-name {
  margin: 0;
  max-width: 14em;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hero-brand-name span {
  display: block;
  margin-top: 0.28rem;
  font-size: 0.72em;
  font-weight: 600;
  color: var(--navy-soft);
  line-height: 1.35;
}

.hero-logo-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 72px;
  height: auto;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(16, 32, 64, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-soft);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-deep);
  color: var(--navy-deep);
}

.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-light);
}

/* Sections */
.section {
  padding: 3.75rem 0;
}

.section-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.section h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.65rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* About */
.about {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.about-copy p {
  color: var(--ink-muted);
  margin: 0 0 1.05rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about strong {
  color: var(--ink);
  font-weight: 600;
}

.about-aside {
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}

.about-aside--soft {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.6rem 1.35rem 1.45rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  text-align: center;
}

.about-logo--sm {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
}

.about-aside-tag {
  margin: 0;
  max-width: 15em;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.about-aside-points {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  width: 100%;
}
.about-aside-points li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
}

/* Services */
.services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.45rem 1.3rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(16, 32, 64, 0.12);
  border-color: rgba(232, 168, 32, 0.45);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.95rem;
  color: var(--navy);
  background: var(--gold-soft);
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 8px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* Process */
.process {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  counter-reset: none;
}

.process-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow);
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
}

.process-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.process-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Projects */
.projects {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.projects-group-title {
  margin: 0 0 1.15rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.projects-grid + .projects-group-title {
  margin-top: 2.75rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.projects-grid--done {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.project-visual {
  aspect-ratio: 5 / 3;
  background: linear-gradient(145deg, #102040, #1a3358 55%, #243a55);
  overflow: hidden;
  position: relative;
}

.project-visual--sm {
  aspect-ratio: 2 / 1;
}

.photo-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: rgba(247, 230, 184, 0.85);
  border: 2px dashed rgba(232, 168, 32, 0.45);
  margin: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 10px;
  box-sizing: border-box;
}

.photo-ph svg {
  width: 40px;
  height: 40px;
  opacity: 0.8;
}

.photo-ph span {
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 0 0.75rem;
  color: rgba(255, 255, 255, 0.88);
}

.photo-ph--sm {
  margin: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  gap: 0.35rem;
}

.photo-ph--sm span {
  font-size: 0.78rem;
}

.project-visual[data-temp]::after {
  content: attr(data-temp);
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.28rem 0.5rem;
  font-size: 0.72rem;
  text-align: center;
  background: rgba(232, 168, 32, 0.95);
  color: var(--navy-deep);
  font-weight: 700;
}

.project-visual--photo {
  background: var(--navy);
}

.project-visual--photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.project-visual--placeholder-tone {
  background: linear-gradient(145deg, #102040, #1a3358 55%, #243a55);
}

.photo-ph--soft {
  border-style: dashed;
  opacity: 0.95;
}

.project-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
}

.project-card--featured .project-visual {
  grid-column: 1;
  grid-row: 1 / span 2;
  aspect-ratio: auto;
  min-height: 320px;
  height: 100%;
}

.project-card--featured .project-gallery {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0.85rem 0.85rem 0;
  background: var(--surface);
}
.project-card--featured .project-gallery:has(img:nth-child(5)) {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0.4rem;
}
.project-card--featured .project-gallery:has(img:nth-child(5)) img {
  aspect-ratio: 1 / 1;
}

.project-card--featured .project-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.project-card--featured .project-gallery img:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.project-card--featured .project-body {
  grid-column: 2;
  grid-row: 2;
}

.projects-grid--featured {
  grid-template-columns: repeat(3, 1fr);
}

.projects-grid--featured .project-card--featured {
  margin-bottom: 0.25rem;
}

.project-body {
  padding: 1.05rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.project-body h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.project-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.15rem;
}

.badge-active {
  background: #f7e8d4;
  color: #8a4e10;
}

.badge-form4 {
  background: var(--accent-light);
  color: var(--navy);
}

.badge-done {
  background: #dde8e2;
  color: var(--done);
}

/* Testimonials */
.testimonials {
  background: var(--surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.testimonial-ph {
  margin: 0;
  padding: 1.4rem 1.25rem;
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.testimonial-ph p {
  margin: 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--ink-muted);
}

.testimonial-ph footer {
  font-size: 0.85rem;
  font-style: normal;
  color: #8a93a0;
  font-weight: 500;
}

/* FAQ */
.faq {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.25rem;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding-left: 2.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  border-top: 1px solid transparent;
}

.faq-item[open] p {
  border-top-color: var(--border);
  padding-top: 0.85rem;
}

.faq-item p a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Contact */
.contact {
  background: var(--surface);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.3rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  min-width: 0;
}

.contact-card:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.contact-card--wa {
  background: #e8f5ee;
  border-color: #b8dcc8;
}

.contact-card--wa:hover {
  background: #d8eee2;
  border-color: #7dbf98;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.contact-value {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.contact-owner {
  margin: 0;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Footer */
.site-footer {
  padding: 2.4rem 0 2rem;
  background: var(--navy-deep);
  color: #c5ced6;
  border-top: 3px solid var(--gold);
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 110px;
  height: auto;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 0.9rem;
}

.footer-name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #e8eef6;
}

.footer-links {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  align-items: center;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  margin-top: 0.65rem !important;
  font-size: 0.85rem !important;
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 1000px) {
  .services-grid,
  .process-steps,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .projects-grid,
  .projects-grid--featured {
    grid-template-columns: 1fr 1fr;
  }

  .project-card--featured {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .project-card--featured .project-visual {
    grid-column: 1;
    grid-row: auto;
    min-height: 220px;
    aspect-ratio: 2.4 / 1;
  }

  .project-card--featured .project-gallery,
  .project-card--featured .project-body {
    grid-column: 1;
    grid-row: auto;
  }

  .project-card--featured .project-gallery {
    padding: 0.75rem 0.75rem 0;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .logo-text small {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  /* Mobile menu: all items plain, same style */
  .nav-cta,
  .nav-cta:hover {
    background: none;
    color: var(--ink-muted) !important;
    border-radius: 0;
    padding: 0.75rem 0.5rem;
    margin-top: 0;
    text-align: start;
    border-bottom: none !important;
  }
  .nav-group {
    display: block;
    border: 0;
    border-radius: 0;
    background: none;
    padding: 0;
    margin: 0;
  }
  .nav-group-label {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    text-align: start;
    padding: 0.75rem 0.5rem;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ink-muted);
  }
  .nav-sub,
  .nav-group.is-expanded .nav-sub {
    display: none !important;
  }
  .nav .nav-dept {
    padding: 0.65rem 1.5rem 0.65rem 0.5rem !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    color: var(--ink-muted) !important;
    border-bottom: 1px solid var(--border);
  }


  .projects-grid,
  .projects-grid--featured,
  .projects-grid--done,
  .services-grid,
  .process-steps,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 2.75rem;
  }

  .hero-wrap {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .hero-visual {
    width: 100%;
  }

  .hero-visual {
    width: min(100%, 520px);
    aspect-ratio: 2.4 / 1;
  }
  .hero-photo {
    height: 100%;
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.75rem, var(--max));
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* חורי – featured placeholder card */
.project-card--featured-ph .project-body { grid-row: 1 / span 2; justify-content: center; }
.project-points { margin: 0.4rem 0 0; padding-inline-start: 1.1rem; display: grid; gap: 0.25rem; color: inherit; opacity: 0.9; }
@media (max-width: 900px) { .project-card--featured-ph .project-body { grid-row: auto; } }

/* Promoted completed project with real photos */
.project-card--done-highlight {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
}
.project-card--done-highlight .project-visual {
  grid-column: 1;
  grid-row: 1 / span 2;
  aspect-ratio: auto;
  min-height: 240px;
  height: 100%;
}
.project-gallery--done {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.45rem;
  padding: 0.75rem 0.75rem 0;
  background: var(--surface);
}
.project-gallery--done img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.project-gallery--done img:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.project-card--done-highlight .project-body {
  grid-column: 2;
  grid-row: 2;
}
@media (max-width: 900px) {
  .project-card--done-highlight {
    display: flex;
    flex-direction: column;
  }
  .project-card--done-highlight .project-visual {
    min-height: 200px;
    aspect-ratio: 5 / 3;
  }
  .project-gallery--done {
    grid-template-columns: repeat(3, 1fr);
    padding: 0.65rem;
  }
}

.testimonials-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin-inline: auto;
}
.testimonial {
  margin: 0;
  padding: 1.4rem 1.35rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
}
.testimonial p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  font-style: italic;
}
.testimonial footer {
  font-size: 0.88rem;
  font-style: normal;
  color: var(--navy);
  font-weight: 600;
}
@media (max-width: 700px) {
  .testimonials-grid--two { grid-template-columns: 1fr; }
}

.projects-dept-note{margin:-0.35rem 0 1.1rem;color:var(--ink-muted);font-size:0.98rem;max-width:40rem;line-height:1.55}

.stats{padding:1.75rem 0;background:var(--navy);color:#fff;border-block:3px solid var(--gold)}
.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;text-align:center}
.stat{padding:0.65rem 0.5rem}
.stat-num{display:block;font-size:clamp(2rem,5vw,2.75rem);font-weight:800;letter-spacing:-0.02em;color:var(--gold);line-height:1.1}
.stat-label{display:block;margin-top:0.35rem;font-size:0.95rem;font-weight:500;color:rgba(255,255,255,0.88)}
@media (max-width:560px){.stats-grid{grid-template-columns:1fr;gap:0.35rem}.stat{padding:0.85rem 0;border-bottom:1px solid rgba(255,255,255,0.12)}.stat:last-child{border-bottom:none}}

.stats-grid--two{grid-template-columns:repeat(2,1fr);max-width:720px;margin-inline:auto}
.stats-grid--three{grid-template-columns:repeat(3,1fr);max-width:960px;margin-inline:auto}
.stats-grid--four{grid-template-columns:repeat(4,1fr);max-width:1100px;margin-inline:auto}
.stats-grid--five{grid-template-columns:repeat(5,1fr);max-width:1200px;margin-inline:auto}
@media (max-width:1100px){.stats-grid--five{grid-template-columns:repeat(3,1fr)}}
@media (max-width:900px){.stats-grid--four{grid-template-columns:repeat(2,1fr)}.stats-grid--five{grid-template-columns:repeat(2,1fr)}}
@media (max-width:720px){.stats-grid--three{grid-template-columns:1fr}.stats-grid--four{grid-template-columns:1fr}.stats-grid--five{grid-template-columns:1fr}}


.project-list-item--expandable{flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden}
.project-toggle{display:flex;align-items:flex-start;gap:0.85rem;width:100%;text-align:right;background:transparent;border:0;padding:1rem 1.1rem;cursor:pointer;font:inherit;color:inherit}
.project-toggle-text{display:flex;flex-direction:column;gap:0.2rem;flex:1;min-width:0}
.project-toggle-text strong{font-size:1.05rem;color:var(--navy)}
.project-toggle-text small{font-size:0.9rem;color:var(--ink-muted);font-weight:400}
.project-toggle-hint{font-size:1.35rem;font-weight:700;color:var(--gold);line-height:1;padding-top:0.1rem}
.project-media{display:flex;flex-wrap:wrap;gap:0.5rem;padding:0.75rem 1.1rem 1rem;border-top:1px solid var(--border)}
.project-media img,.project-media video{width:96px;height:96px;flex:0 0 96px;aspect-ratio:1/1;object-fit:cover;border-radius:8px;background:#0f172a;border:1px solid var(--border)}

.project-media[hidden]{display:none!important}


/* Project media lightbox */
.project-media img,.project-media video{cursor:pointer}
.project-media img:focus-visible,.project-media video:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.media-lightbox{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:1.25rem;background:rgba(10,24,48,0.88);backdrop-filter:blur(4px)}
.media-lightbox[hidden]{display:none!important}
.media-lightbox__inner{position:relative;max-width:min(96vw,1100px);max-height:90vh;display:flex;align-items:center;justify-content:center}
.media-lightbox__inner img,.media-lightbox__inner video{max-width:96vw;max-height:88vh;width:auto;height:auto;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,0.45);background:#0a1830;object-fit:contain}
.media-lightbox__close{position:absolute;top:-0.35rem;inset-inline-start:-0.35rem;width:2.4rem;height:2.4rem;border:0;border-radius:999px;background:#fff;color:var(--navy);font-size:1.4rem;font-weight:700;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,0.25)}
.media-lightbox__close:hover{background:var(--gold)}


/* Scrolling activity ticker under stats */
.site-ticker{
  overflow:hidden;
  background:var(--bg);
  border-bottom:1px solid var(--border);
  direction:rtl;
}
.site-ticker-track{
  display:flex;
  width:max-content;
  gap:0;
  animation:site-ticker-scroll 22s linear infinite;
}
.site-ticker-list{
  display:flex;
  align-items:center;
  gap:0;
  margin:0;
  padding:0.7rem 0;
  list-style:none;
  flex-shrink:0;
}
.site-ticker-list li{
  position:relative;
  padding:0 1.35rem;
  font-size:0.92rem;
  font-weight:600;
  color:var(--navy);
  white-space:nowrap;
}
.site-ticker-list li::after{
  content:"·";
  position:absolute;
  left:0;
  top:50%;
  transform:translate(-50%,-50%);
  color:var(--gold);
  font-weight:700;
}
@keyframes site-ticker-scroll{
  from{transform:translateX(0)}
  to{transform:translateX(50%)}
}
@media (prefers-reduced-motion:reduce){
  .site-ticker-track{animation:none; flex-wrap:wrap; width:100%; justify-content:center}
  .site-ticker-list[aria-hidden="true"]{display:none}
}


/* ===== Accessibility (IS 5568 / WCAG 2.0 AA basics) ===== */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;top:-100px;right:1rem;z-index:10000;padding:0.65rem 1.1rem;background:var(--navy);color:#fff;font-weight:700;border-radius:0 0 10px 10px;box-shadow:var(--shadow)}
.skip-link:focus{top:0;outline:3px solid var(--gold);outline-offset:0}
main:focus{outline:none}
a:focus-visible,button:focus-visible,summary:focus-visible,video:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--navy);outline-offset:3px;border-radius:6px}
.site-footer a:focus-visible,.stats :focus-visible,.media-lightbox :focus-visible,.nav-cta:focus-visible,.btn-primary:focus-visible{outline-color:var(--gold)}
.site-ticker:focus-visible{outline:3px solid var(--navy);outline-offset:-3px;border-radius:0}
.site-ticker:hover .site-ticker-track,.site-ticker:focus .site-ticker-track,.site-ticker:focus-within .site-ticker-track{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:0.01ms!important;animation-iteration-count:1!important;transition-duration:0.01ms!important;scroll-behavior:auto!important}
  .site-ticker-track{animation:none!important}
  .btn:hover,.service-card:hover,.contact-card:hover,.project-card--featured .project-gallery img:hover,.project-gallery--done img:hover{transform:none}
}

/* Legal pages (accessibility / privacy) */
.legal{background:var(--surface);border-bottom:1px solid var(--border)}
.legal h1{margin:0 0 0.6rem;font-size:clamp(1.8rem,3.6vw,2.4rem);font-weight:800;letter-spacing:-0.02em;color:var(--navy)}
.legal h2{margin:2rem 0 0.5rem;font-size:1.3rem;font-weight:700;color:var(--navy)}
.legal p,.legal li{color:var(--ink-muted)}
.legal ul{padding-inline-start:1.3rem;margin:0 0 1rem}
.legal li{margin-bottom:0.35rem}
.legal a{color:var(--navy);text-decoration:underline;text-underline-offset:3px;font-weight:600}
.legal-updated{margin-top:2rem;font-size:0.92rem}
.legal-contact{margin:0.5rem 0 1rem;padding:1rem 1.2rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius)}
.legal-contact p{margin:0.2rem 0}
.legal-home{padding:0.5rem 1.05rem;font-size:0.92rem;white-space:nowrap}
@media (max-width:480px){.legal-home{padding:0.45rem 0.8rem;font-size:0.85rem}}

/* Hero video – split layout (text | full-bleed video), like the reference */
.hero { padding: 0; min-height: min(80vh, 760px); display: flex; align-items: center; }
.hero-wrap { width: min(100% - 2.5rem, var(--max)); padding: 3.5rem 0; }
.hero-inner { max-width: min(600px, calc(50% - 2.5rem)); }
.hero-media {
  position: absolute; top: 0; bottom: 0; left: 0; width: 50%;
  overflow: hidden; z-index: 1;
  background: #1a2a44 url("assets/hero-architecture.jpg") center / cover no-repeat;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@media (max-width: 900px) {
  .hero { display: block; min-height: 0; }
  .hero-wrap { padding: 2.75rem 0 2.25rem; }
  .hero-inner { max-width: none; }
  .hero-media { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 78vh; }
}

/* v54: stats — 4 balanced items */
.stats-grid--four{grid-template-columns:repeat(4,1fr);max-width:1100px;margin-inline:auto}
@media (max-width:720px){
  .stats-grid.stats-grid--four{grid-template-columns:repeat(2,1fr);gap:0}
  .stats-grid--four .stat{padding:0.9rem 0.4rem;border-bottom:1px solid rgba(255,255,255,0.12)}
  .stats-grid--four .stat:nth-child(odd){border-inline-end:1px solid rgba(255,255,255,0.12)}
  .stats-grid--four .stat:nth-last-child(-n+2){border-bottom:none}
}

/* v54: hero — dark media, white text that flows in */
.hero--flow{background:var(--navy-deep);color:#fff}
.hero--flow .hero-eyebrow{color:var(--navy);background:var(--gold);border-color:var(--gold)}
.hero--flow h1{color:#fff}
.hero--flow h1 span{color:rgba(255,255,255,0.78)}
.hero--flow .hero-tagline{color:rgba(255,255,255,0.9)}
.hero--flow .hero-points li{color:#fff}
.hero--flow .btn-primary{background:#fff;color:var(--navy);border-color:#fff}
.hero--flow .btn-outline{color:#fff;border-color:rgba(255,255,255,0.75);background:transparent}
.hero--flow .btn-outline:hover{background:rgba(255,255,255,0.1)}
.hero-shade{position:absolute;inset:0;pointer-events:none;z-index:1;
  background:linear-gradient(to left, rgba(10,24,48,0.85) 0%, rgba(10,24,48,0) 22%)}
/* flow animation */
.flow-ready .hero--flow .flow-b,
.flow-ready .hero--flow .flow-w{opacity:0;transform:translateY(12px);transition:opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);display:inline-block}
.flow-ready .hero--flow .flow-b{display:block}
.flow-ready .hero--flow .hero-eyebrow.flow-b{display:inline-block}
.flow-ready .hero--flow .hero-actions.flow-b,.flow-ready .hero--flow .hero-points.flow-b{display:flex}
.flow-ready .hero--flow.flow-in .flow-b,
.flow-ready .hero--flow.flow-in .flow-w{opacity:var(--flow-o,1);transform:none}
.flow-ready .hero--flow.flow-in .hero-tagline.flow-b{opacity:1}
.flow-ready .hero--flow.flow-in .flow-w{transition:opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1)}
@media (max-width: 900px){
  .hero.hero--flow{display:block;min-height:0;position:relative}
  .hero--flow .hero-media{position:absolute;top:0;left:0;right:0;width:100%;height:calc(100svh - 64px);min-height:520px;aspect-ratio:auto;max-height:none}
  .hero--flow .hero-shade{background:linear-gradient(to bottom, rgba(10,24,48,0.25) 0%, rgba(10,24,48,0) 18%, rgba(10,24,48,0) 38%, rgba(10,24,48,0.72) 56%, rgba(10,24,48,0.93) 75%, var(--navy-deep) 100%)}
  .hero--flow .hero-wrap{position:relative;z-index:2;padding:calc(max(520px, 100svh - 64px) * 0.54) 0 2.75rem}
  .hero--flow h1{font-size:clamp(2.2rem,10vw,2.9rem);text-shadow:0 2px 18px rgba(0,0,0,0.35)}
  .hero--flow .hero-tagline{text-shadow:0 1px 10px rgba(0,0,0,0.35)}
}

/* v55: extra hero paragraphs */
.hero--flow .hero-tagline + .hero-tagline{margin-top:-0.85rem}

/* v60: navy / gold / white section rhythm (existing palette only) */
.section h2::after{content:"";display:block;width:44px;height:3px;margin-top:.6rem;border-radius:2px;background:var(--gold)}
.services,.testimonials,.contact{background:linear-gradient(180deg,var(--navy-deep) 0%,var(--navy) 100%);color:#fff;border-block:2px solid var(--gold)}
.services .section-kicker,.testimonials .section-kicker,.contact .section-kicker{color:var(--gold)}
.services h2,.testimonials h2,.contact h2{color:#fff}
.services .section-lead,.testimonials .section-lead,.contact .section-lead{color:rgba(255,255,255,0.8)}
.services :focus-visible,.testimonials :focus-visible,.contact :focus-visible{outline-color:var(--gold)}
/* services cards */
.services .service-card{background:var(--navy-soft);border-color:rgba(255,255,255,0.12);box-shadow:0 10px 30px rgba(0,0,0,0.25)}
.services .service-card:hover{border-color:var(--gold)}
.services .service-card h3{color:#fff}
.services .service-card p{color:rgba(255,255,255,0.8)}
/* testimonials */
.testimonials .testimonial{background:var(--navy-soft);border-color:rgba(255,255,255,0.12);border-top:3px solid var(--gold);box-shadow:0 10px 30px rgba(0,0,0,0.25)}
.testimonials .testimonial p{color:#fff}
.testimonials .testimonial footer{color:var(--gold)}
/* contact */
.contact .contact-card{background:var(--navy-soft);border-color:rgba(255,255,255,0.16)}
.contact .contact-card:hover{background:var(--navy-soft);border-color:var(--gold)}
.contact .contact-card--wa{border-color:#7dbf98}
.contact .contact-card--wa:hover{border-color:var(--gold)}
.contact .contact-label{color:rgba(255,255,255,0.75)}
.contact .contact-value{color:#fff}
.contact .contact-owner{color:rgba(255,255,255,0.75)}
/* light sections in between */
.about{background:var(--surface)}
.process{background:var(--surface)}
.process .process-num{box-shadow:0 0 0 3px var(--gold-soft)}
.contact{border-bottom:0}

/* v62 knowledge section */
.knowledge{background:var(--surface);border-block:1px solid var(--border)}
.kb-tabs{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 1.6rem}
.kb-tab{font:inherit;font-size:.95rem;font-weight:600;padding:.6rem 1.15rem;border-radius:999px;border:1px solid var(--border);background:var(--bg);color:var(--navy);cursor:pointer;white-space:nowrap;transition:background .15s ease,color .15s ease,border-color .15s ease}
.kb-tab:hover{border-color:var(--gold)}
.kb-tab[aria-selected="true"]{background:var(--navy);color:#fff;border-color:var(--navy);box-shadow:inset 0 -3px 0 var(--gold)}
.kb-panel-title{margin:0 0 1rem;font-size:1.15rem;font-weight:800;color:var(--navy)}
.kb-list{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;align-items:start}
.kb-item{background:var(--bg);border:1px solid var(--border);border-top:3px solid var(--gold);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.kb-q-wrap{margin:0}
.kb-q{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:.9rem;width:100%;padding:1.2rem 1.25rem 1.05rem;cursor:pointer;text-align:right}
.kb-q:focus-visible{outline:3px solid var(--navy);outline-offset:-3px;border-radius:var(--radius)}
.kb-q-text{font-size:1.06rem;font-weight:700;line-height:1.45;color:var(--navy)}
.kb-cta{align-self:flex-start;display:inline-flex;align-items:center;gap:.35rem;font-size:.88rem;font-weight:700;color:var(--gold-text)}
.kb-chev{display:inline-block;transition:transform .3s ease}
.kb-cta-close{display:none}
.kb-item.is-open .kb-cta-open{display:none}
.kb-item.is-open .kb-cta-close{display:inline}
.kb-item.is-open .kb-chev{transform:rotate(180deg)}
.kb-a{display:grid;grid-template-rows:1fr}
.kb-js .kb-a{grid-template-rows:0fr;transition:grid-template-rows .35s ease}
.kb-js .kb-item.is-open .kb-a{grid-template-rows:1fr}
.kb-a-inner{overflow:hidden}
.kb-a p{margin:0;padding:0 1.25rem 1.25rem;color:var(--ink-muted);line-height:1.7;font-size:.98rem;border-top:1px solid transparent}
.kb-item.is-open .kb-a p{border-top-color:var(--border);padding-top:1rem}
.kb-js .kb-item:not(.is-open) .kb-a-inner{visibility:hidden;transition:visibility 0s .35s}
@media (max-width:900px){.kb-list{grid-template-columns:1fr 1fr}}
@media (max-width:720px){
  .kb-tabs{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;margin-inline:-0.875rem;padding:0 0.875rem .35rem;scrollbar-width:none}
  .kb-tabs::-webkit-scrollbar{display:none}
  .kb-tab{scroll-snap-align:start;font-size:.9rem;padding:.55rem 1rem}
  .kb-list{grid-template-columns:1fr}
}

/* projects accordion cubes */
.pj-head{margin:0 0 .9rem;font-size:inherit}
.pj-acc{margin-bottom:1rem}
.pj-cube{all:unset;box-sizing:border-box;display:flex;width:100%;align-items:center;gap:1rem;min-height:96px;padding:1.15rem 1.35rem;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);border-top:3px solid var(--gold);box-shadow:var(--shadow);cursor:pointer;text-align:right;transition:transform .15s ease,box-shadow .15s ease,background .2s ease,color .2s ease}
.pj-cube:hover{transform:translateY(-2px);border-color:var(--gold)}
.pj-cube:focus-visible{outline:3px solid var(--navy);outline-offset:2px}
.pj-cube-dot{flex:none;width:12px;height:12px;border-radius:50%;background:var(--gold)}
.pj-cube-dot--done{background:var(--navy-soft)}
.pj-cube-text{flex:1;display:flex;flex-direction:column;gap:.3rem}
.pj-cube-title{font-size:1.12rem;font-weight:800;color:var(--navy);line-height:1.35}
.pj-cube-count{font-size:.88rem;font-weight:600;color:var(--gold-text)}
.pj-cube-chev{flex:none;width:40px;height:40px;border-radius:50%;background:var(--gold-soft);position:relative;transition:transform .3s ease,background .2s ease}
.pj-cube-chev::before{content:"";position:absolute;top:13px;left:14px;width:10px;height:10px;border-right:2.5px solid var(--navy);border-bottom:2.5px solid var(--navy);transform:rotate(45deg)}
.pj-cube.is-open{background:var(--navy);border-color:var(--navy);border-top-color:var(--gold)}
.pj-cube.is-open .pj-cube-title{color:#fff}
.pj-cube.is-open .pj-cube-count{color:var(--gold)}
.pj-cube.is-open .pj-cube-dot--done{background:#fff}
.pj-cube.is-open .pj-cube-chev{transform:rotate(180deg);background:var(--gold)}
.pj-collapse{display:grid;grid-template-rows:1fr}
.pj-inner{min-height:0}
.pj-js .pj-collapse{grid-template-rows:0fr;transition:grid-template-rows .45s ease}
.pj-js .pj-inner{overflow:hidden}
.pj-js .projects-dept{margin-bottom:1rem}
.pj-js .projects-dept .pj-inner{padding-bottom:0;transition:padding-bottom .45s ease}
.pj-js .projects-dept.is-open .pj-inner{padding-bottom:1.5rem}
.pj-js .projects-dept.is-open .pj-collapse{grid-template-rows:1fr}
.pj-js .projects-dept.is-open .pj-inner{overflow:visible;animation:pjOv .45s}
@keyframes pjOv{0%,99%{overflow:hidden}}
.pj-js .projects-dept:not(.is-open) .pj-inner{visibility:hidden;transition:visibility 0s .45s}
@media (max-width:720px){.pj-head{margin-bottom:.8rem}.pj-cube{min-height:84px;padding:1rem 1.1rem}.pj-cube-title{font-size:1.04rem}}
@media (prefers-reduced-motion:reduce){.pj-js .pj-collapse,.pj-cube,.pj-cube-chev{transition:none}}

/* v66 hero: first video frame as background (no flash before playback) */
.hero-media{background:#0a1830 url("assets/hero/idan-hero-square-first.webp") center / cover no-repeat}
@media (max-width:900px){.hero-media{background-image:url("assets/hero/idan-hero-portrait-first.webp")}}

/* v73 ticker: seamless loop — two identical halves, each wider than any screen; track moves exactly one half */
.site-ticker-track{animation-duration:110s}
.site-ticker-half{display:flex;flex-shrink:0}

/* v75 footer Facebook link */
.footer-fb{display:inline-flex;align-items:center;gap:0.4rem;padding:0.3rem 0.8rem;border:1px solid rgba(232,168,32,0.45);border-radius:999px;color:#e8eef6;font-weight:600}
.footer-fb svg{flex-shrink:0;color:var(--gold)}
.footer-fb:hover{color:var(--gold);border-color:var(--gold)}

/* v76: 4 testimonials -> balanced 2x2 on desktop (tablet 2 cols, mobile 1 col unchanged) */
@media (min-width:1001px){.testimonials-grid{grid-template-columns:repeat(2,1fr)}}


/* v79: 7 service cards — center the leftover card on 3-col and 2-col grids */
@media (min-width: 1001px) {
  .services-grid .service-card:last-child:nth-child(3n+1) {
    grid-column: 2;
  }
}
@media (max-width: 1000px) and (min-width: 721px) {
  .services-grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 1.2rem) / 2);
  }
}
