:root,
html[data-theme="dark"] {
  --bg: #070707;
  --bg-2: #0d0d0d;
  --bg-3: #141414;
  --yellow: #ffcc00;
  --yellow-2: #ffe566;
  --yellow-3: #c9a227;
  --yellow-dim: rgba(255, 204, 0, 0.14);
  --yellow-glow: rgba(255, 204, 0, 0.45);
  --glass: rgba(255, 255, 255, 0.07);
  --glass-2: rgba(255, 255, 255, 0.14);
  --stroke: rgba(255, 255, 255, 0.28);
  --stroke-2: rgba(255, 255, 255, 0.12);
  --text: #f6f4ea;
  --muted: #b7b39f;
  --muted-2: #8a8674;
  --danger: #ff5c5c;
  --ok: #3ddc84;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  --header-bg: transparent;
  --chip-bg: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(255, 255, 255, 0.08);
  --menu-bg: rgba(20, 20, 20, 0.55);
  --avatar-bg: #111;
  --visual-a: #1a1608;
  --visual-b: #0b0b0b;
  --wash-1: rgba(255, 204, 0, 0.2);
  --wash-2: rgba(255, 204, 0, 0.1);
  --wash-3: rgba(201, 162, 39, 0.12);
  --grid-line: rgba(255, 204, 0, 0.055);
  --invert-logo: 0;
  --map-filter: grayscale(1) contrast(1.1);
  --radius: 28px;
  --nav-h: 68px;
  --glass-blur: blur(22px) saturate(180%);
  --spec: rgba(255, 255, 255, 0.42);
  --max: 1180px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Barlow Condensed", "Outfit", sans-serif;
}

html[data-theme="light"] {
  --bg: #f6f1dc;
  --bg-2: #fffaf0;
  --bg-3: #efe6c8;
  --yellow: #c49200;
  --yellow-2: #e8b400;
  --yellow-3: #8a6a00;
  --yellow-dim: rgba(196, 146, 0, 0.16);
  --yellow-glow: rgba(196, 146, 0, 0.28);
  --glass: rgba(255, 255, 255, 0.38);
  --glass-2: rgba(255, 255, 255, 0.58);
  --stroke: rgba(255, 255, 255, 0.62);
  --stroke-2: rgba(40, 30, 0, 0.1);
  --text: #16130a;
  --muted: #5b5340;
  --muted-2: #7a715c;
  --shadow: 0 18px 40px rgba(90, 70, 10, 0.12);
  --header-bg: transparent;
  --chip-bg: rgba(255, 255, 255, 0.45);
  --input-bg: rgba(255, 255, 255, 0.55);
  --menu-bg: rgba(255, 252, 244, 0.55);
  --spec: rgba(255, 255, 255, 0.7);
  --avatar-bg: #fff8e6;
  --visual-a: #fff4cc;
  --visual-b: #f3e7b8;
  --wash-1: rgba(232, 180, 0, 0.28);
  --wash-2: rgba(255, 210, 60, 0.18);
  --wash-3: rgba(201, 162, 39, 0.16);
  --grid-line: rgba(160, 118, 0, 0.08);
  --map-filter: grayscale(0.25) contrast(1.04) saturate(1.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100%;
  transition: background-color 0.45s ease, color 0.45s ease;
}

body {
  overflow-x: hidden;
}

html[lang="si"] body,
html[lang="si"] button,
html[lang="si"] input,
html[lang="si"] select,
html[lang="si"] textarea {
  font-family: "Noto Sans Sinhala", var(--font);
}

html[lang="ta"] body,
html[lang="ta"] button,
html[lang="ta"] input,
html[lang="ta"] select,
html[lang="ta"] textarea {
  font-family: "Noto Sans Tamil", var(--font);
}

html[lang="si"] h1,
html[lang="si"] h2,
html[lang="si"] h3,
html[lang="si"] .display,
html[lang="si"] .brand strong,
html[lang="si"] .marquee,
html[lang="ta"] h1,
html[lang="ta"] h2,
html[lang="ta"] h3,
html[lang="ta"] .display,
html[lang="ta"] .brand strong,
html[lang="ta"] .marquee {
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.28;
}

html[lang="si"] h1,
html[lang="si"] h2,
html[lang="si"] .display {
  font-family: "Noto Sans Sinhala", var(--display);
}

html[lang="ta"] h1,
html[lang="ta"] h2,
html[lang="ta"] .display {
  font-family: "Noto Sans Tamil", var(--display);
}

html[lang="si"] h1,
html[lang="ta"] h1 {
  font-size: clamp(1.85rem, 5vw, 4.2rem);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--yellow);
  color: #111;
  padding: 8px 12px;
  z-index: 10000;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 12% -10%, var(--wash-1), transparent 55%),
    radial-gradient(700px 420px at 110% 8%, var(--wash-2), transparent 50%),
    radial-gradient(800px 500px at 80% 110%, var(--wash-3), transparent 55%),
    var(--bg);
}

