/* =============================================================================
   Norwie — Smart Home Automation
   Design system based on Figma (node 148:512)
   ============================================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "PP Mori";
  src: url("/fonts/PPMori-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Mori";
  src: url("/fonts/PPMori-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PP Mori";
  src: url("/fonts/PPMori-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  --black: #1a1a1c;
  --grey-120: #202022;
  --grey-100: #2b2b2d;
  --grey-90: #313132;
  --grey-80: #4f4f4f;
  --grey-70: #a9a9a9;
  --grey-60: #c6c6c6;
  --grey-40: #e7e7e7;
  --white: #ffffff;
  --white-80: #ededed;
  --blue: #005aea;
  --blue-hover: #0048bf;
  --border: #303034;

  --font: "PP Mori", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1324px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; }

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--blue); color: var(--white);
  padding: 8px 16px; z-index: 1000;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
}
@media (min-width: 768px) { .container { padding-inline: 40px; } }
@media (min-width: 1200px) { .container { padding-inline: 58px; } }
.container--wide { max-width: 1440px; }

.h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 600; line-height: 1.15; letter-spacing: -0.5px; }
.h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 600; line-height: 1.15; }
.h3 { font-size: clamp(22px, 3vw, 32px); font-weight: 600; line-height: 1.2; }
.h4 { font-size: clamp(18px, 2vw, 20px); font-weight: 600; line-height: 1.4; }
.subtitle { font-size: 18px; font-weight: 600; line-height: 1.55; }
.body { font-size: 16px; line-height: 1.75; color: var(--grey-60); }
.small { font-size: 14px; line-height: 1.6; color: var(--grey-70); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 8px;
  font-weight: 600; font-size: 16px; letter-spacing: 0.5px;
  transition: background .2s var(--ease), transform .2s var(--ease), color .2s var(--ease);
  white-space: nowrap; text-align: center;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); }
.btn--lg { height: 56px; padding: 0 32px; }
.btn--outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.btn--outline:hover { border-color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 2px; border-bottom: 1px solid currentColor;
  font-size: 16px; font-weight: 400;
}
.link-arrow:hover { color: var(--blue); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.header.scrolled { border-bottom-color: var(--border); }
.header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 16px;
}
.logo img { height: 36px; width: auto; }
.nav__list { display: flex; gap: 36px; align-items: center; }
.nav__link {
  color: var(--white-80); font-size: 16px; line-height: 1;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s var(--ease); position: relative;
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--blue);
}

/* ---------- Products mega-dropdown ---------- */
.has-dropdown { position: relative; }
.has-dropdown > .nav__link { cursor: pointer; }
.has-dropdown > .nav__link::after {
  content: "";
  display: inline-block; width: 10px; height: 10px;
  margin-left: 4px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 4l3 3 3-3' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 4l3 3 3-3' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  opacity: .7;
  transition: transform .2s var(--ease);
  position: static;  /* override .active underline reset */
}
.has-dropdown.open > .nav__link::after,
.has-dropdown:hover > .nav__link::after { transform: rotate(180deg); }

.dropdown {
  position: fixed;
  left: 0; right: 0;
  top: 68px;
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.has-dropdown.open .dropdown,
.has-dropdown:hover .dropdown,
.dropdown:hover {
  opacity: 1; visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.dropdown__row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  padding: 24px clamp(24px, 5vw, 58px);
  border-bottom: 1px solid var(--border);
}
.dropdown__item {
  display: flex; flex-direction: column; gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--grey-120);
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
  color: var(--white-80);
  text-decoration: none;
}
.dropdown__item:hover,
.dropdown__item.active {
  border-color: var(--blue);
  background: var(--grey-100);
  transform: translateY(-2px);
  color: var(--white);
}
.dropdown__thumb {
  aspect-ratio: 1/1; width: 100%;
  border-radius: 8px; background: #111; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.dropdown__thumb img { max-width: 86%; max-height: 86%; object-fit: contain; }
.dropdown__label { font-size: 12px; line-height: 1.35; font-weight: 500; color: inherit; }

.dropdown__preview {
  position: relative;
  min-height: 420px;
  background: #0a0a0c;
  overflow: hidden;
}
.dropdown__preview-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.dropdown__preview-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.78) 100%);
}
.dropdown__preview-img.active { opacity: 1; }
.dropdown__preview-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px clamp(24px, 5vw, 58px) 48px;
  text-align: center; color: var(--white); z-index: 1;
}
.dropdown__preview-text h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 600; margin-bottom: 8px; color: var(--white); }
.dropdown__preview-text p { color: var(--grey-60); max-width: 560px; margin: 0 auto; font-size: 14px; line-height: 1.65; }

.dropdown-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.35);
  opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), visibility 0s linear .2s;
  z-index: 90;
}

