/* Woow Moment — visual system
   Brand: cyan #00BCD4 / #11caf3 · darks #302e35 / #1e1e1e / #222227 · Poppins
   Homepage-first polish; shared tokens for later page roll-out. */

:root {
  --cyan: #00BCD4;
  --cyan-bright: #11caf3;
  --cyan-soft: rgba(0, 188, 212, 0.12);
  --magenta: #e91e63;
  --dark-panel: #302e35;
  --dark-ui: #1e1e1e;
  --dark-border: #222227;
  --ink: #1a1a1f;
  --muted: #5c5a66;
  --muted-light: #8a8794;
  --surface: #ffffff;
  --surface-alt: #f5f7fa;
  --surface-tint: #eef9fc;
  --border: #e4e7ee;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow: 0 10px 32px rgba(30, 30, 30, 0.07);
  --shadow-hover: 0 16px 40px rgba(0, 188, 212, 0.14);
  --max: 1140px;
  --header-h: 76px;
  --section-space: 5.5rem;
  --focus: 0 0 0 3px rgba(0, 188, 212, 0.45);
  --font: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cyan-bright);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--cyan);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

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

/* Sticky header clearance for in-page anchors / section titles */
section[id],
.page-hero {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section {
  padding: var(--section-space) 0;
}

.section--alt {
  background: var(--surface-alt);
}

.section--dark {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(0, 188, 212, 0.14), transparent 55%),
    var(--dark-panel);
  color: #f2f2f4;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 0.85rem;
}

.section__title {
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: inherit;
}

.section--dark .section__title {
  color: #fff;
}

.section__lead {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.72);
}

.section__head {
  margin-bottom: 2.75rem;
}

.section__head--compact {
  margin-bottom: 1.25rem;
}

.section__head--center {
  text-align: center;
}

.section__head--center .section__lead {
  margin-inline: auto;
}

.section__action {
  margin: 2.25rem 0 0;
}

.section__action--center {
  text-align: center;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark-ui);
  border-bottom: 1px solid var(--dark-border);
  min-height: var(--header-h);
  backdrop-filter: saturate(1.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  /* Logo sits on brand dark header — never invent a black box behind it */
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.logo img {
  height: 38px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.5rem;
  margin-left: auto;
}

.nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--cyan-bright);
  border-bottom-color: var(--cyan);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan-bright);
}

/* —— Language switcher (shell; no translations yet) —— */
.lang-switch {
  position: relative;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.lang-switch__btn:hover,
.lang-switch.is-open .lang-switch__btn {
  border-color: var(--cyan);
  color: var(--cyan-bright);
  background: rgba(0, 188, 212, 0.1);
}

.lang-switch__chevron {
  font-size: 0.7rem;
  opacity: 0.85;
  line-height: 1;
}

.lang-switch__list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 120;
  min-width: 11.5rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--dark-ui);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.lang-switch__list[hidden] {
  display: none;
}

.lang-switch__list [role="option"] {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}

.lang-switch__list [role="option"]:hover,
.lang-switch__list [role="option"]:focus {
  background: rgba(0, 188, 212, 0.14);
  color: var(--cyan-bright);
  outline: none;
}

.lang-switch__list [role="option"].is-selected,
.lang-switch__list [role="option"][aria-selected="true"] {
  color: var(--cyan-bright);
}

.lang-switch__list [role="option"].is-selected::after,
.lang-switch__list [role="option"][aria-selected="true"]::after {
  content: " ✓";
  font-size: 0.8rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn--primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.28);
}

.btn--primary:hover {
  background: var(--cyan-bright);
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 202, 243, 0.32);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

.btn--outline:hover {
  background: var(--cyan);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(0, 188, 212, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(233, 30, 99, 0.08), transparent 50%),
    var(--dark-ui);
  color: #fff;
  padding: 6rem 0 5.5rem;
  overflow: hidden;
}

