/* DDC / Control Applications - Main Styles */

:root {
  --color-primary: #d41317;
  --color-navy: #1a2b6d;
  --color-cyan: #00adef;
  --color-dark: #2b2b2b;
  --color-gray: #666;
  --color-light: #f5f7fa;
  --color-white: #ffffff;
  --font-he: "Assistant", "Segoe UI", Tahoma, sans-serif;
  --font-en: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --header-height: 72px;
  --max-width: 1200px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-en);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
}

body.lang-he {
  font-family: var(--font-he);
}

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

a {
  color: var(--color-navy);
  text-decoration: none;
}

a:hover {
  color: var(--color-primary);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.45rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.logo-link {
  grid-column: 1;
  justify-self: start;
  flex-shrink: 0;
  display: block;
  line-height: 0;
}

.logo-link-en {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.1;
}

.logo-en-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.logo,
svg.logo,
img.logo {
  height: 40px;
  width: auto;
  display: block;
}

.lang-en img.logo-en-icon,
.lang-es img.logo-en-icon {
  height: 36px;
  width: 36px;
}

.footer-brand img.logo {
  height: 52px;
  margin-bottom: 0.5rem;
}

.footer-brand img.footer-logo-en-icon {
  height: 44px;
  width: 44px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-flag-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  border-radius: 3px;
  border: 2px solid transparent;
  line-height: 0;
  opacity: 0.72;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}

.lang-flag-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.lang-flag-link.lang-active {
  opacity: 1;
  border-color: var(--color-primary);
}

.lang-flag {
  display: block;
  width: 28px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  direction: ltr;
}

.header-tool-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.header-search-toggle,
.lang-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.45rem 0.5rem;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  direction: ltr;
}

.header-search-toggle:hover,
.lang-menu-toggle:hover,
.header-search-toggle:focus-visible,
.lang-menu-toggle:focus-visible {
  color: var(--color-navy);
}

.lang-menu {
  position: relative;
}

.lang-menu-code {
  line-height: 1;
}

.lang-menu-list {
  position: absolute;
  top: calc(100% + 0.55rem);
  inset-inline-end: 0;
  z-index: 1200;
  min-width: 13.5rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e6e8ee;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.14);
}

.lang-menu-list::before {
  content: "";
  position: absolute;
  top: -6px;
  inset-inline-end: 1.1rem;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid #e6e8ee;
  border-top: 1px solid #e6e8ee;
  transform: rotate(45deg);
}

.lang-menu-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.55rem 0.9rem;
  color: #111;
  font-size: 0.92rem;
  font-weight: 400;
}

.lang-menu-option:hover,
.lang-menu-option.is-current {
  background: #f3f4f6;
  color: #111;
  font-weight: 600;
}

.lang-menu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  padding: 0.12rem 0.28rem;
  border: 1px solid #cfd3dc;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-search-panel {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 1100;
  background: rgba(10, 16, 32, 0.28);
}

.site-search-dialog {
  max-width: 44rem;
  margin: 1.25rem auto 0;
  padding: 1rem 1rem 0.75rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.18);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 0.75rem;
}

.site-search-input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d8dde6;
  padding: 0.65rem 0.15rem 0.7rem;
  font: inherit;
  font-size: 1.05rem;
  color: #111;
  outline: none;
}

.site-search-input:focus {
  border-bottom-color: var(--color-navy);
}

.site-search-close {
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #667;
  cursor: pointer;
  padding: 0 0.2rem;
}

.site-search-results {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem;
  max-height: min(60vh, 28rem);
  overflow: auto;
}

.site-search-results li {
  border-top: 1px solid #eef1f5;
}

.site-search-results a {
  display: block;
  padding: 0.7rem 0.15rem;
  color: #111;
}

.site-search-results a:hover {
  color: var(--color-navy);
}

.site-search-kind {
  display: block;
  margin-bottom: 0.15rem;
  color: #6b7280;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-search-empty {
  padding: 0.85rem 0.15rem 0.5rem;
  color: #6b7280;
}

.lang-he .lang-menu-list {
  text-align: right;
}

/* Navigation */
.main-nav {
  grid-column: 2;
  justify-self: center;
  min-width: 0;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.15rem 1.35rem;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.main-nav .nav-item > .nav-link {
  display: block;
  padding: 0.3rem 0;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1.3;
  white-space: nowrap;
}

.nav-item.active > .nav-link,
.main-nav .nav-link:hover {
  color: var(--color-primary);
}

.nav-submenu-toggle {
  display: none;
}

@media (min-width: 901px) {
  .nav-submenu-toggle {
    display: none !important;
  }

  .nav-item.has-dropdown:not(.has-mega):hover .dropdown,
  .nav-item.has-dropdown:not(.has-mega):focus-within .dropdown {
    display: block;
  }

  /* Keep a tall hover bridge under Solutions so the pointer can reach the panel. */
  .nav-item.has-mega {
    padding-bottom: 1rem;
    margin-bottom: -1rem;
  }

  .nav-item.has-mega:hover > .mega-dropdown,
  .nav-item.has-mega:focus-within > .mega-dropdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
  }

  .nav-item.has-mega:hover::before,
  .nav-item.has-mega:focus-within::before {
    content: "";
    position: absolute;
    top: 100%;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    width: max(36rem, min(44rem, 72vw));
    height: 1.25rem;
    z-index: 110;
  }

  [dir="rtl"] .nav-item.has-mega:hover::before,
  [dir="rtl"] .nav-item.has-mega:focus-within::before {
    transform: translateX(50%);
  }
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 260px;
  background: var(--color-white);
  box-shadow: var(--shadow);
  border-radius: 4px;
  padding: 0.5rem 0;
  z-index: 100;
  list-style: none;
  margin: 0;
}

/* Compact About → Jobs submenu (not the Solutions mega panel). */
.nav-item.has-dropdown:not(.has-mega) > .dropdown {
  min-width: 0;
  width: max-content;
  max-width: 11rem;
  padding: 0.2rem 0;
  border-radius: 6px;
}

.nav-item.has-dropdown:not(.has-mega) > .dropdown a {
  padding: 0.35rem 0.8rem;
  font-size: 0.875rem;
}

[dir="rtl"] .dropdown {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

.dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--color-light);
}

.nav-item.has-mega > .mega-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 0.15rem);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: max(36rem, min(44rem, 72vw));
  padding: 1.35rem 1.35rem 1.35rem;
  background: var(--color-white);
  box-shadow: 0 18px 48px rgba(16, 28, 68, 0.14);
  border: 1px solid rgba(26, 43, 109, 0.08);
  border-radius: 8px;
  z-index: 120;
}

.nav-item.has-mega > .mega-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1.1rem;
  height: 1.1rem;
}

[dir="rtl"] .nav-item.has-mega > .mega-dropdown {
  transform: translateX(50%);
}

.mega-dropdown-col {
  min-width: 0;
  padding: 0.15rem 0.35rem;
}

.mega-dropdown-col + .mega-dropdown-col {
  border-inline-start: 1px solid rgba(26, 43, 109, 0.1);
  padding-inline-start: 1.35rem;
}

.mega-dropdown-heading {
  margin: 0 0 0.55rem;
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mega-dropdown-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-dropdown-col a {
  display: block;
  padding: 0.42rem 0.55rem;
  margin: 0 -0.35rem;
  border-radius: 4px;
  color: var(--color-dark);
  font-size: 0.92rem;
  line-height: 1.35;
  white-space: normal;
}

.mega-dropdown-col a:hover {
  background: var(--color-light);
  color: var(--color-primary);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
}

/* Hero carousel — full-width slideshow */
.hero-carousel {
  position: relative;
  width: 100vw;
  margin-inline-start: calc(50% - 50vw);
  color: var(--color-navy);
  overflow: hidden;
}

.hero-carousel-he {
  min-height: 590px;
}

.hero-carousel-en {
  min-height: 718px;
}

.hero-carousel .carousel-track {
  min-height: inherit;
}

.carousel-track {
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: opacity;
}

.hero-carousel .carousel-slide {
  position: absolute;
  inset: 0;
}

.hero-carousel .carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.carousel-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-slide-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.carousel-slide-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
  min-height: inherit;
  box-sizing: border-box;
}

.hero-carousel .carousel-layout-split-image-start .carousel-slide-inner,
.hero-carousel .carousel-layout-split-image-end .carousel-slide-inner {
  direction: ltr;
}

.lang-he .hero-carousel .carousel-text {
  text-align: right;
  direction: rtl;
}

.hero-carousel .carousel-layout-split-image-start .carousel-slide-inner {
  grid-template-columns: 0.9fr 1.1fr;
}

.hero-carousel .carousel-layout-split-image-start .carousel-image {
  order: -1;
}

.hero-carousel .carousel-layout-split-image-end .carousel-slide-inner {
  grid-template-columns: 1.15fr 0.85fr;
}

.hero-carousel .carousel-layout-text-only .carousel-slide-inner {
  grid-template-columns: 1fr;
  justify-items: end;
  align-items: center;
  padding-inline-end: 8%;
  padding-inline-start: 32%;
}

.hero-carousel .carousel-layout-text-only .carousel-image {
  display: none;
}

.hero-carousel .carousel-layout-text-only .carousel-title {
  font-size: 2.75rem;
  line-height: 1.15;
}

.hero-carousel .carousel-layout-image-bottom .carousel-slide-inner {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: start;
  justify-items: end;
  padding-bottom: 2rem;
}

.hero-carousel .carousel-layout-image-bottom .carousel-text {
  justify-self: end;
  max-width: 58%;
}

.hero-carousel .carousel-layout-image-bottom .carousel-title {
  font-size: 3.25rem;
  line-height: 1.1;
}

.hero-carousel .carousel-layout-image-bottom .carousel-image {
  grid-row: 2;
  justify-self: center;
  width: 100%;
}

.hero-carousel .carousel-layout-image-bottom .carousel-image img {
  max-height: 210px;
}

.hero-carousel .carousel-layout-hero-text .carousel-slide-inner {
  grid-template-columns: 1fr;
  justify-items: end;
  align-items: start;
  padding-top: 3.5rem;
  padding-inline-end: 6%;
}

.hero-carousel .carousel-layout-hero-text .carousel-image {
  display: none;
}

.hero-carousel .carousel-layout-title-bottom .carousel-slide-inner {
  grid-template-columns: 1fr;
  align-items: end;
  justify-items: center;
  text-align: center;
  padding-bottom: 4.5rem;
}

.hero-carousel .carousel-layout-title-bottom .carousel-image {
  display: none;
}

.hero-carousel .carousel-layout-title-bottom .carousel-text {
  text-align: center;
}

.hero-carousel .carousel-layout-title-bottom .carousel-title {
  font-size: 2.25rem;
  max-width: 44rem;
  margin-inline: auto;
}

.hero-carousel .carousel-layout-split-image-end .carousel-title {
  font-size: 3rem;
  line-height: 1.1;
}

.carousel-image img {
  max-height: 420px;
  width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.hero-carousel .carousel-layout-split-image-end .carousel-image img {
  max-height: 280px;
  max-width: 280px;
}

.carousel-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-cyan);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.lang-he .carousel-title {
  font-size: 2rem;
}

.carousel-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-navy);
  line-height: 1.3;
}

.lang-he .carousel-subtitle {
  font-style: normal;
  font-weight: 600;
}

.carousel-subtitle-accent {
  color: #399c08 !important;
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem !important;
}

.lang-he .carousel-subtitle-accent {
  font-style: normal;
}


.carousel-desc {
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
  color: var(--color-navy);
  max-width: 34rem;
}

.hero-carousel .carousel-theme-hero .carousel-title {
  color: #fff;
  font-size: 2.75rem;
  line-height: 1.15;
  text-shadow: 0 4px 5px rgba(0, 0, 0, 0.4);
  max-width: 52rem;
}

.hero-carousel .carousel-theme-hero .carousel-desc {
  color: var(--color-navy);
  font-size: 1.35rem;
  max-width: 36rem;
}

.hero-carousel .carousel-prev,
.hero-carousel .carousel-next {
  z-index: 3;
  color: #fff;
  background: transparent;
  font-size: 2rem;
  width: auto;
  height: auto;
  border-radius: 0;
}

.hero-carousel .carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 100%;
}

.hero-carousel .carousel-dot {
  background: rgba(255, 255, 255, 0.45);
}

.hero-carousel .carousel-dot.is-active {
  background: #fff;
}

.hero-carousel .carousel-slide-dark .carousel-title {
  color: var(--color-cyan);
}

