.header {
  position: fixed;
  z-index: 1000;
  background: rgba(9, 23, 42, .9);
  border-bottom-color: rgba(255, 255, 255, .16);
  box-shadow: 0 8px 28px rgba(4, 13, 25, .18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

html {
  scroll-padding-top: 92px;
}

:focus-visible {
  outline: 3px solid #8db7ff;
  outline-offset: 4px;
}

.legal-document {
  color: #8db7ff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-document:hover {
  color: #fff;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 8px 14px #0005);
}

.brand span:last-child {
  display: grid;
  gap: 5px;
  line-height: 1;
  color: #fff;
}

.brand span b,
.brand span strong {
  font-family: Archivo, sans-serif;
  font-style: normal;
}

.brand span b {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .25em;
}

.brand span strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .055em;
}

.image-frame img {
  object-position: 62% center;
}

.hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .24;
  filter: saturate(.55) contrast(1.08);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, #0f1e33f2 0%, #0f1e33d8 48%, #173a61bd 100%);
  pointer-events: none;
}

.hero::before,
.hero-glow {
  z-index: 2;
}

.hero-copy,
.hero-image {
  z-index: 3;
}

.services-marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: #09172a;
  color: #fff;
}

.services-marquee-track {
  width: max-content;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding-inline: 26px;
  animation: polaris-marquee 30s linear infinite;
  font: 800 14px Archivo, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.services-marquee-track i {
  color: #75a8ff;
  font-style: normal;
}

@keyframes polaris-marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .services-marquee-track,
  .reveal,
  .hero-image { animation: none !important; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
}

.services {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.intro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-video--about {
  opacity: .35;
  filter: saturate(.6) contrast(1.08);
}

.intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, #ffffffe0 0%, #f7faffc7 55%, #edf3f9b8 100%);
  pointer-events: none;
}

.section-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(.45) contrast(1.12);
  pointer-events: none;
}

.services::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, #0f1e33f2, #102b4bd4);
  pointer-events: none;
}

.services .section-video {
  opacity: .42;
  filter: saturate(.6) contrast(1.14);
}

.service-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(35px, 7vw, 100px);
  margin-top: 70px;
}

.service-visual-copy span {
  color: #8db7ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.service-visual-copy h2 {
  margin: 22px 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 60px);
}

.service-visual-copy p {
  max-width: 540px;
  color: #c5d2e3;
  font-size: 17px;
  line-height: 1.7;
}

.service-visual .integrated-photo {
  width: 100%;
  margin: 0;
}