/* Variant: simple two-column text dropdown (used by Solutions) */
.dropdown--text {
  min-height: 0;
}
.dropdown--text .dropdown__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding: 32px clamp(24px, 5vw, 58px) 40px;
  max-width: var(--container);
  margin: 0 auto;
}
.dropdown--text .dropdown__col { display: flex; flex-direction: column; gap: 12px; }
.dropdown--text .dropdown__heading {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.dropdown--text .dropdown__link {
  color: var(--white-80);
  font-size: 15px;
  line-height: 1.6;
  padding: 8px 0;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  display: inline-block;
  align-self: flex-start;
}
.dropdown--text .dropdown__link:hover {
  color: var(--white);
  padding-left: 6px;
  border-bottom-color: var(--blue);
}
.has-dropdown.open ~ .dropdown-backdrop,
.has-dropdown:hover ~ .dropdown-backdrop {
  opacity: 1; visibility: visible;
  transition-delay: 0s;
}

@media (max-width: 1024px) {
  .has-dropdown > .nav__link::after { display: none; }
  .dropdown {
    position: static;
    border: 0; background: transparent; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
    display: none; padding-top: 8px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown__row { grid-template-columns: 1fr; padding: 0; gap: 4px; border: 0; }
  .dropdown__item {
    flex-direction: row; align-items: center; gap: 16px;
    text-align: left; padding: 10px 12px;
  }
  .dropdown__thumb { width: 48px; aspect-ratio: 1/1; flex: 0 0 48px; }
  .dropdown__label { font-size: 14px; }
  .dropdown__preview, .dropdown-backdrop { display: none; }
}

.header__actions { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  border: 1px solid var(--border); border-radius: 8px;
  height: 40px; padding: 0 14px; font-size: 14px; color: var(--white-80);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.lang-switch:hover { border-color: var(--white); color: var(--white); }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle__bar { width: 22px; height: 2px; background: var(--white); transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 68px 0 0 0;
    background: var(--black); border-top: 1px solid var(--border);
    padding: 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .nav.open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 20px; }
  .nav__link { font-size: 20px; padding: 8px 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(60px, 8vw, 112px); }
.section-heading {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 40px;
}
.section-heading__title { color: var(--white-80); }
.section-heading__desc { color: var(--grey-60); max-width: 652px; line-height: 1.75; }
.divider { height: 1px; background: var(--grey-80); max-width: var(--container); margin: 0 auto; }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(540px, 80vh, 860px);
  display: flex; align-items: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__bg img, .hero__bg video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero__bg-fallback {
  position: absolute; inset: 0; z-index: -1;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.50) 40%,
    rgba(0, 0, 0, 0.10) 75%,
    transparent 100%
  );
}
.hero__inner {
  position: relative; z-index: 2;
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.hero__content {
  display: flex; flex-direction: column; gap: 24px;
  max-width: 600px;
}
.hero__title {
  font-size: clamp(30px, 4.5vw, 48px); font-weight: 600; line-height: 1.15;
  color: #ffffff;
}
.hero__subtitle {
  font-size: 17px; line-height: 1.75; color: rgba(255,255,255,0.8);
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 8px;
}
.hero__trust { margin-top: 20px; }
.hero__trust-line {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.5); margin-bottom: 14px;
}
.hero__checks {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding: 0; margin: 0;
}
.hero__checks li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.5;
}
.hero__checks svg { color: var(--blue); flex-shrink: 0; }

/* ---------- About section (full-width feel) ---------- */
.section--about { background: var(--grey-120); }

/* ---------- Feature (two-up rows) ---------- */
.feature { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 992px) {
  .feature { grid-template-columns: minmax(0, 520px) 1fr; gap: 80px; }
  .feature--reverse { grid-template-columns: 1fr minmax(0, 479px); }
  .feature--reverse .feature__content { order: 2; }
  .feature--reverse .feature__media { order: 1; }
}
.feature__content { display: flex; flex-direction: column; gap: 24px; }
.feature__content .btn { align-self: flex-start; margin-top: 24px; }
.feature__title { color: var(--white-80); }
.feature__text { color: var(--grey-60); line-height: 1.75; }
.feature__text + .feature__text { margin-top: 8px; }

/* About collage */
.collage {
  position: relative; aspect-ratio: 1 / 1;
  background: var(--grey-120); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: clamp(16px, 2vw, 20px);
  display: grid; grid-template-rows: 1fr auto auto; gap: 4px; overflow: hidden;
}
.collage__logo { display: flex; align-items: center; justify-content: center; padding: 20px; }
.collage__logo img { max-width: min(80%, 560px); height: auto; }
.collage__row { display: grid; gap: 4px; grid-template-columns: 1.2fr 1fr; }
.collage__row--triple { grid-template-columns: 1fr 1fr 1fr; }
.collage__cell { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/2; background: #111; }
.collage__cell img { width: 100%; height: 100%; object-fit: cover; }

/* Mission full-bleed image */
.mission__image {
  background: var(--grey-120); border-radius: var(--radius-xl);
  overflow: hidden; aspect-ratio: 2/1; margin-top: 48px;
  border: 1px solid var(--border);
}
.mission__image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Advantages (B2B icon cards) ---------- */
.adv-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.adv-header .h2 { color: var(--white); }
.adv-header .body { margin-top: 16px; }
.adv-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .adv-grid { grid-template-columns: repeat(4, 1fr); } }
.adv {
  background: var(--grey-120);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.adv:hover {
  transform: translateY(-6px);
  border-color: rgba(0,90,234,0.5);
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.adv__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(0,90,234,0.08);
  color: var(--blue);
  transition: background .3s var(--ease);
}
.adv:hover .adv__icon { background: rgba(0,90,234,0.15); }
.adv__icon svg { width: 26px; height: 26px; }
.adv__title {
  font-size: 20px; font-weight: 600; color: var(--white);
  letter-spacing: -0.01em;
}
.adv__desc {
  font-size: 15px; line-height: 1.7; color: var(--grey-60);
}

/* ---------- Products showcase ---------- */
.section--products {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.products-header { margin-bottom: clamp(32px, 4vw, 56px); }
.products-header .h2 { color: var(--white); }

.pcard-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 580px) { .pcard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pcard-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .pcard-grid { grid-template-columns: repeat(4, 1fr); } }

.pcard {
  position: relative;
  background: var(--grey-120);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.pcard:hover {
  transform: translateY(-6px);
  border-color: rgba(0,90,234,0.5);
  box-shadow: 0 20px 56px rgba(0,0,0,0.3);
}
.pcard__media {
  aspect-ratio: 1/1;
  background: radial-gradient(120% 100% at 50% 30%, #252527 0%, #1a1a1c 70%);
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  overflow: hidden;
}
.pcard__media img {
  max-width: 82%; max-height: 82%;
  object-fit: contain;
  transition: transform .45s var(--ease);
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.35));
}
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__body {
  padding: 20px 24px 24px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.pcard__title {
  font-size: 17px; font-weight: 600; color: var(--white);
  line-height: 1.35; letter-spacing: -0.01em;
}
.pcard__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--blue);
  margin-top: auto;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .2s var(--ease);
}
.pcard:hover .pcard__cta { opacity: 1; transform: translateY(0); }
.pcard__cta:hover { color: var(--white); }
.pcard__cta svg { flex-shrink: 0; }