.hero--photo {
  background-color: var(--dark-ui);
  background-image: url("assets/hero/home-hero-live.jpg");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 14, 18, 0.88) 0%, rgba(14, 14, 18, 0.72) 36%, rgba(14, 14, 18, 0.42) 62%, rgba(14, 14, 18, 0.28) 100%),
    radial-gradient(ellipse 55% 50% at 92% 8%, rgba(0, 188, 212, 0.16), transparent 55%);
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}

.hero__content {
  max-width: 42rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 188, 212, 0.14);
  border: 1px solid rgba(0, 188, 212, 0.4);
  color: var(--cyan-bright);
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0 0 1.35rem;
}

.hero h1 {
  font-size: clamp(1.95rem, 4.2vw, 2.9rem);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 1.15rem;
  letter-spacing: -0.025em;
}

.hero h1 .accent {
  color: var(--cyan-bright);
  display: block;
  margin-top: 0.15em;
}

.hero__subtitle {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2.1rem;
  max-width: 36rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero__meta strong {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 0.1rem;
}

/* —— Services (SVG icon cards — no stock strip) —— */
.services-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}

.services-strip--4 {
  grid-template-columns: repeat(4, 1fr);
}

.service-item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.2rem 1.5rem;
  text-align: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  overflow: hidden;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-bright));
  opacity: 0;
  transition: opacity 0.18s ease;
}

.service-item:hover {
  border-color: rgba(0, 188, 212, 0.45);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.service-item:hover::before {
  opacity: 1;
}

.service-item__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 16px;
  background: transparent;
  display: grid;
  place-items: center;
}

.service-item__icon img {
  width: 56px;
  height: 56px;
}

.service-item__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.service-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Legacy strip image (kept for services.html if used) */
.services-visual {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.services-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* —— Products —— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card:hover {
  border-color: rgba(0, 188, 212, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-card__thumb {
  position: relative;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--dark-ui);
}

.product-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__thumb img {
  transform: scale(1.03);
}

.product-card__logo {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  display: grid;
  place-items: center;
  padding: 0.28rem;
  pointer-events: none;
}

.product-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: none !important; /* don't inherit thumb hover scale */
}

.product-card:hover .product-card__logo img {
  transform: none;
}

/* Detail / listing hero product brand mark */
.page-hero__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.page-hero__brand-logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  padding: 0.35rem;
  flex-shrink: 0;
  overflow: hidden;
}

.page-hero__brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* MovePic mark is already mint — match badge bg so no white corner gap */
.page-hero__brand-logo--movepic {
  background: #58f4a1;
  padding: 0;
}

.page-hero__brand-logo--movepic img {
  object-fit: cover;
  border-radius: inherit;
}

.product-card__logo--movepic {
  background: #58f4a1;
  padding: 0;
}

.product-card__logo--movepic img {
  object-fit: cover;
  border-radius: inherit;
}



.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.4rem 1.5rem 1.55rem;
  flex: 1;
}

.product-card__tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--surface-tint);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.product-card h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
  font-size: 0.94rem;
  line-height: 1.55;
}

.product-card__note {
  font-size: 0.82rem;
  color: var(--muted-light);
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid #eef0f4;
}

.product-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--cyan);
  margin-top: 0.35rem;
}

.product-card a.product-link:hover,
.product-card .product-link {
  color: var(--cyan);
}

.product-card a.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card a.card-link:hover h3 {
  color: var(--cyan);
}

.product-card a.card-link:hover .product-link {
  color: var(--cyan-bright);
}

/* —— Clients (homepage slider) —— */
.client-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
}

