:root {
  --jmk-black: #1F0436;
  --jmk-charcoal: #101826;
  --jmk-yellow: #DDBBFF;
  --jmk-gold: #ffcf4a;
  --jmk-soft: #fff5d6;
  --jmk-white: #ffffff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--jmk-black);
  background: #fffaf0;
  letter-spacing: 0;
}

.navbar {
  background: rgba(5, 8, 13, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 169, 0, 0.34);
}

.navbar-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 20px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--jmk-yellow);
}

.btn-yellow {
  background: var(--jmk-yellow);
  color: #111;
  border: 2px solid var(--jmk-yellow);
  font-weight: 800;
}

.btn-yellow:hover,
.btn-yellow:focus {
  background: #111;
  color: var(--jmk-yellow);
  border-color: var(--jmk-yellow);
}

.btn-outline-yellow {
  color: var(--jmk-yellow);
  border: 2px solid var(--jmk-yellow);
  font-weight: 800;
}

.btn-outline-yellow:hover,
.btn-outline-yellow:focus {
  background: var(--jmk-yellow);
  color: #111;
}

.hero {
  min-height: 92vh;
  background:
    linear-gradient(90deg, rgba(3, 6, 10, 0.96) 0%, rgba(3, 6, 10, 0.82) 44%, rgba(3, 6, 10, 0.22) 100%),
    url("../img/btitan-btc-hero.png") center right / cover no-repeat;
  color: var(--jmk-white);
  display: flex;
  align-items: center;
  padding: 126px 0 70px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  background: var(--jmk-yellow);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 900;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.02;
  margin: 22px 0 18px;
}

.hero .lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.3rem);
}

.hero-stat {
  border-left: 4px solid var(--jmk-yellow);
  padding-left: 14px;
  min-width: 150px;
}

.hero-stat strong {
  display: block;
  color: var(--jmk-yellow);
  font-size: 1.45rem;
  line-height: 1.1;
}

section {
  padding: 86px 0;
}

.section-title {
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-kicker {
  color: #8a5b00;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.feature-card,
.contact-card,
.register-panel {
  background: #fff;
  border: 1px solid rgba(5, 8, 13, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(8, 8, 8, 0.08);
}

.feature-card {
  height: 100%;
  padding: 26px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #07101a;
  color: var(--jmk-yellow);
  border-radius: 8px;
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.dark-band {
  background: var(--jmk-black);
  color: var(--jmk-white);
}

.dark-band .section-kicker,
.dark-band .text-warning {
  color: var(--jmk-yellow) !important;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.step-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-list span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #111;
  background: var(--jmk-yellow);
  font-weight: 900;
}

.register-panel {
  padding: clamp(22px, 4vw, 40px);
}

.form-control,
.form-select {
  border-radius: 8px;
  border: 1px solid rgba(8, 8, 8, 0.18);
  padding: 12px 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--jmk-gold);
  box-shadow: 0 0 0 0.25rem rgba(255, 196, 0, 0.22);
}

.testimonial-slide {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 14px 34px 42px;
}

.testimonial-photo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--jmk-yellow);
  background: #fff;
  margin-bottom: 18px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 44px;
  height: 44px;
  top: 42%;
  border-radius: 50%;
  background: #111;
  opacity: 1;
}

.accordion-button {
  font-weight: 800;
}

.accordion-button:not(.collapsed) {
  background: var(--jmk-soft);
  color: #111;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.contact-card {
  padding: 28px;
  height: 100%;
}

footer {
  background: #050505;
  color: rgba(255, 255, 255, 0.82);
  padding: 44px 0 26px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--jmk-yellow);
  color: #111;
  font-size: 1.2rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-link:hover,
.social-link:focus {
  transform: translateY(-3px);
  background: #fff;
  color: #111;
}

.whatsapp-tab {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 16px;
  border-radius: 999px;
  background: #1A8AD5;
  color: #f1f1f1;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.whatsapp-tab:hover,
.whatsapp-tab:focus {
  color: #07170c;
  transform: translateY(-2px);
}

.logo-mark {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3, 6, 10, 0.92), rgba(3, 6, 10, 0.58)),
    url("../img/btitan-btc-hero.png") center / cover no-repeat;
  color: #111;
}