/* Featured product (first card spans 2 cols on larger screens) */
@media (min-width: 900px) {
  .pcard--featured { grid-column: span 2; }
}
@media (min-width: 1200px) {
  .pcard--featured { grid-column: span 2; grid-row: span 2; }
  .pcard--featured .pcard__media { aspect-ratio: auto; flex: 1; }
}

/* ---------- Virtual Tour (interactive) ---------- */
.vtour {
  background: #0a0a0c;
  overflow: hidden;
}
.vtour__header {
  padding: clamp(40px, 5vw, 60px) 0 clamp(20px, 2vw, 28px);
}
.vtour__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600; color: var(--white);
  margin-bottom: 12px;
}
.vtour__subtitle {
  font-size: 16px; line-height: 1.65;
  color: var(--grey-60); max-width: 560px;
}

.vtour__stage {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.vtour__room-wrap {
  position: relative;
  aspect-ratio: 21/9;
  max-height: 420px;
  width: 100%;
  background: #0a0a0c;
  overflow: hidden;
}
@media (max-width: 768px) {
  .vtour__room-wrap { aspect-ratio: 16/9; max-height: 280px; }
}
.vtour__room-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity .5s var(--ease);
}
.vtour__room-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.15) 0%, rgba(10,10,12,0) 30%, rgba(10,10,12,0) 70%, rgba(10,10,12,0.4) 100%),
    linear-gradient(90deg, rgba(10,10,12,0.3) 0%, rgba(10,10,12,0) 30%);
  pointer-events: none;
}

/* Hotspots */
.vtour__hotspots { position: absolute; inset: 0; z-index: 2; }
.vtour__dot {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 0; cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: none; border: none;
}
.vtour__dot-ring {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,90,234,0.85);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 0 0 0 rgba(0,90,234,0.4);
}
.vtour__dot:hover .vtour__dot-ring {
  transform: scale(1.12);
  box-shadow: 0 0 0 12px rgba(0,90,234,0.15);
}
.vtour__dot-ring svg { width: 20px; height: 20px; color: #fff; }
.vtour__dot-ring::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(0,90,234,0.4);
  animation: vtour-pulse 2s infinite;
}
@keyframes vtour-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.vtour__dot-label {
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: #fff; white-space: nowrap;
  pointer-events: none;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.vtour__dot:hover .vtour__dot-label,
.vtour__dot.active .vtour__dot-label {
  opacity: 1; transform: translateX(0);
}
@media (max-width: 768px) {
  .vtour__dot-label { display: none; }
  .vtour__dot-ring { width: 38px; height: 38px; }
}

/* Active hotspot state */
.vtour__dot.active .vtour__dot-ring {
  background: var(--white);
  box-shadow: 0 0 0 12px rgba(255,255,255,0.15);
}
.vtour__dot.active .vtour__dot-ring svg { color: var(--blue); }
.vtour__dot.active .vtour__dot-ring::before { border-color: rgba(255,255,255,0.3); }

/* Product detail panel */
.vtour__panel {
  position: absolute;
  top: 24px; right: 24px;
  width: 320px;
  background: rgba(26,26,28,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 10;
  opacity: 0; transform: translateX(20px);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.vtour__panel.open {
  opacity: 1; transform: translateX(0);
  pointer-events: auto;
}
@media (max-width: 768px) {
  .vtour__panel {
    position: fixed;
    top: auto; bottom: 0; left: 0; right: 0;
    width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%);
    max-height: 70vh; overflow-y: auto;
  }
  .vtour__panel.open { transform: translateY(0); }
}
.vtour__panel-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px; z-index: 1;
  transition: background .2s var(--ease);
}
.vtour__panel-close:hover { background: rgba(255,255,255,0.2); }
.vtour__panel-img-wrap {
  aspect-ratio: 4/3;
  background: radial-gradient(120% 100% at 50% 30%, #2a2a2c 0%, #1a1a1c 65%);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.vtour__panel-img {
  max-width: 80%; max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
}
.vtour__panel-content { padding: 20px 24px 24px; }
.vtour__panel-title {
  font-size: 18px; font-weight: 600; color: var(--white);
  margin-bottom: 8px;
}
.vtour__panel-desc {
  font-size: 14px; line-height: 1.65; color: var(--grey-60);
  margin-bottom: 16px;
}
.vtour__panel-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--blue);
  transition: color .2s var(--ease);
}
.vtour__panel-link:hover { color: var(--white); }

