/* ═══════════════════════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════════════════════ */
:root {
  --yellow:  #FFD417;
  --dark:    #303030;
  --green:   #A2C754;
  --red:     #C6535C;
  --white:   #FFFFFF;
  --light:   #F5F5F2;
  --mid:     #E8E8E5;
  --gray:    #888888;
  --font-h:  'Arvo', Georgia, serif;
  --font-b:  'Arvo', Georgia, serif;
  --max-w:   1280px;
  --nav-h:   72px;
  --ease:    cubic-bezier(0.77, 0, 0.175, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════════════════
   PAGE TRANSITION OVERLAY
═══════════════════════════════════════════════════════════ */
.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  pointer-events: all;
}

.overlay-half {
  flex: 1;
  background: var(--yellow);
  transition: transform 0.9s var(--ease);
}

.overlay-half--top  { transform-origin: top;    }
.overlay-half--bottom { transform-origin: bottom; }

.overlay-brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  transition: opacity 0.4s ease 0.2s;
}

.overlay-brand__img {
  height: clamp(60px, 10vw, 120px);
  width: auto;
  display: block;
}

/* Triggered by JS */
.page-overlay.is-hidden .overlay-half--top    { transform: scaleY(0); }
.page-overlay.is-hidden .overlay-half--bottom { transform: scaleY(0); }
.page-overlay.is-hidden .overlay-brand        { opacity: 0; }
.page-overlay.is-gone { display: none; }

/* ═══════════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.35s ease;
}

.nav.is-scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.nav__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--dark);
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 100%;
  height: 2px;
  background: var(--yellow);
  transition: right 0.25s ease;
}

.nav__link:hover,
.nav__link.is-active { color: var(--dark); }

.nav__link.is-active::after { right: 0; }
.nav__link:hover::after { right: 0; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.3rem;
  background: var(--yellow);
  color: var(--dark);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.nav__cta:hover {
  background: var(--dark);
  color: var(--yellow);
  transform: translateY(-1px);
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-b);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.22s;
  line-height: 1;
}

.btn--primary {
  background: var(--yellow);
  color: var(--dark);
}
.btn--primary:hover {
  background: var(--dark);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn--outline:hover {
  background: var(--dark);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn--hero {
  background: var(--yellow);
  color: var(--dark);
  font-size: 1rem;
  padding: 1rem 2.4rem;
}
.btn--hero:hover {
  background: var(--dark);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn--full { width: 100%; }

/* ═══════════════════════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════════════════════ */
.section-badge {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid var(--mid);
  border-radius: 0px;
  padding: 0.28rem 0.85rem;
  margin-bottom: 1rem;
}

.section-badge--light {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.65);
}

.section-header { margin-bottom: 3.5rem; }
.section-header--left { text-align: left; }

.section-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  line-height: 1.15;
  color: var(--dark);
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: var(--dark);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.58);
  z-index: 1;
}

.hero__inner {
  flex: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-h);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: bold;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.6rem;
}

.hero__title em {
  font-style: normal;
  color: var(--yellow);
  -webkit-text-stroke: 1.5px var(--dark);
  text-shadow: 2px 2px 0 var(--dark);
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin: 0 auto 2.5rem;
  max-width: 540px;
  text-align: center;
}

.br-desk { display: block; }


@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* Scroll indicator */
.hero__scroll {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
  position: relative;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollFade 2.5s ease-in-out infinite;
}

@keyframes scrollFade {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   PRODUCTS
═══════════════════════════════════════════════════════════ */
.products { background: var(--white); }

.products__label {
  text-align: center;
  padding: 7rem 2rem 0;
}

.product-block {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.product-block--alt {
  position: relative;
  overflow: visible;
}

/* Full-bleed background for alt block */
.product-block--alt::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: var(--light);
  z-index: 0;
}

.product-block--alt > * { position: relative; z-index: 1; }

.product-block__name {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.product-block__tagline {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 1rem;
  border-left: 3px solid var(--yellow);
  padding-left: 1rem;
}

.product-block__desc {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Feature list */
.feature-list { margin-bottom: 2rem; }

.feature-list__item {
  display: flex;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--mid);
  align-items: flex-start;
}

.feature-list__item:first-child { border-top: 1px solid var(--mid); }

.feature-list__num {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--yellow);
  min-width: 26px;
  padding-top: 3px;
  letter-spacing: 0.05em;
}

.feature-list__item strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.feature-list__item p {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Metric block */
.metric-block {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--dark);
  border-left: 4px solid var(--yellow);
  margin-bottom: 2rem;
  border-radius: 0 2px 2px 0;
}

.metric-block__value {
  font-family: var(--font-h);
  font-size: 3.2rem;
  font-weight: bold;
  color: var(--yellow);
  line-height: 1;
  white-space: nowrap;
}

.metric-block__value span { font-size: 2rem; }

.metric-block__label {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Image stacks */
.img-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.img-stack img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

.img-stack--alt > img {
  background: var(--white);
  padding-top: 5.84%;
}

.img-stack__row {
  display: flex;
  gap: 6px;
}

.img-stack__row img:first-child { flex: 615; min-width: 0; }
.img-stack__row img:last-child  { flex: 374; min-width: 0; }

/* Pricing table */
.pricing-section {
  padding: 5rem 2rem;
  background: var(--white);
}

.pricing-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.pricing-note {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--mid);
}

.pricing-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 2px solid var(--mid);
  background: var(--light);
}