.hero-carousel .carousel-slide-dark .carousel-subtitle,
.hero-carousel .carousel-slide-dark .carousel-desc {
  color: var(--color-white);
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.carousel-prev { inset-inline-start: 1rem; }
.carousel-next { inset-inline-end: 1rem; }

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.is-active {
  background: var(--color-cyan);
}

/* Product / project card grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-dark);
  transition: box-shadow 0.2s, transform 0.2s;
  background: var(--color-white);
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: var(--color-primary);
}

.product-card-image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--color-light);
}

.product-card-image img {
  max-height: 160px;
  object-fit: contain;
}

.card-placeholder {
  width: 80px;
  height: 80px;
  background: #ddd;
  border-radius: 4px;
}

.product-card-title {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  border-top: 1px solid #eee;
}

.hub-page .page-title {
  text-align: center;
}

.hub-section {
  margin-top: 2.5rem;
}

.hub-section:first-of-type {
  margin-top: 1.5rem;
}

.hub-section-title {
  margin: 0 0 1.25rem;
  padding-bottom: 0.6rem;
  color: var(--color-navy);
  font-size: 1.35rem;
  font-weight: 700;
  border-bottom: 2px solid rgba(26, 43, 109, 0.12);
}

.hub-section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.55rem;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
  border-radius: 2px;
}

.hub-section .card-grid {
  margin-top: 0;
}

.about-page {
  padding-top: 0;
}

.about-hero {
  background: linear-gradient(
    135deg,
    var(--color-navy) 0%,
    #243a8f 55%,
    rgba(0, 173, 239, 0.35) 100%
  );
  color: var(--color-white);
  padding: 2.75rem 1.5rem;
  margin: -2rem -1.5rem 2.5rem;
  border-radius: 0 0 1rem 1rem;
}

.about-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

.about-hero-logo img {
  display: block;
  width: 80px;
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.25));
}

.about-hero-logo-en img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.about-hero-title {
  margin: 0 0 0.75rem;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
}

.about-hero-lead {
  margin: 0 0 1.1rem;
  max-width: 42rem;
  font-size: 1.1rem;
  line-height: 1.75;
  opacity: 0.93;
}

.about-hero-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-hero-standard {
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.about-highlight {
  padding: 1.25rem 1rem;
  text-align: center;
  background: var(--color-light);
  border: 1px solid rgba(26, 43, 109, 0.08);
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-highlight:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.about-highlight-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
}

.about-highlight-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gray);
}

.about-body {
  display: grid;
  grid-template-columns: 1fr min(280px, 32%);
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.about-story {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text, var(--color-dark));
}

.about-story-p {
  margin: 0 0 1.1rem;
}

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

.about-expertise {
  padding: 1.5rem;
  background: var(--color-light);
  border-radius: 10px;
  border-inline-start: 4px solid var(--color-primary);
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.about-expertise-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.about-expertise-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-content.career-page {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
}

.career-masthead {
  margin: 0;
  padding: 1.5rem 1.25rem 0.75rem;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 72%);
}

.career-masthead-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.35rem;
}

.career-masthead-copy {
  flex: 1 1 auto;
  width: 100%;
  text-align: start;
}

.career-masthead-photo {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
}

.career-photo-frame {
  width: 100%;
  max-width: 22rem;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  border: 3px solid color-mix(in srgb, var(--color-navy) 22%, #fff);
  box-shadow: 0 14px 36px rgba(16, 28, 68, 0.12);
}

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

.career-body {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.25rem 2.75rem;
}

.career-intro {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text, var(--color-dark));
  max-width: 36rem;
}

.career-intro-p {
  margin: 0 0 0.85rem;
}

.career-intro-p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .career-masthead {
    padding: 2rem 1.5rem 1rem;
  }

  .career-masthead-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .career-masthead-copy {
    flex: 1 1 0;
    min-width: 0;
  }

  .career-masthead-photo {
    flex: 0 0 auto;
  }

  .career-photo-frame {
    width: clamp(260px, 32vw, 340px);
    max-width: none;
    aspect-ratio: 5 / 4;
  }
}

.career-section-head {
  margin: 0 0 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
}

.career-openings {
  margin: 0 0 2rem;
}

.career-openings-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
}

.career-departments {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.career-department-title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.career-department-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.career-position {
  padding: 1.15rem 1.2rem;
  border-inline-start: 3px solid var(--color-primary);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 28px rgba(16, 28, 68, 0.06);
}

.career-position-head {
  margin-bottom: 0.65rem;
}

.career-position-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.career-position-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--color-dark) 68%, transparent);
}

.career-position-body {
  margin: 0 0 0.9rem;
  font-size: 0.96rem;
  line-height: 1.65;
}

.career-position-body p {
  margin: 0 0 0.7rem;
}

.career-position-body p:last-child {
  margin-bottom: 0;
}

.career-position-apply {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 0;
}

.career-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  background: var(--color-primary);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(212, 19, 23, 0.22);
}

.career-apply-btn:hover,
.career-apply-btn:focus,
.career-apply-btn:focus-visible,
.career-apply-btn:active {
  color: #fff !important;
  background: color-mix(in srgb, var(--color-primary) 88%, #000);
  filter: none;
}

.career-apply-email {
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--color-dark) 72%, transparent);
  direction: ltr;
  unicode-bidi: plaintext;
  text-decoration: none;
  text-align: center;
}

.career-apply-email:hover,
.career-apply-email:focus {
  color: var(--color-navy);
}

.career-empty {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--color-dark) 72%, transparent);
}

.career-open-apply {
  margin: 0;
  padding: 1.35rem 1.35rem;
  border-radius: 12px;
  background: #f0f2f6;
  color: var(--color-dark);
}

.career-open-apply-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.career-open-apply-copy {
  width: 100%;
  text-align: start;
}

.career-open-apply-title {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
}

.career-open-apply-body {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-dark) 82%, transparent);
}

.career-open-apply-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  margin: 0 auto;
  width: max-content;
  max-width: 100%;
}

.career-open-apply-actions .career-apply-btn {
  width: 100%;
  min-width: 11.5rem;
  box-sizing: border-box;
}

.career-open-apply .career-apply-email {
  display: block;
  margin: 0;
  width: 100%;
  text-align: center;
  color: color-mix(in srgb, var(--color-dark) 72%, transparent);
}

@media (min-width: 720px) {
  .career-open-apply-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
  }

  .career-open-apply-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .career-open-apply-actions {
    flex: 0 0 auto;
    margin: 0;
    align-self: center;
  }
}

.about-expertise-item {
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  background: var(--color-white);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.about-expertise-item a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.about-expertise-item a:hover {
  color: var(--color-primary);
}

.about-quality {
  margin-bottom: 2.5rem;
}

.about-quality-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background: linear-gradient(to bottom right, #f8fafc, var(--color-light));
  border: 1px solid rgba(26, 43, 109, 0.12);
  border-radius: 10px;
}

.about-quality-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary), var(--color-cyan));
}

.about-quality-title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
}

.about-quality-intro {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text, var(--color-dark));
  max-width: 52rem;
}

.about-standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.about-standard-item {
  padding: 0.85rem 1rem;
  background: var(--color-white);
  border: 1px solid rgba(26, 43, 109, 0.1);
  border-radius: 8px;
}

.about-standard-code {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

.about-standard-detail {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-gray);
}

.about-quality-scope-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
}

.about-quality-scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-quality-scope-item {
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid rgba(26, 43, 109, 0.12);
  border-radius: 999px;
}

.about-quality-card .rich-text {
  margin-bottom: 0;
}

.about-quality-card p,
.about-quality-card h3,
.about-quality-card h3 span {
  font-size: inherit !important;
  font-family: inherit !important;
  color: inherit !important;
  font-weight: inherit !important;
  font-style: normal !important;
  letter-spacing: normal !important;
  line-height: inherit !important;
  text-align: start !important;
}

.about-quality-card .rich-text > h3:first-child {
  margin: 0 0 0.75rem !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: var(--color-navy) !important;
}

.about-quality-card .about-section-body,
.about-quality-card .rich-text > p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.about-page .about-projects {
  margin-top: 0;
  padding-top: 2.5rem;
  border-top: 1px solid #e0e0e0;
}

.about-page .about-projects-title {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  text-align: start;
}

@media (max-width: 900px) {
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }

  .about-hero-logo {
    justify-self: center;
  }

  .about-hero-lead {
    margin-inline: auto;
  }

  .about-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .about-expertise {
    position: static;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding: 2rem 1.25rem;
    margin-inline: -1.25rem;
  }

  .about-hero-title {
    font-size: 1.85rem;
  }

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

  .about-hero-standard {
    font-size: 0.78rem;
  }

  .about-highlight-value {
    font-size: 1.45rem;
  }
}

/* Products page category filter */
.product-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 1.5rem auto 0.5rem;
  max-width: 480px;
}

.product-filter-label {
  font-weight: 500;
  color: var(--color-dark);
}

.product-category-filter {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 320px;
  padding: 0.55rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
  background: var(--color-white);
  color: var(--color-dark);
}

.product-card.is-hidden,
.hub-section.is-hidden,
.hub-section[hidden],
.products-practice.is-hidden,
.products-practice[hidden] {
  display: none !important;
}

.products-practices {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  margin-top: 1.75rem;
}

.products-practice {
  scroll-margin-top: 5.5rem;
}

.products-practice-head {
  max-width: 40rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(26, 43, 109, 0.12);
}

.products-practice-title {
  margin: 0 0 0.45rem;
  color: var(--color-navy);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.products-practice-lead {
  margin: 0;
  color: var(--color-gray);
  font-size: 1rem;
  line-height: 1.55;
}

.products-practice-body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.products-subgroup-title {
  font-size: 1.1rem;
}

.products-page .product-filters {
  margin-bottom: 0.5rem;
}

/* Product detail page */
.product-detail-page {
  max-width: none;
  margin: 0;
  padding: 0;
}

.product-detail-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

.product-detail-page .page-title {
  text-align: start;
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.product-detail-page .page-title::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  margin-top: 0.75rem;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
  border-radius: 2px;
}

.product-detail-main {
  margin-top: 1.5rem;
  padding: 2.5rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0, 173, 239, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(26, 43, 109, 0.06), transparent 50%),
    linear-gradient(165deg, #e8eef6 0%, #f4f7fb 42%, #fafbfd 100%);
  border-block: 1px solid rgba(26, 43, 109, 0.07);
}

.product-detail-main-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: start;
}

.product-detail-copy {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  box-shadow: 0 8px 32px rgba(26, 43, 109, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.product-detail-media {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
}

/* Typical project detail pages */
.project-detail-page {
  max-width: none;
  margin: 0;
  padding: 0;
}

.project-detail-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

.project-detail-page .page-title {
  text-align: start;
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.project-detail-page .page-title::after {
  content: "";
  display: block;
  width: 4rem;
  height: 4px;
  margin-top: 0.75rem;
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
  border-radius: 2px;
}

.project-detail-main {
  margin-top: 1.5rem;
  padding: 2.5rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0, 173, 239, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(26, 43, 109, 0.06), transparent 50%),
    linear-gradient(165deg, #e8eef6 0%, #f4f7fb 42%, #fafbfd 100%);
  border-block: 1px solid rgba(26, 43, 109, 0.07);
}

.project-detail-main-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: start;
}

.project-detail-copy {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  box-shadow: 0 8px 32px rgba(26, 43, 109, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.project-detail-media {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
}

.project-hero-frame {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 32px rgba(26, 43, 109, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.project-hero-image {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 8px;
}

.project-site-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-site-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.35rem;
  border-bottom: 1px solid rgba(26, 43, 109, 0.08);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
}

.project-site-list li:last-child {
  border-bottom: none;
}

.project-site-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
}

html[dir="rtl"] .project-site-list li {
  padding: 0.65rem 1.35rem 0.65rem 0;
}

html[dir="rtl"] .project-site-list li::before {
  left: auto;
  right: 0;
}

.product-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: none;
  margin: 1.5rem 0 0;
  justify-content: flex-start;
}

.btn-doc {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-doc:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-1px);
}

.product-carousel {
  position: relative;
  max-width: none;
  margin: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(26, 43, 109, 0.1);
  box-shadow: 0 8px 28px rgba(26, 43, 109, 0.08);
}

.product-carousel .carousel-track {
  position: relative;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  max-height: 460px;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fafc, #eef2f8);
}

.product-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  max-width: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.product-carousel .carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.product-carousel .carousel-slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.product-carousel .carousel-prev,
.product-carousel .carousel-next {
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-white);
}

.product-carousel .carousel-prev:hover,
.product-carousel .carousel-next:hover {
  background: rgba(0, 0, 0, 0.5);
}

.product-carousel .carousel-dots {
  background: var(--color-white);
  padding-bottom: 1rem;
}

.product-carousel .carousel-dot {
  background: #ccc;
}

.product-carousel .carousel-dot.is-active {
  background: var(--color-primary);
}

.product-screens {
  max-width: none;
  margin: 1.25rem 0 0;
}

.product-screens-title {
  text-align: start;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.product-screens-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.65rem;
}

.product-screens-grid img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 43, 109, 0.1);
  border-radius: 8px;
  padding: 0.35rem;
}

.product-description {
  max-width: none;
  margin: 0;
}

.product-description .product-description-body,
.product-description .rich-text.product-description-body {
  margin: 0;
}

.product-description .product-desc-line {
  margin: 0 0 0.55rem;
  line-height: 1.45;
}

.product-description .product-desc-line:last-child {
  margin-bottom: 0;
}

.product-description .product-desc-line--break {
  margin-top: 1rem;
}

.related-products {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  border-top: none;
  background: var(--color-white);
}

.related-products-title {
  text-align: start;
  font-size: 1.65rem;
  margin-bottom: 1.5rem;
  color: var(--color-navy);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-light);
}

.related-products-grid {
  max-width: 1100px;
  margin: 0 auto;
}

/* Hero fallback */
.hero {
  background-size: cover;
  background-position: center;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 3rem 1.5rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 43, 109, 0.92), rgba(26, 43, 109, 0.7));
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.hero-image img {
  max-height: 320px;
  object-fit: contain;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-cyan);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.hero-desc {
  font-size: 1rem;
  opacity: 0.95;
  margin: 0 0 1.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

/* Page content */
.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.page-title {
  color: var(--color-navy);
  font-size: 2rem;
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--color-primary);
}

