:root {
  color-scheme: light;
  --bridge-blue: #2e2c72;
  --bridge-blue-deep: #1e1b4b;
  --bridge-red: #da0613;
  --bridge-red-deep: #b91c1c;
  --bridge-ink: #10182f;
  --bridge-muted: #475569;
  --bridge-line: #e8ecf4;
  --bridge-soft: #fafbff;
  --bridge-white: #ffffff;
  --bridge-whatsapp: #25d366;
  --bridge-whatsapp-dark: #128c7e;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  color: var(--bridge-ink);
  background:
    linear-gradient(120deg, rgba(46, 44, 114, 0.10), rgba(218, 6, 19, 0.06) 48%, rgba(46, 44, 114, 0.08)),
    var(--bridge-soft);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bridge-blue), var(--bridge-red), var(--bridge-blue)) top / 100% 6px no-repeat,
    radial-gradient(circle at 16% 18%, rgba(46, 44, 114, 0.12), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(218, 6, 19, 0.10), transparent 30%);
}

.bridge-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}

.bridge-panel {
  position: relative;
  overflow: hidden;
  width: min(100%, 560px);
  background: var(--bridge-white);
  border: 1px solid var(--bridge-line);
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(46, 44, 114, 0.16);
  padding: clamp(24px, 5vw, 42px);
}

.bridge-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--bridge-blue), var(--bridge-red), var(--bridge-blue));
}

.bridge-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 32px;
}

.bridge-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.bridge-logo img {
  display: block;
  width: clamp(142px, 34vw, 188px);
  height: auto;
}

.bridge-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(46, 44, 114, 0.12);
  background: #f5f7ff;
  color: var(--bridge-blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.bridge-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--bridge-red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bridge-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--bridge-red);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(1.85rem, 6.4vw, 2.85rem);
  line-height: 1.03;
  letter-spacing: 0;
  color: var(--bridge-blue-deep);
}

p {
  margin: 0;
  color: var(--bridge-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.bridge-status {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
  margin: 28px 0;
  padding: 16px;
  border: 1px solid var(--bridge-line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #fafbff);
}

.bridge-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #e8ecf4;
  border-top-color: var(--bridge-red);
  border-radius: 50%;
  animation: bridge-spin 0.85s linear infinite;
}

.bridge-status strong {
  display: block;
  margin-bottom: 2px;
  color: var(--bridge-ink);
  font-size: 0.96rem;
}

.bridge-status span {
  color: var(--bridge-muted);
  font-size: 0.9rem;
}

.bridge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.bridge-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--bridge-whatsapp);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.24);
}

.bridge-button:hover,
.bridge-button:focus {
  background: var(--bridge-whatsapp-dark);
}

.bridge-button::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347M12.05 21.785h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884M20.463 3.488A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347M12.05 21.785h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884M20.463 3.488A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bridge-link {
  color: var(--bridge-blue);
  font-weight: 700;
  text-decoration: none;
}

.bridge-link:hover,
.bridge-link:focus {
  text-decoration: underline;
}

.bridge-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--bridge-line);
  font-size: 0.86rem;
}

.bridge-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.bridge-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--bridge-line);
  border-radius: 999px;
  color: var(--bridge-blue);
  background: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

@keyframes bridge-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 520px) {
  .bridge-brand,
  .bridge-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .bridge-brand {
    gap: 14px;
  }

  .bridge-logo img {
    width: 150px;
  }

  .bridge-button {
    width: 100%;
  }
}