.bg-stage::before {
  display: none;
}

.bg-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

.orb,
.spotlight,
.grain,
.sparks,
.rays {
  display: none !important;
}

.orb.two {
  width: 280px;
  height: 280px;
  right: 8%;
  top: 40%;
  animation-delay: -7s;
  background: var(--wash-2);
}

.orb.three {
  width: 220px;
  height: 220px;
  left: 40%;
  bottom: 8%;
  animation-delay: -12s;
  background: var(--wash-3);
}

.spotlight {
  position: fixed;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle, var(--yellow-glow), transparent 62%);
  transform: translate(-50%, -50%);
  opacity: 0.55;
  mix-blend-mode: screen;
}

html[data-theme="light"] .spotlight {
  mix-blend-mode: multiply;
  opacity: 0.28;
}

@keyframes drift {
  0%,
  100% { transform: translate(8%, 12%); }
  50% { transform: translate(18%, 28%); }
}

.wrap {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
}

.glass,
.header .nav,
.chip,
.btn-ghost,
.theme-toggle,
.lang-picker,
.lang-toggle,
.lang button,
.copy {
  --gx: 50%;
  --gy: 8%;
}

.glass {
  position: relative;
  isolation: isolate;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at var(--gx) var(--gy), var(--spec), transparent 42%),
    linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    var(--shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.product.glass,
.project.glass,
.faq.glass,
.hero-card.glass {
  padding: 0;
}

.video-frame.glass {
  padding: 56.25% 0 0;
}

.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.28) 40%, transparent 58%);
  transform: translateX(-130%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
}

.glass:hover::after {
  animation: shine 1.15s ease;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
}

h1,
h2,
.display {
  font-family: var(--display);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

.section {
  padding: 92px 0;
}

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 42px;
}

.section-head.center {
  text-align: center;
  justify-items: center;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 8px 0 12px;
  font-size: 0.86rem;
  color: var(--muted);
  border-bottom: 0;
  transition: opacity 0.35s ease, height 0.35s ease, padding 0.35s ease;
}

.topbar a:hover {
  color: var(--yellow);
}

.top-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.lang-picker {
  position: relative;
  z-index: 40;
}