.thank-card {
  max-width: 760px;
  border-radius: 8px;
  border: 2px solid var(--jmk-yellow);
}

.thank-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.admin-page {
  background: var(--jmk-soft);
}

.admin-header {
  background: var(--jmk-black);
  color: #fff;
  border-bottom: 4px solid var(--jmk-yellow);
}

.admin-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.admin-login-card {
  max-width: 480px;
}

.response-card {
  max-width: 720px;
}

.admin-page .table thead th {
  background: var(--jmk-black);
  color: var(--jmk-yellow);
  white-space: nowrap;
}

.message-cell {
  min-width: 260px;
  max-width: 420px;
  white-space: normal;
}

.admin-inbox {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  min-height: 640px;
  overflow: hidden;
}

.admin-request-list {
  border-right: 1px solid rgba(8, 8, 8, 0.12);
  background: #fafafa;
  font-size: 0.82rem;
}

.admin-request-item {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  color: #1d1d1d;
  border-bottom: 1px solid rgba(8, 8, 8, 0.1);
}

.admin-request-item:hover,
.admin-request-item:focus,
.admin-request-item.active {
  background: var(--jmk-soft);
  color: #111;
}

.request-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.request-top strong {
  font-size: 0.9rem;
}

.request-name,
.request-summary {
  color: inherit;
  text-decoration: none;
}

.request-name:hover,
.request-name:focus,
.request-summary:hover,
.request-summary:focus {
  color: #111;
  text-decoration: underline;
}

.request-summary {
  display: grid;
  gap: 3px;
}

.whatsapp-phone {
  color: #0b7f3a;
  font-weight: 900;
  text-decoration: none;
}

.whatsapp-phone:hover,
.whatsapp-phone:focus {
  color: #075a2a;
  text-decoration: underline;
}

.request-top small,
.request-meta,
.request-preview,
.request-date {
  color: #666;
}

.request-subject {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-weight: 800;
}

.request-preview {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-date {
  font-size: 0.74rem;
}

.request-followup {
  color: #8a6100;
  font-size: 0.76rem;
  font-weight: 800;
}

.lead-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 20px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #111;
  color: var(--jmk-yellow);
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
}

.lead-badge-large {
  min-height: 24px;
  font-size: 0.76rem;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px;
  font-size: 0.78rem;
}

.page-count {
  color: #555;
  white-space: nowrap;
}

.admin-reader {
  padding: 22px;
  font-size: 0.9rem;
  background: #fff;
}

.reader-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(8, 8, 8, 0.12);
}

.request-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin-bottom: 22px;
}

.request-details div {
  min-width: 0;
}

.request-details dt {
  font-size: 0.74rem;
  color: #666;
  text-transform: uppercase;
  font-weight: 900;
}

.request-details dd {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.message-reader {
  padding: 16px;
  border: 1px solid rgba(8, 8, 8, 0.1);
  border-radius: 8px;
  background: #fffdf3;
}

.followup-reader {
  margin-bottom: 16px;
  background: #fff;
  border-color: rgba(242, 169, 0, 0.45);
}

.message-reader p {
  margin-bottom: 0;
  white-space: normal;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(3, 6, 10, 0.94) 0%, rgba(3, 6, 10, 0.76) 58%, rgba(3, 6, 10, 0.64) 100%),
      url("../img/btitan-btc-hero.png") center / cover no-repeat;
  }

  .admin-inbox {
    grid-template-columns: 1fr;
  }

  .admin-request-list {
    border-right: 0;
    border-bottom: 1px solid rgba(8, 8, 8, 0.12);
  }

  .request-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
  }

  .whatsapp-tab span {
    display: none;
  }
}