.pricing-table thead th:first-child { border-radius: 3px 0 0 0; }
.pricing-table thead th:last-child  { border-radius: 0 3px 0 0; }

.pricing-table tbody tr:hover { background: var(--light); }

.pricing-table tbody td:first-child {
  font-weight: 700;
  color: var(--dark);
}

.pricing-table tbody td:not(:first-child) {
  color: var(--dark);
  font-weight: 500;
}

.pricing-footer {
  font-size: 0.825rem;
  color: var(--gray);
  line-height: 1.7;
  padding-left: 1rem;
  border-left: 3px solid var(--mid);
  margin-bottom: 0.6rem;
}

.pricing-section--dark {
  background: transparent;
  padding: 4rem 2rem 5rem;
}

.pricing-note--light {
  color: rgba(255, 255, 255, 0.45);
}

.pricing-table--dark thead th {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(246, 242, 242, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-table.pricing-table--dark tbody td {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.pricing-table--dark tbody tr:hover { background: rgba(255, 255, 255, 0.04); }

.pricing-footer--light {
  color: rgba(255, 255, 255, 0.4);
  border-left-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 600px) {
  .pricing-table th,
  .pricing-table td { padding: 0.75rem 0.75rem; font-size: 0.8rem; }
  .pricing-section__inner { overflow-x: auto; }
}

/* Custom development */
.custom-section {
  background: var(--dark);
  padding: 7rem 2rem;
  margin-top: 0;
}

.custom-section__header {
  max-width: var(--max-w);
  margin: 0 auto 4rem;
  text-align: center;
}

.custom-section__header h2 {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: bold;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.custom-section__header p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.custom-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.custom-card {
  background: #3a3a3a;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,0.06);
}

.custom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.custom-card__img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.custom-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.custom-card:hover .custom-card__img img { transform: scale(1.06); }

.custom-card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--tag-color, var(--yellow));
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.22rem 0.65rem;
  border-radius: 2px;
}

.custom-card__body {
  padding: 1.5rem;
}

.custom-card__body h3 {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.custom-card__body p {
  color: rgba(255,255,255,0.5);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════════════════════ */
.portfolio { background: var(--light); padding: 8rem 2rem; }

.portfolio__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.portfolio__inner .section-header { text-align: center; }

.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.case-card {
  background: var(--white);
  border-radius: 4px;
  padding: 2.5rem;
  border: 1px solid var(--mid);
  transition: border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 8px 40px rgba(255,212,23,0.12);
}

.case-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.case-card__logo {
  height: 44px;
  max-width: 130px;
  object-fit: contain;
  object-position: left center;
}

.case-card__industry {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid var(--mid);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.case-card h3 {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: bold;
  margin-bottom: 0;
}

.case-card__subtitle {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1.2rem;
}

.case-card__body {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.case-card__result {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--light);
  padding: 1rem 1.25rem;
  margin-top: auto;
  border-radius: 3px;
  font-size: 0.875rem;
  font-weight: 500;
}

.result-arrow {
  width: 0; height: 0;
  flex-shrink: 0;
}

.result-arrow--down {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid var(--green);
}

.result-arrow--up {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 10px solid var(--green);
}

/* Partners section */
.partners-section {
  background: var(--white);
  padding: 5rem 2rem;
  border-top: 1px solid var(--mid);
  border-bottom: 1px solid var(--mid);
}

.partners-section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}


.partners__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  outline-offset: 4px;
}

.partner-item img {
  height: 66px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}

.partner-item img:hover {
  filter: none;
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════ */
.about { background: var(--white); padding: 8rem 2rem; }

.about__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.about__inner .section-header {
  text-align: center;
}

/* About content */
.about__content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 0.975rem;
}

/* Sensors */
.sensors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1.75rem 0;
}

.sensor {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--light);
  border-radius: 4px;
  border: 1px solid var(--mid);
  transition: border-color 0.25s;
}

.sensor:hover { border-color: var(--yellow); }

.sensor__icon {
  width: 34px;
  height: 34px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  flex-shrink: 0;
  color: var(--dark);
}

.sensor__icon svg {
  width: 18px;
  height: 18px;
}

.sensor span {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
}

.about__university {
  font-size: 0.875rem !important;
  color: #666 !important;
  border-left: 3px solid var(--yellow);
  padding-left: 1rem;
  margin: 1.5rem 0 2rem !important;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════ */
.contact { background: var(--light); padding: 8rem 2rem; }

.contact__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact__info .section-header { text-align: center; }

.contact__intro {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--dark);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--mid);
  transition: border-color 0.2s;
}

