* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #111;
}

a[href] {
  pointer-events: none;
  cursor: default;
}

.is-disabled-clean {
  pointer-events: none !important;
  cursor: default !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

.topbar {
  height: 76px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: relative;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
}

.logo {
  display: inline-flex;
  align-items: center;
}
.logo img {
  width: 110px;
  height: auto;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 500;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}
.menu a {
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}
.menu-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.menu-link-arrow::after {
  content: "";
  width: 12px;
  height: 12px;
  display: inline-block;
  background: url("./login/assets/arrow-up-right.svg") center / contain no-repeat;
  transform: translateY(-1px);
}

.menu-separator {
  color: #cac6c6 !important;
  font-size: 16px;
  font-weight: 200 !important;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: flex-end;
}
.login-link {
  color: #111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 350;
}
.make-btn {
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 999px;
  height: 40px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.menu-grid {
  width: 18px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.menu-grid i {
  background: #111;
  border-radius: 1px;
}

.topbar-mobile-only {
  display: none;
}

.topbar-hamburger {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}
.topbar-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  border-radius: 1px;
}

.page {
  min-height: 560px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 100px 24px 130px;
}

.card {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border: 1px solid #dfdfdf;
  border-radius: 20px;
  padding: 60px 55px 55px;
  text-align: center;
}

.card h1 {
  margin: 0;
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -1px;
}

.card p {
  margin: 15px 0 40px;
  font-size: 16px;
  color: #404040;
}

.card img {
  width: 40%;
  height: auto;
}

.service-btn {
  width: 100%;
  height: 50px;
  border-radius: 7px;
  border: 1px solid #d7d7d7;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}
.service-btn--blue {
  background: #2558e8;
  color: #fff;
  border-color: #2558e8;
}
.service-btn--black {
  background: #171717;
  color: #fff;
  border-color: #171717;
}
.service-btn--light {
  background: #fff;
  color: #111;
  font-weight: 700;
}

.card-links {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  font-size: 14px;
}

.card-links a {
  position: relative;
  padding: 0 18px;
  color: #262b35;
  text-decoration: none;
  font-weight: 320;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 0px;
  white-space: nowrap;
}

.card-links a::after {
  content: "";
  width: 11px;
  height: 11px;
  display: inline-block;
  background: url("./login/assets/arrow-up-right.svg") center / contain no-repeat;
  transform: translateY(-2px);
}

.card-links a:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 15px;
  background: #cfd3da;
  transform: translateY(-50%);
}

.google-login-btn {
  width: 100%;
  height: 58px;
  margin-top: 22px;
  border: 1px solid #a8afc1;
  border-radius: 10px;
  background: #fff;
  color: #080a0d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
}

.google-login-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.service-btn:disabled,
.google-login-btn:disabled {
  cursor: default;
}

.service-btn.is-loading,
.google-login-btn.is-loading {
  pointer-events: none;
}

.google-login-btn.is-loading img {
  display: none;
}

.service-btn.is-loading::after,
.google-login-btn.is-loading::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: 8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: button-loading-spin 0.8s linear infinite;
}

@keyframes button-loading-spin {
  100% {
    transform: rotate(360deg);
  }
}

.site-footer {
  background: #1A1A1A;
  color: #9ea3ad;
  margin-top: 30px;
  padding-top: 40px;
}
.footer-inner {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 34px 20px 18px;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 26px;
  padding-bottom: 24px;
}
.footer-col h4 {
  margin: 0 0 12px;
  color: #f3f4f7;
  font-size: 16px;
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 15px;
  font-size: 14px;
}
.footer-col a {
  color: #8f95a0;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; }
.footer-links-strong a {
  color: #f1f3f7;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.footer-links-strong a::after {
  content: "";
  width: 14px;
  height: 14px;
  display: inline-block;
  background: url("./login/assets/arrow-up-right-white.svg") center / contain no-repeat;
  transform: translateY(-2px);
}
.footer-right {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}
.footer-brand-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  gap: 12px;
}
.footer-social--brand {
  display: none;
  align-items: center;
  gap: 8px;
}
.footer-social--desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-social__btn {
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2c2f38;
  color: #b4b9c5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}
.footer-social__icon {
  display: block;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.footer-selects {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  width: auto;
  max-width: 100%;
}
.footer-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-badge-image {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}
.footer-select {
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  height: 40px;
  background: transparent;
  border: 1px solid #4a4e58;
  border-radius: 999px;
  color: #ecf0f9;
  padding: 0 34px 0 18px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  field-sizing: content;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ecf0f9' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
  cursor: pointer;
}

.footer-mid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 30px;
  border-bottom: 1px solid #5F5F5F;
}
.footer-company {
  font-size: 14px;
  line-height: 1.9;
  color: #888b8f;
  letter-spacing: -0.1px;
}
.footer-company span {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 15px;
  color: #969ba1;
  font-weight: 800;
}
.footer-company-link {
  color: #9aa2ae;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-company-link:hover {
  color: #cfd5df;
}
.footer-bottom {
  padding-top: 25px;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
  font-size: 14px;
}
.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.footer-bottom__links a {
  color: #888b8f;
  text-decoration: none;
  margin-right: 0;
}
.footer-bottom__end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: flex-end;
  gap: 14px;
  max-width: 100%;
}
.footer-bottom__copyright {
  margin: 0;
  color: #888b8f;
  font-size: 14px;
}
.footer-bottom__links a:hover {
  color: #fff;
}
.footer-bottom-link--emphasis {
  font-weight: 700;
  color: #d8dce6;
}

/* —— Responsivo (foco mobile) —— */
@media (max-width: 1200px) {
  .footer-top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .footer-right {
    grid-column: span 4;
    align-items: flex-start;
  }
}

@media (max-width: 1024px) {
  .menu {
    display: none;
  }
  .topbar-left {
    gap: 12px;
    flex: 0 1 auto;
    min-width: 0;
  }
  .topbar-right {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .topbar-desktop-only {
    display: none !important;
  }
  .topbar-mobile-only {
    display: inline-flex !important;
  }
  .topbar {
    height: auto;
    min-height: 56px;
    padding: 1rem 1.5rem;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    border-radius: 18px 18px 0 0;
  }
  .topbar-left {
    flex: 0 1 auto;
  }
  .topbar-right {
    flex: 0 0 auto;
    min-width: 0;
  }
  .page {
    min-height: 420px;
    padding: 48px 16px 72px;
  }
  .card {
    padding: 40px 22px 36px;
    border-radius: 12px;
  }
  .card p {
    margin: 12px 0 28px;
    font-size: 15px;
  }
  .card img {
    width: min(40%, 180px);
  }
  .card-links {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
    column-gap: 4px;
  }
  .card-links a {
    white-space: normal;
    text-align: center;
    padding: 0 14px;
  }
  .google-login-btn {
    min-height: 52px;
    height: auto;
    padding: 14px 16px;
  }
  .footer-inner {
    padding: 24px 18px 28px;
  }
  .site-footer {
    margin-top: 0;
    padding: 14px 0 0;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
  }
  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
  }
  .footer-top .footer-col {
    display: none;
  }
  .footer-right {
    order: 0;
    width: 100%;
    grid-column: auto;
    align-items: stretch;
    gap: 20px;
    flex-direction: column-reverse;
  }
  .footer-brand-row {
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .footer-social--brand {
    display: flex;
  }
  .footer-social--desktop {
    display: none !important;
  }
  .footer-badges {
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 10px;
  }
  .footer-badge-image {
    width: 40px;
    height: 40px;
  }
  .footer-selects {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
  }
  .footer-selects .footer-select {
    flex: 0 0 auto;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    field-sizing: content;
    padding: 0 26px 0 10px;
    font-size: 13px;
    background-position: right 8px center;
  }
  .footer-mid {
    flex-direction: column;
    align-items: stretch;
    padding: 22px 0 20px;
    margin-top: 4px;
    border-bottom: 1px solid #3d4149;
  }
  .footer-company {
    font-size: 12px;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-align: left;
    color: #9a9ea8;
  }
  .footer-company > br {
    display: none;
  }
  .footer-company span {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 800;
    color: #eef0f5;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding-top: 18px;
    padding-bottom: 8px;
  }
  .footer-bottom__links {
    justify-content: flex-start;
    text-align: left;
    line-height: 1.65;
  }
  .footer-bottom__end {
    align-items: flex-start;
    align-self: stretch;
  }
  .footer-bottom__copyright {
    text-align: left;
    color: #7d828c;
    font-size: 12px;
  }
  .footer-bottom-link--emphasis {
    color: #f0f2f8;
  }
}

@media (max-width: 480px) {
  .topbar {
    padding: 0.875rem 1.25rem;
    border-radius: 16px 16px 0 0;
  }
  .logo img {
    width: 96px;
  }
  .page {
    padding: 32px 12px 56px;
  }
  .card {
    padding: 28px 16px 390px;
    border: 1px solid transparent;
  }
  .service-btn {
    font-size: 15px;
    min-height: 48px;
    height: auto;
    padding: 12px 14px;
  }
  .google-login-btn {
    font-size: 13px;
    gap: 10px;
  }
  .footer-col h4 {
    font-size: 15px;
  }
  .footer-col li {
    margin-bottom: 12px;
    font-size: 13px;
  }
}
