:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #edf2f7;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --text: #111827;
  --text-soft: #334155;
  --heading: #08111f;
  --line: rgba(15, 23, 42, 0.11);
  --line-strong: rgba(15, 23, 42, 0.18);
  --primary: #0b6ff4;
  --primary-strong: #0755c7;
  --primary-soft: rgba(11, 111, 244, 0.1);
  --secondary: #91bd2c;
  --secondary-soft: rgba(145, 189, 44, 0.13);
  --header: rgba(245, 247, 250, 0.86);
  --shadow-sm: 0 10px 30px rgba(8, 17, 31, 0.06);
  --shadow-lg: 0 28px 80px rgba(8, 17, 31, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1240px;
  --header-height: 86px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07101d;
  --surface: #0d1928;
  --surface-soft: #111f30;
  --surface-glass: rgba(7, 16, 29, 0.84);
  --text: #eef4fb;
  --text-soft: #cbd7e3;
  --heading: #ffffff;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --primary: #3992ff;
  --primary-strong: #72b2ff;
  --primary-soft: rgba(57, 146, 255, 0.13);
  --secondary: #a8d33f;
  --secondary-soft: rgba(168, 211, 63, 0.12);
  --header: rgba(7, 16, 29, 0.84);
  --shadow-sm: 0 12px 34px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 32px 90px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 10% 4%, var(--primary-soft), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

body.rebrand-announcement-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--heading);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 {
  font-size: 1.25rem;
}

.site-container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-main {
  overflow: hidden;
}

.section {
  padding: clamp(80px, 8vw, 100px) 0;
}

.section-compact {
  padding: clamp(60px, 6vw, 80px) 0;
}

.section-soft {
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

/* Subtle continuation of the hero rings across the home page. */
.home-section-decor {
  position: relative;
  isolation: isolate;
}

.home-section-decor::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  width: clamp(320px, 36vw, 610px);
  border: 1px solid var(--line);
  border-radius: 50%;
  aspect-ratio: 1;
  background: radial-gradient(circle, transparent 56%, var(--primary-soft) 100%);
  box-shadow:
    0 0 0 clamp(44px, 5vw, 82px) var(--primary-soft),
    0 0 0 clamp(88px, 10vw, 164px) rgba(145, 189, 44, 0.026);
  content: "";
  opacity: 0.46;
  pointer-events: none;
  transform: translateY(-50%);
}

.home-section-decor-left::before {
  left: clamp(-420px, -24vw, -180px);
}

.home-section-decor-right::before {
  right: clamp(-420px, -24vw, -180px);
}

.home-section-decor > .site-container {
  position: relative;
  z-index: 1;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading p {
  max-width: 470px;
  margin-bottom: 6px;
  color: var(--text-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
  content: "";
  box-shadow: 0 0 0 5px var(--secondary-soft);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px rgba(11, 111, 244, 0.22);
}

.button-primary:hover {
  background: var(--primary-strong);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--heading);
}

.button-secondary:hover {
  border-color: var(--primary);
}

.button-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--heading);
  font-size: 0.92rem;
  font-weight: 750;
}

.text-link i {
  color: var(--primary);
  transition: transform 0.2s ease;
}