.rich-content {
  font-size: 1rem;
}

.rich-content .rich-text {
  margin-bottom: 1.25rem;
}

.rich-content h1,
.rich-content h2,
.rich-content h3 {
  color: var(--color-navy);
}

.rich-content img {
  border-radius: 4px;
  margin: 1rem 0;
}

.rich-content .gallery-card,
.rich-content .content-image {
  display: inline-block;
  margin: 0.5rem;
  vertical-align: top;
}

.rich-content .gallery-card {
  max-width: 220px;
  text-align: center;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0.75rem;
  transition: box-shadow 0.2s;
}

.rich-content .gallery-card:hover {
  box-shadow: var(--shadow);
}

.rich-content .gallery-card span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.rich-content .gallery-image,
.rich-content .content-image {
  display: inline-block;
  margin: 0.75rem;
  vertical-align: top;
}

/* Homepage — clean text-first layout */
.home-page {
  color: var(--color-navy);
}

.home-hero {
  width: 100vw;
  margin-inline-start: calc(50% - 50vw);
  background: linear-gradient(
    135deg,
    var(--color-navy) 0%,
    #243a8f 58%,
    rgba(0, 173, 239, 0.45) 100%
  );
  color: var(--color-white);
}

.home-hero--photo {
  position: relative;
  min-height: min(68vh, 34rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #dfe7f2;
}

.home-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(1.18) contrast(0.96) saturate(0.92);
  transform: scale(1.02);
}

.lang-he .home-hero-photo {
  transform: scaleX(-1) scale(1.02);
}

.home-hero-shade,
.solution-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home-hero-shade {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.48) 45%,
    rgba(255, 255, 255, 0.16) 100%
  );
}

.solution-hero-shade {
  background: linear-gradient(
    to top,
    rgba(8, 14, 36, 0.86) 0%,
    rgba(8, 14, 36, 0.48) 48%,
    rgba(8, 14, 36, 0.28) 100%
  );
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 4.5rem) 1.5rem;
}

.home-hero--photo .home-hero-inner {
  width: 100%;
  padding-top: clamp(5.5rem, 12vw, 8rem);
}

.home-hero-kicker {
  margin: 0 0 0.55rem;
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-hero-title {
  margin: 0 0 0.85rem;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 14ch;
}

.lang-he .home-hero-title {
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
  max-width: 12ch;
}

.lang-he .home-hero-kicker {
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 600;
}

.home-hero .home-text-subtitle {
  color: var(--color-dark);
  font-size: 1.12rem;
  max-width: 36rem;
}

.home-hero .home-text-desc {
  color: var(--color-gray);
  font-size: 0.98rem;
  max-width: 36rem;
  margin: 0.55rem 0 0;
}

.home-hero-actions {
  margin-top: 1.6rem;
}

.home-hero--photo .home-btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.home-hero--photo .home-btn--primary:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.home-section-head {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-section-title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.home-text-subtitle {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.4;
}

.lang-he .home-text-subtitle {
  font-style: normal;
  font-weight: 600;
}

.home-text-subtitle-accent {
  color: #2d8a06 !important;
  font-style: italic;
  font-weight: 700;
}

.home-text-desc {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-gray);
}

.home-card-title {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.home-btn--primary {
  padding: 0.7rem 1.4rem;
  color: var(--color-navy);
  background: var(--color-white);
}

.home-btn--primary:hover {
  color: var(--color-white);
  background: var(--color-cyan);
  transform: translateY(-1px);
}

.home-btn--text {
  padding: 0;
  color: var(--color-cyan);
  font-weight: 600;
}

.home-btn--text::after {
  content: "→";
  display: inline-block;
  transition: transform 0.2s;
}

.lang-he .home-btn--text::after {
  content: "←";
}

.home-btn--text:hover {
  color: var(--color-navy);
}

.home-btn--text:hover::after {
  transform: translateX(3px);
}

.lang-he .home-btn--text:hover::after {
  transform: translateX(-3px);
}

/* Homepage news — banner (1 item) or carousel (2+) */
.home-news {
  position: relative;
  padding: 1.25rem 0 0.25rem;
  background: #ffffff;
}

.home-news-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  position: relative;
}

.home-news-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f4f7fb 0%, #eef3f8 100%);
  border: 1px solid rgba(15, 45, 80, 0.08);
  text-decoration: none;
  color: inherit;
  min-height: 7.5rem;
}

a.home-news-card:hover {
  border-color: rgba(15, 45, 80, 0.18);
  box-shadow: 0 8px 24px rgba(15, 45, 80, 0.08);
}

.home-news-card:not(:has(.home-news-image)) {
  grid-template-columns: 1fr;
}

.home-news-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  background: #dfe7ef;
}

.home-news-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary, #1a6bb5);
}

.home-news-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
  color: var(--color-navy);
}

.home-news-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(15, 45, 80, 0.78);
}

.home-news-more {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary, #1a6bb5);
}

.home-news--carousel {
  padding-bottom: 1.5rem;
}

.home-news--carousel .carousel-track {
  position: relative;
  min-height: 10rem;
}

.home-news--carousel .home-news-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.home-news--carousel .home-news-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.home-news--carousel .carousel-prev,
.home-news--carousel .carousel-next {
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 45, 80, 0.12);
  color: var(--color-navy);
}

.home-news--carousel .carousel-dots {
  margin-top: 0.75rem;
}

@media (max-width: 720px) {
  .home-news-card {
    grid-template-columns: 1fr;
  }

  .home-news-image {
    height: 160px;
  }
}

.home-solutions {
  position: relative;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(3.25rem, 5.5vw, 5rem);
  overflow: hidden;
  background: #ffffff;
  color: var(--color-navy);
}

.home-solutions::before {
  content: none;
}

.home-solutions-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.home-solutions-head {
  max-width: 36rem;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  padding: 0;
}

.home-solutions .home-section-title {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.home-solution-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  max-width: none;
  margin: 0;
}

.home-solution-group {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  border: 1px solid rgba(26, 43, 109, 0.08);
  border-radius: 1.1rem;
  background: #fbfcfe;
  box-shadow: none;
  animation: home-solution-rise 0.55s ease both;
  animation-delay: calc(var(--group-i, 0) * 0.08s);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-solution-group:hover {
  transform: none;
  border-color: rgba(0, 173, 239, 0.28);
  box-shadow: 0 12px 32px rgba(26, 43, 109, 0.06);
}

.home-solution-group-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-bottom: 1.15rem;
  padding: 0 0 1.1rem;
  border: 0;
  background: transparent;
  color: inherit;
  overflow: visible;
}

.home-solution-group-head::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: rgba(26, 43, 109, 0.08);
  animation: none;
}

.home-solution-group-visual {
  position: relative;
  width: min(11rem, 28vw);
  height: 4.25rem;
  padding: 0;
  color: rgba(0, 173, 239, 0.55);
  opacity: 1;
}

.home-solution-anim-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.home-solution-anim-wave {
  stroke-dasharray: 18 10;
  animation: home-solution-wave 2.8s linear infinite;
}

.home-solution-anim-wave--b {
  animation-duration: 3.6s;
  animation-direction: reverse;
}

.home-solution-anim-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: home-solution-pulse 1.8s ease-in-out infinite;
}

.home-solution-anim-pulse--delay {
  animation-delay: 0.55s;
}

.home-solution-anim-window {
  animation: home-solution-window 2.4s ease-in-out infinite;
}

.home-solution-anim-window--delay {
  animation-delay: 0.4s;
}

.home-solution-anim-window--delay2 {
  animation-delay: 0.85s;
}

.home-solution-group-head-copy {
  position: relative;
  z-index: 1;
  padding: 0;
}

.home-solution-group-index {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--color-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-solution-group-title {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.home-solution-group-lead {
  margin: 0.45rem 0 0;
  max-width: 36rem;
  color: var(--color-gray);
  font-size: 0.98rem;
  line-height: 1.55;
}

.home-solution-group-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  flex: 1;
  padding: 0;
  align-content: start;
}

.home-solution-group-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  min-height: 0;
  padding: 1rem 1rem;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  background: #ffffff;
  animation: home-solution-rise 0.45s ease both;
  animation-delay: calc(0.12s + (var(--group-i, 0) * 0.06s) + (var(--item-i, 0) * 0.04s));
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-solution-group-item + .home-solution-group-item {
  border-top-color: transparent;
}

.home-solution-group-item:hover,
.home-solution-group-item:focus-visible {
  background: #ffffff;
  border-color: rgba(0, 173, 239, 0.28);
  transform: none;
  box-shadow: 0 8px 22px rgba(26, 43, 109, 0.06);
  outline: none;
}

.lang-he .home-solution-group-item:hover,
.lang-he .home-solution-group-item:focus-visible {
  transform: none;
}

.home-solution-group-icon {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.75rem;
  background: #f3f7fb;
  color: var(--color-navy);
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-solution-group-icon .home-icon-svg {
  width: 1.4rem;
  height: 1.4rem;
}

.home-solution-group-item:hover .home-solution-group-icon,
.home-solution-group-item:focus-visible .home-solution-group-icon {
  color: var(--color-cyan);
  background: #eaf7fd;
  box-shadow: none;
  transform: none;
}

.home-solution-group-item:hover .home-icon-draw,
.home-solution-group-item:focus-visible .home-icon-draw {
  animation: home-icon-draw 1.05s ease-in-out infinite alternate;
}

.home-solution-group-item:hover .home-icon-needle,
.home-solution-group-item:focus-visible .home-icon-needle {
  animation: home-icon-needle 0.85s ease-in-out infinite alternate;
}

.home-solution-group-item:hover .home-icon-windows,
.home-solution-group-item:focus-visible .home-icon-windows {
  animation: home-icon-pulse 0.9s ease-in-out infinite alternate;
}

.home-solution-group-item:hover .home-icon-wheel,
.home-solution-group-item:focus-visible .home-icon-wheel {
  animation: home-icon-spin 0.9s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.home-solution-group-item:hover .home-icon-drop-shape,
.home-solution-group-item:focus-visible .home-icon-drop-shape {
  animation: home-icon-drop 0.9s ease-in-out infinite alternate;
}

.home-solution-group-item:hover .home-icon-knob,
.home-solution-group-item:focus-visible .home-icon-knob {
  animation: home-icon-knob 0.95s ease-in-out infinite alternate;
}

.home-solution-group-item:hover .home-icon-rotor,
.home-solution-group-item:focus-visible .home-icon-rotor {
  animation: home-icon-spin 0.85s linear infinite;
}

.home-solution-group-copy {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  margin-top: 0;
}

.home-solution-group-item-title {
  color: var(--color-navy);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.home-solution-group-item-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--color-gray);
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-solution-group-item-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
  color: var(--color-cyan);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: gap 0.2s ease;
}

.home-solution-group-item-more::after {
  content: "→";
  transition: transform 0.2s ease;
}

.lang-he .home-solution-group-item-more::after {
  content: "←";
}

.home-solution-group-item:hover .home-solution-group-item-title,
.home-solution-group-item:focus-visible .home-solution-group-item-title {
  color: var(--color-navy);
}

.home-solution-group-item:hover .home-solution-group-item-more,
.home-solution-group-item:focus-visible .home-solution-group-item-more {
  color: var(--color-cyan);
  gap: 0.45rem;
}

.home-solution-group-item:hover .home-solution-group-item-more::after,
.home-solution-group-item:focus-visible .home-solution-group-item-more::after {
  transform: translateX(3px);
}

.lang-he .home-solution-group-item:hover .home-solution-group-item-more::after,
.lang-he .home-solution-group-item:focus-visible .home-solution-group-item-more::after {
  transform: translateX(-3px);
}

@media (min-width: 1100px) {
  .home-solutions-inner {
    width: min(1240px, calc(100% - 3rem));
  }

  .home-solution-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }

  .home-solution-group {
    min-height: 100%;
  }

  .home-solution-group-list {
    grid-template-columns: 1fr;
  }
}

@keyframes home-solution-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-solution-wave {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -56; }
}