.lang-toggle {
  height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background:
    radial-gradient(120% 90% at var(--gx) var(--gy), var(--spec), transparent 50%),
    var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.lang-toggle[aria-expanded="true"] {
  border-color: var(--yellow);
}

.lang-name {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.flag,
.flag-img {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  display: block;
}

.lang-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, 78vw);
  max-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: var(--menu-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 18px 40px rgba(0, 0, 0, 0.28);
}

.lang-panel[hidden] {
  display: none !important;
}

.lang-search {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 12px;
}

.lang-label {
  margin: 4px 2px 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}

.lang-featured,
.lang-list {
  display: grid;
  gap: 4px;
}

.lang-list {
  overflow: auto;
  max-height: 220px;
  padding-right: 4px;
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
}

.lang-option:hover,
.lang-option.active {
  background: var(--yellow-dim);
  border-color: var(--stroke);
}

.lang-option.active {
  border-color: var(--yellow);
}

.lang-option-text {
  display: grid;
  min-width: 0;
}

.lang-option-text b {
  font-size: 0.9rem;
  font-weight: 700;
}

.lang-option-text small {
  color: var(--muted);
  font-size: 0.72rem;
}

.lang-empty {
  padding: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

#google_translate_element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-tooltip,
.skiptranslate iframe {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

.header {
  position: sticky;
  top: 10px;
  z-index: 50;
  background: transparent;
  border: 0;
  padding-bottom: 8px;
  transition: top 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  transition: gap 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.header.scrolled .header-bar {
  gap: 12px;
}

.header .nav {
  position: relative;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px 8px 16px;
  border-radius: 28px;
  flex: 1 1 auto;
  min-width: 0;
  background:
    radial-gradient(120% 90% at var(--gx) var(--gy), var(--spec), transparent 42%),
    linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--stroke);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16),
    0 12px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: min-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), padding 0.45s ease, box-shadow 0.4s ease, gap 0.45s ease;
}

.header.scrolled {
  top: 8px;
}

.header.scrolled .topbar {
  height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: 0;
  pointer-events: none;
}

.header.scrolled .nav {
  min-height: 54px;
  padding: 7px 10px 7px 10px;
  gap: 8px;
  flex: 1 1 auto;
  width: auto;
  max-width: 100%;
  margin-left: 0;
  justify-content: flex-start;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 16px 44px rgba(0, 0, 0, 0.28);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-right: auto;
  transform: translateX(0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), gap 0.45s ease;
}

.brand img {
  width: auto;
  height: 48px;
  max-width: 148px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 3px;
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand > div {
  min-width: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  transition: font-size 0.45s ease;
}

.brand span {
  display: block;
  color: var(--muted-2);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  max-height: 1.4em;
  overflow: hidden;
  transition: opacity 0.35s ease, max-height 0.45s ease, margin 0.45s ease;
}

.header .nav > .brand {
  overflow: hidden;
  max-width: 22rem;
  flex: 0 1 auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    max-width 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    margin 0.45s ease 0.1s,
    gap 0.45s ease 0.1s,
    visibility 0s linear 0.1s;
}

.header.scrolled .nav > .brand {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-22px) scale(0.96);
  width: 0;
  max-width: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 0;
  flex: 0 0 0;
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.45s ease,
    gap 0.45s ease,
    visibility 0s linear 0.35s;
}

.brand-float {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  max-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-18px) scale(0.92);
  border-radius: 999px;
  border: 1px solid transparent;
  color: #fff;
  background: linear-gradient(90deg, #3a7ec4 0%, #243044 42%, #141518 78%, #0a0a0c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.32);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    gap 0.45s ease,
    visibility 0s linear 0s;
}

.header.scrolled .brand-float {
  max-width: 240px;
  padding: 0 16px 0 0;
  overflow: visible;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  border-color: rgba(255, 255, 255, 0.34);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    max-width 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    padding 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    border-color 0.4s ease 0.12s,
    gap 0.45s ease 0.12s,
    visibility 0s linear 0.12s;
}

.brand-float img {
  width: 40px;
  height: 40px;
  border-radius: 0;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;
}

.brand-float strong {
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.header.scrolled .brand-float:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 32px rgba(0, 0, 0, 0.4);
}

.header.scrolled .brand-float:active {
  filter: brightness(0.96);
}

.nav-cta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
  transition: gap 0.45s ease;
}

.nav-cta .btn {
  height: 40px;
  padding: 0 16px;
}

.nav-cta .btn-ghost {
  max-width: 0;
  min-width: 0;
  padding-inline: 0;
  margin-right: -8px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border-color: transparent;
  box-shadow: none;
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.45s ease,
    margin 0.45s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    visibility 0s linear 0.35s;
}

.header.scrolled .nav-cta {
  gap: 6px;
}