.contact__link:hover { border-color: var(--yellow); }

.contact__icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--mid);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  color: var(--dark);
}

.contact__icon svg { width: 16px; height: 16px; }

.contact__link:hover .contact__icon {
  background: var(--yellow);
  border-color: var(--yellow);
}

.contact__link-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1px;
}

.contact__link-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Map */
.contact__map-wrap {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--mid);
  min-height: 420px;
}

.contact__map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

/* Form */
.contact__form-wrap {
  background: var(--white);
  border-radius: 6px;
  padding: 2.5rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  border: 1px solid var(--mid);
}

.contact__form h3 {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
}

.form-field input,
.form-field textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--mid);
  border-radius: 3px;
  font-family: var(--font-b);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--light);
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--yellow);
  background: var(--white);
}

.form-notice {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 3px;
  font-size: 0.875rem;
  text-align: center;
}

.form-notice.success { background: #e8f5d4; color: #4a7c1a; }
.form-notice.error   { background: #fde8e8; color: #c53030; }

/* ═══════════════════════════════════════════════════════════
   ACCREDITATION
═══════════════════════════════════════════════════════════ */
.accreditation {
  background: var(--white);
  padding: 5rem 2rem;
  border-top: 1px solid var(--mid);
}

.accreditation__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.accreditation__inner .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.accreditation__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.accreditation__text {
  color: var(--gray);
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.accreditation__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1.25rem 0 0.5rem;
}

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

.accreditation__list li {
  color: var(--gray);
  font-size: 0.875rem;
  line-height: 1.75;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--mid);
}

.accreditation__list li:first-child {
  border-top: 1px solid var(--mid);
}

@media (max-width: 768px) {
  .accreditation__cols { grid-template-columns: 1fr; gap: 0; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer { background: var(--dark); padding: 3.5rem 2rem; }

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.footer__logo-img {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 0.6rem;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__nav a:hover { color: var(--yellow); }

.footer__fasie {
  text-align: right;
}

.footer__fasie-img {
  height: 72px;
  width: auto;
  display: block;
  margin-left: auto;
  margin-bottom: 0.6rem;
}

.footer__fasie p {
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer__bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal--right {
  transform: translateX(28px);
}

.reveal--left {
  transform: translateX(-28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner {
    padding: 3rem 2rem 2rem;
  }

  .br-desk { display: none; }

  .product-block {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 2rem;
  }

  .product-block--alt > * { max-width: 100%; }
  .product-block--alt .product-block__media { order: 0; }
  .product-block--alt .product-block__content { order: 1; }
  .product-block--alt .product-block__media,
  .product-block--alt .product-block__content { margin: 0 auto; }

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


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

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer__fasie { text-align: right; grid-column: 2; }
  .footer__fasie-img { margin-left: auto; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav mobile */
  .nav__burger { display: flex; }

  .nav__menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    z-index: 999;
    border-top: 1px solid var(--mid);
  }

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

  .nav__cta { align-self: stretch; justify-content: center; }

  /* Hero */
  .hero__title { font-size: 2.1rem; }

  /* Products */
  .products__label { padding-top: 5rem; }

  .product-block { padding: 4rem 1.5rem; }

  .custom-section { padding: 5rem 1.5rem; }
  .custom-grid { grid-template-columns: 1fr; }

  /* Portfolio */
  .portfolio { padding: 5rem 1.5rem; }
  .partners__row { gap: 2rem; }

  /* About */
  .about { padding: 5rem 1.5rem; }
  .sensors { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact { padding: 5rem 1.5rem; }
  .contact__form-wrap { padding: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__nav { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .footer__fasie { text-align: center; }
  .footer__fasie-img { margin: 0 auto; }

  /* Reveal — disable translate on mobile for smoother UX */
  .reveal--right,
  .reveal--left { transform: translateY(20px); }
}

@media (max-width: 480px) {
  .hero__title    { font-size: 1.85rem; }
  .section-title  { font-size: 1.75rem; }
  .sensors        { grid-template-columns: 1fr; }
  .cases          { grid-template-columns: 1fr; }
  .img-stack__row { flex-direction: column; }
  .img-stack__row img:first-child,
  .img-stack__row img:last-child { flex: none; width: 100%; }
}

.accreditation__list li a {
  word-break: break-word;
}