.text-link:hover i {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 15px;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.site-header-shell {
  display: flex;
  width: min(calc(100% - 32px), 1520px);
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-inline: auto;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: clamp(20px, 2vw, 32px);
  background: var(--surface-glass);
  box-shadow: 0 14px 40px rgba(8, 17, 31, 0.1);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  pointer-events: auto;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

[data-theme="dark"] .site-header-shell {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.site-header.is-scrolled .site-header-shell {
  border-color: color-mix(in srgb, var(--primary) 24%, var(--line-strong));
  box-shadow: 0 18px 55px rgba(8, 17, 31, 0.16);
  transform: translateY(-3px);
}

[data-theme="dark"] .site-header.is-scrolled .site-header-shell {
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.4);
}

.site-logo {
  position: relative;
  display: flex;
  width: 238px;
  height: 90px;
  flex: 0 0 auto;
  align-items: center;
  overflow: hidden;
}

.site-logo img {
  width: 100%;
  height: auto;
}

.site-logo-light,
.site-logo-dark {
  display: none;
}

[data-theme="dark"] .site-logo-light,
[data-theme="light"] .site-logo-dark {
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav-link {
  position: relative;
  padding: 31px 0;
  border: 0;
  background: none;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav-link::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav-link:hover,
.site-nav-link.is-active {
  color: var(--heading);
}

.site-nav-link:hover::after,
.site-nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav-dropdown {
  position: relative;
}

.site-nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
}

.site-nav-dropdown-trigger i {
  font-size: 0.68rem;
  transition: transform 0.2s ease;
}

.site-nav-dropdown:hover .site-nav-dropdown-trigger i,
.site-nav-dropdown:focus-within .site-nav-dropdown-trigger i {
  transform: rotate(180deg);
}

.site-nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  display: grid;
  width: 290px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-nav-dropdown:hover .site-nav-dropdown-menu,
.site-nav-dropdown:focus-within .site-nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: 11px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
}

.site-nav-dropdown-menu a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.site-nav-dropdown-menu span {
  color: var(--text-soft);
  font-size: 0.7rem;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: 5px;
  color: var(--heading);
  font-size: 0.84rem;
  font-weight: 750;
}

.header-phone i {
  color: var(--primary);
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--heading);
}

.theme-icon-light,
.theme-icon-dark {
  display: none;
}

[data-theme="dark"] .theme-icon-light,
[data-theme="light"] .theme-icon-dark {
  display: block;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.language-switch a {
  display: grid;
  min-width: 34px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.71rem;
  font-weight: 800;
}

.language-switch a.is-active {
  background: var(--primary);
  color: #fff;
}

.menu-toggle {
  display: none;
  align-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* Hero */
.home-hero {
  /* Preserve laptop proportions without stretching to fill tall desktop windows.
     This is a minimum only: taller content can still expand the hero. */
  --hero-min-height: min(100vh, 900px);
  position: relative;
  min-height: var(--hero-min-height);
  padding: calc(var(--header-height) + 70px) 0 72px;
}

.home-hero + .section {
  padding-top: clamp(58px, 6vw, 80px);
}

.home-hero::after {
  position: absolute;
  top: 17%;
  right: -12%;
  width: 42vw;
  height: 42vw;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 70px var(--primary-soft),
    0 0 0 140px rgba(145, 189, 44, 0.035);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(var(--hero-min-height) - var(--header-height) - 160px);
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.hero-copy h1 {
  max-width: 780px;
  margin-bottom: 28px;
}

.hero-copy h1 span {
  color: var(--primary);
}

@media (min-width: 601px) {
  .home-hero .hero-copy h1 {
    font-size: clamp(2rem, 4vw, 3.65rem);
  }
}

.hero-copy > p {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin-top: 40px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust i {
  color: var(--secondary);
}

.hero-visual {
  position: relative;
  min-height: 610px;
}

.hero-visual-video {
  display: flex;
  min-width: 0;
  min-height: 0;
  align-items: center;
}

.hero-video-frame {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(86, 191, 255, 0.22);
  border-radius: clamp(20px, 2vw, 32px);
  background: #020918;
  box-shadow: 0 36px 100px rgba(3, 22, 51, 0.3);
}

@media (min-width: 1081px) {
  .hero-visual-video .hero-video-frame {
    width: 100%;
    margin-left: 0;
    flex-shrink: 0;
  }
}

[data-theme="light"] .hero-video-frame {
  background: #f5f7fa;
}

[data-theme="dark"] .hero-video-frame {
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.46);
}

.hero-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-image-wrap {
  position: absolute;
  inset: 0 0 30px 40px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(3, 13, 28, 0.46));
  content: "";
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-glass);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.floating-card i {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  color: var(--heading);
  font-size: 0.83rem;
}

.floating-card small {
  color: var(--text-soft);
  font-size: 0.7rem;
}

.floating-card-one {
  top: 45px;
  left: 0;
}

.floating-card-two {
  right: -18px;
  bottom: 0;
}

.hero-index {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 58px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Cards and layouts */
.intent-grid,
.service-grid,
.process-grid,
.values-grid {
  display: grid;
  gap: 20px;
}

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

.intent-card {
  position: relative;
  min-height: 310px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.intent-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
}

.intent-card-number {
  display: block;
  margin-bottom: 70px;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.intent-card h3 {
  max-width: 300px;
  margin-bottom: 14px;
  font-size: 1.55rem;
}

.intent-card p {
  max-width: 320px;
  margin-bottom: 25px;
  color: var(--text-soft);
  font-size: 0.91rem;
}

.intent-card-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.15rem;
}

.intent-card:nth-child(2) .intent-card-icon {
  background: var(--secondary-soft);
  color: var(--secondary);
}

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

.service-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.service-card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 70px;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.service-card p {
  margin-bottom: 28px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.service-card .text-link {
  margin-top: auto;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.split-visual {
  position: relative;
}

.split-visual img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.split-stat {
  position: absolute;
  right: -24px;
  bottom: 35px;
  width: min(285px, 76%);
  padding: 27px 29px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--surface-glass);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.split-stat strong {
  display: block;
  margin-bottom: 9px;
  color: var(--primary);
  font-size: clamp(2.55rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.split-stat span {
  color: var(--heading);
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.35;
}

.split-copy > p {
  margin-bottom: 30px;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 35px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--text);
  font-weight: 600;
}

.feature-list i {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 0.7rem;
}

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

.process-step {
  padding: 30px 0;
  border-top: 1px solid var(--line-strong);
}

.process-step span {
  display: block;
  margin-bottom: 55px;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.process-step p {
  max-width: 330px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Blog */
.blog-hero {
  padding: calc(var(--header-height) + 55px) 0 55px;
}

.blog-hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.65rem);
}

.blog-hero h1 span { color: var(--primary); }

.blog-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.blog-list-section {
  padding-top: clamp(55px, 6vw, 80px);
}

.home-blog-section {
  padding-block: clamp(65px, 7vw, 95px);
}

.home-blog-section .section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.85rem);
}

.home-blog-section .blog-card-body {
  padding: 22px;
}

.home-blog-section .blog-card h2 {
  font-size: 1.16rem;
}

.home-blog-section .blog-card-meta {
  font-size: 0.7rem;
}

.home-blog-section .blog-card-excerpt {
  font-size: 0.84rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.blog-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-soft);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.035); }
.blog-card-body { padding: 25px; }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 0.75rem;
  font-weight: 700;
}

.blog-card-meta span {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
}

.blog-card h2 { margin-bottom: 13px; font-size: 1.35rem; }
.blog-card-excerpt { margin-bottom: 24px; color: var(--text-soft); font-size: 0.9rem; }
.blog-card-excerpt > :first-child { margin-top: 0; }
.blog-card-excerpt > :last-child { margin-bottom: 0; }
.blog-empty { padding: 45px; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); color: var(--text-soft); text-align: center; }

/* Products */
.products-hero {
  padding: calc(var(--header-height) + 55px) 0 55px;
}

.products-hero .site-container,
.products-list-section .site-container {
  width: min(calc(100% - 40px), 1340px);
}

.products-hero h1 {
  max-width: 1200px;
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.65rem);
}