.header.scrolled .nav-cta .btn-ghost {
  max-width: 14rem;
  padding: 0 14px;
  margin-right: 0;
  overflow: visible;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  border-color: var(--stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    max-width 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    padding 0.45s ease 0.08s,
    margin 0.45s ease 0.08s,
    border-color 0.3s ease 0.08s,
    box-shadow 0.3s ease 0.08s,
    visibility 0s linear 0.08s;
}

.header.scrolled .btn {
  height: 36px;
  padding: 0 14px;
}

.menu {
  display: flex;
  gap: 4px;
  align-items: center;
  min-width: 0;
}

.header.scrolled .menu {
  flex: 1 1 auto;
}

.menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 12px;
  color: var(--muted);
  font-weight: 600;
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), padding 0.45s ease, height 0.45s ease, font-size 0.45s ease;
}

.header.scrolled .menu a {
  height: 36px;
  padding: 0 8px;
  font-size: 0.84rem;
}

.header.scrolled .nav-occasion {
  display: none !important;
}

.header.scrolled .lang-toggle {
  height: 36px;
}

.menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.menu a.active {
  color: #111;
  background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 6px 16px var(--yellow-dim);
}

.menu a:active {
  transform: scale(0.94);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, padding 0.45s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.94);
}

.btn-primary {
  background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
  color: #111;
  box-shadow: 0 8px 30px var(--yellow-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%);
}

.btn-primary:hover::before {
  animation: shine 0.9s ease;
}

.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 34px rgba(255, 204, 0, 0.4);
}

.btn-ghost {
  border-color: var(--stroke);
  background:
    radial-gradient(120% 90% at var(--gx) var(--gy), var(--spec), transparent 46%),
    linear-gradient(180deg, var(--glass-2), var(--glass));
  color: var(--text);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--text);
  transform: scale(1.03);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  place-items: center;
  align-content: center;
  gap: 5px;
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.burger > span:not(.burger-occasion) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--yellow);
  position: relative;
  z-index: 1;
  transition: transform 0.35s ease;
}

.burger.has-day > span:not(.burger-occasion) {
  transform: translateY(-4px);
}

.burger-occasion {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 4px;
  height: 14px;
  width: auto;
  display: none;
  overflow: hidden;
  background: none;
  z-index: 2;
}

.burger.has-day .burger-occasion {
  display: block;
}

.burger-occasion .occ-svg {
  width: 12px;
  height: 12px;
  display: block;
  animation: occ-patrol 6.5s ease-in-out infinite !important;
}

@keyframes occ-patrol {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(18px); }
}

.nav-occasion {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-occasion[hidden],
.burger-occasion[hidden] {
  display: none !important;
}

.occ-svg {
  width: 26px;
  height: 26px;
  display: block;
}

.nav-occasion .occ-svg {
  width: 28px;
  height: 28px;
}

@keyframes occ-beat {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.18); }
}

@keyframes occ-spin {
  to { transform: rotate(360deg); }
}

@keyframes occ-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes occ-sway {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}

@keyframes occ-twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(0.86) rotate(12deg); opacity: 0.75; }
}

@keyframes occ-glow {
  0%, 100% { filter: drop-shadow(0 0 2px #ffcc00); transform: translateY(0); }
  50% { filter: drop-shadow(0 0 8px #ffcc00); transform: translateY(-2px); }
}

@keyframes occ-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.85; }
}

.occ-beat { animation: occ-beat 1.1s ease-in-out infinite; }
.occ-spin { animation: occ-spin 12s linear infinite; }
.occ-spin-slow { animation: occ-spin 8s linear infinite; }
.occ-float { animation: occ-float 2.2s ease-in-out infinite; }
.occ-sway { animation: occ-sway 2.4s ease-in-out infinite; transform-origin: 50% 85%; }
.occ-twinkle { animation: occ-twinkle 1.6s ease-in-out infinite; }
.occ-glow { animation: occ-glow 1.8s ease-in-out infinite; }
.occ-pulse { animation: occ-pulse 1.4s ease-in-out infinite; }

@media (max-width: 1180px) {
  .nav-occasion {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .occ-svg,
  .burger-occasion .occ-svg,
  .brand,
  .brand img,
  .brand strong,
  .brand span,
  .header-bar,
  .header .nav > .brand,
  .brand-float,
  .brand-float img,
  .brand-float strong,
  .nav-cta .btn-ghost {
    animation: none !important;
    transition: none !important;
  }
}

.hero {
  padding: 48px 0 28px;
  position: relative;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  padding: 36px 0 48px;
  min-height: min(100svh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f6f4ea;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.05) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background: #070707;
}

.hero-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
  transform: scale(1.06);
  animation: hero-ken 32s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.08) brightness(0.9);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 5, 8, 0.62) 0%, rgba(4, 5, 8, 0.18) 36%, rgba(4, 5, 8, 0.02) 58%, rgba(4, 5, 8, 0.12) 100%),
    linear-gradient(180deg, rgba(4, 5, 8, 0.28) 0%, transparent 26%, rgba(4, 5, 8, 0.1) 74%, #070707 100%);
}