.client-slider__track {
  display: flex;
  gap: 1rem;
  overflow-x: hidden;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 0.15rem 0.5rem;
  outline: none;
  /* No scrollbar — arrows + autoplay only */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.client-slider__track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.client-slider__track:focus-visible {
  box-shadow: var(--focus);
  border-radius: var(--radius-sm);
}

.client-slider__nav {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(30, 30, 30, 0.05);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.client-slider__nav:hover {
  border-color: rgba(0, 188, 212, 0.5);
  color: var(--cyan);
  background: var(--surface-tint);
}

.client-slider__nav:active {
  transform: scale(0.96);
}

.client-slider__nav:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-color: rgba(0, 188, 212, 0.55);
}

.client-box {
  flex: 0 0 min(260px, 72vw);
  scroll-snap-align: start;
}

.client-box__btn {
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(30, 30, 30, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  font: inherit;
  color: inherit;
}

.client-box__btn:hover {
  border-color: rgba(0, 188, 212, 0.45);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.client-box__btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.client-box__media {
  aspect-ratio: 16 / 10;
  background: var(--dark-ui);
  overflow: hidden;
}

.client-box__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-box__label {
  padding: 0.95rem 1rem 1.1rem;
}

.client-box__label h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.client-box__label p {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Client detail modal */
body.client-modal-open {
  overflow: hidden;
}

.client-modal[hidden] {
  display: none;
}

.client-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.client-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.55);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.client-modal.is-open .client-modal__backdrop {
  opacity: 1;
}

.client-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  height: 100%;
  max-height: 100vh;
  background: var(--surface);
  box-shadow: -16px 0 48px rgba(30, 30, 30, 0.18);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.2s ease;
  outline: none;
  display: flex;
  flex-direction: column;
}

.client-modal.is-open .client-modal__panel {
  transform: translateX(0);
}

.client-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.client-modal__close:hover {
  border-color: rgba(0, 188, 212, 0.5);
  color: var(--cyan);
}

.client-modal__media {
  background: var(--dark-ui);
}

.client-modal__media img {
  width: 100%;
  height: auto;
  display: block;
}

.client-modal__body {
  padding: 1.35rem 1.4rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.client-modal__body h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}

.client-modal__intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.client-modal__features {
  margin: 0.35rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--ink);
}

.client-modal__features li {
  margin: 0.35rem 0;
}

.client-modal__features li::marker {
  color: var(--cyan);
}

.client-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
}

/* Legacy chip grid kept for any residual references */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.client-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(30, 30, 30, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.25rem;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.client-chip span {
  display: block;
  margin-top: 0.3rem;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
}

a.client-chip {
  text-decoration: none;
  color: var(--ink);
}

a.client-chip:hover,
.client-chip:hover {
  border-color: rgba(0, 188, 212, 0.45);
  color: var(--cyan);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

/* —— About —— */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

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

.stat {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  border: 1px solid var(--border);
}

.stat__value {
  display: block;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--cyan);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stat__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}

.about-copy p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-copy__cta {
  margin-top: 1.75rem !important;
}

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

/* —— Contact CTA —— */
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-panel__actions {
  margin-top: 1.65rem;
}

/* Contact page: left = intro + office cards; right = enquiry form */
.contact-panel--page .office-cards {
  margin-top: 2rem;
}

.contact-panel--page > .contact-form {
  margin-top: 0;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-list .label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-bright);
}

.contact-list a,
.contact-list address {
  color: #fff;
  font-style: normal;
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.5;
}

.contact-list a:hover {
  color: var(--cyan-bright);
  text-decoration: underline;
}

.office-cards {
  display: grid;
  gap: 1rem;
}

.office-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.45rem 1.5rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.office-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 188, 212, 0.35);
}

.office-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.office-card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}


.office-card a {
  color: var(--cyan-bright);
  text-decoration: none;
}

.office-card a:hover {
  text-decoration: underline;
}

.office-card__extra {
  margin-top: 0.75rem;
}

.office-card__extra--muted {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

/* —— Contact enquiry form —— */
.contact-form {
  margin-top: 2rem;
  padding: 1.5rem 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.contact-form__title {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}

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

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form__req {
  color: var(--cyan-bright);
}

.contact-form__field input,
.contact-form__field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm, 8px);
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 7.5rem;
  line-height: 1.5;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: rgba(0, 188, 212, 0.65);
  box-shadow: var(--focus);
}