/* Room selector bar */
.vtour__selector {
  padding: clamp(16px, 2vw, 24px) 0 clamp(32px, 4vw, 48px);
  background: #0a0a0c;
}
.vtour__selector-inner {
  display: flex; align-items: center; gap: 16px;
  justify-content: center;
}
.vtour__nav-btn {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--grey-100);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease);
}
.vtour__nav-btn:hover { background: var(--blue); }
.vtour__nav-btn svg { color: var(--white); }
.vtour__rooms {
  display: flex; gap: 12px;
  overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.vtour__rooms::-webkit-scrollbar { display: none; }
.vtour__room-btn {
  display: flex; flex-direction: column; gap: 10px;
  padding: 8px; border-radius: var(--radius);
  background: var(--grey-120);
  border: 2px solid transparent;
  width: 140px; flex-shrink: 0;
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
  scroll-snap-align: start;
}
.vtour__room-btn.active {
  border-color: var(--blue);
  background: rgba(0,90,234,0.1);
}
.vtour__room-btn:hover { border-color: rgba(0,90,234,0.5); }
.vtour__room-btn img {
  width: 100%; height: 80px;
  object-fit: cover; border-radius: 8px;
}
.vtour__room-btn span {
  font-size: 13px; font-weight: 500;
  color: var(--grey-60); text-align: center;
  display: block;
}
.vtour__room-btn.active span { color: var(--white); font-weight: 600; }
@media (max-width: 640px) {
  .vtour__room-btn { width: 120px; }
  .vtour__room-btn img { height: 64px; }
  .vtour__nav-btn { width: 36px; height: 36px; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black); border-top: 1px solid var(--border);
  padding-block: 64px 32px;
}
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 40px; }
@media (min-width: 992px) { .footer__grid { grid-template-columns: 1.2fr 2fr; gap: 80px; } }
.footer__brand { display: flex; flex-direction: column; gap: 36px; }
.footer__logo img { height: 48px; width: auto; }
.footer__newsletter h4 { color: var(--white); font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.footer__form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__input {
  flex: 1 1 240px; background: var(--grey-100); border: 1px solid transparent;
  border-radius: 6px; padding: 16px; color: var(--white); font-size: 14px;
  font-family: inherit; transition: border-color .2s var(--ease);
}
.footer__input::placeholder { color: var(--grey-70); }
.footer__input:focus { outline: none; border-color: var(--blue); }
.footer__social { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__social a {
  width: 48px; height: 48px; border-radius: 50%; background: var(--grey-90);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease);
}
.footer__social a:hover { background: var(--blue); }
.footer__social svg { width: 20px; height: 20px; color: var(--white); }
.footer__links { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 640px) { .footer__links { grid-template-columns: repeat(3, 1fr); } }
.footer__col h5 { color: var(--white); font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  color: var(--grey-60); font-size: 14px; line-height: 1.7;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap; color: var(--grey-70); font-size: 14px;
}
.footer__legal { display: flex; gap: 32px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(60px, 10vw, 120px); background: var(--black); }
.page-hero__inner { max-width: 760px; display: flex; flex-direction: column; gap: 20px; }
.page-hero__title { color: var(--white); font-size: clamp(32px, 6vw, 56px); font-weight: 600; line-height: 1.15; }
.page-hero__subtitle { color: var(--grey-60); font-size: 18px; line-height: 1.7; }

/* ---------- Generic card ---------- */
.card {
  background: var(--grey-120); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--blue); }
.card__icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: rgba(0,90,234,.12);
  display: inline-flex; align-items: center; justify-content: center; color: var(--blue);
}
.card__title { font-size: 20px; font-weight: 600; color: var(--white); }
.card__desc { color: var(--grey-60); line-height: 1.75; }

