:root {
  /* Maintenance marker: no visual changes. */
  --blue: #0a2da8;
  --blue-deep: #061252;
  --blue-electric: #2f61ff;
  --orange: #ff7a1a;
  --white: #ffffff;
  --ink: #f7fbff;
  --muted: rgba(247, 251, 255, 0.78);
  --glass: rgba(255, 255, 255, 0.14);
  --stroke: rgba(255, 255, 255, 0.38);
  --shadow: rgba(3, 9, 35, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--blue-deep);
}

body {
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-family: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(135deg, rgba(6, 18, 82, 0.94), rgba(10, 45, 168, 0.72) 48%, rgba(255, 122, 26, 0.26)),
    var(--blue-deep);
}

a {
  color: inherit;
}

.welcome-hero {
  position: relative;
  display: grid;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  place-items: center;
  padding: clamp(18px, 3vw, 42px) clamp(18px, 4vw, 54px) 106px;
}

.site-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #07145a;
  opacity: 0.56;
  filter: blur(1.4px) saturate(0.9) contrast(0.95);
  pointer-events: none;
  transform: scale(1.012);
  z-index: -4;
  transition: opacity 420ms ease, filter 420ms ease, transform 420ms ease;
}

.site-backdrop picture,
.backdrop-shot {
  width: 100%;
  height: 100%;
}

.site-backdrop picture {
  display: block;
}

.backdrop-shot {
  display: block;
  object-fit: cover;
  object-position: center top;
}

.welcome-hero::before,
.welcome-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.welcome-hero::before {
  z-index: -3;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.18) 0%, rgba(14, 55, 182, 0.1) 45%, rgba(255, 255, 255, 0.1) 100%),
    linear-gradient(180deg, rgba(3, 9, 35, 0.12), rgba(3, 9, 35, 0.18));
  backdrop-filter: blur(8px) saturate(1.14);
  opacity: 1;
  transition: opacity 420ms ease, backdrop-filter 420ms ease;
}

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

.glass-atmosphere {
  display: none;
}

.glass-bubble {
  position: absolute;
  display: block;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44), 0 26px 70px rgba(2, 8, 40, 0.24);
  backdrop-filter: blur(18px) saturate(1.32);
}

.bubble-one {
  width: clamp(190px, 20vw, 330px);
  aspect-ratio: 1;
  top: 10%;
  left: 7%;
  animation: driftOne 15s ease-in-out infinite alternate;
}

.bubble-two {
  width: clamp(140px, 17vw, 250px);
  aspect-ratio: 1;
  right: 9%;
  bottom: 19%;
  animation: driftTwo 18s ease-in-out infinite alternate;
}

.bubble-three {
  width: clamp(90px, 10vw, 155px);
  aspect-ratio: 1;
  right: 22%;
  top: 16%;
  animation: driftThree 13s ease-in-out infinite alternate;
}

.welcome-shell {
  position: relative;
  isolation: isolate;
  width: min(610px, 100%);
  padding: clamp(20px, 3.2vw, 36px);
  border: 0;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(8, 26, 101, 0.42), rgba(255, 255, 255, 0.07) 48%, rgba(8, 26, 101, 0.3)),
    rgba(255, 255, 255, 0.07);
  box-shadow:
    0 30px 70px rgba(3, 9, 35, 0.44),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px) saturate(1.28);
  text-align: center;
  transform: translate3d(0, -3vh, 0) scale(1);
  opacity: 1;
  transition: opacity 80ms ease;
}