.contact-form__footer {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
}

.contact-form__note {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
  max-width: 28rem;
}

@media (max-width: 720px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}

/* —— Footer —— */
.site-footer {
  background: var(--dark-ui);
  color: rgba(255, 255, 255, 0.65);
  padding: 2.75rem 0 2.25rem;
  border-top: 1px solid var(--dark-border);
  font-size: 0.88rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-footer .logo img {
  height: 30px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
}

.site-footer nav a:hover {
  color: var(--cyan-bright);
}

.site-footer__copy {
  width: 100%;
  margin: 1.5rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid var(--dark-border);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__note {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* —— Clients page grid (static client-box cards) —— */
.clients-page-grid,
.clients-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.clients-page-grid .client-box,
.clients-home-grid .client-box {
  flex: none;
  width: 100%;
  scroll-snap-align: none;
}

a.client-box__btn {
  text-decoration: none;
  color: inherit;
}

.client-box__surface {
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(30, 30, 30, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  color: inherit;
}

.client-box__surface:hover {
  border-color: rgba(0, 188, 212, 0.45);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.client-box__link {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
}

.client-box__link:hover {
  color: var(--cyan-bright);
  text-decoration: underline;
}

.feature-list-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  color: var(--ink);
}

/* —— Responsive —— */
@media (max-width: 1040px) {
  .services-strip {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

@media (max-width: 960px) {
  .hero__grid,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }


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

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

@media (max-width: 720px) {
  :root {
    --section-space: 3.75rem;
    --header-h: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--dark-ui);
    border-bottom: 1px solid var(--dark-border);
    padding: 0.5rem 1.25rem 1rem;
    margin-left: 0;
  }

  .nav .lang-switch {
    margin: 0.85rem 0 0.25rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--dark-border);
  }

  .nav .lang-switch__btn {
    width: 100%;
    justify-content: space-between;
  }

  .nav .lang-switch__list {
    left: 0;
    right: 0;
    min-width: 0;
  }

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

  .nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--dark-border);
  }

  .nav a:hover,
  .nav a[aria-current="page"] {
    border-bottom-color: var(--dark-border);
  }

  .site-header__inner {
    position: relative;
  }

  .services-strip {
    grid-template-columns: 1fr 1fr;
  }

  .product-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }

  .clients-page-grid,
  .clients-home-grid {
    grid-template-columns: 1fr;
  }

  .client-slider {
    grid-template-columns: auto 1fr auto;
    gap: 0.4rem;
  }

  .client-slider__nav {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.35rem;
  }

  .client-box {
    flex-basis: min(240px, 78vw);
  }

  .client-modal {
    align-items: stretch;
    justify-content: stretch;
  }

  .client-modal__panel {
    width: 100%;
    max-height: none;
    border-radius: 0;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3.75rem 0 3.5rem;
  }

  .hero__meta span {
    flex: 1 1 100%;
  }

  .hero__meta strong {
    display: inline;
    margin-right: 0.35rem;
  }

  .logo img {
    height: 32px;
  }

  .section__head--center {
    text-align: left;
  }

  .section__head--center .section__lead {
    margin-inline: 0;
  }

  .section__action--center {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .clients-page-grid,
  .clients-home-grid {
    grid-template-columns: 1fr;
  }

  .services-strip {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Multi-page extensions (kept functional; homepage is the polished system) —— */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: var(--dark-ui);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-hero--bg {
  background-color: var(--dark-ui);
  background-size: cover;
  background-position: center;
  min-height: 320px;
  display: flex;
  align-items: center;
}

.page-hero--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(30,30,30,0.92) 0%, rgba(30,30,30,0.72) 45%, rgba(48,46,53,0.55) 100%);
  z-index: -1;
}

.page-hero .section__eyebrow { color: var(--cyan-bright); }
.page-hero .section__title { color: #fff; margin-bottom: 0.75rem; }
.page-hero .section__lead { color: rgba(255,255,255,0.75); max-width: 38rem; }
.page-hero .btn-row { margin-top: 1.5rem; }

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin: 0 0 1rem;
}

.breadcrumb a {
  color: var(--cyan-bright);
  text-decoration: none;
}


.breadcrumb a:hover { text-decoration: underline; }

/* Hero prev/next browse (preview on select product/client pages) */
.hero-browse {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 3rem;
  height: 3rem;
  margin-top: -1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(30, 30, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.hero-browse--prev { left: max(0.65rem, calc((100% - var(--max)) / 2 - 3.75rem)); }
.hero-browse--next { right: max(0.65rem, calc((100% - var(--max)) / 2 - 3.75rem)); }
.hero-browse svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  pointer-events: none;
}
.hero-browse:hover,
.hero-browse:focus-visible {
  color: var(--cyan-bright);
  border-color: rgba(0, 188, 212, 0.85);
  background: rgba(0, 188, 212, 0.16);
  box-shadow: 0 8px 24px rgba(0, 188, 212, 0.22);
}
.hero-browse:active { transform: scale(0.96); }
.hero-browse:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
@media (max-width: 960px) {
  .hero-browse--prev { left: 0.55rem; }
  .hero-browse--next { right: 0.55rem; }
  .page-hero:has(.hero-browse) .container {
    padding-inline: 2.75rem;
  }
}
@media (max-width: 720px) {
  .hero-browse {
    width: 2.6rem;
    height: 2.6rem;
    margin-top: -1.3rem;
  }
  .hero-browse svg { width: 1rem; height: 1rem; }
  .page-hero:has(.hero-browse) .container {
    padding-inline: 2.35rem;
  }
}


.prose {
  max-width: 42rem;
}

.prose p { color: var(--muted); margin: 0 0 1rem; }

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--cyan);
}

.feature-list li.has-icon::before {
  display: none;
}

.feature-list li.has-icon {
  align-items: center;
}

.feature-list__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 10px;
}

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