@keyframes home-solution-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes home-solution-window {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes home-solution-scan {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

.home-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: min(1320px, calc(100% - 3rem));
  margin: 0 auto;
}

.home-icon-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 15.5rem;
  padding: 1.4rem 1.3rem 1.25rem;
  background: var(--color-white);
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  color: var(--color-dark);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(26, 43, 109, 0.04);
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.home-icon-card:hover,
.home-icon-card:focus-visible {
  color: var(--color-dark);
  border-color: rgba(0, 173, 239, 0.38);
  box-shadow: 0 14px 34px rgba(26, 43, 109, 0.1);
  transform: translateY(-3px);
}

.home-icon-mark {
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  margin-bottom: 0.35rem;
  border-radius: 13px;
  background: linear-gradient(180deg, #f5f8fc 0%, #e8eef7 100%);
  color: var(--color-navy);
  transition: color 0.22s ease, background 0.22s ease;
}

.home-icon-card:hover .home-icon-mark,
.home-icon-card:focus-visible .home-icon-mark {
  color: var(--color-cyan);
  background: linear-gradient(180deg, #eef8fd 0%, #dff3fb 100%);
}

.home-icon-svg {
  width: 1.9rem;
  height: 1.9rem;
  overflow: visible;
}

.home-icon-title {
  margin: 0;
  color: var(--color-navy);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.home-icon-text {
  margin: 0;
  flex: 1;
  color: var(--color-gray);
  font-size: 0.9rem;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-icon-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  color: var(--color-navy);
  font-size: 0.86rem;
  font-weight: 600;
}

.home-icon-more::after {
  content: "→";
}

.lang-he .home-icon-more::after {
  content: "←";
}

.home-icon-card:hover .home-icon-draw {
  animation: home-icon-draw 1.05s ease-in-out infinite alternate;
}

.home-icon-draw {
  stroke-dasharray: 90;
  stroke-dashoffset: 0;
}

.home-icon-gauge .home-icon-needle {
  transform-box: view-box;
  transform-origin: 24px 26px;
}

.home-icon-card:hover .home-icon-needle {
  animation: home-icon-needle 0.85s ease-in-out infinite alternate;
}

.home-icon-card:hover .home-icon-windows {
  animation: home-icon-pulse 0.9s ease-in-out infinite alternate;
}

.home-icon-card:hover .home-icon-wheel {
  animation: home-icon-spin 0.9s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.home-icon-drop-shape {
  transform-box: fill-box;
  transform-origin: center;
}

.home-icon-card:hover .home-icon-drop-shape {
  animation: home-icon-drop 0.7s ease-in-out infinite alternate;
}

.home-icon-knob {
  transform-box: view-box;
  transform-origin: 31px 24px;
}

.home-icon-card:hover .home-icon-knob {
  animation: home-icon-knob 0.8s ease-in-out infinite alternate;
}

.home-icon-rotor {
  transform-box: fill-box;
  transform-origin: center;
}

.home-icon-card:hover .home-icon-rotor {
  animation: home-icon-spin 0.85s linear infinite;
}

@keyframes home-icon-draw {
  from { stroke-dashoffset: 90; }
  to { stroke-dashoffset: 0; }
}

@keyframes home-icon-needle {
  from { transform: rotate(-22deg); }
  to { transform: rotate(32deg); }
}

@keyframes home-icon-pulse {
  from { opacity: 1; }
  to { opacity: 0.25; }
}

@keyframes home-icon-spin {
  to { transform: rotate(360deg); }
}

@keyframes home-icon-drop {
  from { transform: translateY(0); }
  to { transform: translateY(3px); }
}

@keyframes home-icon-knob {
  from { transform: translateX(0); }
  to { transform: translateX(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .home-icon-card,
  .home-icon-card:hover .home-icon-draw,
  .home-icon-card:hover .home-icon-needle,
  .home-icon-card:hover .home-icon-windows,
  .home-icon-card:hover .home-icon-wheel,
  .home-icon-card:hover .home-icon-drop-shape,
  .home-icon-card:hover .home-icon-knob,
  .home-icon-card:hover .home-icon-rotor,
  .home-solution-group,
  .home-solution-group-item,
  .home-solution-group-head::after,
  .home-solution-anim-wave,
  .home-solution-anim-pulse,
  .home-solution-anim-window,
  .home-solution-group-item:hover .home-icon-draw,
  .home-solution-group-item:hover .home-icon-needle,
  .home-solution-group-item:hover .home-icon-windows,
  .home-solution-group-item:hover .home-icon-wheel,
  .home-solution-group-item:hover .home-icon-drop-shape,
  .home-solution-group-item:hover .home-icon-knob,
  .home-solution-group-item:hover .home-icon-rotor {
    animation: none;
    transform: none;
  }
}

.home-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.home-solution-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--color-white);
  border: 1px solid #e8ecf2;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(26, 43, 109, 0.06);
  border-top: 3px solid var(--color-cyan);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.home-solution-card:hover {
  box-shadow: 0 8px 24px rgba(26, 43, 109, 0.08);
  border-color: #d5dde8;
}

.home-solution-card--navy {
  border-top-color: var(--color-navy);
}

.home-card-body > * + * {
  margin-top: 0.5rem;
}

.home-card-body .home-text-desc {
  margin-top: 0.35rem;
}

.home-capabilities {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.5rem 1.5rem 2.5rem;
}

.home-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.home-capability-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-light);
  border: 1px solid #e8ecf2;
  border-radius: 10px;
  transition: background 0.2s, box-shadow 0.2s;
}

.home-capability-card:hover {
  background: var(--color-white);
  box-shadow: 0 6px 20px rgba(26, 43, 109, 0.07);
}

.home-capability-card .home-card-title {
  font-size: 1.05rem;
}

.home-closing {
  width: 100vw;
  margin-inline-start: calc(50% - 50vw);
  background: var(--color-light);
  border-top: 1px solid #e8ecf2;
  border-bottom: 1px solid #e8ecf2;
}

.home-closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.75rem 1.5rem;
}

.home-closing-title {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700;
  color: var(--color-navy);
  max-width: 40rem;
  line-height: 1.35;
}

.home-closing .home-btn--primary {
  background: var(--color-navy);
  color: var(--color-white);
}

.home-closing .home-btn--primary:hover {
  background: var(--color-cyan);
  color: var(--color-white);
}

.home-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 2.75rem;
}

.home-nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-decoration: none;
  color: var(--color-navy);
  background: var(--color-white);
  border: 1px solid #e8ecf2;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.home-nav-card:hover {
  color: var(--color-cyan);
  border-color: var(--color-cyan);
  box-shadow: 0 4px 16px rgba(0, 173, 239, 0.12);
}

.home-nav-card-arrow {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--color-light);
  position: relative;
}

.home-nav-card-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--color-cyan);
  border-right: 2px solid var(--color-cyan);
  transform: translate(-60%, -50%) rotate(45deg);
}

.lang-he .home-nav-card-arrow::after {
  transform: translate(-40%, -50%) rotate(-135deg);
}

.lang-he .home-hero-inner,
.lang-he .home-solution-card .home-card-body,
.lang-he .home-capability-card .home-card-body {
  text-align: right;
}

@media (max-width: 900px) {
  .home-solutions-grid,
  .home-capabilities-grid,
  .home-nav-grid {
    grid-template-columns: 1fr;
  }

  .home-section-title {
    text-align: center;
  }

  .lang-he .home-section-title {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .home-hero-inner {
    padding-inline: 1.15rem;
  }

  .home-solutions,
  .home-capabilities {
    padding-inline: 1.15rem;
  }
}

.empty-content {
  color: var(--color-gray);
  font-style: italic;
}

/* Footer */
.site-footer {
  background: #f3f4f6;
  color: var(--color-dark);
  padding: 2.5rem 1.5rem 1rem;
  border-top: 1px solid #e5e7eb;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 0.9fr 1.2fr 1.1fr;
  gap: 1.5rem 1.25rem;
}

.footer-sitemap h3,
.footer-contact h3 {
  margin: 0 0 0.85rem;
  color: var(--color-navy);
  font-size: 0.95rem;
}

.footer-sitemap ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-sitemap li {
  margin: 0 0 0.4rem;
}

.footer-sitemap a {
  color: var(--color-gray);
  font-size: 0.88rem;
  line-height: 1.35;
}

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

.footer-logo {
  height: 40px;
  filter: none;
  margin-bottom: 0.5rem;
}

.footer-brand img.footer-logo {
  filter: none;
}

.footer-brand img.footer-logo-en-icon {
  filter: none;
}

.footer-brand-name {
  font-weight: 600;
  margin: 0;
  color: var(--color-dark);
}

.footer-contact h3 {
  margin: 0 0 0.85rem;
  color: var(--color-navy);
}

.footer-contact p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--color-gray);
}

.footer-contact a {
  color: var(--color-dark);
}

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

.footer-map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 4px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-gray);
  opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-carousel .carousel-slide-inner,
  .carousel-slide.is-active {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-carousel .carousel-slide-inner {
    padding-top: 3rem;
    padding-bottom: 4.5rem;
  }

  .carousel-desc {
    max-width: none;
  }

  .carousel-image img {
    max-height: 280px;
  }

  .carousel-prev,
  .carousel-next {
    top: auto;
    bottom: 4rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

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

  .nav-toggle {
    display: flex;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    padding: 0.5rem 1rem;
  }

  .header-actions {
    grid-column: 3;
    justify-self: end;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

  .main-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid rgba(26, 43, 109, 0.08);
  }

  .nav-item.has-dropdown {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .main-nav .nav-item > .nav-link {
    padding: 0.9rem 0.15rem;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.3;
    white-space: normal;
  }

  .nav-toggle {
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
  }

  .page-content {
    padding-inline: 1rem;
  }

  .help-page {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }

  .nav-item.has-dropdown > .nav-link {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--color-navy);
    cursor: pointer;
    grid-column: 2;
    grid-row: 1;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.2s, color 0.2s;
  }

  .nav-submenu-toggle:hover {
    background: var(--color-light);
    color: var(--color-primary);
  }

  .nav-submenu-chevron {
    display: block;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s;
  }

  .nav-item.has-dropdown.is-submenu-open .nav-submenu-chevron {
    transform: rotate(-135deg);
  }

  .nav-item.has-dropdown:hover .dropdown,
  .nav-item.has-dropdown:focus-within .dropdown {
    display: none;
  }

  .nav-item.has-dropdown.is-submenu-open .dropdown {
    display: block !important;
  }

  .nav-item.has-mega.is-submenu-open > .mega-dropdown {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1rem;
    position: static;
    transform: none;
    width: auto;
    inset: auto;
    margin: 0;
    padding: 0.65rem 0.85rem 1rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--color-light);
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .mega-dropdown-col + .mega-dropdown-col {
    border-inline-start: 0;
    border-top: 1px solid rgba(26, 43, 109, 0.1);
    padding-inline-start: 0;
    padding-top: 0.85rem;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    padding-inline-start: 1rem;
    background: var(--color-light);
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .product-detail-main-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .product-detail-media {
    position: static;
    order: 2;
  }

  .product-detail-copy {
    order: 1;
  }

  .project-detail-main-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .project-detail-media {
    position: static;
    order: 2;
  }

  .project-detail-copy {
    order: 1;
  }

  .product-carousel .carousel-track {
    max-height: none;
    min-height: 260px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}

/* Product comparison page */
.product-comparison-page {
  max-width: 52rem;
}

.comparison-card {
  margin-top: 0.5rem;
  padding: 2.25rem 2.5rem;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(0, 173, 239, 0.1), transparent 55%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(26, 43, 109, 0.06), transparent 50%),
    linear-gradient(165deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid rgba(26, 43, 109, 0.1);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(26, 43, 109, 0.08);
  text-align: center;
}

.comparison-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(26, 43, 109, 0.08), rgba(0, 173, 239, 0.12));
  color: var(--color-navy);
}

.comparison-intro {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-dark);
}

.comparison-features {
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 34rem;
  list-style: none;
  text-align: start;
}

.comparison-features li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.75rem;
  line-height: 1.55;
  color: var(--color-gray);
}

.comparison-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-cyan));
}

html[dir="rtl"] .comparison-features li {
  padding: 0.55rem 1.75rem 0.55rem 0;
}

html[dir="rtl"] .comparison-features li::before {
  left: auto;
  right: 0;
}

.comparison-actions {
  margin-bottom: 1.25rem;
}

.btn-comparison {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 16px rgba(212, 19, 23, 0.25);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-comparison:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 43, 109, 0.2);
}

.comparison-btn-arrow {
  font-size: 1.15rem;
  line-height: 1;
}

html[dir="rtl"] .comparison-btn-arrow {
  transform: scaleX(-1);
}

.comparison-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-gray);
}

.comparison-note a {
  color: var(--color-navy);
  font-weight: 500;
}

.comparison-note a:hover {
  color: var(--color-primary);
}

@media (max-width: 640px) {
  .comparison-card {
    padding: 1.75rem 1.25rem;
  }

  .comparison-intro {
    font-size: 1rem;
  }
}

/* Contact page */
.contact-intro {
  margin: -0.5rem 0 2rem;
  color: var(--color-text-muted, #4a5568);
  max-width: 42rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  background: #f8fafc;
  border: 1px solid rgba(26, 43, 109, 0.1);
  border-radius: 12px;
}

.contact-honey {
  position: absolute !important;
  inset-inline-start: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-field label {
  font-weight: 600;
  color: var(--color-navy);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(26, 43, 109, 0.2);
  border-radius: 6px;
  font: inherit;
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0, 174, 199, 0.15);
}

.contact-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.btn-submit {
  align-self: flex-start;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
  transform: translateY(-1px);
}

body.contact-popup-open {
  overflow: hidden;
}

.contact-form-error {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  background: #fdecec;
  border: 1px solid #e8a8a8;
  color: #8b1e1e;
  font-weight: 500;
}

.contact-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.contact-popup[hidden] {
  display: none;
}

.contact-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 43, 109, 0.45);
}

.contact-popup-dialog {
  position: relative;
  width: min(100%, 28rem);
  padding: 1.75rem;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 16px 48px rgba(26, 43, 109, 0.2);
  text-align: center;
}

.contact-popup-title {
  margin: 0 0 0.75rem;
  color: var(--color-navy);
  font-size: 1.35rem;
}

.contact-popup-message {
  margin: 0 0 1.25rem;
  color: var(--color-dark);
  line-height: 1.5;
}

.contact-info-heading {
  margin: 0 0 0.75rem;
  color: var(--color-navy);
  font-size: 1.35rem;
}