.products-hero h1 span { color: var(--primary); }

.products-hero p {
  max-width: 840px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.product-category-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  overflow-x: auto;
  padding: 3px 2px 9px;
  scrollbar-width: thin;
}

.product-category-tabs a {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.product-category-tabs a:hover,
.product-category-tabs a:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.product-category-tabs a.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--text-on-primary, #fff);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--primary) 22%, transparent);
}

.product-category-tabs a:focus-visible { outline: 3px solid var(--focus-ring, var(--primary)); outline-offset: 3px; }

.products-list-section { padding-top: clamp(28px, 4vw, 50px); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(26px, 2.2vw, 38px);
}

.product-card {
  display: flex;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
  border-color: color-mix(in srgb, var(--primary) 32%, var(--line));
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-card.is-targeted {
  border-color: var(--primary);
  box-shadow: 0 0 0 5px var(--primary-soft), var(--shadow-lg);
}

.product-card-image {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  border: 0;
  aspect-ratio: 4 / 5;
  background: var(--surface-soft);
  color: #fff;
}

.product-card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(2, 8, 18, 0.82));
  content: "";
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card-image > span {
  position: absolute;
  z-index: 1;
  right: auto;
  bottom: 20px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(2, 8, 18, 0.74);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  font-size: 0.84rem;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, 8px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card-image:hover::after,
.product-card-image:focus-visible::after,
.product-card-image:hover > span,
.product-card-image:focus-visible > span { opacity: 1; }
.product-card-image:hover > span,
.product-card-image:focus-visible > span { transform: translate(-50%, 0); }
.product-card-image:hover img,
.product-card-image:focus-visible img { transform: scale(1.025); }

.product-card-body {
  display: flex;
  min-height: 315px;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.product-sku {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.product-card h2 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 10px;
  font-size: 1.32rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-variant {
  display: -webkit-box;
  min-height: 2.8em;
  overflow: hidden;
  margin-bottom: 14px;
  color: var(--heading);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-description {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 24px;
  color: var(--text-soft);
  font-size: 0.88rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.product-card-actions {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.product-card-actions .button { padding-inline: 16px; font-size: 0.84rem; }

.product-permalink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.product-permalink:hover { color: var(--primary); }

.products-load-more {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 52px);
}

.products-empty {
  padding: 45px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  text-align: center;
}

.product-lightbox {
  position: fixed;
  z-index: 2200;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.product-lightbox.is-open { opacity: 1; pointer-events: auto; }

.product-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 18, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.product-lightbox-content {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: min(90vw, 720px);
  max-height: 90vh;
  margin: 0;
  place-items: center;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s ease;
}

.product-lightbox.is-open .product-lightbox-content { transform: none; }

.product-lightbox-content img {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
}

.product-lightbox-content figcaption {
  margin-top: 12px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.product-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(2, 8, 18, 0.72);
  color: #fff;
}

.contact-product-context {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 22px;
  padding: 13px 15px;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--line));
  border-radius: 11px;
  background: var(--primary-soft);
}

.contact-product-context i { margin-top: 4px; color: var(--primary); }
.contact-product-context span,
.contact-product-context strong { display: block; }
.contact-product-context span { color: var(--text-soft); font-size: 0.76rem; }
.contact-product-context strong { color: var(--heading); font-size: 0.88rem; }

.article-page { padding: calc(var(--header-height) + 90px) 0 110px; }
.article-header { max-width: 920px; text-align: center; }
.article-header .blog-card-meta { justify-content: center; }
.article-header h1 { margin-bottom: 25px; font-size: clamp(2rem, 4vw, 3.65rem); }
.article-excerpt { max-width: 740px; margin: 0 auto 55px; color: var(--text-soft); font-size: 1.15rem; }
.article-excerpt > :first-child { margin-top: 0; }
.article-excerpt > :last-child { margin-bottom: 0; }
.article-image { max-width: 1120px; }
.article-image img { width: 100%; max-height: 650px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.article-layout { display: grid; max-width: 920px; grid-template-columns: minmax(0, 1fr) 190px; gap: 70px; padding-top: 65px; }
.article-content { color: var(--text); font-size: 1.05rem; line-height: 1.9; white-space: normal; }
.article-content h2,
.article-content h3 { margin-top: 1.5em; }
.article-content a { color: var(--primary); text-decoration: underline; }
.article-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--primary); color: var(--text-soft); }
.article-content li { margin-bottom: 0.35em; }
.article-layout aside { padding-top: 7px; }

/* Inner pages */
.page-hero {
  padding: calc(var(--header-height) + 90px) 0 80px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  align-items: center;
  gap: clamp(45px, 7vw, 90px);
}

.page-hero-copy h1 {
  max-width: 800px;
  margin-bottom: 26px;
  font-size: clamp(2rem, 4vw, 3.65rem);
}

.page-hero-copy > p {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--text-soft);
  font-size: 1.08rem;
}

/* Keep section titles subordinate to the page title on inner pages. */
body:not(.home-page):not(.contact-page) .site-main :is(.section-heading, .content-band, .split-copy, .article-content) h2 {
  font-size: clamp(1.85rem, 3.65vw, 3.35rem);
}

.page-hero-visual {
  position: relative;
}

.page-hero-visual img {
  width: 100%;
  aspect-ratio: 1 / 1.06;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.page-hero-badge {
  position: absolute;
  bottom: 24px;
  left: -25px;
  max-width: 230px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-glass);
  color: var(--heading);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.detail-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.detail-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
}

.detail-card-head i {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}

.detail-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.detail-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  color: var(--text-soft);
  list-style: none;
}

.detail-card li {
  position: relative;
  padding-left: 20px;
}

.detail-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  content: "";
}