.card-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Contact form ---------- */
.form { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 680px; }
.form__row-2 { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row-2 { grid-template-columns: 1fr 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__label { font-size: 14px; color: var(--white-80); font-weight: 500; }
.form__input, .form__textarea, .form__select {
  background: var(--grey-100); border: 1px solid transparent;
  border-radius: 8px; padding: 16px; font-size: 14px; font-family: inherit;
  color: var(--white); transition: border-color .2s var(--ease); width: 100%;
}
.form__input:focus, .form__textarea:focus, .form__select:focus { outline: none; border-color: var(--blue); }
.form__input::placeholder, .form__textarea::placeholder { color: var(--grey-70); }
.form__textarea { resize: vertical; min-height: 140px; }
.form__error { color: #ff6b6b; font-size: 13px; display: none; }
.form__field.has-error .form__input,
.form__field.has-error .form__textarea { border-color: #ff6b6b; }
.form__field.has-error .form__error { display: block; }

.form-status { padding: 16px; border-radius: 8px; font-size: 14px; margin-top: 16px; }
.form-status--success { background: rgba(46,204,113,.12); color: #4fd18d; border: 1px solid rgba(46,204,113,.3); }
.form-status--error { background: rgba(255,107,107,.12); color: #ff8787; border: 1px solid rgba(255,107,107,.3); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #0033a0 100%);
  border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 72px);
  text-align: center; display: flex; flex-direction: column; gap: 24px; align-items: center;
}
.cta-banner h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 560px; line-height: 1.75; }
.cta-banner .btn { background: var(--white); color: var(--blue); }
.cta-banner .btn:hover { background: var(--grey-40); }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center; padding: 80px 24px;
  background: var(--grey-120); border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.empty-state h3 { color: var(--white); font-size: 24px; margin-bottom: 12px; }
.empty-state p { color: var(--grey-60); max-width: 420px; margin: 0 auto; }

/* ---------- RTL ---------- */
[dir="rtl"] .link-arrow svg,
[dir="rtl"] .card__icon svg,
[dir="rtl"] .tour__hotspot::before { transform: scaleX(-1); }
[dir="rtl"] .nav__link.active::after { left: auto; right: 0; }
[dir="rtl"] .prod-card__title--center { justify-content: flex-start; text-align: left; }
[dir="rtl"] .testimonials__btn--left svg { transform: scaleX(1); }
[dir="rtl"] .testimonials__btn--right svg { transform: scaleX(-1); }
[dir="rtl"] body { font-family: "Tajawal", "Noto Sans Arabic", var(--font); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* =============================================================================
   PRODUCT DETAIL PAGE (per-category page)
   ============================================================================= */

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--grey-70); font-size: 14px; flex-wrap: wrap; }
.breadcrumb a { color: var(--grey-60); transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { color: var(--grey-80); }
.breadcrumb__current { color: var(--white); }

/* Product page hero */
.prod-hero { padding-top: 24px; }
.prod-hero__top { margin-bottom: 24px; display: flex; flex-direction: column; gap: 20px; }
.prod-hero__title { color: var(--white); font-size: clamp(32px, 6vw, 56px); font-weight: 600; line-height: 1.1; }
.prod-hero__image {
  width: 100%; max-width: var(--container); margin: 0 auto;
  border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 16/8; background: var(--grey-120);
}
.prod-hero__image img, .prod-hero__image video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Dual sub-category rows (e.g. Panels + Gateways) */
.subcat { margin-bottom: 48px; }
.subcat__header { text-align: center; margin-bottom: 32px; }
.subcat__header h2 { color: var(--white); font-size: clamp(24px, 3vw, 36px); font-weight: 600; }
.subcat__header p { color: var(--grey-60); margin-top: 10px; max-width: 760px; margin-inline: auto; line-height: 1.65; font-size: 14px; }
.subcat__row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .subcat__row { grid-template-columns: repeat(2, 1fr); } }
.subcat__card {
  background: var(--grey-120); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/10;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.subcat__card:hover { transform: translateY(-4px); border-color: var(--blue); }
.subcat__card img { width: 100%; height: 100%; object-fit: cover; }

/* Single wide product image (matches Figma "img371 3" pattern) */
.prod-wide {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--grey-120);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  width: 100%;
}
.prod-wide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Product variants grid */
.prod-variants-header { text-align: center; margin-bottom: 24px; }
.prod-variants-header h2 { color: var(--white); font-size: clamp(24px, 3vw, 36px); font-weight: 600; }
.prod-variants-header p { color: var(--grey-60); margin-top: 8px; font-size: 14px; }
.prod-variants {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .prod-variants { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .prod-variants { grid-template-columns: repeat(3, 1fr); } }
.prod-variant {
  background: var(--grey-120); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; text-align: center;
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  transition: border-color .2s var(--ease), transform .3s var(--ease);
}
.prod-variant:hover { border-color: var(--blue); transform: translateY(-4px); }
.prod-variant img { max-width: 70%; max-height: 70%; object-fit: contain; }

/* Specifications grid (4 feature tiles) */
.specs-header { text-align: center; margin-bottom: 40px; }
.specs-header h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); font-weight: 600; }
.specs {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .specs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .specs { grid-template-columns: repeat(4, 1fr); } }
.spec-card {
  background: var(--grey-120); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  transition: border-color .2s var(--ease);
}
.spec-card:hover { border-color: var(--blue); }
.spec-card__icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(0,90,234,.12); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.spec-card__title { color: var(--white); font-size: 18px; font-weight: 600; }
.spec-card__desc { color: var(--grey-60); font-size: 14px; line-height: 1.6; }

/* "You should buy it" two-up */
.buy-two-up {
  display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) { .buy-two-up { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.buy-two-up__image {
  border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/3; background: var(--grey-120);
}
.buy-two-up__image img { width: 100%; height: 100%; object-fit: cover; }
.buy-two-up__text h2 { color: var(--white); font-size: clamp(24px, 3vw, 36px); font-weight: 600; }
.buy-two-up__text p { color: var(--grey-60); line-height: 1.75; margin-top: 20px; }

/* App promo section */
.app-promo {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0a0a0c 0%, #1a1a1c 100%);
  padding: clamp(40px, 6vw, 72px);
  display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) { .app-promo { grid-template-columns: 1fr 1fr; } }
.app-promo__text h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); font-weight: 600; line-height: 1.15; }
.app-promo__text p { color: var(--grey-60); margin-top: 16px; line-height: 1.75; }
.app-promo__sub { color: var(--grey-60); font-size: 18px; margin-top: 16px; line-height: 1.55; }

/* Decorated variant — full-bleed lifestyle background with phones on the right.
   Matches the Figma "App Download" frame (node 251:78568). */
.app-promo--decorated {
  position: relative;
  min-height: clamp(400px, 45vw, 500px);
  padding: 0;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius-xl);
}
.app-promo--decorated .app-promo__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.app-promo--decorated .app-promo__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,0) 75%);
}
.app-promo--decorated .app-promo__decor {
  position: absolute; z-index: 1; pointer-events: none;
  right: -6%; top: 50%; transform: translateY(-50%);
  width: clamp(320px, 45%, 620px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 55%, rgba(255,255,255,0) 80%);
}
.app-promo--decorated .app-promo__text {
  position: relative; z-index: 2;
  grid-column: 1 / -1;
  align-self: center; justify-self: start;
  padding: clamp(40px, 6vw, 72px);
  max-width: 560px;
}
.app-promo--decorated .app-promo__text h2 { color: var(--white); }
.app-promo--decorated .app-promo__text .app-promo__sub { color: rgba(255,255,255,0.85); }
.app-promo--decorated .app-promo__image {
  position: absolute; z-index: 2;
  right: clamp(16px, 4vw, 80px); top: 50%; transform: translateY(-50%);
  width: clamp(260px, 45%, 520px); aspect-ratio: auto; height: auto;
  max-height: 120%; background: transparent; border-radius: 0;
}
.app-promo--decorated .app-promo__image img {
  width: 100%; height: auto; object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
}
/* App badges dark style to fit on the dark lifestyle background */
.app-promo--decorated .app-badge { background: #000; border-color: rgba(255,255,255,0.22); }
.app-promo--decorated .app-badge:hover { border-color: var(--white); }

@media (max-width: 700px) {
  .app-promo--decorated { grid-template-columns: 1fr; min-height: 0; }
  .app-promo--decorated .app-promo__image {
    position: relative; inset: auto; transform: none;
    width: min(80%, 320px); margin: -20px auto 20px;
  }
  .app-promo--decorated .app-promo__text { padding-bottom: 20px; }
  .app-promo--decorated .app-promo__bg::after {
    background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.65) 100%);
  }
}
.app-badges { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.app-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; border: 1px solid #333;
  border-radius: 10px; padding: 10px 20px; color: var(--white);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.app-badge:hover { border-color: var(--white); }
.app-badge svg { flex-shrink: 0; width: 24px; height: 24px; }
.app-badge__label { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.app-badge__label small { font-size: 10px; color: var(--grey-70); }
.app-badge__label strong { font-size: 16px; font-weight: 600; }
.app-promo__image {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; background: var(--grey-120);
}
.app-promo__image img { width: 100%; height: 100%; object-fit: cover; }

/* Benefits cards (3 cards, reuses adv-card but keeps its own grid) */
.benefits {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .benefits { grid-template-columns: repeat(3, 1fr); } }

/* Demonstration (large full-bleed image with rounded corners) */
.demo {
  border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 2/1; background: var(--grey-120);
}
.demo img { width: 100%; height: 100%; object-fit: cover; }

/* "Want to discover more" CTA with image */
.discover-more {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--grey-120);
  min-height: 320px;
  display: grid; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) { .discover-more { grid-template-columns: 1fr 1fr; } }
.discover-more__image { position: relative; aspect-ratio: 1/1; }
.discover-more__image img { width: 100%; height: 100%; object-fit: cover; }
.discover-more__body { padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.discover-more__body h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); font-weight: 600; }
.discover-more__body p { color: var(--grey-60); line-height: 1.75; }