.hero-stage .lead {
  color: #d5d0be;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.hero-stage h1,
.hero-stage .glow-text {
  color: #f7f4ea;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.58), 0 0 42px rgba(255, 204, 0, 0.12);
}

@keyframes hero-ken {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.2%, 0.8%, 0); }
}

.hero-stage .wrap,
.hero-stage .hero-grid,
.hero-stage .marquee-wrap,
.hero-stage .stats {
  position: relative;
  z-index: 2;
}

.icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.team-photo {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
  box-shadow: 0 0 0 6px var(--yellow-dim);
  margin-bottom: 14px;
}

blockquote,
figure {
  margin: 0;
}

.service,
.solution {
  padding: 22px;
}

.service .media-frame,
.news-card .media-frame,
.solution .media-frame {
  height: 168px;
  overflow: hidden;
  margin: 0 0 14px;
  border-radius: 14px;
}

.news-card .media-frame img,
.solution .media-frame img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service .media-frame {
  background: rgba(255, 255, 255, 0.92);
}

.service .media-frame img {
  object-fit: contain;
  padding: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-grid a,
.gallery-grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  min-height: 140px;
  position: relative;
}

.gallery-grid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.08);
}

.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: center;
}

.logo-cloud img {
  height: 46px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(0.2);
  opacity: 0.9;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 22px;
  overflow: hidden;
}

.video-frame iframe,
.video-frame video,
.yt-lite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.yt-lite {
  background: #111 url("https://i.ytimg.com/vi/w_1C6T-3170/hqdefault.jpg") center/cover no-repeat;
  cursor: pointer;
}

.yt-lite::after {
  content: "▶";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 48px;
  border-radius: 14px;
  background: var(--yellow);
  color: #111;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
}

@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-stage { border-radius: 0; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  perspective: 1100px;
}

.hero h1 span {
  color: var(--yellow);
  text-shadow: 0 0 40px rgba(255, 204, 0, 0.25);
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  padding: 28px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  min-height: 430px;
  transform-style: preserve-3d;
  transition: transform 0.18s ease;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% 20%;
  height: 220px;
  background: radial-gradient(circle, var(--yellow-glow), transparent 70%);
}

.machine {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  align-content: space-between;
}

.hero-still {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  margin-top: 12px;
  background: #111;
  display: block;
}

video.hero-still {
  pointer-events: none;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(120% 90% at var(--gx) var(--gy), var(--spec), transparent 50%),
    var(--chip-bg);
  font-size: 0.82rem;
  color: var(--yellow-2);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: floaty 5s ease-in-out infinite;
}

.chip:nth-child(2) { animation-delay: -1.4s; }
.chip:nth-child(3) { animation-delay: -2.8s; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  align-items: stretch;
}

.stat {
  padding: 22px 18px;
  border-radius: 18px;
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--yellow);
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.trust article,
.card,
.team-card,
.news-card,
.quote-box {
  padding: 24px;
  border-radius: var(--radius);
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--yellow-dim);
  border: 1px solid var(--stroke);
  margin-bottom: 14px;
  color: var(--yellow);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
}

.service:hover,
.product:hover,
.project:hover,
.team-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 22px 50px var(--yellow-glow);
}