.contact-brand {
  margin: 0 0 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
}

.contact-details {
  margin: 0 0 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-details div {
  margin: 0;
}

.contact-details dt {
  margin: 0 0 0.2rem;
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.9rem;
}

.contact-details dd {
  margin: 0;
  color: var(--color-text, #2d3748);
}

.contact-details a {
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tel-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.contact-details a:hover {
  color: var(--color-primary);
}

.contact-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 8px;
}

/* LT22 assistant, Hebrew contact page */
.lt22-assistant {
  --lt22-panel: #eef5fb;
  --lt22-bot: #e8f3fb;
  --lt22-line: rgba(26, 43, 109, 0.12);
  --lt22-avatar: url("/assets/images/kal-electrician-avatar.jpg");
  margin: 0 0 2.5rem;
  padding: 0;
  overflow: hidden;
  max-width: 100%;
  background: var(--lt22-panel);
  border: 1px solid var(--lt22-line);
  border-radius: 16px;
}

.lt22-assistant.is-active {
  position: fixed;
  inset: 0;
  z-index: 1200;
  margin: 0;
  max-width: none;
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  background: var(--lt22-panel);
}

@media (min-width: 768px) {
  .lt22-assistant.is-active {
    inset: 0;
    width: min(880px, calc(100% - 2rem));
    max-width: 880px;
    height: min(100dvh, 920px);
    max-height: calc(100dvh - 1.5rem);
    margin: auto;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    border: 1px solid var(--lt22-line);
    box-shadow: 0 18px 48px rgba(10, 24, 56, 0.28);
  }

  body.lt22-assistant-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(8, 18, 40, 0.45);
  }
}

body.lt22-assistant-open {
  overflow: hidden;
}

.lt22-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(105deg, var(--color-navy) 0%, #1f4f8f 55%, var(--color-cyan) 100%);
  color: var(--color-white);
  flex: 0 0 auto;
}

.lt22-assistant.is-active .lt22-header {
  padding-top: max(0.85rem, env(safe-area-inset-top));
}

.lt22-close {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-inline-start: auto;
  flex: 0 0 auto;
  min-width: 2.55rem;
  min-height: 2.55rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--color-white);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

/* Finish/close only in fullscreen chat — CSS display must not override [hidden]. */
.lt22-assistant.is-active .lt22-close:not([hidden]) {
  display: inline-flex;
}

.lt22-close[hidden] {
  display: none !important;
}

.lt22-close span[aria-hidden="true"] {
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
}

.lt22-close-label {
  font-size: 0.92rem;
  font-weight: 700;
}

.lt22-close:hover,
.lt22-close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.75);
  outline: none;
}

@media (max-width: 420px) {
  .lt22-close-label {
    display: none;
  }

  .lt22-close {
    padding: 0;
    width: 2.55rem;
    border-radius: 50%;
  }
}

.lt22-avatar {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16) var(--lt22-avatar) center / cover no-repeat;
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: transparent;
  font-weight: 700;
  font-size: 0;
  letter-spacing: 0;
  overflow: hidden;
}

.lt22-avatar-sm {
  width: 2rem;
  height: 2rem;
  font-size: 0;
  letter-spacing: 0;
  background: var(--lt22-avatar) center / cover no-repeat;
  border-color: rgba(0, 173, 239, 0.45);
}

.lt22-header-copy {
  min-width: 0;
}

.lt22-assistant-title {
  margin: 0;
  color: var(--color-white);
  font-size: 1.2rem;
  line-height: 1.25;
}

.lt22-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  opacity: 0.95;
}

.lt22-status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #7dffb0;
  box-shadow: 0 0 0 3px rgba(125, 255, 176, 0.22);
}

.lt22-assistant-intro,
.lt22-start,
.lt22-chat,
.lt22-error {
  padding-inline: 1.25rem;
}

.lt22-assistant.is-active .lt22-assistant-intro,
.lt22-assistant.is-active .lt22-start {
  display: none;
}

.lt22-assistant-intro {
  margin: 1rem 0 0.85rem;
  max-width: 40rem;
  color: var(--color-gray);
}

.lt22-start {
  padding-bottom: 1.25rem;
}

.lt22-composer,
.lt22-start {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lt22-start .btn-submit {
  align-self: flex-start;
}

.lt22-auth,
.lt22-auth-signed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.lt22-auth[hidden],
.lt22-auth-signed[hidden] {
  display: none !important;
}

.lt22-auth-marketing {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 28rem;
  margin: 0;
  color: var(--color-navy);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
}

.lt22-auth-marketing input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: var(--color-navy);
}

.lt22-auth-copy,
.lt22-auth-account {
  margin: 0;
  color: var(--color-navy);
  font-size: 0.98rem;
  font-weight: 600;
}

.lt22-auth-account {
  font-weight: 500;
  color: var(--color-gray);
}

.lt22-auth-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.lt22-google-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(26, 43, 109, 0.22);
  border-radius: 6px;
  background: #fff;
  color: var(--color-navy);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(26, 43, 109, 0.06);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lt22-google-btn:hover,
.lt22-google-btn:focus-visible {
  border-color: var(--color-navy);
  background: #f7fafc;
  outline: none;
}

.lt22-google-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.lt22-google-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E");
}

.lt22-auth-switch {
  border: 0;
  background: transparent;
  color: var(--color-navy);
  font: inherit;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
  padding: 0.25rem 0;
}

.lt22-auth-switch:hover,
.lt22-auth-switch:focus-visible {
  color: #0f1c4d;
  outline: none;
}

.lt22-auth-or,
.lt22-auth-hint,
.lt22-email-label {
  margin: 0;
  color: var(--color-gray);
  font-size: 0.92rem;
}

.lt22-email-label {
  color: var(--color-navy);
  font-weight: 600;
}

.lt22-email-auth {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  width: min(100%, 28rem);
}

.lt22-email-row,
.lt22-code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lt22-code-row[hidden] {
  display: none !important;
}

.lt22-email-auth input {
  flex: 1 1 12rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(26, 43, 109, 0.22);
  border-radius: 6px;
  font: inherit;
  color: var(--color-navy);
  background: #fff;
}

.lt22-email-auth input:focus-visible {
  border-color: var(--color-navy);
  outline: none;
}

.lt22-email-auth input:disabled {
  background: #eef1f6;
  color: var(--color-navy);
  cursor: default;
}

.lt22-email-change {
  align-self: flex-start;
  margin-top: -0.15rem;
}

.lt22-email-change[hidden] {
  display: none !important;
}

.lt22-email-send {
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--color-navy);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.lt22-email-send:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.lt22-chat {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.25rem;
  padding-bottom: 1.15rem;
  min-height: 0;
}

.lt22-assistant.is-active .lt22-chat {
  flex: 1 1 auto;
  min-height: 0;
  padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
}

.lt22-chat[hidden],
.lt22-start[hidden],
.lt22-error[hidden],
.lt22-photo-name[hidden],
.lt22-options[hidden],
.lt22-suggestions[hidden],
.lt22-photo-button[hidden],
.lt22-camera-button[hidden],
.lt22-composer[hidden] {
  display: none;
}

.lt22-restart {
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  margin-top: 0.15rem;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.lt22-chat-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 0;
  flex: 1 1 auto;
}

@media (min-width: 900px) {
  .lt22-chat-body {
    flex-direction: row;
    align-items: stretch;
  }

  .lt22-chat-body .lt22-log {
    flex: 1 1 auto;
    min-width: 0;
  }

  .lt22-faq-panel:not([hidden]) {
    flex: 0 0 17rem;
    max-width: 17rem;
    max-height: none;
    overflow: auto;
  }
}

.lt22-faq-panel {
  border: 1px solid var(--lt22-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.75rem 0.85rem;
  max-height: 14rem;
  overflow: auto;
}

.lt22-faq-panel[hidden] {
  display: none !important;
}

/* Desktop: FAQ list is inline; mobile popup chrome stays collapsed. */
.lt22-faq-trigger,
.lt22-faq-backdrop,
.lt22-faq-close {
  display: none;
}

.lt22-faq-sheet,
.lt22-faq-dialog {
  display: contents;
}

.lt22-faq-header {
  display: block;
}

.lt22-faq-title {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  color: var(--color-navy);
}

.lt22-faq-list {
  min-width: 0;
}

.lt22-faq-item {
  border-top: 1px solid var(--lt22-line);
  padding: 0.45rem 0;
}

.lt22-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-navy);
}

.lt22-faq-item p {
  margin: 0.4rem 0;
  color: var(--color-gray);
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.lt22-faq-ask {
  margin-top: 0.25rem;
  border: 0;
  background: transparent;
  color: var(--color-cyan);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.lt22-manual-link {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--color-navy);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}

.lt22-manual-link:hover,
.lt22-manual-link:focus-visible {
  background: var(--color-cyan);
  color: #fff !important;
  outline: none;
}

.lt22-bubble a.lt22-manual-link {
  color: #fff !important;
  text-decoration: none !important;
}

.lt22-preflight {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: var(--color-navy);
}

.lt22-preflight h4 {
  margin: 0.75rem 0 0.35rem;
  font-size: 0.98rem;
}

.lt22-preflight p {
  margin: 0.35rem 0;
}

.lt22-preflight ul {
  margin: 0.35rem 0;
  padding-inline-start: 1.1rem;
}

.lt22-log {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.85rem;
  max-height: 30rem;
  overflow-anchor: none;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.25rem 0.15rem 0.35rem;
  min-height: 0;
}

.lt22-assistant.is-active .lt22-chat-body {
  flex: 1 1 auto;
  min-height: 0;
}

.lt22-assistant.is-active .lt22-log {
  flex: 1 1 auto;
  max-height: none;
}

.lt22-assistant.is-active .lt22-options {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.lt22-assistant.is-active .lt22-suggestions {
  flex: 0 1 auto;
  max-height: min(38vh, 20rem);
}

.lt22-assistant.is-active .lt22-composer {
  flex: 0 0 auto;
}

.lt22-assistant.is-active .lt22-error {
  flex: 0 0 auto;
  margin-bottom: 0.35rem;
}

.lt22-row {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  box-sizing: border-box;
  width: min(42rem, 100%);
  max-width: 100%;
  min-width: 0;
}

.lt22-row-assistant {
  align-self: flex-start;
  flex-direction: row;
}

.lt22-row-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.lt22-bubble {
  max-width: 100%;
  min-width: 0;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.lt22-bubble p {
  margin: 0 0 0.55rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.lt22-bubble p:last-child {
  margin-bottom: 0;
}

.lt22-list {
  margin: 0 0 0.55rem;
  padding: 0 1.15rem 0 0;
}

.lt22-list li + li {
  margin-top: 0.35rem;
}

.lt22-bubble-user {
  background: var(--color-navy);
  color: var(--color-white);
  border-bottom-left-radius: 5px;
}

.lt22-bubble-assistant {
  background: var(--lt22-bot);
  border: 1px solid rgba(0, 173, 239, 0.18);
  color: var(--color-dark);
  border-bottom-right-radius: 5px;
}

.lt22-figure {
  margin: 0.75rem 0 0;
  padding: 0.55rem;
  background: var(--color-white);
  border: 1px solid rgba(0, 173, 239, 0.35);
  border-radius: 10px;
}

.lt22-figure img {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  border-radius: 6px;
  background: #fff;
}

.lt22-figure figcaption {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-navy);
  font-weight: 600;
}

.lt22-options {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 100%;
  min-width: 0;
}

/* Desktop: sheet chrome collapses; chips stay an inline wrap list. */
.lt22-options-trigger,
.lt22-options-backdrop,
.lt22-options-header,
.lt22-options-footer {
  display: none;
}

.lt22-options-sheet,
.lt22-options-dialog {
  display: contents;
}

.lt22-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 100%;
  max-height: 34vh;
  overflow: auto;
  padding-top: 0.15rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.lt22-chip {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  min-width: 0;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid rgba(0, 173, 239, 0.45);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-navy);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
  animation: lt22-chip-in 0.35s ease both;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.lt22-chip-icon {
  flex: 0 0 auto;
  font-size: 1.05rem;
  line-height: 1;
}

.lt22-chip-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
}

.lt22-chip small {
  color: var(--color-gray);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
}

.lt22-chip:hover,
.lt22-chip:focus-visible {
  border-color: var(--color-cyan);
  background: var(--color-cyan);
  color: var(--color-white);
  outline: none;
}

.lt22-chip:hover small,
.lt22-chip:focus-visible small {
  color: rgba(255, 255, 255, 0.88);
}

.lt22-chip.is-selected {
  border-color: var(--color-cyan);
  background: rgba(0, 173, 239, 0.14);
  color: var(--color-navy);
  box-shadow: inset 0 0 0 1px rgba(0, 173, 239, 0.35);
}

.lt22-chip.is-selected small {
  color: var(--color-gray);
}

.lt22-chip-preflight {
  display: flex;
  width: min(100%, 22rem);
  margin-inline: auto;
  justify-content: center;
  padding: 1rem 1.25rem;
  border-width: 2.5px;
  border-color: var(--color-cyan);
  background: linear-gradient(180deg, #fff 0%, #e8f7fd 100%);
  box-shadow: 0 6px 18px rgba(26, 43, 109, 0.12);
  font-size: 1.08rem;
  font-weight: 800;
  text-align: center;
}

.lt22-chip-preflight .lt22-chip-copy {
  align-items: center;
}

.lt22-chip-preflight .lt22-chip-label {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
}

.lt22-chip-preflight small {
  color: var(--color-navy);
  font-size: 0.88rem;
  font-weight: 700;
}

.lt22-chip-preflight:hover,
.lt22-chip-preflight:focus-visible,
.lt22-chip-preflight.is-selected {
  background: var(--color-cyan);
  border-color: var(--color-cyan);
  color: #fff;
}

.lt22-chip-preflight:hover small,
.lt22-chip-preflight:focus-visible small,
.lt22-chip-preflight.is-selected small {
  color: rgba(255, 255, 255, 0.92);
}

.lt22-suggestions.is-preflight-focus,
.lt22-options.is-preflight-focus .lt22-suggestions {
  justify-content: center;
  padding: 0.65rem 0.25rem 0.85rem;
}

@keyframes lt22-chip-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lt22-card {
  margin-top: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid rgba(0, 173, 239, 0.45);
  border-radius: 12px;
  background: var(--color-white);
  font-size: 0.92rem;
}

.lt22-card b {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--color-navy);
  font-size: 1.05rem;
}

.lt22-card div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px dashed rgba(26, 43, 109, 0.16);
  color: var(--color-dark);
}

.lt22-card div span:first-child {
  color: var(--color-gray);
}

.lt22-composer-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.45rem;
  background: var(--color-white);
  border: 1px solid var(--lt22-line);
  border-radius: 999px;
}

