/* ===== Detail pages + shared contact widgets ===== */

/* ---- Floating call / WhatsApp buttons (index + detail) ---- */
.contact-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  min-width: 52px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform var(--transition-fast);
}

.contact-float a:hover { transform: translateY(-2px); }
.contact-float .cf-call { background: var(--gold-primary); color: #1a0f00; }
.contact-float .cf-wa { background: #25d366; }
.contact-float svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

@media (max-width: 600px) {
  .contact-float a span { display: none; }
  .contact-float a { padding: 0; width: 52px; }
}

/* ---- Contact band on the home page ---- */
.contact-band {
  padding: 56px 24px;
  background: linear-gradient(180deg, transparent, rgba(200, 150, 44, 0.07));
  text-align: center;
}

.contact-band h2 { font-family: var(--font-heading); font-size: clamp(24px, 4vw, 34px); margin-bottom: 8px; }
.contact-band p { color: var(--text-secondary); margin-bottom: 20px; }

.contact-band-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(28px, 6vw, 44px);
  letter-spacing: 0.04em;
  color: var(--gold-light);
  text-decoration: none;
  margin-bottom: 22px;
}

.contact-band-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- Card links on the home page ---- */
a.product-card, a.app-feature-card { text-decoration: none; color: inherit; display: block; cursor: pointer; }
a.app-feature-card { display: flex; }

.card-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

/* ---- Detail page ---- */
.detail-body { background: var(--bg-deep); color: var(--text-primary); padding-bottom: 80px; }

.detail-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(5, 10, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.detail-bar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.detail-bar-logo img { width: 30px; height: 30px; object-fit: contain; }
.detail-bar-logo em { font-style: normal; color: var(--gold-primary); }
.detail-bar-actions { display: flex; align-items: center; gap: 12px; }

.detail-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gold-primary);
  color: #1a0f00;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .detail-bar-logo span { display: none; }
  .detail-bar-phone-num { display: none; }
}

.detail-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.detail-hero { padding: 40px 0 28px; }
.detail-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.detail-hero:not(.has-image) .detail-hero-grid { grid-template-columns: 1fr auto; }

.detail-back {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
}
.detail-back:hover { color: var(--gold-light); }

.detail-cat { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-primary); margin-bottom: 10px; }
.detail-title { font-family: var(--font-heading); font-size: clamp(30px, 5vw, 52px); line-height: 1.12; margin-bottom: 8px; }
.detail-eyebrow { font-size: 12px; letter-spacing: 0.16em; color: var(--text-secondary); margin-bottom: 18px; }
.detail-lead { font-size: 18px; line-height: 1.65; color: var(--text-primary); opacity: 0.88; margin-bottom: 26px; }

.detail-hero-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.detail-hero-icon { font-size: 96px; text-align: center; padding: 20px; }

.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-actions--stack { flex-direction: column; }
.detail-actions--stack .detail-btn { justify-content: center; }

.detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.detail-btn:hover { transform: translateY(-2px); }
.detail-btn--gold { background: var(--gold-primary); color: #1a0f00; }
.detail-btn--call { background: rgba(200, 150, 44, 0.15); color: var(--gold-light); border-color: var(--border-gold); }
.detail-btn--wa { background: #25d366; color: #05210f; }
.detail-btn--ghost { background: transparent; color: var(--text-primary); border-color: var(--border-subtle); }

.detail-body-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; padding-top: 24px; padding-bottom: 60px; }
.detail-article h2 { font-family: var(--font-heading); font-size: 24px; margin: 32px 0 12px; color: var(--gold-light); }
.detail-article h2:first-child { margin-top: 0; }
.detail-article p, .detail-article li { color: var(--text-secondary); line-height: 1.8; font-size: 16px; }
.detail-article p { margin-bottom: 12px; }
.detail-article ul { padding-left: 20px; display: grid; gap: 8px; }
.detail-article a { color: var(--gold-light); }
.detail-note { padding: 10px 14px; border: 1px dashed var(--border-gold); border-radius: 10px; font-size: 14px !important; }

.detail-side { display: grid; gap: 20px; align-content: start; position: sticky; top: 80px; }
.detail-facts, .detail-contact {
  padding: 22px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}
.detail-contact { border-color: var(--border-gold); }
.detail-facts h3, .detail-contact h3 { font-family: var(--font-heading); font-size: 16px; margin-bottom: 12px; }
.detail-facts dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-primary); margin-top: 12px; }
.detail-facts dd { color: var(--text-primary); margin-top: 2px; }
.detail-contact p { color: var(--text-secondary); font-size: 14px; margin-bottom: 12px; }
.detail-phone-big { display: block; font-family: var(--font-heading); font-size: 24px; color: var(--gold-light); text-decoration: none; margin-bottom: 14px; }

/* Sticky action bar, mobile only */
.detail-sticky { display: none; }

@media (max-width: 860px) {
  .detail-hero-grid, .detail-hero:not(.has-image) .detail-hero-grid { grid-template-columns: 1fr; }
  .detail-hero-media { order: -1; }
  .detail-body-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .detail-hero .detail-actions { display: none; }

  .detail-sticky {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 80;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(5, 10, 26, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-gold);
  }

  .detail-sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 6px;
    border-radius: 12px;
    background: rgba(200, 150, 44, 0.15);
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
  }
  .detail-sticky-btn--wa { background: #25d366; color: #05210f; }
  .detail-sticky-btn--gold { background: var(--gold-primary); color: #1a0f00; flex: 1.3; }
}

.contact-band-email { display: block; color: var(--text-secondary); text-decoration: none; margin: -12px 0 22px; word-break: break-all; }
.contact-band-email:hover { color: var(--gold-light); }
.detail-email { display: block; color: var(--text-secondary); text-decoration: none; margin: -6px 0 14px; font-size: 14px; word-break: break-all; }