.tech-chip {
  background: var(--surface-tint);
  border: 1px solid rgba(0,188,212,0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
}

.screenshot-area {
  display: grid;
  gap: 1.25rem;
}

.screenshot-area--row {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.screenshot-area--row-60-40 {
  grid-template-columns: 1.5fr 1fr; /* ~60% / 40% */
}

@media (max-width: 800px) {
  .screenshot-area--row-60-40 {
    grid-template-columns: 1fr;
  }
}


.screenshot-area--row .screenshot-frame {
  display: flex;
  flex-direction: column;
}

.screenshot-area--row .screenshot-frame img {
  flex: 1;
  object-fit: contain;
  background: #f4f6f8;
}

@media (max-width: 800px) {
  .screenshot-area--row {
    grid-template-columns: 1fr;
  }
}

.screenshot-area--phones {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  justify-items: center;
}

.screenshot-area--phones .screenshot-frame {
  display: flex;
  flex-direction: column;
}

.screenshot-area--phones .screenshot-frame img {
  flex: 1;
  object-fit: contain;
  background: #f4f6f8;
}

.screenshot-area--phones .screenshot-frame--device .device__screen img {
  flex: none;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 800px) {
  .screenshot-area--phones {
    grid-template-columns: 1fr;
  }
}

.screenshot-area--tablets {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  justify-items: center;
}

.screenshot-area--tablets .screenshot-frame {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.screenshot-area--tablets .screenshot-frame--device {
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.screenshot-area--tablets .device--ipad {
  max-width: 100%;
}

.screenshot-area--tablets .device--ipad .device__chrome {
  border-radius: 14px;
  padding: 5px;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.22),
    0 4px 10px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.screenshot-area--tablets .device--ipad .device__screen {
  border-radius: 9px; /* 14 - 5 */
}

.screenshot-area--tablets .screenshot-caption {
  text-align: center;
}

@media (max-width: 1100px) {
  .screenshot-area--tablets {
    grid-template-columns: 1fr;
  }

  .screenshot-area--tablets .device--ipad {
    max-width: 720px;
  }
}

.screenshot-area--tablets-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1100px) {
  .screenshot-area--tablets-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshot-area--tablets-4 .device--ipad {
    max-width: 720px;
  }
}

@media (max-width: 560px) {
  .screenshot-area--tablets-4 {
    grid-template-columns: 1fr;
  }
}

/* Same visual height for 2×2 tablet grid (MovePic) */
.screenshot-area--tablets-4 .device--ipad .device__screen {
  aspect-ratio: 1600 / 1010;
}

.screenshot-area--tablets-4 .device--ipad .device__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: top center;
  flex: none !important;
}


.screenshot-area--phones-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .screenshot-area--phones-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .screenshot-area--phones-4 {
    grid-template-columns: 1fr;
  }
}


.screenshot-frame {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg, #f0f2f5, #f0f2f5 12px, #e8eaef 12px, #e8eaef 24px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.screenshot-placeholder strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.screenshot-caption {
  padding: 0.75rem 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.cta-band {
  background: var(--dark-panel);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}

.cta-band .section__title {
  color: #fff;
}

.cta-band p {
  color: rgba(255,255,255,0.7);
  max-width: 32rem;
  margin: 0.5rem auto 1.5rem;
}

.content-narrow {
  max-width: 720px;
}

.client-list {
  display: grid;
  gap: 0.85rem;
}

.client-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.client-row h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.client-row a {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.infographic-block {
  margin: 1.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.infographic-block img {
  width: 100%;
  height: auto;
}

@media (max-width: 960px) {
  .two-col,
  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .two-col,
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .page-hero { padding: 3.25rem 0 2.75rem; }
}


/* —— Client project detail pages —— */
.title-visual {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .title-visual {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: stretch;
  }
  .title-visual__mark img {
    height: 100%;
    object-fit: cover;
  }
}
.shot-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 188, 212, 0.12);
  color: #00BCD4;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cta-band .btn-row {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
a.client-box__btn {
  text-decoration: none;
  color: inherit;
}

/* Device frames: iPhone + iPad */
.screenshot-frame--device {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.screenshot-frame--device .screenshot-caption {
  width: 100%;
  margin-top: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.screenshot-frame--device .device {
  width: 100%;
}

.device {
  position: relative;
  margin: 0 auto;
}

.device__chrome {
  position: relative;
  background:
    linear-gradient(
      160deg,
      #4a4a4e 0%,
      #2a2a2c 12%,
      #141416 42%,
      #0c0c0e 70%,
      #1c1c1e 100%
    );
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.32),
    0 6px 14px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.device__screen {
  position: relative;
  overflow: hidden;
  background: #000;
  z-index: 1;
}

.device__screen img {
  width: 100%;
  display: block;
  object-position: top center;
  background: transparent !important;
  flex: none !important;
}

/* —— iPhone (portrait) —— */
/* Screenshots already include status bar + home indicator: thin bezel only, no extra Island/home overlay. */
.device--iphone {
  max-width: 260px;
}

.device--iphone .device__chrome {
  /* px-only radius: % radius uses height too and warps tall phones into a capsule look */
  border-radius: 34px;
  padding: 8px 7px;
  background:
    linear-gradient(
      145deg,
      #3a3a3c 0%,
      #1c1c1e 18%,
      #0a0a0c 55%,
      #18181a 100%
    );
}

.device--iphone .device__screen {
  border-radius: 26px;
  aspect-ratio: auto;
  overflow: hidden;
  background: #000;
}

.device--iphone .device__screen img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain !important;
  object-position: top center;
  flex: none !important;
}

/* Hide Island + home when present in markup — screenshot already has them */
.device--iphone .device__island,
.device--iphone .device__home {
  display: none;
}

/* Side buttons */
.device--iphone .device__chrome::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 14%;
  width: 2px;
  height: 14px;
  border-radius: 1px 0 0 1px;
  background: #2c2c2e;
  box-shadow:
    0 26px 0 0 #2c2c2e,
    0 48px 0 0 #2c2c2e;
  z-index: 0;
  pointer-events: none;
}

.device--iphone .device__chrome::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 20%;
  width: 2px;
  height: 36px;
  border-radius: 0 1px 1px 0;
  background: #2c2c2e;
  z-index: 0;
  pointer-events: none;
}

/* —— iPad (landscape) —— */
/* Screenshots already include status bar + home indicator: thin even bezel, no camera/home overlay. */
/* px radii + px padding (not %): % padding/radius warp short landscape cards into a squashed look. */
/* Outer radius ≈ inner radius + bezel — keeps corners continuous like real iPad Pro. */
.device--ipad {
  max-width: 920px;
  width: 100%;
}

.device--ipad .device__chrome {
  border-radius: 18px;
  padding: 7px;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      #3a3a3c 0%,
      #1c1c1e 18%,
      #0a0a0c 55%,
      #18181a 100%
    );
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.26),
    0 5px 12px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.device--ipad .device__screen {
  border-radius: 11px; /* 18 - 7 */
  aspect-ratio: auto;
  overflow: hidden;
  background: #000;
}

.device--ipad .device__screen img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain !important;
  object-position: top center;
  flex: none !important;
}