/* =============================================================================
   ABOUT PAGE — Rebuilt (B2B, premium, dark theme)
   ============================================================================= */

/* ---------- Shared eyebrow label ---------- */
.abt-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--grey-70);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.abt-eyebrow--light { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.18); }

/* ---------- Hero: split layout (text left, architectural image right) ---------- */
.abt-hero { padding-top: 40px; padding-bottom: clamp(48px, 6vw, 80px); }
.abt-hero__grid {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .abt-hero__grid { grid-template-columns: 1.05fr 1fr; gap: 72px; }
}
.abt-hero__text { display: flex; flex-direction: column; }
.abt-hero__title {
  color: var(--white);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 600; line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  max-width: 20ch;
}
.abt-hero__body {
  display: flex; flex-direction: column; gap: 16px;
}
.abt-hero__body p {
  color: var(--grey-60);
  font-size: 16px; line-height: 1.75;
  max-width: 52ch;
}
.abt-hero__media {
  position: relative;
  border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--grey-120);
  border: 1px solid var(--border);
}
.abt-hero__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 959px) {
  .abt-hero__media { aspect-ratio: 16 / 10; }
}

/* ---------- Credibility strip (replaces weak consumer stats) ---------- */
.abt-cred {
  padding-block: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.abt-cred__grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .abt-cred__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (min-width: 1000px) { .abt-cred__grid { grid-template-columns: repeat(4, 1fr); gap: 40px; } }
.abt-cred__item {
  display: flex; flex-direction: column; gap: 8px;
  padding-left: 20px;
  border-left: 2px solid var(--blue);
}
.abt-cred__value {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600; color: var(--white); line-height: 1.15;
  letter-spacing: -0.3px;
}
.abt-cred__label {
  font-size: 14px; color: var(--grey-60); line-height: 1.5;
}

/* ---------- Brand Position: image left, text right ---------- */
.abt-brand-section { padding-block: clamp(72px, 9vw, 120px); }
.abt-brand {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 960px) {
  .abt-brand { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.abt-brand__media {
  border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 5/6;
  background: var(--grey-120);
  border: 1px solid var(--border);
}
.abt-brand__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.abt-brand__content { display: flex; flex-direction: column; }
.abt-brand__content .h2 {
  color: var(--white); max-width: 22ch;
  letter-spacing: -0.3px; margin-bottom: 20px;
}
.abt-brand__text {
  color: var(--grey-60); line-height: 1.8; font-size: 16px;
  max-width: 52ch;
}

/* ---------- Mission — centered full-width band with subtle backdrop ---------- */
.abt-mission-band {
  position: relative; overflow: hidden;
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--grey-120);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.abt-mission-band__bg { position: absolute; inset: 0; z-index: 0; }
.abt-mission-band__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.22; filter: saturate(0.85);
}
.abt-mission-band__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,28,0.55) 0%, rgba(26,26,28,0.82) 100%);
}
.abt-mission-band .container { position: relative; z-index: 1; }
.abt-mission-band__inner {
  max-width: 860px; margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.abt-mission-band__title {
  color: var(--white);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600; line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
  max-width: 24ch;
}
.abt-mission-band__text {
  color: var(--grey-60); line-height: 1.75; font-size: 17px;
  max-width: 60ch;
}

/* ---------- Why NORWIE — numbered cards, no icons ---------- */
.abt-values__header {
  text-align: center;
  margin: 0 auto clamp(40px, 5vw, 64px);
  max-width: 680px;
  display: flex; flex-direction: column; align-items: center;
}
.abt-values__header .h2 {
  color: var(--white);
  letter-spacing: -0.3px; margin-bottom: 12px;
}
.abt-values__header p {
  color: var(--grey-60); font-size: 16px; line-height: 1.7;
}
.abt-values__grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .abt-values__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 1100px) {
  .abt-values__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.abt-value {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: 32px;
  background: var(--grey-120);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.abt-value:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}
.abt-value__num {
  font-size: 14px; font-weight: 500;
  color: var(--blue);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.abt-value__title {
  color: var(--white);
  font-size: 20px; font-weight: 600; line-height: 1.3;
}
.abt-value__desc {
  color: var(--grey-60);
  font-size: 15px; line-height: 1.7;
}
/* Last card spans full width for balance on 2-col layout */
@media (min-width: 720px) {
  .abt-value--wide { grid-column: 1 / -1; }
}

/* ---------- Markets & Coverage strip (replaces redundant CTA) ---------- */
.abt-markets-section { padding-block: clamp(72px, 9vw, 120px); }
.abt-markets {
  background: var(--grey-120);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4.5vw, 64px);
}
.abt-markets__head {
  display: flex; flex-direction: column;
  margin-bottom: clamp(32px, 4vw, 56px);
  max-width: 720px;
}
.abt-markets__head .h2 {
  color: var(--white);
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}
.abt-markets__lead {
  color: var(--grey-60); line-height: 1.7; font-size: 16px;
}
.abt-markets__grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .abt-markets__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1000px) { .abt-markets__grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.abt-markets__item {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.abt-markets__region {
  color: var(--white);
  font-size: 16px; font-weight: 600; line-height: 1.35;
}
.abt-markets__cities {
  color: var(--grey-60);
  font-size: 14px; line-height: 1.6;
}

/* ---------- Contact: image left, form right ---------- */
.abt-contact-section { padding-bottom: clamp(72px, 9vw, 120px); padding-top: 0; }
.abt-contact {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start;
}
@media (min-width: 960px) {
  .abt-contact { grid-template-columns: 0.85fr 1fr; gap: 64px; }
}
.abt-contact__media {
  border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--grey-120);
  border: 1px solid var(--border);
}
@media (min-width: 960px) {
  .abt-contact__media { position: sticky; top: 100px; aspect-ratio: 3/4; }
}
.abt-contact__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.abt-contact__form-wrap {
  display: flex; flex-direction: column; gap: 16px;
}
.abt-contact__form-wrap .h3 {
  color: var(--white); letter-spacing: -0.3px;
  margin-top: 4px;
}
.abt-contact__intro {
  color: var(--grey-60); line-height: 1.7; font-size: 16px;
  margin-bottom: 16px; max-width: 56ch;
}

/* Refine form spacing on About page */
.abt-contact .form { max-width: none; gap: 18px; }
.abt-contact .form__row-2 {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .abt-contact .form__row-2 { grid-template-columns: 1fr 1fr; }
}

/* =============================================================================
   SOLUTIONS SUB-PAGES
   ============================================================================= */

.sol-section-head { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.sol-section-head h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); }
.sol-section-head p { color: var(--grey-60); margin-top: 12px; line-height: 1.7; }

