/* professional-01 — OwnerSelf Professional Services template */

html {
  scroll-behavior: smooth;
}

/* Alpine.js cloak */
[x-cloak] { display: none !important; }

/* Offset anchor targets for fixed navbar */
[id] {
  scroll-margin-top: 5rem;
}

/* Gold underline accent for section headings */
.section-heading::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background-color: #B8860B;
  margin-top: 0.75rem;
}

.section-heading-center::after {
  margin-left: auto;
  margin-right: auto;
}

/* Trust badge styling */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.08);
}

/* Star rating */
.star-filled { color: #B8860B; }
.star-empty  { color: #D1D5DB; }

/* Credential logo grayscale hover */
.credential-logo {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}
.credential-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Smooth FAQ transition */
.faq-answer {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}

/* Form focus ring override for gold accent */
.form-input:focus {
  border-color: #1E3A5F;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.15);
}

/* Announcement bar slide-in */
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.announcement-bar {
  animation: slideDown 0.4s ease-out;
}

/* Print-friendly styles */
@media print {
  nav, .announcement-bar, .cta-section, form { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { text-decoration: underline; }
}
