:root {
  --ink: #34414d;
}

.eyebrow {
  direction: rtl;
  font-size: .94rem;
  line-height: 1.5;
}

.control-panel {
  background: rgba(44, 57, 67, .9);
}

.card:hover {
  background: #3d4a56;
}

.xray-visual {
  background: #2b3741;
}

@media (max-width: 900px) {
  .nav nav {
    background: #34414d;
  }
}

@media (max-width: 560px) {
  .eyebrow {
    font-size: .88rem;
  }
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 188px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(92%) sepia(93%) saturate(1327%) hue-rotate(29deg) brightness(108%) contrast(105%) drop-shadow(0 0 7px rgba(199, 255, 61, .25));
}

.brand-lockup small {
  width: 100%;
  margin-top: -.25rem;
  color: var(--acid);
  font: 500 .57rem var(--mono);
  letter-spacing: .16em;
  text-align: center;
  text-shadow: 0 0 10px rgba(199, 255, 61, .22);
}

.footer-logo {
  width: 154px;
}

.lang-switch {
  min-width: 2.6rem;
  padding: .35rem .55rem;
  border: 1px solid var(--line);
  color: #dce6e3;
  font: 500 .72rem var(--mono);
  letter-spacing: .08em;
  text-align: center;
  transition: .2s;
}

.lang-switch:hover,
.lang-switch:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
}

.whatsapp-float {
  position: fixed;
  inset-inline-end: max(1.15rem, env(safe-area-inset-right));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  width: 3.65rem;
  height: 3.65rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .34);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .42);
}

.whatsapp-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

html[dir="rtl"] .direct {
  direction: ltr;
  align-items: flex-start;
  gap: .2rem;
  text-align: left;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: .72;
}

.success-dialog {
  width: min(29rem, calc(100% - 2rem));
  padding: 2.4rem;
  border: 1px solid rgba(120, 233, 226, .45);
  background: #34414d;
  color: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
  text-align: start;
}

.success-dialog::backdrop {
  background: rgba(7, 16, 20, .72);
  backdrop-filter: blur(5px);
}

.success-dialog .dialog-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.4rem;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  font: 700 1.35rem var(--mono);
}

.success-dialog .dialog-kicker {
  margin: 0 0 .45rem;
  color: var(--cyan);
  font: 500 .72rem var(--mono);
  letter-spacing: .1em;
}

.success-dialog h3 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.05;
}

.success-dialog > p:not(.dialog-kicker) {
  margin: 1rem 0 1.8rem;
  color: #d5dfdc;
  font-size: 1.05rem;
}

.success-dialog button {
  width: 100%;
  padding: .9rem 1.2rem;
  border: 0;
  background: var(--acid);
  color: var(--ink);
  cursor: pointer;
  font: 700 1rem var(--sans);
}

html[dir="ltr"] .brand {
  margin-left: 0;
  margin-right: auto;
}

.a11y-tools {
  position: fixed;
  inset-inline-start: max(1.15rem, env(safe-area-inset-left));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  z-index: 60;
}

.a11y-toggle {
  display: grid;
  width: 3.65rem;
  height: 3.65rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: var(--acid);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .34);
  cursor: pointer;
}

.a11y-toggle:hover,
.a11y-toggle:focus-visible {
  transform: translateY(-2px);
}

.a11y-toggle svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.a11y-panel {
  position: absolute;
  inset-inline-start: 0;
  bottom: 4.4rem;
  width: min(19rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(120, 233, 226, .45);
  background: #26343f;
  color: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
}

.a11y-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .7rem;
}

.a11y-panel-head strong {
  font-size: 1.05rem;
}

.a11y-panel button,
.a11y-panel > a {
  display: block;
  width: 100%;
  padding: .72rem .8rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: inherit;
  font: 600 .9rem var(--sans);
  text-align: start;
  cursor: pointer;
}

.a11y-panel button:hover,
.a11y-panel button:focus-visible,
.a11y-panel > a:hover,
.a11y-panel > a:focus-visible,
.a11y-panel button[aria-pressed="true"] {
  background: var(--acid);
  color: var(--ink);
}

.a11y-panel-head button {
  width: 2.25rem;
  padding: .2rem;
  border: 0;
  font-size: 1.5rem;
  text-align: center;
}

.footer-accessibility {
  padding: 0 clamp(1.25rem, 5vw, 5rem) 1.6rem;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.footer-accessibility a {
  border-bottom: 1px solid currentColor;
}

html.a11y-large-text {
  font-size: 112.5%;
}

html.a11y-links a:not(.brand):not(.whatsapp-float) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: .2em !important;
}

html.a11y-reduce-motion {
  scroll-behavior: auto;
}

html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  scroll-behavior: auto !important;
  animation: none !important;
  transition: none !important;
}

html.a11y-contrast body,
html.a11y-contrast .control-panel,
html.a11y-contrast .xray-visual,
html.a11y-contrast .statement,
html.a11y-contrast .expertise,
html.a11y-contrast .xray,
html.a11y-contrast .about,
html.a11y-contrast .contact,
html.a11y-contrast .legal-page {
  background: #000 !important;
  color: #fff !important;
}

html.a11y-contrast p,
html.a11y-contrast li,
html.a11y-contrast small,
html.a11y-contrast .role,
html.a11y-contrast .section-no,
html.a11y-contrast .eyebrow {
  color: #fff !important;
}

html.a11y-contrast .primary,
html.a11y-contrast .nav-cta,
html.a11y-contrast .contact-form button,
html.a11y-contrast .a11y-toggle {
  background: #ff0 !important;
  color: #000 !important;
}

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

.legal-page {
  min-height: calc(100vh - 88px);
  padding: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 12vw, 12rem);
  background: var(--paper);
  color: var(--ink);
}

.legal-content {
  max-width: 850px;
  margin: 0 auto;
}

.legal-content h1 {
  margin: .6rem 0 2rem;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  line-height: 1;
}

.legal-content h2 {
  margin: 2.6rem 0 .8rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-content p,
.legal-content li {
  max-width: 760px;
  font-size: 1.05rem;
}

.legal-content a {
  color: #245f5b;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.legal-back {
  display: inline-block;
  margin-top: 3rem;
  font-weight: 700;
}

html[dir="ltr"] .eyebrow,
html[dir="ltr"] .section-no {
  direction: ltr;
  text-align: left;
}

html[dir="ltr"] .panel-metrics div {
  border-left: 0;
  border-right: 1px solid var(--line);
}

html[dir="ltr"] .panel-metrics div:last-child {
  border-right: 0;
}

html[dir="ltr"] .card {
  border-left: 0;
  border-right: 1px solid var(--line);
}

html[dir="ltr"] .card:last-child {
  border-right: 0;
}

html[dir="ltr"] .signals span:before {
  margin-left: 0;
  margin-right: 1rem;
}

html[dir="ltr"] footer p:last-child {
  text-align: right;
}

@media (max-width: 560px) {
  .brand-logo {
    width: 150px;
  }

  .brand-lockup small {
    font-size: .5rem;
  }

  .whatsapp-float {
    width: 3.4rem;
    height: 3.4rem;
  }

  .a11y-toggle {
    width: 3.4rem;
    height: 3.4rem;
  }
}

@media (max-width: 900px) {
  .nav {
    height: 92px;
  }

  .nav nav {
    top: 92px;
  }

  .hero {
    min-height: calc(100vh - 92px);
  }

  .lang-switch {
    margin-inline-start: auto;
  }

  html[dir="ltr"] footer p:nth-child(2),
  html[dir="ltr"] footer p:last-child {
    text-align: left;
  }
}