.service,
.product,
.project,
.team-card,
.news-card,
.faq,
.solution {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.product,
.hero-card,
.gallery-grid a,
.gallery-grid figure,
.video-frame {
  overflow: hidden;
}

.product-visual {
  height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f7f7f7;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #f7f7f7;
  transition: transform 0.55s ease;
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.product:hover .product-visual img,
.project:hover .product-visual img,
.news-card:hover .cover-img {
  transform: scale(1.07);
}

.product-visual svg {
  width: 78%;
  height: 140px;
}

.product-body,
.project-body,
.news-body {
  padding: 20px 22px 22px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.92rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--yellow) 18%, transparent);
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  color: var(--muted-2);
  font-weight: 600;
}

.spec-table caption {
  caption-side: bottom;
  text-align: left;
  color: var(--muted-2);
  font-size: 0.78rem;
  padding-top: 10px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.product-detail .product-visual {
  min-height: 380px;
  border-radius: 24px;
  overflow: hidden;
  background: #f7f7f7;
}

.product-detail .product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7f7f7;
}

.note-box {
  padding: 22px 24px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

.meta {
  color: var(--muted-2);
  font-size: 0.82rem;
  margin-top: 6px;
}

.quotes .meta {
  margin-top: auto;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.checklist li {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  color: var(--muted);
}

.checklist li::before {
  content: "●";
  color: var(--yellow);
}

.quote-panel {
  padding: 32px;
  border-radius: 28px;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.92rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 16px;
  background: var(--input-bg);
  border: 1px solid var(--stroke);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-dim);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-msg {
  min-height: 1.4em;
  font-weight: 600;
}

.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--danger); }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.quotes .glass {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  min-height: 100%;
  height: auto;
}

.quotes p {
  margin: 0;
  color: var(--muted);
}

.quotes .meta {
  margin-top: auto;
  padding-top: 8px;
}

.stars {
  color: var(--yellow);
  letter-spacing: 2px;
  margin: 0;
  line-height: 1;
}

.faq {
  padding: 0;
  overflow: hidden;
}

.faq button {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
}

.faq p {
  padding: 0 22px 20px;
  color: var(--muted);
  display: none;
}

.faq.open p {
  display: block;
}

.page-hero {
  padding: 54px 0 10px;
}

.crumbs {
  color: var(--muted-2);
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.crumbs a:hover {
  color: var(--yellow);
}

.team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--avatar-bg);
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--display);
  font-size: 1.4rem;
  margin-bottom: 14px;
  box-shadow: 0 0 0 6px var(--yellow-dim);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 280px;
  border-radius: 18px;
  filter: var(--map-filter);
}

.footer {
  margin-top: 40px;
  border-top: 0;
  padding: 42px 0 22px;
}