.service-builder {
  margin-top: 80px;
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.builder-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.builder-heading > span {
  color: #8db7ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.builder-heading h2 {
  margin: 18px 0 16px;
  color: #fff;
  font-size: clamp(38px, 4.3vw, 64px);
}

.builder-heading p {
  max-width: 680px;
  color: #c5d2e3;
  font-size: 17px;
  line-height: 1.7;
}

.builder-panel {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  background: rgba(5, 13, 25, .9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.builder-controls,
.builder-result {
  padding: clamp(28px, 4vw, 54px);
}

.builder-controls h3 {
  margin: 0 0 8px;
  color: #fff;
  font: 800 clamp(28px, 3vw, 42px) Archivo, sans-serif;
}

.builder-intro {
  margin: 0 0 34px;
  color: #9fb0c6;
  line-height: 1.6;
}

.builder-fieldset {
  min-width: 0;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

.builder-fieldset legend {
  margin-bottom: 14px;
  color: #fff;
  font: 700 17px Archivo, sans-serif;
}

.site-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.site-option,
.shift-option,
.posts-stepper button {
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
  color: #cbd6e5;
  cursor: pointer;
  font: 700 13px Public Sans, sans-serif;
  transition: .2s ease;
}

.site-option {
  min-height: 106px;
  padding: 14px 10px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  text-align: center;
}

.site-option span {
  font-size: 28px;
  filter: grayscale(1);
}

.site-option:hover,
.shift-option:hover,
.site-option.active,
.shift-option.active {
  border-color: #4d8eff;
  background: rgba(37, 99, 235, .22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(77, 142, 255, .18);
}

.site-option.active span {
  filter: none;
}

.posts-stepper {
  width: min(100%, 330px);
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
}

.posts-stepper button {
  min-height: 54px;
  border: 0;
  font-size: 26px;
}

.posts-stepper button:hover {
  background: #2563eb;
  color: #fff;
}

.posts-stepper output {
  display: grid;
  place-items: center;
  background: #fff;
  color: #0f1e33;
  font: 800 23px Archivo, sans-serif;
}

.builder-fieldset small {
  display: block;
  margin-top: 9px;
  color: #8496ad;
  font-size: 12px;
}

.shift-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.shift-option {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 10px;
}

.builder-result {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #f8fbff, #e8f0fa);
  color: #0f1e33;
}

.result-kicker {
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
}

.result-number {
  display: flex;
  align-items: flex-end;
  gap: 13px;
  margin: 18px 0 28px;
}

.result-number strong {
  color: #0f1e33;
  font: 800 clamp(76px, 9vw, 126px)/.78 Archivo, sans-serif;
  letter-spacing: -.08em;
}

.result-number span {
  padding-bottom: 5px;
  color: #1e3a5f;
  font: 800 20px Archivo, sans-serif;
}

.builder-result dl {
  margin: 0;
  border-top: 1px solid #cbd7e5;
}

.builder-result dl div {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #cbd7e5;
}

.builder-result dt {
  color: #64748b;
  font-size: 13px;
}

.builder-result dd {
  margin: 0;
  color: #0f1e33;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.builder-result > p {
  margin: 26px 0;
  color: #40536c;
  font-size: 14px;
  line-height: 1.65;
}

.builder-whatsapp {
  margin-top: auto;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  background: #19a766;
  color: #fff;
  font-weight: 800;
  transition: .2s ease;
}

.builder-whatsapp:hover {
  background: #128653;
  transform: translateY(-2px);
}

.builder-disclaimer {
  max-width: 850px;
  margin: 22px auto 0;
  color: #9fb0c6;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.sectors {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-video--light {
  opacity: .42;
  filter: saturate(.65) contrast(1.12);
}

.sectors::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, #ffffffb8, #eaf0f7ad);
  pointer-events: none;
}

.method {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-video--method {
  opacity: .32;
  filter: saturate(.5) contrast(1.1);
}

.method::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, #ffffffd9, #f4f8fcd0);
  pointer-events: none;
}

.floating-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  background: #0f1e33ed;
}

.floating-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.floating-card span {
  display: grid;
  gap: 4px;
}

.floating-card small {
  font-size: 11px;
  color: #a9b9cf;
}

.visual-logo {
  position: absolute;
  z-index: 3;
  right: 8vw;
  bottom: 42px;
  width: 92px !important;
  height: 92px !important;
  object-fit: contain !important;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 15px 22px #0008);
}

.identity-card {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(220px, 1.15fr);
  place-items: center;
  align-content: center;
  gap: 28px;
  padding: 55px;
  border: 1px solid #d7e0ea;
  background: #fff;
  text-align: left;
  box-shadow: 0 30px 60px #0f1e3326;
}

.identity-card img {
  width: min(90%, 330px);
  aspect-ratio: 1;
  object-fit: contain;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 18px 30px #1e3a5f2b);
}

.identity-card div {
  display: grid;
  gap: 8px;
}

.identity-card .vertical-brand {
  width: 100%;
  gap: 22px;
}

.identity-card strong {
  display: block;
  width: 100%;
  color: #565656;
  font: 700 clamp(27px, 3vw, 43px)/1 Archivo, sans-serif;
  letter-spacing: .2em;
  text-align: left;
}

.identity-card span {
  color: #9fb6d2;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

.company-data {
  align-self: start;
}

.company-data p {
  margin: 0 0 11px;
}

.company-data a:hover {
  color: #77a9ff;
}

.integrated-photo {
  margin: 64px 0;
  overflow: hidden;
  background: #0f1e33;
  box-shadow: 0 24px 55px #0f1e3320;
}

.integrated-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.integrated-photo--wide {
  height: min(48vw, 570px);
}

.integrated-photo--portrait {
  width: min(48%, 500px);
  height: 620px;
}

.integrated-photo--right {
  margin-left: auto;
}

.integrated-photo--left {
  margin-right: auto;
}


@media (max-width: 960px) {
  .service-visual { grid-template-columns: 1fr; }
  .builder-panel { grid-template-columns: 1fr; }
  .identity-card { margin-top: 20px; min-height: 390px; }
  .integrated-photo--portrait { width: min(68%, 500px); }
  .footer-columns { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .services-marquee-track { animation: none; }
}

@media (max-width: 520px) {
  .service-builder { margin-top: 55px; padding-top: 52px; }
  .builder-heading h2 { font-size: 36px; }
  .builder-controls, .builder-result { padding: 26px 18px; }
  .site-options { grid-template-columns: repeat(2, 1fr); }
  .site-option { min-height: 96px; font-size: 12px; }
  .shift-options { grid-template-columns: 1fr; }
  .builder-result dl div { grid-template-columns: 1fr; gap: 5px; }
  .builder-result dd { text-align: left; }
  .result-number strong { font-size: 82px; }
  .identity-card { min-height: 340px; padding: 35px 22px; grid-template-columns: minmax(105px, .9fr) minmax(150px, 1.1fr); gap: 18px; }
  .identity-card .vertical-brand { gap: 13px; }
  .identity-card strong { font-size: clamp(19px, 6vw, 27px); letter-spacing: .13em; }
  .visual-logo { right: 22px; bottom: 24px; width: 68px !important; height: 68px !important; }
  .floating-card { left: 8px; }
  .integrated-photo { margin: 42px 0; }
  .integrated-photo--wide { height: 310px; }
  .integrated-photo--portrait { width: 88%; height: 470px; }
}