.lt22-composer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.lt22-nav-btn {
  border: 1px solid rgba(26, 43, 109, 0.18);
  background: var(--color-white);
  color: var(--color-navy);
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.lt22-nav-btn:hover,
.lt22-nav-btn:focus-visible {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  outline: none;
}

.lt22-nav-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.lt22-composer.is-disabled .lt22-composer-row {
  background: rgba(26, 43, 109, 0.04);
  border-color: rgba(26, 43, 109, 0.12);
  opacity: 0.72;
  pointer-events: none;
}

.lt22-composer.is-disabled .lt22-nav-btn {
  opacity: 1;
  pointer-events: auto;
}

.lt22-composer.is-disabled .lt22-nav-btn:disabled {
  opacity: 0.45;
  pointer-events: none;
}

.lt22-composer.is-disabled textarea {
  color: var(--color-gray);
  cursor: not-allowed;
}

.lt22-composer.is-disabled .lt22-send {
  opacity: 0.45;
  cursor: not-allowed;
}

.lt22-composer textarea {
  flex: 1;
  min-height: 2.5rem;
  max-height: 7rem;
  resize: none;
  padding: 0.55rem 0.2rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  line-height: 1.4;
}

.lt22-composer textarea:focus {
  outline: none;
}

.lt22-composer-row:focus-within {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0, 174, 199, 0.12);
}

.lt22-photo-button,
.lt22-send {
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  min-width: 2.7rem;
  min-height: 2.7rem;
  flex: 0 0 auto;
  margin: 0;
  border: 0;
  border-radius: 50%;
  font: inherit;
  cursor: pointer;
  transform: none;
  touch-action: manipulation;
}

.lt22-photo-button {
  background: transparent;
  color: var(--color-navy);
  border: 1px solid rgba(26, 43, 109, 0.18);
  font-size: 1.35rem;
  line-height: 1;
}

.lt22-photo-button svg {
  display: block;
}

.lt22-camera-button {
  background: rgba(0, 173, 239, 0.1);
  border-color: rgba(0, 173, 239, 0.35);
  color: var(--color-navy);
}

.lt22-send {
  background: var(--color-cyan);
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 700;
}

.lt22-send:hover,
.lt22-photo-button:hover {
  filter: brightness(0.97);
}

.lt22-send:disabled,
.lt22-photo-button:disabled,
.lt22-chip:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.lt22-photo-name,
.lt22-waiting,
.lt22-error {
  margin: 0;
  font-size: 0.9rem;
}

.lt22-photo-name {
  padding-inline: 0.35rem;
  color: var(--color-navy);
}

.lt22-waiting {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 100%;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: var(--lt22-bot);
  border: 1px solid rgba(0, 173, 239, 0.18);
  color: var(--color-navy);
  font-size: 0.95rem;
}

.lt22-row-waiting {
  align-self: flex-start;
}

.lt22-opening .lt22-waiting {
  min-width: 9.5rem;
}

.lt22-spinner {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  border: 2px solid rgba(26, 43, 109, 0.18);
  border-top-color: var(--color-cyan);
  border-radius: 50%;
  animation: lt22-spin 0.7s linear infinite;
}

@keyframes lt22-spin {
  to {
    transform: rotate(360deg);
  }
}

.lt22-error {
  margin: 0 0 1.15rem;
  color: #8b1e1e;
}

.lt22-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.55rem;
  margin-top: 0.55rem;
  min-width: min(100%, 22rem);
}

.lt22-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-navy);
  min-width: 0;
}

.lt22-form-field-full,
.lt22-form-actions,
.lt22-form-error,
.lt22-product-rows,
.lt22-form-cols,
.lt22-terms {
  grid-column: 1 / -1;
}

.lt22-form-cols {
  display: grid;
  gap: 0.45rem 0.55rem;
}

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

.lt22-form-cols-3 {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 1.15fr);
}

.lt22-product-rows {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.lt22-product-rows-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.lt22-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem auto;
  gap: 0.45rem 0.55rem;
  align-items: end;
}

.lt22-product-row-product {
  min-width: 0;
}

.lt22-product-row-qty input {
  width: 100%;
}

.lt22-product-row-remove {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.05rem;
  border: 1px solid rgba(26, 43, 109, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--color-navy);
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.lt22-product-row-remove[hidden] {
  display: none !important;
}

.lt22-product-row-remove:hover,
.lt22-product-row-remove:focus-visible {
  border-color: rgba(139, 30, 30, 0.45);
  color: #8b1e1e;
  outline: none;
}

.lt22-add-product {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.15rem 0 0;
  padding: 0.5rem 0.85rem;
  border: 1px dashed rgba(26, 43, 109, 0.28);
  border-radius: 999px;
  background: rgba(0, 173, 239, 0.08);
  color: var(--color-navy);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}

.lt22-add-product-plus {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--color-cyan);
  color: #fff;
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 800;
}

.lt22-add-product:hover,
.lt22-add-product:focus-visible {
  border-color: var(--color-cyan);
  color: var(--color-navy);
  background: rgba(0, 173, 239, 0.14);
  outline: none;
}

@media (max-width: 640px) {
  .lt22-product-row {
    grid-template-columns: minmax(0, 1fr) 4.75rem auto;
  }

  .lt22-add-product {
    width: 100%;
    justify-content: center;
    min-height: 2.75rem;
  }
}

@media (max-width: 420px) {
  .lt22-product-row {
    grid-template-columns: minmax(0, 1fr) 4.5rem auto;
  }
}

.lt22-form-field input,
.lt22-form-field select,
.lt22-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(26, 43, 109, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--color-dark);
  font: inherit;
  font-weight: 500;
}

.lt22-form-field textarea {
  resize: vertical;
  min-height: 3.2rem;
}

.lt22-form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
}

.lt22-form-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: var(--color-navy);
}

.lt22-form-check span {
  line-height: 1.35;
}

.lt22-form-display {
  width: 100%;
  box-sizing: border-box;
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(26, 43, 109, 0.12);
  border-radius: 8px;
  background: rgba(26, 43, 109, 0.04);
  color: var(--color-dark);
  font: inherit;
  font-weight: 500;
}

.lt22-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.15rem;
}

.lt22-form-actions .btn {
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
}

.lt22-form-actions .btn-submit:disabled {
  background: #c5c8d0;
  border-color: #c5c8d0;
  color: #fff;
  cursor: not-allowed;
  transform: none;
}

.lt22-form-actions .btn.is-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  pointer-events: none;
  opacity: 0.9;
}

.lt22-form-actions .btn.is-loading .lt22-spinner {
  width: 0.9rem;
  height: 0.9rem;
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
}

.lt22-form-error {
  margin: 0;
  color: #8b1e1e;
  font-size: 0.85rem;
  font-weight: 600;
}

.lt22-product-picker {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lt22-product-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(26, 43, 109, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--color-dark);
  font: inherit;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
}

.lt22-product-trigger:hover,
.lt22-product-trigger:focus-visible {
  border-color: var(--color-cyan);
  outline: none;
}

.lt22-product-trigger span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lt22-product-panel {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 0.25rem);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: min(16rem, 42vh);
  padding: 0.45rem;
  border: 1px solid rgba(26, 43, 109, 0.18);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 43, 109, 0.12);
}

.lt22-product-panel[hidden] {
  display: none;
}

.lt22-product-search {
  width: 100%;
  box-sizing: border-box;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(26, 43, 109, 0.18);
  border-radius: 8px;
  font: inherit;
}

.lt22-product-list {
  overflow: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.lt22-product-group-label {
  margin: 0.35rem 0 0.1rem;
  padding: 0 0.2rem;
  color: var(--color-gray);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lt22-product-option {
  display: block;
  width: 100%;
  padding: 0.4rem 0.5rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-dark);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  text-align: start;
  cursor: pointer;
}

.lt22-product-option:hover,
.lt22-product-option:focus-visible,
.lt22-product-option.is-active {
  background: rgba(0, 173, 239, 0.12);
  color: var(--color-navy);
  outline: none;
}

.lt22-product-empty {
  margin: 0.35rem 0;
  padding: 0.25rem;
  color: var(--color-gray);
  font-size: 0.82rem;
  font-weight: 500;
}

.lt22-lab-pdf {
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(26, 43, 109, 0.18);
}

.lt22-lab-pdf strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-navy);
  font-size: 0.9rem;
}

.lt22-lab-pdf p {
  margin: 0 0 0.35rem;
  color: var(--color-gray);
  font-size: 0.82rem;
  font-weight: 500;
}

.lt22-lab-intake-link {
  display: inline-flex;
  align-items: center;
  margin: 0.15rem 0 0.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(0, 173, 239, 0.45);
  border-radius: 8px;
  background: #f4fbfe;
  color: var(--color-navy);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  text-align: right;
}

.lt22-lab-intake-link:hover,
.lt22-lab-intake-link:focus-visible {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  outline: none;
}

.lt22-lab-blank-pdf {
  display: block;
  margin-top: 0.2rem;
  color: var(--color-gray);
  font-size: 0.78rem;
  font-weight: 600;
}