/* Integration — two labelled image cards */
.int-row { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .int-row { grid-template-columns: 1fr 1fr; } }
.int-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  background: var(--grey-120);
}
.int-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.int-card:hover img { transform: scale(1.04); }
.int-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.int-card__label {
  position: absolute; left: 24px; bottom: 24px; right: 24px; z-index: 2;
  color: var(--white); font-size: clamp(18px, 2vw, 22px); font-weight: 600;
}

/* Unit Solutions — 3 tiles with blue feature tile on left */
.usol {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .usol { grid-template-columns: 1.2fr 1fr 1fr; } }
.usol-tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3; min-height: 280px;
  background: var(--grey-120);
  color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px;
}
.usol-tile--feature {
  background: var(--blue);
  aspect-ratio: auto;
}
.usol-tile--feature h3 { font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.usol-tile--feature p { color: rgba(255,255,255,0.88); line-height: 1.65; font-size: 14px; }
.usol-tile--img { padding: 0; }
.usol-tile--img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.usol-tile--img:hover img { transform: scale(1.04); }
.usol-tile--img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.usol-tile--img .usol-tile__label {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2;
  color: var(--white); font-size: 18px; font-weight: 600;
}

/* Building Solutions — 3 image rows with overlay title */
.bsol { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bsol { grid-template-columns: repeat(3, 1fr); } }
.bsol-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5; min-height: 320px;
  background: var(--grey-120);
}
.bsol-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.bsol-card:hover img { transform: scale(1.04); }
.bsol-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
}
.bsol-card__label {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2;
  color: var(--white); font-size: 20px; font-weight: 600; line-height: 1.35;
}

/* Intercom System / full-bleed banner with centred text */
.sol-banner {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: clamp(320px, 45vw, 520px);
  display: grid; place-items: center;
  text-align: center;
  padding: clamp(40px, 6vw, 72px);
  background: var(--grey-120);
}
.sol-banner__bg { position: absolute; inset: 0; z-index: 0; }
.sol-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.sol-banner__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.75) 100%);
}
.sol-banner__inner { position: relative; z-index: 1; max-width: 720px; }
.sol-banner__inner h2 { color: var(--white); font-size: clamp(28px, 4vw, 44px); }
.sol-banner__inner p { color: var(--grey-60); margin-top: 16px; line-height: 1.7; }

/* Key Benefits — 4 small icon tiles */
.kb-grid {
  display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .kb-grid { grid-template-columns: repeat(4, 1fr); } }
.kb-card {
  background: var(--grey-120); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .2s var(--ease);
}
.kb-card:hover { border-color: var(--blue); }
.kb-card__icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(0,90,234,0.12); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.kb-card__title { color: var(--white); font-size: 16px; font-weight: 600; line-height: 1.35; }

/* Placeholder block */
.ph {
  background: linear-gradient(135deg, #2b2b2d 0%, #1a1a1c 100%);
  position: relative;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='1.5'><rect x='3' y='3' width='18' height='18' rx='2'/><circle cx='8.5' cy='8.5' r='1.5'/><path d='M21 15l-5-5L5 21'/></svg>") center/48px no-repeat;
  opacity: .5;
}

/* =============================================================
   Switches & Sockets product page
   ============================================================= */

.sw-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-60);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}
.sw-eyebrow--light {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.18);
}