.welcome-shell::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(47, 97, 255, 0.42) 38%, rgba(255, 122, 26, 0.9) 72%, rgba(255, 255, 255, 0.58));
  content: "";
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.welcome-shell::after {
  position: absolute;
  inset: 12px 12px auto;
  z-index: -1;
  height: 34%;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent);
  content: "";
  pointer-events: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(190px, 58vw);
  aspect-ratio: 3 / 2;
  margin-bottom: clamp(14px, 2vw, 22px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 16px 42px rgba(3, 9, 35, 0.28);
  backdrop-filter: blur(10px) saturate(1.12);
  text-decoration: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.welcome-kicker {
  margin: 0 0 8px;
  color: #ffd2b4;
  font-size: clamp(0.84rem, 1.6vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.welcome-shell h1 {
  max-width: 560px;
  margin: clamp(10px, 2vw, 18px) auto 0;
  color: #ff850d;
  font-size: clamp(2rem, 4.5vw, 3.95rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 4px 34px rgba(2, 8, 40, 0.42);
}

.welcome-copy {
  max-width: 520px;
  margin: clamp(14px, 2vw, 20px) auto 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  font-weight: 700;
  line-height: 1.54;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(18px, 3vw, 28px);
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 999px;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.primary-action {
  min-width: min(100%, 300px);
  padding: 16px 26px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #ff9f42);
  box-shadow: 0 22px 46px rgba(255, 122, 26, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.primary-action:hover,
.primary-action:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.primary-action:hover,
.primary-action:focus-visible {
  box-shadow: 0 26px 54px rgba(255, 122, 26, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.privacy-strip {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 22px;
  color: rgba(255, 255, 255, 0.86);
  background: #061252;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  transition: opacity 280ms ease, transform 280ms ease;
}

.whatsapp-chat {
  --whatsapp-label-padding: 7px 16px 7px 14px;
  --whatsapp-label-max-width: 154px;
  --whatsapp-label-border: rgba(209, 213, 219, 0.62);
  position: fixed;
  right: clamp(14px, 2.4vw, 30px);
  bottom: 74px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  color: #1f2937;
  filter: drop-shadow(0 14px 24px rgba(15, 23, 42, 0.18));
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease;
}

.whatsapp-chat:hover,
.whatsapp-chat:focus-visible {
  outline: none;
  transform: translateY(-2px);
  filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.22));
}

.whatsapp-chat-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 0;
  overflow: hidden;
  padding: 7px 0;
  margin-right: -10px;
  color: #1f2937;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid transparent;
  border-radius: 9px;
  box-shadow: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  opacity: 0;
  transform: translateX(12px);
  white-space: nowrap;
  animation: whatsappLabelOpen 7.5s ease-in-out 1s infinite;
}

.whatsapp-chat-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--white);
  background: #35d76f;
  border: 5px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.32);
  animation: whatsappIconPop 7.5s cubic-bezier(0.22, 1, 0.36, 1) 1s infinite;
  isolation: isolate;
}

.whatsapp-chat-icon::before {
  position: absolute;
  inset: -8px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(37, 211, 102, 0.42);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.75);
  animation: whatsappIconPulse 7.5s ease-out 1s infinite;
}

.whatsapp-chat-icon svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.whatsapp-chat:hover .whatsapp-chat-label,
.whatsapp-chat:focus-visible .whatsapp-chat-label {
  max-width: var(--whatsapp-label-max-width);
  padding: var(--whatsapp-label-padding);
  border-color: var(--whatsapp-label-border);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  opacity: 1;
  transform: translateX(0);
  animation: none;
}

.whatsapp-chat:hover .whatsapp-chat-icon,
.whatsapp-chat:focus-visible .whatsapp-chat-icon,
.whatsapp-chat:hover .whatsapp-chat-icon::before,
.whatsapp-chat:focus-visible .whatsapp-chat-icon::before {
  animation: none;
}

.whatsapp-chat:hover .whatsapp-chat-icon,
.whatsapp-chat:focus-visible .whatsapp-chat-icon {
  transform: scale(1.04);
}

.sales-notification {
  position: fixed;
  bottom: 82px;
  left: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 380px;
  padding: 10px 18px 10px 10px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(3, 9, 35, 0.22);
  transform: translateX(-150%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease, visibility 0.6s;
}

body.is-entering-main-site .welcome-shell {
  opacity: 0;
  pointer-events: none;
}

body.is-entering-main-site .privacy-strip,
body.is-entering-main-site .whatsapp-chat,
body.is-entering-main-site .sales-notification {
  opacity: 0 !important;
  pointer-events: none;
  transform: translate3d(0, 14px, 0);
}

.sales-notification.show {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.notification-avatar-wrapper {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #10b981;
  overflow: hidden;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-avatar-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 180ms ease;
}

.notification-avatar-wrapper img[src] {
  opacity: 1;
}

.notification-content {
  color: #142247;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.notif-highlight {
  color: #f59e0b;
  font-weight: 800;
}

.privacy-link {
  appearance: none;
  padding: 0;
  border: 0;
  color: #ffd2b4;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.privacy-strip a,
.privacy-link {
  color: #ffd2b4;
  text-decoration: none;
}

.privacy-strip a:hover,
.privacy-strip a:focus-visible,
.privacy-link:hover,
.privacy-link:focus-visible {
  color: var(--white);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 9, 35, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.privacy-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.privacy-modal-panel {
  position: relative;
  width: min(620px, calc(100vw - 40px));
  max-height: min(78svh, 680px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: clamp(24px, 4vw, 34px);
  color: #172554;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(3, 9, 35, 0.38);
}

.privacy-modal-panel::-webkit-scrollbar {
  width: 10px;
}

.privacy-modal-panel::-webkit-scrollbar-track {
  margin: 18px 0;
  background: transparent;
}

.privacy-modal-panel::-webkit-scrollbar-thumb {
  border: 3px solid rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  background: rgba(107, 114, 128, 0.42);
}

.privacy-modal-panel h2,
.privacy-modal-panel h3,
.privacy-modal-panel p {
  margin-right: 0;
  margin-left: 0;
}

.privacy-modal-panel h2 {
  margin-top: 0;
  margin-bottom: 14px;
  color: #ff850d;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}

.privacy-updated {
  color: #6b7280;
}

.privacy-modal-panel h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  color: #0b2c9d;
  font-size: 1rem;
  line-height: 1.2;
}

.privacy-modal-panel p {
  margin-top: 0;
  margin-bottom: 0;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.62;
}

.privacy-modal-panel p + p {
  margin-top: 10px;
}

.privacy-back-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin: 28px auto 0;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #ff9f42);
  box-shadow: 0 18px 38px rgba(255, 122, 26, 0.28);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.privacy-back-button:hover,
.privacy-back-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(255, 122, 26, 0.36);
}

.privacy-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #172554;
  background: rgba(226, 232, 240, 0.9);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.privacy-modal-close:hover,
.privacy-modal-close:focus-visible {
  outline: none;
  color: var(--white);
  background: #0b2c9d;
}

@keyframes driftOne {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(38px, 30px, 0) scale(1.04);
  }
}

@keyframes driftTwo {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(-34px, -28px, 0) scale(0.96);
  }
}

@keyframes driftThree {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(18px, -26px, 0);
  }
}

@keyframes whatsappLabelOpen {
  0%,
  12% {
    max-width: 0;
    padding: 7px 0;
    border-color: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translateX(12px);
  }

  22%,
  72% {
    max-width: var(--whatsapp-label-max-width);
    padding: var(--whatsapp-label-padding);
    border-color: var(--whatsapp-label-border);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    opacity: 1;
    transform: translateX(0);
  }

  86%,
  100% {
    max-width: 0;
    padding: 7px 0;
    border-color: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translateX(12px);
  }
}

@keyframes whatsappIconPop {
  0%,
  12%,
  36%,
  100% {
    transform: scale(1);
  }

  16% {
    transform: scale(1.1);
  }

  20% {
    transform: scale(0.96);
  }

  26% {
    transform: scale(1.04);
  }
}

@keyframes whatsappIconPulse {
  0%,
  9%,
  100% {
    opacity: 0;
    transform: scale(0.75);
  }

  14% {
    opacity: 0.7;
    transform: scale(0.95);
  }

  32% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .welcome-hero {
    min-height: 100svh;
    height: auto;
    padding: 16px 16px 156px;
    place-items: center;
  }

  .backdrop-shot {
    object-position: center top;
  }

  .welcome-hero::before {
    background:
      linear-gradient(180deg, rgba(2, 8, 40, 0.28), rgba(2, 8, 40, 0.9) 64%),
      radial-gradient(circle at 50% 92%, rgba(255, 122, 26, 0.36), transparent 38%);
  }

  .welcome-shell {
    border-radius: 26px;
    text-align: center;
    transform: translate3d(0, -5vh, 0) scale(1);
  }

  .brand-mark {
    display: flex;
    width: min(210px, 70vw);
    margin-right: auto;
    margin-bottom: 22px;
    margin-left: auto;
  }

  .welcome-shell h1,
  .welcome-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .welcome-actions {
    justify-content: center;
  }

  .primary-action {
    width: 100%;
  }

  .privacy-strip {
    flex-wrap: wrap;
    min-height: 70px;
    gap: 7px;
    padding: 12px 18px;
    font-size: 0.8rem;
  }

  .privacy-modal {
    padding: 14px;
    align-items: center;
  }

  .privacy-modal-panel {
    width: calc(100vw - 28px);
    max-height: calc(100svh - 116px);
    border-radius: 20px;
    padding: 24px 22px;
  }

  .whatsapp-chat {
    --whatsapp-label-padding: 7px 14px 7px 12px;
    --whatsapp-label-max-width: 134px;
    right: 16px;
    bottom: 84px;
  }

  .whatsapp-chat-label {
    min-height: 32px;
    padding: 7px 0;
    margin-right: -9px;
    font-size: 14px;
  }

  body.sales-notification-active .whatsapp-chat-label,
  body.sales-notification-active .whatsapp-chat:hover .whatsapp-chat-label,
  body.sales-notification-active .whatsapp-chat:focus-visible .whatsapp-chat-label {
    max-width: 0;
    padding: 7px 0;
    border-color: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translateX(12px);
    animation: none;
  }

  body.sales-notification-active .whatsapp-chat-icon,
  body.sales-notification-active .whatsapp-chat-icon::before {
    animation: none;
  }

  .whatsapp-chat-icon {
    width: 52px;
    height: 52px;
    border-width: 4px;
  }

  .whatsapp-chat-icon svg {
    width: 29px;
    height: 29px;
  }

  .sales-notification {
    right: 86px;
    bottom: 86px;
    left: 12px;
    width: auto;
    padding: 10px 12px 10px 10px;
  }

  .sales-notification.show {
    transform: translateX(0);
  }

  .notification-content {
    font-size: 0.78rem;
  }
}

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