.content-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(45px, 8vw, 100px);
}

.content-band-copy p {
  color: var(--text-soft);
}

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

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

.value-card {
  padding: 30px;
  border-top: 2px solid var(--primary);
  background: var(--surface);
}

.value-card span {
  display: block;
  margin-bottom: 45px;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.value-card p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 90px);
}

.contact-review { margin-top: 28px; }
.contact-review .button { padding-top: 7px; padding-bottom: 7px; flex-direction: column; align-items: center; gap: 2px; }
.contact-review-label { display: inline-flex; align-items: baseline; justify-content: center; gap: 8px; line-height: 1.2; }
.contact-review-stars { color: #f4b400; font-size: 12px; line-height: 1; letter-spacing: 2px; }
.footer-review { display: flex; justify-content: flex-start; margin: 16px 0 0; }
.footer-column a.google-review-card { display: inline-flex; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid #8a9bb2; background: #fff; color: #172033; line-height: 1.4; }
.footer-column a.google-review-card:hover { color: #172033; }
.footer-column .google-review-icon { font-size: 25px; }
.footer-column .google-review-copy { gap: 2px; }
.footer-column .google-review-copy strong { font-size: 12px; }
.footer-column .google-review-stars { font-size: 14px; letter-spacing: 2px; }
.google-review-card { display: inline-flex; align-items: center; gap: 18px; padding: 20px 24px; max-width: 100%; border-radius: 18px; background: #fff; color: #172033; border: 1px solid #dce3ed; text-decoration: none; box-shadow: 0 6px 24px #00000012; transition: transform .2s, box-shadow .2s; }
.google-review-card:hover { color: #172033; transform: translateY(-3px); box-shadow: 0 10px 28px #00000024; }
.google-review-card:focus-visible { outline: 3px solid #4285f4; outline-offset: 4px; }
.google-review-icon { color: #4285f4; font-size: 38px; flex-shrink: 0; }
.google-review-copy { display: grid; gap: 4px; }
.google-review-copy strong { font-size: 16px; }
.google-review-copy > span:last-child { font-size: 13px; color: #536176; }
.google-review-stars { color: #f4b400; letter-spacing: 3px; font-size: 19px; }
@media (max-width: 480px) { .google-review-card { gap: 12px; padding: 16px; } .google-review-copy strong { font-size: 14px; } .google-review-icon { font-size: 30px; } }
.contact-details {
  display: grid;
  gap: 15px;
  margin-top: 35px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-detail i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}

.contact-detail strong,
.contact-detail span,
.contact-detail a {
  display: block;
}

.contact-detail strong {
  margin-bottom: 3px;
  color: var(--heading);
  font-size: 0.84rem;
}

.contact-detail span,
.contact-detail a {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.contact-form-card {
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-page .contact-form-card {
  padding-bottom: clamp(20px, calc(5vw - 8px), 42px);
}

.contact-page .contact-message-field {
  margin-top: 8px;
}

.contact-page .contact-message-field textarea {
  height: 261px;
}

.contact-page .contact-grid h1 {
  font-size: clamp(2.45rem, 4.1vw, 3.6rem);
}

@media (min-width: 821px) {
  .contact-page .contact-grid {
    align-items: stretch;
  }

  .contact-page .contact-grid > .reveal:first-child {
    display: flex;
    flex-direction: column;
  }

  .contact-page .contact-details {
    margin-top: auto;
    padding-top: 35px;
  }

  .contact-page .contact-form-card {
    padding: clamp(28px, 3vw, 36px);
    padding-block: clamp(22px, calc(3vw - 6px), 30px);
    padding-bottom: clamp(14px, calc(3vw - 14px), 22px);
  }

  .contact-page .contact-form-card h2 {
    margin-bottom: 10px;
    font-size: clamp(1.9rem, 2.7vw, 2.45rem);
  }

  .contact-page .contact-form-card > p {
    margin-bottom: 13px;
  }

  .contact-page .contact-form-card .form-grid {
    gap: 11px 18px;
  }

  .contact-page .contact-form-card textarea {
    min-height: 150px;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field > span {
  color: var(--heading);
  font-size: 0.8rem;
  font-weight: 750;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  outline: none;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input {
  height: 52px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 150px;
  padding: 14px 15px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.form-alert {
  margin-bottom: 22px;
  padding: 13px 15px;
  border-radius: 11px;
  font-size: 0.86rem;
  font-weight: 650;
}

.form-alert.success {
  border: 1px solid rgba(39, 174, 96, 0.3);
  background: rgba(39, 174, 96, 0.1);
}

.form-alert.error {
  border: 1px solid rgba(231, 76, 60, 0.3);
  background: rgba(231, 76, 60, 0.1);
}

.is-hidden {
  display: none !important;
}

.map-frame {
  height: 440px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-page .page-hero + .section-compact {
  padding-top: clamp(35px, calc(6vw - 25px), 55px);
}

/* Login */
.rebrand-announcement {
  position: fixed;
  z-index: 2100;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.rebrand-announcement[hidden] {
  display: none;
}

.rebrand-announcement.is-open {
  opacity: 1;
  pointer-events: auto;
}

.rebrand-announcement-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 18, 0.68);
  backdrop-filter: blur(9px);
}

.rebrand-announcement-card {
  position: relative;
  z-index: 1;
  width: min(100%, 590px);
  overflow: hidden;
  padding: clamp(38px, 6vw, 58px);
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--line));
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 8%, rgba(30, 167, 255, 0.17), transparent 34%),
    var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s ease;
}

.rebrand-announcement.is-open .rebrand-announcement-card {
  transform: translateY(0) scale(1);
}

.rebrand-announcement-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--heading);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rebrand-announcement-close:hover,
.rebrand-announcement-close:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(6deg);
}

.rebrand-announcement-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 13px;
  border: 1px solid rgba(30, 167, 255, 0.28);
  border-radius: 999px;
  background: rgba(30, 167, 255, 0.09);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rebrand-announcement-copy h2 {
  margin: 0;
  font-size: clamp(1.85rem, 5vw, 2.7rem);
  line-height: 1.12;
}

.rebrand-announcement-copy p {
  margin: 13px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 650;
}

.rebrand-announcement-timer {
  margin-top: 38px;
}

.rebrand-announcement-timer p {
  margin: 0 0 11px;
  color: var(--text-soft);
  font-size: 0.79rem;
}

.rebrand-announcement-timer strong {
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}

.rebrand-announcement-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 13%, var(--line));
}

.rebrand-announcement-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(1);
  transform-origin: left center;
}

.rebrand-announcement.is-paused .rebrand-announcement-progress span {
  opacity: 0.65;
}

.login-modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.login-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.login-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 18, 0.68);
  backdrop-filter: blur(10px);
}

.login-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 450px);
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateY(15px);
  transition: transform 0.2s ease;
}

.login-modal.is-open .login-modal-card {
  transform: translateY(0);
}

.login-modal-card h2 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.login-modal-card > p {
  margin-bottom: 28px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.login-modal-card form {
  display: grid;
  gap: 18px;
}

.login-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--heading);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-soft);
  font-size: 0.81rem;
}

.form-check input {
  accent-color: var(--primary);
}

/* Partners ribbon */
.partner-ribbon {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4.5vw, 54px) 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(105deg, var(--primary-soft), transparent 34%),
    var(--surface-soft);
}