.copy {
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  background:
    radial-gradient(120% 90% at var(--gx) var(--gy), var(--spec), transparent 48%),
    linear-gradient(180deg, var(--glass-2), var(--glass));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer h3 {
  color: var(--yellow);
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer a,
.footer p {
  color: var(--muted);
  display: block;
  margin: 8px 0;
}

.footer a:hover {
  color: var(--yellow);
}

.copy strong {
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 60;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.whatsapp:hover {
  transform: scale(1.06);
}

.admin-fab {
  position: fixed;
  right: 22px;
  bottom: 88px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #111;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, 0.55), transparent 46%),
    linear-gradient(180deg, #ffe566, #ffcc00);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 28px rgba(255, 204, 0, 0.35);
  z-index: 60;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.admin-fab:hover {
  transform: scale(1.06);
  color: #111;
}

.nav-admin {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--text);
  background:
    radial-gradient(120% 90% at var(--gx, 50%) var(--gy, 8%), var(--spec), transparent 46%),
    linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  flex-shrink: 0;
}

.nav-admin:hover {
  color: var(--yellow);
  border-color: rgba(255, 255, 255, 0.55);
}

.header.scrolled .nav-admin {
  width: 36px;
  height: 36px;
  min-width: 36px;
}

.menu-admin {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: rise 0.8s ease forwards;
  }
}

.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.4s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--yellow-dim);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mv {
  min-height: 180px;
}

@media (max-width: 1180px) {
  .menu,
  .nav-cta .btn-ghost {
    display: none;
  }

  .menu.open .menu-admin {
    display: block;
  }

  .lang-name {
    display: none;
  }

  .lang-toggle {
    width: 40px;
    min-width: 40px;
    padding: 0;
  }

  .burger {
    display: grid;
  }

  .menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 12px;
    border-radius: 24px;
    background:
      linear-gradient(180deg, var(--glass-2), var(--glass));
    border: 1px solid var(--stroke);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 18px 40px rgba(0, 0, 0, 0.28);
    z-index: 20;
  }

  .header.scrolled .menu.open a {
    height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }
}

.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.org-card {
  padding: 14px 16px;
  border-radius: 18px;
  text-align: center;
  width: 100%;
}

.org-card.glass {
  padding: 14px 16px;
  border-radius: 18px;
}

.org-card h3 {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.org-card-lead {
  max-width: 460px;
  padding: 20px 24px;
}

.org-card-lead h3 {
  font-size: 1.28rem;
}

.org-role {
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.org-sub {
  color: var(--yellow-2);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 6px;
}

.org-stem {
  width: 2px;
  height: 20px;
  background: linear-gradient(var(--yellow), rgba(255, 204, 0, 0.2));
  box-shadow: 0 0 10px var(--yellow-glow);
}

.org-stem-long {
  height: 28px;
}

.org-branch {
  width: 100%;
  overflow-x: auto;
  padding: 8px 2px 12px;
  scrollbar-color: var(--yellow-3) transparent;
}

.org-cols {
  display: grid;
  grid-template-columns: repeat(8, minmax(148px, 1fr));
  gap: 12px;
  min-width: 1280px;
  position: relative;
  padding-top: 18px;
}

.org-cols::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity: 0.55;
}

.org-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.org-col::before {
  content: "";
  width: 2px;
  height: 16px;
  margin-top: -18px;
  background: var(--yellow);
  opacity: 0.65;
}

.org-dept {
  min-height: 88px;
  display: grid;
  place-content: center;
}

.org-dept h3 {
  font-size: 0.92rem;
}

.org-head {
  min-height: 108px;
  display: grid;
  place-content: center;
}

.org-head-md {
  border-color: rgba(255, 204, 0, 0.55);
}

.org-link {
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--yellow-dim);
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.org-link-alt {
  background: rgba(255, 92, 92, 0.14);
  border-color: rgba(255, 92, 92, 0.35);
  color: #ffb4b4;
}

.org-staff {
  list-style: none;
  width: 100%;
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.org-staff li {
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid var(--stroke-2);
  background: var(--glass);
  text-align: center;
}

.org-staff .org-role {
  margin-bottom: 2px;
}

.org-staff strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.3;
}

html[data-theme="light"] .org-link-alt {
  color: #9a1f1f;
  background: rgba(196, 40, 40, 0.1);
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .split,
  .quotes,
  .trust,
  .stats,
  .contact-grid,
  .footer-grid,
  .team {
    grid-template-columns: 1fr 1fr;
  }

  .quotes {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .orb, .btn, .service, .product, .project, .team-card, .org-card {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .header:not(.scrolled) .nav-cta .btn-ghost {
    opacity: 0 !important;
  }
}

@media (max-width: 700px) {
  .topbar,
  .hero-grid,
  .grid-3,
  .grid-2,
  .split,
  .quotes,
  .trust,
  .stats,
  .contact-grid,
  .footer-grid,
  .team {
    grid-template-columns: 1fr;
  }

  .top-links span { display: none; }
  .hero-card { min-height: 340px; }
  .section { padding: 64px 0; }
  .theme-toggle span.label { display: none; }
  .lang-name { display: none; }

  .header.scrolled .header-bar {
    gap: 8px;
  }

  .header.scrolled .brand-float {
    padding: 0 12px 0 0;
  }

  .brand-float img {
    width: 40px;
    height: 40px;
  }

  .brand-float strong {
    font-size: 0.86rem;
    letter-spacing: 0.1em;
  }

  .header.scrolled .nav-cta .btn-primary {
    padding: 0 12px;
  }
}

@media (max-width: 420px) {
  .header.scrolled .brand-float {
    gap: 0;
    padding: 3px;
    max-width: 40px;
  }

  .brand-float strong {
    width: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0;
  }
}

.top-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(120% 90% at var(--gx) var(--gy), var(--spec), transparent 50%),
    var(--glass-2);
  color: var(--text);
  font-weight: 700;
  font-size: 0.8rem;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.theme-toggle:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.theme-toggle .moon,
.theme-toggle .sun {
  width: 16px;
  height: 16px;
  display: none;
}

html[data-theme="dark"] .theme-toggle .sun { display: block; }
html[data-theme="light"] .theme-toggle .moon { display: block; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--yellow-3), var(--yellow), var(--yellow-2));
  box-shadow: 0 0 16px var(--yellow);
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.55'/></svg>");
}

html[data-theme="light"] .grain { opacity: 0.045; mix-blend-mode: multiply; }

.sparks {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.sparks i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
  animation: spark 9s linear infinite;
  opacity: 0.7;
}

.sparks i:nth-child(1) { left: 12%; animation-delay: 0s; }
.sparks i:nth-child(2) { left: 28%; animation-delay: -2s; width: 4px; height: 4px; }
.sparks i:nth-child(3) { left: 46%; animation-delay: -4s; }
.sparks i:nth-child(4) { left: 63%; animation-delay: -1s; width: 3px; height: 3px; }
.sparks i:nth-child(5) { left: 81%; animation-delay: -6s; }
.sparks i:nth-child(6) { left: 91%; animation-delay: -3s; width: 5px; height: 5px; }

.glow-text {
  color: var(--text);
  text-shadow: 0 0 28px var(--yellow-glow);
}

.hero-card.glow-border {
  border: 1px solid var(--stroke);
}

.rays {
  position: absolute;
  inset: -40%;
  background: repeating-conic-gradient(from 0deg, transparent 0 12deg, var(--yellow-dim) 12deg 13deg);
  animation: spin-slow 36s linear infinite;
  opacity: 0.35;
  pointer-events: none;
}

.marquee-wrap {
  margin: 42px 0 8px;
  overflow: hidden;
  border-block: 1px solid var(--stroke);
  background: var(--glass-2);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee {
  display: flex;
  gap: 36px;
  width: max-content;
  animation: marquee 28s linear infinite;
  padding: 14px 0;
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 800;
}

.marquee span::after {
  content: " ◆ ";
  color: var(--muted-2);
}

.stat b {
  text-shadow: 0 0 22px var(--yellow-glow);
}

.icon {
  animation: pulse 3.4s ease-in-out infinite;
}

.gear-spin {
  transform-origin: 90px 195px;
  animation: spin-slow 6s linear infinite;
}

.gear-spin-2 {
  transform-origin: 150px 195px;
  animation: spin-slow 7.5s linear infinite reverse;
}

.silo-pulse {
  animation: silo 3s ease-in-out infinite;
}

@keyframes shine {
  to { transform: translateX(120%); }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

@keyframes border-spin {
  to { --angle: 540deg; }
}

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 180deg;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes spark {
  0% { top: 110%; opacity: 0; }
  15% { opacity: 0.8; }
  100% { top: -10%; opacity: 0; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--yellow-dim); }
  50% { box-shadow: 0 0 0 10px transparent; }
}

@keyframes silo {
  0%, 100% { fill: rgba(255, 204, 0, 0.05); }
  50% { fill: rgba(255, 204, 0, 0.18); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 700px) {
  :root,
  html[data-theme="dark"],
  html[data-theme="light"] {
    --glass-blur: blur(14px) saturate(150%);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glass,
  .header .nav,
  .btn-ghost,
  .chip,
  .copy,
  .theme-toggle,
  .lang-toggle,
  .menu.open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--bg-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-stage::before,
  .rays,
  .marquee,
  .sparks i,
  .chip,
  .icon,
  .gear-spin,
  .gear-spin-2,
  .hero-card.glow-border,
  .glass::after,
  .btn-primary::before,
  .hero-overlay img {
    animation: none !important;
  }
}