/* ---------- Hero (full-width image, Figma) ---------- */
.sw-hero {
  position: relative;
  min-height: clamp(480px, 65vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.sw-hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
  background: #0f0f11;
}
.sw-hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(0.9) brightness(0.85);
}
.sw-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(26,26,28,0.15) 0%, rgba(26,26,28,0.3) 40%, rgba(26,26,28,0.92) 100%);
}
.sw-hero .container { position: relative; z-index: 1; }
.sw-hero .breadcrumb--light { padding-top: 48px; margin-bottom: auto; }
.sw-hero .breadcrumb--light,
.sw-hero .breadcrumb--light a { color: rgba(255,255,255,0.65); }
.sw-hero .breadcrumb--light a:hover { color: #fff; }
.sw-hero__content {
  padding-bottom: clamp(48px, 6vw, 80px);
  max-width: 720px;
}
.sw-hero__content .sw-eyebrow { margin-bottom: 20px; }
.sw-hero__title {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 20px;
}
.sw-hero__sub {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin-bottom: 32px;
  max-width: 54ch;
}
.sw-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* outline-light button variant for use on images */
.btn--outline-light {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.btn--outline-light:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
}

/* ---------- Generic section ---------- */
.sw-section {
  padding: clamp(72px, 10vw, 120px) 0;
}
.sw-section--alt { background: var(--grey-120); }
.sw-section__header {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.sw-section__header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.sw-section__header .sw-eyebrow { margin-bottom: 20px; }
.sw-section__title {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* ---------- Product System (centered cards, Figma) ---------- */
.sw-products {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .sw-products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sw-products { grid-template-columns: repeat(3, 1fr); } }

.sw-product {
  background: var(--grey-120);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.sw-product:hover {
  transform: translateY(-4px);
  border-color: rgba(0,90,234,0.5);
}
.sw-product__media {
  aspect-ratio: 4/3;
  background: radial-gradient(120% 100% at 50% 30%, #2e2e30 0%, #1a1a1c 65%);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
  padding: 28px;
}
.sw-product__media img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.45));
}
.sw-product__body { padding: 28px; }
.sw-product__code {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.sw-product__title {
  font-size: 22px;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.sw-product__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--grey-60);
}

/* ---------- Specifications (centered icon cards, Figma) ---------- */
.sw-specs {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .sw-specs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sw-specs { grid-template-columns: repeat(4, 1fr); } }

.sw-spec {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.sw-spec:hover {
  border-color: rgba(0,90,234,0.45);
  transform: translateY(-3px);
}
.sw-spec__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(0,90,234,0.1);
  color: var(--blue);
}
.sw-spec__icon svg { width: 24px; height: 24px; }
.sw-spec__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--white);
  font-weight: 500;
}

/* ---------- Design Context (2-col: images + text, Figma) ---------- */
.sw-context {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .sw-context { grid-template-columns: 1fr 1fr; align-items: center; }
}
.sw-context__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sw-context__img {
  aspect-ratio: 1/1;
  background: radial-gradient(120% 100% at 50% 30%, #2e2e30 0%, #1a1a1c 65%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.sw-context__img:hover { border-color: rgba(0,90,234,0.4); }
.sw-context__img img {
  max-width: 82%; max-height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4));
}
.sw-context__text .sw-eyebrow { margin-bottom: 20px; }
.sw-context__title {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.sw-context__list {
  list-style: none;
  padding: 0; margin: 0 0 40px;
}
.sw-context__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--grey-60);
  margin-bottom: 14px;
}
.sw-context__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
[dir="rtl"] .sw-context__list li { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .sw-context__list li::before { left: auto; right: 0; }

/* Extended configurations strip */
.sw-ext {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.sw-ext__label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-70);
  margin-bottom: 16px;
}
.sw-ext__row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}
.sw-ext__tile {
  margin: 0;
  background: radial-gradient(120% 100% at 50% 30%, #2b2b2d 0%, #1a1a1c 65%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
}
.sw-ext__tile img {
  max-width: 78%;
  max-height: 65%;
  object-fit: contain;
}
.sw-ext__tile figcaption {
  position: absolute;
  left: 12px; bottom: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-70);
}

/* ---------- Mobile App section (Figma style) ---------- */
.sw-app {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
  background: #0f0f11;
}
.sw-app__bg {
  position: absolute; inset: 0;
  z-index: 0;
  background: #0e0e10;
  overflow: hidden;
}
.sw-app__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.9) contrast(1.05);
}
.sw-app__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14,14,16,0.85) 0%, rgba(14,14,16,0.4) 60%, rgba(14,14,16,0.2) 100%);
}
.sw-app .container { position: relative; z-index: 1; }
.sw-app__grid {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .sw-app__grid { grid-template-columns: 1fr 1fr; }
}
.sw-app__text { max-width: 480px; }
.sw-app__title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.sw-app__desc {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
}
.sw-app__phone {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sw-app__phone img {
  max-width: 100%;
  max-height: 520px;
  height: auto;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.55));
}

/* ---------- Project Fit (full-width bg) ---------- */
.sw-fit-section {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0;
  overflow: hidden;
  isolation: isolate;
}
.sw-fit-section__bg {
  position: absolute; inset: 0;
  z-index: -1;
  background: #0f0f11;
  overflow: hidden;
}
.sw-fit-section__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.85) brightness(0.9);
}
.sw-fit-section__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,17,0.75) 0%, rgba(15,15,17,0.55) 50%, rgba(15,15,17,0.85) 100%);
}
.sw-fit {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(32px, 4vw, 48px) 0;
}
.sw-fit .sw-eyebrow { margin-bottom: 24px; }
.sw-fit__title {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.sw-fit__text {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

/* ---------- CTA (bg image, Figma style) ---------- */
.sw-cta {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  overflow: hidden;
}
.sw-cta__bg {
  position: absolute; inset: 0;
  z-index: 0;
  background: #0f0f11;
  overflow: hidden;
}
.sw-cta__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.85) brightness(0.9);
}
.sw-cta__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,17,0.8) 0%, rgba(15,15,17,0.65) 50%, rgba(15,15,17,0.85) 100%);
}
.sw-cta .container { position: relative; z-index: 1; }
.sw-cta__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.sw-cta__title {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.sw-cta__text {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}
.sw-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* RTL adjustments */
[dir="rtl"] .sw-ext__tile figcaption { left: auto; right: 12px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