.partner-ribbon::after {
  position: absolute;
  top: 50%;
  right: -80px;
  width: 230px;
  border: 1px solid var(--line);
  border-radius: 50%;
  aspect-ratio: 1;
  content: "";
  opacity: 0.55;
  pointer-events: none;
  transform: translateY(-50%);
}

.partner-ribbon-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
}

.partner-ribbon-heading .eyebrow {
  margin-bottom: 8px;
}

.partner-ribbon-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.partner-logo-marquee {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.partner-logo-track {
  display: flex;
  width: max-content;
  animation: partner-logo-scroll 22s linear infinite;
  will-change: transform;
}

.partner-logo-marquee:hover .partner-logo-track {
  animation-play-state: paused;
}

.partner-logo-list {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.partner-logo-item {
  display: grid;
  width: clamp(145px, 13vw, 185px);
  min-height: 78px;
  flex: 0 0 auto;
  place-items: center;
  padding: 15px clamp(12px, 1.7vw, 23px);
  border-left: 1px solid var(--line);
}

@keyframes partner-logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.partner-logo-item img {
  width: 100%;
  height: 48px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.partner-logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

[data-theme="dark"] .partner-logo-item img {
  filter: grayscale(1) brightness(1.6);
  opacity: 0.72;
}

[data-theme="dark"] .partner-logo-item:hover img {
  filter: grayscale(0) brightness(1.35);
  opacity: 1;
}

/* Footer */
.site-footer {
  padding-top: clamp(75px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: clamp(65px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
}

.footer-cta h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.footer-cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.75fr);
  gap: 32px;
  padding: 42px 0 34px;
}

.footer-logo {
  margin-bottom: 10px;
}

.footer-brand p {
  max-width: 350px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.footer-column h3 {
  margin-bottom: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-column a,
.footer-login {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-soft);
  font-size: 0.83rem;
  text-align: left;
}

.footer-column a:hover,
.footer-login:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 9px;
  margin-top: 10px;
}

.footer-social a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.footer-remote-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(24px, 3vw, 34px);
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.footer-remote-support .eyebrow {
  margin-bottom: 12px;
}

.footer-remote-support h2 {
  font-size: clamp(1.2rem, 1.5vw, 1.35rem);
  margin-bottom: 4px;
}

.footer-remote-support-instruction {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
}

.footer-remote-support-copy > p {
  margin: 0;
  color: var(--text-soft);
}

.footer-remote-support-copy .footer-remote-support-source {
  margin-top: 20px;
  font-size: 0.72rem;
}

.footer-remote-support-source a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-remote-support-source a:focus-visible,
.footer-remote-support-image:focus-visible {
  outline: 3px solid var(--accent, #65b8ff);
  outline-offset: 4px;
}

.footer-remote-support-options {
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
}

.footer-remote-support-image {
  display: grid;
  width: 144px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.footer-remote-support-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-remote-support-rustdesk-light,
.footer-remote-support-rustdesk-dark {
  display: none;
}

[data-theme="light"] .footer-remote-support-rustdesk-light,
[data-theme="dark"] .footer-remote-support-rustdesk-dark {
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.footer-bottom .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

.footer-bottom .footer-legal span:first-child {
  color: var(--text);
  font-weight: 700;
}

.footer-bottom .footer-legal span:last-child {
  color: var(--text-soft);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .partner-logo-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .partner-logo-track {
    animation: none;
    transform: none;
  }

  .partner-logo-list[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-menu {
    position: absolute;
    z-index: 999;
    top: calc(100% + 10px);
    right: 16px;
    display: block;
    width: min(calc(100% - 32px), 430px);
    height: calc(100vh - var(--header-height) - 48px);
    height: calc(100dvh - var(--header-height) - 48px);
    padding: 24px;
    border: 1px solid var(--line-strong);
    border-radius: 26px;
    background: var(--surface-glass);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mobile-menu nav {
    display: flex;
    height: 100%;
    align-items: stretch;
    flex-direction: column;
    overflow-y: auto;
  }

  .mobile-menu a,
  .mobile-menu p,
  .mobile-login-link {
    margin: 0;
    padding: 15px 4px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    color: var(--heading);
    font-weight: 700;
    text-align: left;
  }

  .mobile-menu p {
    padding-top: 25px;
    color: var(--text-soft);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-menu .mobile-sub-link {
    padding-left: 18px;
    color: var(--text-soft);
    font-size: 0.9rem;
  }

  .mobile-menu .mobile-contact-link {
    margin-top: auto;
    border: 0;
    color: var(--primary);
  }

  .mobile-menu .mobile-language-switch {
    align-items: center;
    padding: 4px;
    border: 1px solid var(--line);
  }

  .mobile-menu .mobile-language-switch a {
    min-width: 34px;
    padding: 0;
    border: 0;
    color: var(--text-soft);
    text-align: center;
  }

  .mobile-menu .mobile-language-switch a.is-active {
    color: #fff;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .hero-visual {
    min-height: 520px;
  }

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

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

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

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

  .footer-column:last-child {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .partner-ribbon-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .partner-logo-item:first-child {
    border-left: 0;
  }

  .home-hero {
    --hero-min-height: 0px;
    padding-top: calc(var(--header-height) + 55px);
  }

  .home-hero .hero-grid {
    min-height: 0;
  }

  .hero-grid,
  .page-hero-grid,
  .split-layout,
  .contact-grid,
  .content-band {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 540px;
  }

  .hero-visual-video {
    min-height: 0;
  }

  .hero-image-wrap {
    left: 30px;
  }

  .intent-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .intent-card {
    min-height: auto;
  }

  .intent-card-number {
    margin-bottom: 55px;
  }

  .section-heading,
  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .process-step span {
    margin-bottom: 28px;
  }

  .page-hero-visual {
    max-width: 620px;
  }

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

  .article-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 74px;
  }

  .site-container,
  .site-header-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .partner-ribbon {
    padding: 32px 0 25px;
  }

  .partner-logo-marquee {
    margin-right: -14px;
  }

  .partner-logo-item {
    width: 140px;
    min-height: 68px;
    padding-block: 10px;
  }

  .site-header {
    top: 10px;
  }

  .site-header-shell {
    min-height: var(--header-height);
    padding: 0 10px 0 14px;
  }

  .site-logo {
    width: 184px;
    height: 70px;
  }

  .language-switch {
    display: none;
  }

  .mobile-language-switch {
    display: flex;
    width: max-content;
    margin: 22px 0 8px;
  }

  .home-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 38px);
    padding-bottom: 34px;
  }

  .home-hero + .section {
    padding-top: 56px;
  }

  .home-section-decor::before {
    width: 300px;
    box-shadow:
      0 0 0 38px var(--primary-soft),
      0 0 0 76px rgba(145, 189, 44, 0.022);
    opacity: 0.34;
  }

  .home-section-decor-left::before {
    left: -235px;
  }

  .home-section-decor-right::before {
    right: -235px;
  }

  .blog-hero {
    padding: calc(var(--header-height) + 45px) 0 50px;
  }

  .products-hero {
    padding: calc(var(--header-height) + 45px) 0 50px;
  }

  .blog-hero h1,
  .products-hero h1,
  .article-header h1 {
    overflow-wrap: anywhere;
    font-size: clamp(2rem, 4vw, 3.65rem);
  }

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

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

  .product-card-body { min-height: 0; }

  .product-lightbox { padding: 14px; }

  .article-page {
    padding-top: calc(var(--header-height) + 55px);
  }

  .article-header {
    text-align: left;
  }

  .article-header .blog-card-meta {
    justify-content: flex-start;
  }

  .article-excerpt {
    margin-bottom: 35px;
  }

  .article-image img {
    border-radius: var(--radius-md);
  }

  .article-layout {
    padding-top: 40px;
  }

  .home-hero::after {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    gap: 55px;
  }

  .hero-copy {
    min-width: 0;
  }

  .hero-copy h1 {
    overflow-wrap: anywhere;
    font-size: clamp(2rem, 4vw, 3.65rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button {
    min-height: 56px;
    padding: 10px 18px;
    line-height: 1.35;
    text-align: center;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-visual-video {
    min-height: 0;
  }

  .hero-image-wrap {
    inset: 28px 0 36px;
  }

  .floating-card-one {
    top: 0;
    left: 8px;
  }

  .floating-card-two {
    right: 8px;
    bottom: 0;
  }

  .floating-card {
    max-width: calc(100% - 16px);
    padding: 11px 13px;
  }

  .floating-card > div {
    min-width: 0;
  }

  .service-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 300px;
  }

  .service-card-icon {
    margin-bottom: 50px;
  }

  .split-stat {
    right: -5px;
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 60px);
  }

  .page-hero-badge {
    bottom: 15px;
    left: -5px;
  }

  .form-field-full {
    grid-column: auto;
  }

  .footer-cta-actions,
  .footer-cta-actions .button {
    width: 100%;
  }

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

  .footer-remote-support {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-remote-support-options {
    width: 100%;
  }

  .footer-remote-support-image {
    width: auto;
    max-width: 144px;
    flex: 1 1 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .login-modal-card {
    padding: 32px 22px 24px;
  }

  .rebrand-announcement {
    padding: 14px;
  }

  .rebrand-announcement-card {
    padding: 42px 22px 28px;
    border-radius: 24px;
  }

  .rebrand-announcement-timer {
    margin-top: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rebrand-announcement,
  .rebrand-announcement-card,
  .rebrand-announcement-close {
    transition: none;
  }
}

/* Keep the home page content-led so tall and high-resolution screens do not
   turn minimum heights and stacked section padding into empty bands. */
.home-page .home-hero {
  min-height: 0;
  padding-top: calc(var(--header-height) + clamp(30px, 3vw, 44px));
  padding-bottom: clamp(28px, 3vw, 44px);
}

.home-page .home-hero .hero-grid {
  min-height: 0;
}

.home-page .site-main > .section {
  padding-block: clamp(44px, 4vw, 66px);
}

.home-page .home-hero + .section {
  padding-top: clamp(38px, 4vw, 58px);
}

.home-page .section-heading {
  margin-bottom: clamp(26px, 2.8vw, 38px);
}

.home-page .site-footer {
  padding-top: clamp(48px, 5vw, 74px);
}

.home-page .footer-cta {
  padding-bottom: clamp(42px, 4vw, 66px);
}

/* Technology ribbon: category selection, original brand colours in both themes. */
.technology-ribbon .partner-ribbon-inner { grid-template-columns: minmax(230px, .8fr) minmax(0, 1.8fr); gap: clamp(28px, 4vw, 64px); }
.technology-ribbon-heading, .technology-ribbon-content { min-width: 0; }
.technology-ribbon-intro { margin: 16px 0 0; color: var(--text-soft); font-size: .95rem; line-height: 1.7; max-width: 38ch; }
.technology-ribbon-controls { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.technology-tabs { display: flex; flex: 1; flex-wrap: wrap; gap: 8px; }
.technology-tabs button, .technology-motion-toggle { font: inherit; cursor: pointer; }
.technology-tabs button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: .81rem; line-height: 1.4; transition: background .2s, border-color .2s, color .2s; }
.technology-tabs button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.technology-tabs button:hover { border-color: var(--primary); }
.technology-tabs button:focus-visible, .technology-motion-toggle:focus-visible, .technology-panel:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.technology-motion-toggle { flex: 0 0 auto; border: 0; padding: 9px 0; background: transparent; color: var(--text-soft); font-size: .75rem; text-decoration: underline; text-underline-offset: 4px; }
.technology-panel[hidden] { display: none !important; }
.technology-ribbon .partner-logo-track { animation-duration: 38s; }
.technology-ribbon .partner-logo-item { width: 190px; min-height: 104px; padding: 18px 24px; margin: 0 6px; border: 1px solid #e5e9ee; border-radius: 16px; background: #fff; }
.technology-ribbon .partner-logo-item img, [data-theme="dark"] .technology-ribbon .partner-logo-item img, [data-theme="dark"] .technology-ribbon .partner-logo-item:hover img { filter: none; opacity: 1; height: 52px; max-width: 100%; }
.technology-ribbon .technology-brand-epsilonnet img { height: 68px; }
.technology-ribbon .partner-logo-marquee:focus-within .partner-logo-track, .technology-ribbon.is-paused .partner-logo-track { animation-play-state: paused; }
@media (max-width: 1080px) { .technology-ribbon .partner-ribbon-inner { grid-template-columns: 1fr; gap: 26px; } .technology-ribbon-intro { max-width: 65ch; } .technology-ribbon-heading h2 { max-width: 28ch; } }
@media (max-width: 600px) { .technology-ribbon-controls { flex-direction: column; gap: 8px; margin-bottom: 18px; } .technology-tabs { gap: 7px; } .technology-tabs button { font-size: .76rem; padding: 8px 11px; } .technology-ribbon .partner-logo-item { width: 166px; min-height: 96px; } .technology-ribbon .partner-logo-marquee { margin-right: 0; } }
@media (prefers-reduced-motion: reduce) { .technology-motion-toggle { display: none; } .technology-ribbon .partner-logo-track { animation: none; } .technology-ribbon .partner-logo-item[aria-hidden="true"] { display: none; } }


/* Align home sections below the hero with its existing content width.
   The hero, header, typography and card layout rules remain unchanged. */
.home-page .site-main > .section > .site-container,
.home-page > .partner-ribbon > .site-container,
.home-page .site-footer > .site-container {
  width: min(calc(100% - 40px), 1440px);
}
@media (min-width: 821px) and (max-width: 1100px) {
  .home-page .site-main > .section > .site-container,
  .home-page > .partner-ribbon > .site-container,
  .home-page .site-footer > .site-container {
    width: min(calc(100% - 34px), 1180px);
  }
}