.device--ipad .device__island,
.device--ipad .device__home {
  display: none;
}

/* Phones row */
.screenshot-area--phones .screenshot-frame--device {
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.screenshot-area--phones .screenshot-frame--device .device--iphone {
  max-width: min(240px, 100%);
}

.screenshot-area--phones .screenshot-frame--device .screenshot-caption {
  text-align: center;
}

@media (max-width: 800px) {
  .screenshot-area--phones .screenshot-frame--device .device--iphone {
    max-width: 280px;
  }
}

/* Kill grey letterboxing on framed screens */
.screenshot-area--phones .screenshot-frame--device img,
.screenshot-frame--device .device__screen img {
  background: transparent !important;
}


/* —— Contact enquiry AJAX modal / validation / Turnstile —— */
html.wm-contact-modal-open {
  overflow: hidden;
}

.wm-contact-modal-root {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.wm-contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 31, 0.52);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.wm-contact-modal {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(26, 26, 31, 0.18);
  text-align: center;
  font-family: var(--font);
}

.wm-contact-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.wm-contact-modal-close:hover,
.wm-contact-modal-close:focus-visible {
  background: var(--surface-alt);
  color: var(--ink);
  outline: none;
}

.wm-contact-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  border-radius: 9999px;
}

.wm-contact-modal--success .wm-contact-modal-icon {
  color: #1f9d63;
  background: rgba(31, 157, 99, 0.12);
}

.wm-contact-modal--error .wm-contact-modal-icon {
  color: #d32f2f;
  background: rgba(211, 47, 47, 0.12);
}

.wm-contact-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.wm-contact-modal-body {
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.wm-contact-modal-ok {
  min-width: 6.5rem;
}

.wm-contact-modal-ok:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

#contact-enquiry-form .wm-contact-invalid {
  border-color: #d32f2f !important;
  box-shadow: 0 0 0 1px rgba(211, 47, 47, 0.35);
}

#contact-enquiry-form.wm-contact-sending {
  pointer-events: none;
}

#contact-enquiry-form.wm-contact-sending button[type="submit"],
#contact-enquiry-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

#contact-enquiry-form .wm-contact-turnstile {
  flex: 1 1 100%;
  margin: 0.15rem 0 0.35rem;
  line-height: 0;
}

#contact-enquiry-form .wm-contact-turnstile .cf-turnstile {
  line-height: 0;
}