.lt22-terms {
  margin: 0.2rem 0 0;
  padding: 0.45rem 0.65rem 0.5rem;
  border: 1px solid rgba(26, 43, 109, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
}

.lt22-terms legend {
  padding: 0 0.3rem;
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.lt22-terms-hint {
  margin: 0.1rem 0 0.15rem;
  color: var(--color-gray);
  font-size: 0.75rem;
  font-weight: 500;
}

.lt22-term {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.4rem;
  margin-top: 0.22rem;
}

.lt22-term .lt22-form-check {
  margin: 0;
  font-size: 0.8rem;
}

.lt22-info-btn {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.05rem;
  padding: 0;
  border: 1px solid rgba(26, 43, 109, 0.28);
  border-radius: 50%;
  background: #fff;
  color: var(--color-navy);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  cursor: pointer;
}

.lt22-info-btn:hover,
.lt22-info-btn:focus-visible,
.lt22-info-btn[aria-expanded="true"] {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  outline: none;
}

.lt22-info-bubble {
  flex: 1 0 100%;
  margin: 0.1rem 0 0.15rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(0, 173, 239, 0.35);
  border-radius: 8px;
  background: #f4fbfe;
  color: var(--color-dark);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
}

.lt22-info-bubble[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .lt22-form,
  .lt22-form-cols-2,
  .lt22-form-cols-3 {
    grid-template-columns: 1fr;
  }

  .lt22-composer-row {
    border-radius: 18px;
    gap: 0.35rem;
    padding: 0.4rem;
  }

  .lt22-composer textarea {
    font-size: 16px; /* avoid iOS zoom on focus */
    min-height: 2.7rem;
  }

  .lt22-nav-btn {
    min-height: 2.5rem;
    padding: 0.45rem 0.9rem;
  }

  .lt22-form-field input,
  .lt22-form-field select,
  .lt22-form-field textarea {
    font-size: 16px;
    min-height: 2.75rem;
    padding: 0.65rem 0.7rem;
  }

  .lt22-assistant.is-active .lt22-log {
    flex: 1 1 auto;
    min-height: 32vh;
    padding-inline: 0.85rem;
  }

  .lt22-assistant.is-active .lt22-composer {
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .lt22-email-row,
  .lt22-code-row,
  .lt22-auth-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lt22-email-row input,
  .lt22-code-row input,
  .lt22-email-send,
  .lt22-auth-actions .btn {
    width: 100%;
    min-height: 2.85rem;
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .lt22-form,
  .lt22-form-cols-2,
  .lt22-form-cols-3 {
    grid-template-columns: 1fr;
  }
}


.lt22-bubble a {
  color: var(--color-navy);
  font-weight: 700;
  text-decoration: underline;
}

.lt22-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.7rem;
  direction: ltr;
}

.lt22-star {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem;
  transition: color 0.12s ease, transform 0.12s ease;
}

.lt22-star:hover,
.lt22-star-hover,
.lt22-star-on {
  color: #f5b301;
}

.lt22-star-hover,
.lt22-star-on {
  transform: scale(1.12);
}

.lt22-star:disabled {
  cursor: default;
  opacity: 1;
}

@media (max-width: 767px) {
  body.lt22-options-open,
  body.lt22-faq-open {
    overflow: hidden;
  }

  .lt22-assistant.is-active .lt22-options:not([hidden]) {
    flex: 0 0 auto;
  }

  /* ≤2 chips: keep options inline (no “בחרו אפשרות” sheet). */
  .lt22-options:not(.lt22-options-sheeted) .lt22-options-trigger,
  .lt22-options:not(.lt22-options-sheeted) .lt22-options-backdrop,
  .lt22-options:not(.lt22-options-sheeted) .lt22-options-header,
  .lt22-options:not(.lt22-options-sheeted) .lt22-options-footer {
    display: none !important;
  }

  .lt22-options:not(.lt22-options-sheeted) .lt22-options-sheet,
  .lt22-options:not(.lt22-options-sheeted) .lt22-options-dialog {
    display: contents;
  }

  .lt22-options:not(.lt22-options-sheeted) .lt22-suggestions {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0.55rem;
    max-height: 34vh;
    min-height: 0;
    margin: 0;
    padding-top: 0.15rem;
    overflow: auto;
  }

  .lt22-options:not(.lt22-options-sheeted) .lt22-chip {
    width: auto;
    min-height: 0;
    border: 1.5px solid rgba(0, 173, 239, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.65rem 0.9rem;
  }

  /* >2 chips: bottom-sheet picker. */
  .lt22-options.lt22-options-sheeted .lt22-options-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 2.85rem;
    margin-top: 0.2rem;
    padding: 0.7rem 1rem;
    border: 1.5px solid rgba(0, 173, 239, 0.55);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, rgba(0, 173, 239, 0.08) 100%);
    color: var(--color-navy);
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
  }

  .lt22-options.lt22-options-sheeted .lt22-options-trigger::after {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    margin-inline-start: 0.15rem;
    border-inline-end: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-0.12rem);
  }

  .lt22-options.lt22-options-sheeted .lt22-options-trigger:hover,
  .lt22-options.lt22-options-sheeted .lt22-options-trigger:focus-visible {
    border-color: var(--color-cyan);
    outline: none;
  }

  .lt22-options.lt22-options-sheeted .lt22-options-trigger[aria-expanded="true"]::after {
    transform: rotate(-135deg) translateY(0.08rem);
  }

  .lt22-options.lt22-options-sheeted .lt22-options-sheet {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
  }

  .lt22-options.lt22-options-sheeted .lt22-options-sheet.is-open {
    display: block;
  }

  .lt22-options.lt22-options-sheeted .lt22-options-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(14, 24, 58, 0.48);
    cursor: pointer;
  }

  .lt22-options.lt22-options-sheeted .lt22-options-dialog {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    max-height: min(88vh, 40rem);
    padding-bottom: env(safe-area-inset-bottom);
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -10px 36px rgba(14, 24, 58, 0.22);
    overflow: hidden;
  }

  .lt22-options.lt22-options-sheeted .lt22-options-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex: 0 0 auto;
    padding: 0.95rem 1rem 0.75rem;
    border-bottom: 1px solid var(--lt22-line);
  }

  .lt22-options.lt22-options-sheeted .lt22-options-title {
    margin: 0;
    color: var(--color-navy);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .lt22-options.lt22-options-sheeted .lt22-options-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--lt22-line);
    border-radius: 999px;
    background: #fff;
    color: var(--color-navy);
    font: inherit;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
  }

  .lt22-options.lt22-options-sheeted .lt22-options-close:hover,
  .lt22-options.lt22-options-sheeted .lt22-options-close:focus-visible {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    outline: none;
  }

  .lt22-options.lt22-options-sheeted .lt22-suggestions {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    gap: 0;
    max-height: none;
    min-height: 12rem;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .lt22-options.lt22-options-sheeted .lt22-chip {
    width: 100%;
    min-width: 0;
    min-height: 3.1rem;
    justify-content: flex-start;
    gap: 0.55rem;
    margin: 0;
    padding: 0.9rem 1rem;
    border: 0;
    border-bottom: 1px solid var(--lt22-line);
    border-radius: 0;
    background: transparent;
    animation: none;
  }

  .lt22-options.lt22-options-sheeted .lt22-chip:last-child {
    border-bottom: 0;
  }

  .lt22-options.lt22-options-sheeted .lt22-chip:hover,
  .lt22-options.lt22-options-sheeted .lt22-chip:focus-visible {
    border-color: transparent;
    border-bottom-color: var(--lt22-line);
    background: rgba(0, 173, 239, 0.1);
    color: var(--color-navy);
  }

  .lt22-options.lt22-options-sheeted .lt22-chip:hover small,
  .lt22-options.lt22-options-sheeted .lt22-chip:focus-visible small {
    color: var(--color-gray);
  }

  .lt22-options.lt22-options-sheeted .lt22-chip.is-selected {
    background: rgba(0, 173, 239, 0.16);
    box-shadow: inset 3px 0 0 var(--color-cyan);
  }

  .lt22-options.lt22-options-sheeted .lt22-restart {
    width: calc(100% - 1.5rem);
    align-self: center;
    margin: 0.85rem 0.75rem 1rem;
  }

  .lt22-options.lt22-options-sheeted .lt22-options-footer {
    display: flex;
    flex: 0 0 auto;
    justify-content: stretch;
    gap: 0.65rem;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid var(--lt22-line);
    background: rgba(248, 251, 255, 0.96);
  }

  .lt22-options.lt22-options-sheeted .lt22-options-confirm {
    display: inline-flex;
    width: 100%;
    align-self: stretch;
    min-height: 2.85rem;
    border-radius: 10px;
    font-size: 1rem;
  }

  .lt22-options.lt22-options-sheeted .lt22-options-confirm:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
  }

  /* Mobile FAQ: compact trigger + bottom-sheet popup. */
  .lt22-faq-panel:not([hidden]) {
    flex: 0 0 auto;
    max-width: none;
    max-height: none;
    margin-top: 0.15rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .lt22-faq-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 2.7rem;
    padding: 0.65rem 1rem;
    border: 1.5px solid rgba(14, 24, 58, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-navy);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
  }

  .lt22-faq-trigger::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    margin-inline-start: 0.1rem;
    border-inline-end: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-0.1rem);
  }

  .lt22-faq-trigger[aria-expanded="true"]::after {
    transform: rotate(-135deg) translateY(0.08rem);
  }

  .lt22-faq-sheet {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 85;
  }

  .lt22-faq-sheet.is-open {
    display: block;
  }

  .lt22-faq-backdrop {
    display: block;
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(14, 24, 58, 0.48);
    cursor: pointer;
  }

  .lt22-faq-dialog {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    max-height: min(88vh, 40rem);
    padding-bottom: env(safe-area-inset-bottom);
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -10px 36px rgba(14, 24, 58, 0.22);
    overflow: hidden;
  }

  .lt22-faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex: 0 0 auto;
    padding: 0.95rem 1rem 0.75rem;
    border-bottom: 1px solid var(--lt22-line);
  }

  .lt22-faq-header .lt22-faq-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .lt22-faq-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--lt22-line);
    border-radius: 999px;
    background: #fff;
    color: var(--color-navy);
    font: inherit;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
  }

  .lt22-faq-list {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.35rem 1rem 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .lt22-faq-item:first-child {
    border-top: 0;
  }
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Transfer switch drawings page */
.transfer-drawings-page {
  max-width: 56rem;
}

.transfer-drawings-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.transfer-drawing-item {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.75rem;
  border: 1px solid rgba(26, 43, 109, 0.1);
  border-radius: 14px;
  background: linear-gradient(165deg, #f8fafc 0%, #ffffff 100%);
  box-shadow: 0 8px 28px rgba(26, 43, 109, 0.06);
}

.transfer-drawing-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  justify-items: center;
}

.transfer-drawing-images img {
  width: 100%;
  max-width: 7.5rem;
  height: auto;
  object-fit: contain;
}

.transfer-drawing-copy {
  min-width: 0;
}

.transfer-drawing-title {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  line-height: 1.3;
  color: var(--color-navy);
}

.transfer-drawing-subtitle {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.transfer-drawing-desc {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-gray);
}

.transfer-drawing-note {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #c0392b;
}

.transfer-drawing-download {
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .transfer-drawing-item {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }

  .transfer-drawing-images {
    margin: 0 auto;
    max-width: 18rem;
  }

  .transfer-drawing-download {
    display: inline-block;
  }
}

.home-featured-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: min(1320px, calc(100% - 3rem));
  margin: 0 auto;
  gap: 0.75rem;
}

.home-feature-panel,
.home-solution-tile,
.project-slider-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #0b1533;
}

.home-feature-panel {
  min-height: min(52vw, 28rem);
}

.home-media-image,
.home-feature-panel .home-media-image,
.home-solution-tile .home-media-image,
.project-slider-image {
  position: absolute;
  inset: 0;
}

.home-media-image img,
.project-slider-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.home-feature-panel:hover,
.home-solution-tile:hover,
.project-slider-card:hover {
  color: #fff;
}

.home-feature-panel:hover img,
.home-solution-tile:hover img,
.project-slider-card:hover img {
  transform: scale(1.06);
}

.home-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 14, 36, 0.92) 6%,
    rgba(8, 14, 36, 0.4) 52%,
    rgba(8, 14, 36, 0.12) 100%
  );
}

.home-media-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.6rem 1.7rem 1.7rem;
}

.home-media-title {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home-media-text {
  margin: 0 0 0.85rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 1.5;
}

.home-media-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}

.home-media-more::after {
  content: "→";
}

.lang-he .home-media-more::after {
  content: "←";
}

.home-solution-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: min(1320px, calc(100% - 3rem));
  margin: 1.15rem auto 0;
  gap: 1rem;
}

.home-solution-tile {
  min-height: 16.5rem;
}

.home-solution-tile .home-media-body {
  padding: 1.2rem 1.25rem 1.3rem;
}

.home-solution-tile .home-media-title {
  font-size: 1.2rem;
}

.home-solution-tile .home-media-text {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.88rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-projects-slider {
  max-width: min(1320px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 3rem 0 2.5rem;
}

.home-projects-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
  margin-bottom: 0.85rem;
  padding: 0;
}

.home-projects-slider-head .home-section-title {
  margin: 0;
}

.project-slider-nav {
  display: flex;
  gap: 0.45rem;
}

.project-slider-prev,
.project-slider-next {
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border: 1px solid #d9e1ec;
  border-radius: 50%;
  background: #fff;
  color: var(--color-navy);
  cursor: pointer;
}

.project-slider-prev::before,
.project-slider-next::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.project-slider-prev::before {
  transform: translateX(2px) rotate(-135deg);
}

.project-slider-next::before {
  transform: translateX(-2px) rotate(45deg);
}

.lang-he .project-slider-prev::before {
  transform: translateX(-2px) rotate(45deg);
}

.lang-he .project-slider-next::before {
  transform: translateX(2px) rotate(-135deg);
}

.project-slider {
  overflow: hidden;
}

.project-slider-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  direction: ltr;
}

.project-slider-track::-webkit-scrollbar {
  display: none;
}

.project-slider-card {
  flex: 0 0 240px;
  height: 16rem;
  scroll-snap-align: start;
}

.project-slider-title {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.1rem 1.15rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-products-slider {
  padding-top: 2.25rem;
}

.home-products-slider-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-slider-card {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6ebf3;
  background: #fff;
  color: var(--color-navy);
  text-decoration: none;
  scroll-snap-align: start;
}

.product-slider-card:hover {
  color: var(--color-navy);
  border-color: #c5d3e2;
}

.product-slider-image {
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  background: var(--color-light);
}

.product-slider-image img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-slider-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 6.4rem;
  padding: 0.75rem 0.85rem 0.9rem;
}

.product-slider-title {
  color: var(--color-navy);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.product-slider-text {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--color-gray);
  font-size: 0.8rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-proof {
  width: 100vw;
  margin-inline-start: calc(50% - 50vw);
  padding: 0;
  background: var(--color-light);
}

.home-proof-inner {
  max-width: min(1320px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 3.25rem 0;
}

.home-proof-lead {
  max-width: 42rem;
  margin: 0 0 1.25rem;
  color: var(--color-gray);
  font-size: 1.02rem;
  line-height: 1.6;
}

.home-proof-standards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.home-proof-standards li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border-radius: 8px;
}

.home-proof-standards strong {
  color: var(--color-navy);
  font-size: 0.95rem;
}

.home-proof-standards span {
  color: var(--color-gray);
  font-size: 0.82rem;
  line-height: 1.4;
}

.home-proof-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

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

.home-proof .home-btn--primary:hover {
  background: var(--color-cyan);
}

.home-projects-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 0.85rem;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid #e6ebf3;
}

.home-projects-label {
  margin: 0;
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-projects-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.home-projects-links a {
  padding: 0.28rem 0.7rem;
  border: 1px solid #d9e1ec;
  border-radius: 999px;
  background: var(--color-light);
  color: var(--color-navy);
  font-size: 0.86rem;
  font-weight: 600;
}

.home-projects-links a:hover {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
}

.solution-page {
  max-width: none;
  padding: 0 0 3.5rem;
}

.solution-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  width: 100vw;
  margin: 0 0 2rem;
  margin-inline-start: calc(50% - 50vw);
  overflow: hidden;
  background-color: #0b1533;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}

.solution-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 6.5rem) 1.5rem 2rem;
}

