:root {
  --blue: #0759b8;
  --deep-blue: #002e71;
  --white: #ffffff;
  --muted-white: rgba(255, 255, 255, 0.8);
  --text: #13233a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
}

.hero {
  position: relative;
  min-height: min(770px, calc(100vh - 72px));
  overflow: hidden;
  background-color: #0b4fa8;
  background-image: linear-gradient(90deg, rgba(0, 43, 107, 0.18), transparent 52%), url("bacgrkound.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: auto 100%;
}

.header {
  width: min(1180px, calc(100% - 64px));
  height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  font-size: 35px;
  font-weight: 800;
  letter-spacing: -5px;
  line-height: 1;
}

.brand-name {
  font-size: 16px;
  letter-spacing: -0.3px;
}

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

.nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--white);
}

.hero-content {
  width: min(1180px, calc(100% - 64px));
  margin: 82px auto 60px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #a9d4ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
}

h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -4px;
}

.intro {
  max-width: 540px;
  margin: 26px 0 0;
  color: var(--muted-white);
  font-size: 17px;
  line-height: 1.65;
}

.availability {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #54e59b;
  box-shadow: 0 0 0 4px rgba(84, 229, 155, 0.15);
}

.bottom-bar {
  min-height: 72px;
  padding: 0 max(32px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #65738a;
  background: var(--white);
  font-size: 12px;
}

.whatsapp-float {
  position: fixed;
  z-index: 20;
  left: 28px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
  background: #1fbd59;
  transform: translateY(-3px) scale(1.04);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.chat-contact {
  position: fixed;
  z-index: 20;
  right: 18px;
  bottom: 18px;
  width: min(340px, calc(100vw - 36px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  pointer-events: none;
}

.chat-invitation {
  width: 100%;
  min-height: 66px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  background: #171a1f;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.34);
}

.chat-brand {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #a8d3ff;
  background: #063d83;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -2px;
}

.chat-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-copy strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-copy span {
  color: #a4a8af;
  font-size: 12px;
}

.chat-launcher {
  position: relative;
  width: 50px;
  height: 50px;
  margin-right: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #003d7d;
  box-shadow: 0 7px 18px rgba(0, 38, 84, 0.32);
  cursor: pointer;
  pointer-events: auto;
}

.chat-launcher svg {
  width: 27px;
  height: 27px;
  fill: #fff;
  stroke: #003d7d;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.chat-notification {
  position: absolute;
  top: -2px;
  right: -6px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #ff6b70;
  font-size: 10px;
  font-weight: 700;
}

.chat-window {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 368px;
  max-width: calc(100vw - 24px);
  height: min(578px, calc(100vh - 24px));
  border: 1px solid #292c33;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #f5f5f7;
  background: #15161a;
  box-shadow: 0 13px 32px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.97);
  transform-origin: right bottom;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  pointer-events: auto;
}

.chat-contact.is-open .chat-window {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-contact.is-open .chat-invitation,
.chat-contact.is-open .chat-launcher {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.chat-window-header {
  min-height: 48px;
  padding: 7px 13px;
  border-bottom: 1px solid #292b31;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-window-header .chat-brand {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
}

.chat-agent {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chat-agent strong {
  font-size: 12px;
}

.chat-agent span {
  overflow: hidden;
  color: #9699a1;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-back,
.chat-menu,
.chat-close {
  padding: 4px;
  border: 0;
  color: #9599a2;
  background: transparent;
  cursor: pointer;
}

.chat-back {
  font-size: 27px;
  line-height: 1;
}

.chat-menu {
  letter-spacing: 1px;
}

.chat-close {
  font-size: 24px;
  line-height: 1;
}

.chat-body {
  min-height: 0;
  padding: 14px 14px 13px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.chat-warning {
  padding: 12px 14px;
  border: 1px solid #303238;
  border-radius: 19px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #a1a3aa;
}

.chat-warning > span {
  color: #d5d6d9;
  font-size: 14px;
}

.chat-warning p {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.chat-message {
  width: fit-content;
  max-width: 84%;
  margin-top: 23px;
  padding: 14px 14px 11px;
  border-radius: 19px 19px 19px 5px;
  background: #2b2c31;
  font-size: 13px;
}

.chat-message p {
  margin: 11px 0 0;
}

.chat-time {
  margin: 5px 0 0 14px;
  color: #85878e;
  font-size: 10px;
}

.chat-form {
  margin-top: auto;
  padding: 7px 12px 9px;
  border: 1px solid #303238;
  border-radius: 18px;
}

.chat-form input,
.chat-form textarea {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ececef;
  background: transparent;
  font: inherit;
  font-size: 12px;
}

.chat-form input {
  height: 39px;
  border-bottom: 1px solid #3b3d44;
}

.chat-form textarea {
  padding: 12px 56px 0 0;
  min-height: 74px;
  resize: none;
}

.chat-form input::placeholder,
.chat-form textarea::placeholder {
  color: #92949c;
  opacity: 1;
}

.chat-compose {
  position: relative;
}

.chat-emoji,
.chat-send {
  position: absolute;
  bottom: 0;
  border: 0;
  display: grid;
  place-items: center;
  color: #979aa2;
  background: transparent;
  cursor: pointer;
}

.chat-emoji {
  right: 35px;
  width: 26px;
  height: 26px;
  font-size: 18px;
}

.chat-send {
  right: -2px;
  width: 30px;
  height: 30px;
  border: 1px solid #3e4149;
  border-radius: 50%;
  background: #2c2f35;
  font-size: 19px;
}

.chat-send:disabled {
  cursor: not-allowed;
}

.chat-send.is-ready {
  border-color: #063d83;
  color: #fff;
  background: #063d83;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(6, 61, 131, 0.42);
}

.chat-reply-card {
  padding: 17px 16px;
  border-radius: 20px;
  color: #f5f5f6;
  background: #2c2d32;
  font-size: 13px;
  line-height: 1.35;
}

.chat-reply-card p {
  margin: 0 0 3px;
}

.chat-reply-card strong {
  display: block;
  font-size: 13px;
}

.chat-reply-card .contact-inline {
  display: inline;
}

.chat-reply-card .reply-time-label {
  margin-top: 16px;
}

.sent-time {
  margin-top: 7px;
}

.waiting-team {
  margin: 43px auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #999ba2;
  font-size: 11px;
}

.team-faces {
  font-size: 13px;
  letter-spacing: -6px;
  padding-right: 6px;
}

.chat-post-compose {
  min-height: 84px;
  margin-top: auto;
  padding: 11px 13px 8px;
  border: 1px solid #303238;
  border-radius: 18px;
}

.chat-post-compose textarea {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ececef;
  background: transparent;
  font: inherit;
  font-size: 12px;
  resize: none;
}

.chat-post-compose textarea::placeholder {
  color: #92949c;
  opacity: 1;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #9699a0;
  font-size: 18px;
}

.post-actions button {
  width: 32px;
  height: 32px;
  margin-left: auto;
  border: 1px solid #454850;
  border-radius: 50%;
  color: #999ca3;
  background: #2b2e34;
  font-size: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .hero {
    min-height: 720px;
    background-position: 58% top;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 39, 99, 0.92) 0%, rgba(0, 57, 134, 0.76) 47%, rgba(0, 41, 99, 0.08) 100%);
  }

  .header,
  .hero-content {
    position: relative;
  }

  .hero-content {
    margin-top: 72px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 690px;
    background-position: 65% top;
  }

  .header,
  .hero-content {
    width: calc(100% - 40px);
  }

  .header {
    height: 78px;
  }

  .nav a:first-child {
    display: none;
  }

  .hero-content {
    margin-top: 75px;
  }

  h1 {
    font-size: 48px;
    letter-spacing: -2.8px;
  }

  .intro {
    max-width: 90%;
    font-size: 15px;
  }

  .bottom-bar {
    min-height: 82px;
    padding: 20px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .whatsapp-float {
    left: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }

  .chat-contact {
    right: 14px;
    bottom: 14px;
    width: min(330px, calc(100vw - 28px));
  }

  .chat-window {
    width: calc(100vw - 28px);
    height: min(578px, calc(100vh - 28px));
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