.solution-hero .page-title {
  margin: 0 0 0.7rem;
  padding: 0;
  border: 0;
  color: var(--color-white);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.solution-hero .use-case-about {
  max-width: 40rem;
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.55;
}

.solution-hero .use-case-ctas .home-btn--primary {
  background: var(--color-white);
  color: var(--color-navy);
}

.solution-hero .use-case-ctas .home-btn--text {
  color: var(--color-white);
}

.solution-hero .use-case-ctas .home-btn--text:hover {
  color: var(--color-cyan);
}

.use-case-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.use-case-clients,
.solution-intro,
.solution-page .use-case-products,
.solution-page .product-use-cases {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.solution-intro {
  margin-bottom: 2rem;
}

.solution-intro p {
  max-width: 46rem;
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3a4660;
}

.lang-he .solution-intro p {
  margin-inline-start: auto;
}

.use-case-clients .related-products-title {
  text-align: center;
}

.use-case-clients .project-site-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1.5rem;
  list-style: none;
}

.use-case-clients .project-site-list li {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid #d9e1ec;
  border-radius: 999px;
  background: var(--color-light);
  color: var(--color-navy);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

.use-case-clients .project-site-list li::before {
  display: none;
}

.use-case-index {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

.use-case-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.use-case-card {
  height: 100%;
  border: 0;
  background: #fff;
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(16, 28, 68, 0.08);
}

.use-case-card:hover {
  color: var(--color-white);
}

.use-case-card-image {
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  background: #0f1b44;
}

.use-case-card-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.industries-page {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 28%);
}

.industries-hero {
  max-width: min(1280px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 3rem 0 1.25rem;
}

.industries-hero-inner {
  max-width: 44rem;
}

.industries-hero .page-title {
  margin: 0 0 0.75rem;
  color: var(--color-navy);
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
}

.industries-hero-lead {
  margin: 0;
  color: var(--color-gray);
  font-size: 1.05rem;
  line-height: 1.65;
}

.industry-blocks {
  max-width: min(1280px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 0.5rem 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.industry-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  min-height: 18rem;
  background: #fff;
  border: 1px solid rgba(16, 28, 68, 0.08);
  overflow: hidden;
  scroll-margin-top: 5.5rem;
}

.industry-block:nth-child(even) .industry-block-media {
  order: 2;
}

.industry-block-media {
  min-height: 16rem;
  background-size: cover;
  background-position: center;
  background-color: #d8dee8;
}

.industry-block-media--empty {
  background: linear-gradient(135deg, #e8edf5 0%, #cfd8e6 100%);
}

.industry-block-body {
  padding: 1.75rem 1.75rem 1.9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.industry-block-title {
  margin: 0 0 0.75rem;
  color: var(--color-navy);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.industry-block-offer {
  margin: 0 0 1.15rem;
  color: var(--color-dark);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 38rem;
}

.industry-block-clients {
  margin-top: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(26, 43, 109, 0.1);
}

.industry-block-clients-title {
  margin: 0 0 0.45rem;
  color: var(--color-gray);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.industry-block-clients .project-site-list,
.industry-block-clients ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.35rem 0.45rem;
}

/* Beat base .project-site-list / RTL list padding so pills wrap evenly in he+en/es */
.industry-block-clients .project-site-list li,
.industry-block-clients ul li {
  position: static;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0;
  padding: 0.22rem 0.6rem;
  border: 0;
  border-bottom: none;
  border-radius: 999px;
  background: rgba(26, 43, 109, 0.05);
  color: var(--color-gray);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

html[dir="rtl"] .industry-block-clients .project-site-list li,
html[dir="rtl"] .industry-block-clients ul li {
  padding: 0.22rem 0.6rem;
}

.industry-block-clients .project-site-list li::before,
.industry-block-clients ul li::before {
  content: none;
  display: none;
}

@media (max-width: 860px) {
  .industry-block,
  .industry-block:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .industry-block:nth-child(even) .industry-block-media {
    order: 0;
  }

  .industry-block-media {
    min-height: 12rem;
  }

  .industry-block-body {
    padding: 1.35rem 1.25rem 1.5rem;
  }
}

.use-case-card .product-card-title {
  flex: 0 0 4.5rem;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.75rem 0.9rem;
  background: var(--color-navy);
  border-top: 0;
  color: var(--color-white);
  font-weight: 600;
  text-align: start;
  line-height: 1.3;
}

.use-case-about {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.use-case-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin: 1.25rem 0 0.5rem;
}

.use-case-ctas .home-btn--primary {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.65rem 1.2rem;
}

.use-case-ctas .home-btn--primary:hover {
  background: var(--color-cyan);
}

.use-case-products,
.product-use-cases {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
}

.use-case-product-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.use-case-product {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  padding: 1.15rem;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  background: var(--color-white);
}

.use-case-product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: var(--color-light);
  border-radius: 8px;
  padding: 0.6rem;
}

.use-case-product-media img {
  max-height: 120px;
  object-fit: contain;
}

.use-case-product-title {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
}

.use-case-product-excerpt p {
  margin: 0 0 0.7rem;
  color: var(--color-gray);
}

.use-case-clients-note {
  color: var(--color-gray);
  line-height: 1.65;
}

.product-use-case-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.product-use-case-link {
  display: inline-flex;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--color-light);
  border: 1px solid #d9e1ec;
  color: var(--color-navy);
  font-weight: 600;
  font-size: 0.9rem;
}

.product-use-case-link:hover {
  color: var(--color-cyan);
  border-color: var(--color-cyan);
}

@media (max-width: 900px) {
  .home-nav-grid {
    grid-template-columns: 1fr;
  }

  .home-hero--photo {
    min-height: 24rem;
  }

  .solution-hero {
    min-height: 22rem;
  }

  .home-featured-pair {
    grid-template-columns: 1fr;
    max-width: min(1320px, calc(100% - 2.3rem));
    margin: 0 auto;
    gap: 0.75rem;
  }

  .home-icon-grid,
  .home-solution-tiles {
    grid-template-columns: 1fr 1fr;
    max-width: min(1320px, calc(100% - 2.3rem));
  }

  .home-solution-groups {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    max-width: none;
  }

  .home-solution-group {
    min-height: 0;
  }

  .home-solution-group-head {
    grid-template-columns: 1fr;
  }

  .home-solution-group-visual {
    display: none;
  }

  .home-solutions-inner {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .home-feature-panel {
    min-height: 18rem;
  }

  .use-case-product {
    grid-template-columns: 1fr;
  }

  .use-case-card-grid,
  .home-proof-standards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .use-case-card-grid,
  .home-proof-standards,
  .footer-grid,
  .home-solution-tiles,
  .home-icon-grid {
    grid-template-columns: 1fr;
  }

  .home-solution-group-list {
    grid-template-columns: 1fr;
  }

  .home-solution-group-item {
    min-height: 0;
    padding: 0.9rem 0.85rem;
  }

  .home-solution-group-item-text {
    -webkit-line-clamp: 3;
  }

  .home-solution-tile {
    min-height: 14.5rem;
  }
}

/* Public CSAT feedback page */
.csat-page {
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 173, 239, 0.14), transparent 50%),
    linear-gradient(165deg, #eef5fb 0%, #f7fafc 45%, #e8f0f8 100%);
  font-family: "Assistant", "IBM Plex Sans", sans-serif;
  color: var(--color-navy, #1a2b6d);
}

.csat-shell {
  max-width: 440px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.csat-brand {
  margin-bottom: 1.25rem;
  text-align: center;
}

.csat-brand img {
  height: 2.5rem;
  width: auto;
}

.csat-card {
  background: #fff;
  border: 1px solid rgba(26, 43, 109, 0.12);
  border-radius: 16px;
  padding: 1.4rem 1.25rem 1.5rem;
  box-shadow: 0 10px 28px rgba(16, 36, 78, 0.08);
}

.csat-card h1 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  line-height: 1.25;
}

.csat-lead,
.csat-loading,
.csat-card p {
  margin: 0 0 1rem;
  line-height: 1.45;
  color: rgba(26, 43, 109, 0.78);
}

.csat-form fieldset {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}

.csat-form legend {
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.csat-thumbs,
.csat-star-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.csat-thumbs label,
.csat-star-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(26, 43, 109, 0.16);
  border-radius: 10px;
  background: #f4f8fc;
  cursor: pointer;
  font-weight: 600;
}

.csat-comment {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.csat-comment textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(26, 43, 109, 0.18);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-weight: 500;
  resize: vertical;
  min-height: 4.5rem;
}

.csat-error {
  color: #8b1e1e;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.csat-form .btn-submit {
  width: 100%;
}

/* Technician service report. Unlisted page at /tech-report/. */
.tech-report-page {
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 173, 239, 0.14), transparent 50%),
    linear-gradient(165deg, #eef5fb 0%, #f7fafc 45%, #e8f0f8 100%);
  font-family: "Assistant", "IBM Plex Sans", sans-serif;
  color: var(--color-navy, #1a2b6d);
}

.tech-report-shell {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

.tech-report-brand {
  margin-bottom: 1rem;
  text-align: center;
}

.tech-report-brand img {
  height: 2.6rem;
  width: auto;
}

.tech-report-card {
  background: #fff;
  border: 1px solid rgba(26, 43, 109, 0.12);
  border-radius: 16px;
  padding: 1.35rem 1.2rem 1.5rem;
  box-shadow: 0 10px 28px rgba(16, 36, 78, 0.08);
}

.tech-report-card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
}

.tech-report-lead {
  margin: 0 0 1rem;
  color: rgba(26, 43, 109, 0.75);
}

.tech-report-form {
  display: grid;
  gap: 0.85rem;
}

.tech-report-field,
.tech-report-choice {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 700;
}

.tech-report-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.tech-report-row-3 {
  grid-template-columns: 1fr 1fr 0.8fr;
}

.tech-report-field input,
.tech-report-field select,
.tech-report-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(26, 43, 109, 0.18);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font: inherit;
  font-weight: 500;
  background: #fff;
  color: inherit;
  min-height: 2.75rem;
}

.tech-report-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.tech-company {
  position: relative;
}

.tech-company-hint {
  margin: 0;
  font-weight: 500;
  font-size: 0.92rem;
  color: rgba(26, 43, 109, 0.62);
}

.tech-company-list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  position: absolute;
  z-index: 5;
  top: 100%;
  inset-inline: 0;
  background: #fff;
  border: 1px solid rgba(26, 43, 109, 0.16);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(16, 36, 78, 0.12);
  max-height: 16rem;
  overflow: auto;
}

.tech-company-list button {
  display: block;
  width: 100%;
  text-align: start;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  color: inherit;
}

.tech-company-list button:hover,
.tech-company-list button:focus {
  background: #f4f8fc;
}

.tech-company-list small {
  display: block;
  font-weight: 500;
  color: rgba(26, 43, 109, 0.62);
}

.tech-report-field input[readonly] {
  background: #f4f8fc;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tech-report-choices {
  display: flex;
  gap: 0.5rem;
}

.tech-report-choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(26, 43, 109, 0.16);
  border-radius: 10px;
  background: #f4f8fc;
  font-weight: 600;
}

.tech-sign-wrap {
  border: 1px dashed rgba(26, 43, 109, 0.35);
  border-radius: 12px;
  background: #fff;
  touch-action: none;
}

.tech-sign-wrap canvas {
  display: block;
  width: 100%;
  height: 150px;
  cursor: crosshair;
}

.tech-sign-actions {
  display: flex;
  justify-content: flex-start;
}

.tech-sign-actions button,
.tech-report-form .btn-submit,
.tech-report-card .btn-submit {
  font: inherit;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
}

.tech-sign-actions button {
  border: 0;
  background: transparent;
  color: #0b6f99;
  padding: 0.2rem 0;
}

.tech-report-error {
  color: #8b1e1e;
  font-weight: 700;
  margin: 0;
}

.tech-report-form .btn-submit,
.tech-report-card > .btn-submit {
  width: 100%;
  border: 0;
  background: #00adef;
  color: #fff;
  padding: 0.75rem 1rem;
}

.tech-report-form .btn-submit:disabled {
  opacity: 0.55;
  cursor: default;
}

@media (max-width: 640px) {
  .tech-report-shell {
    padding: 0.85rem 0.75rem max(2.5rem, env(safe-area-inset-bottom));
  }

  .tech-report-card {
    padding: 1.1rem 0.9rem 1.25rem;
    border-radius: 14px;
  }

  .tech-report-card h1 {
    font-size: 1.35rem;
  }

  .tech-report-row,
  .tech-report-row-3 {
    grid-template-columns: 1fr;
  }

  .tech-report-field input,
  .tech-report-field select,
  .tech-report-field textarea {
    font-size: 16px;
    padding: 0.75rem 0.8rem;
  }

  .tech-report-choices {
    flex-direction: column;
  }

  .tech-report-choices label {
    min-height: 2.75rem;
    width: 100%;
    justify-content: flex-start;
  }

  .tech-sign-wrap canvas {
    height: 180px;
  }

  .tech-report-form .btn-submit,
  .tech-report-card > .btn-submit {
    min-height: 3rem;
    font-size: 1.05rem;
  }
}
