/* Appily Fortyone — Bloom Guide help center (creative layout) */

.page-help-guide {
  --hg-olive: var(--a41-olive);
  --hg-olive-dark: var(--a41-olive-dark);
  --hg-gold: var(--a41-gold);
  --hg-rose: var(--a41-rose);
  --hg-sage: var(--a41-sage-mid);
  --hg-ink: var(--a41-ink);
  --hg-muted: var(--a41-muted);
  --hg-border: var(--a41-border);
  --hg-cream: var(--a41-cream);
  background: var(--hg-cream);
}

.page-help-guide .page-main { padding-top: 0; }

.a41-guide-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hg-gold);
}

/* —— Hero —— */
.a41-guide-hero {
  position: relative;
  padding: clamp(40px, 6vw, 64px) 0 clamp(32px, 4vw, 48px);
  overflow: hidden;
}
.a41-guide-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.a41-guide-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}
.a41-guide-blob--a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(101, 117, 59, 0.25);
  animation: a41GuideDrift 14s ease-in-out infinite;
}
.a41-guide-blob--b {
  width: 320px;
  height: 320px;
  bottom: -100px;
  left: -60px;
  background: rgba(229, 168, 35, 0.2);
  animation: a41GuideDrift 18s ease-in-out infinite reverse;
}
@keyframes a41GuideDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(16px, -12px); }
}
.a41-guide-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.a41-guide-hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--hg-ink);
}
.a41-guide-hero-copy h1 em {
  font-style: normal;
  color: var(--hg-olive);
  display: block;
}
.a41-guide-lede {
  margin: 0 0 20px;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--hg-muted);
}
.a41-guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.a41-guide-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--a41-white);
  border: 1px solid var(--hg-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--hg-muted);
}
.a41-guide-meta-pill strong { color: var(--hg-olive); }
.a41-guide-meta-pill--live {
  background: rgba(101, 117, 59, 0.08);
  border-color: rgba(101, 117, 59, 0.2);
  color: var(--hg-olive);
}
.a41-guide-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5cb87a;
  box-shadow: 0 0 0 0 rgba(92, 184, 122, 0.5);
  animation: a41GuidePulse 2s ease infinite;
}
@keyframes a41GuidePulse {
  0% { box-shadow: 0 0 0 0 rgba(92, 184, 122, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(92, 184, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 184, 122, 0); }
}

/* Search panel */
.a41-guide-search-panel {
  padding: 28px;
  background: var(--a41-white);
  border: 1px solid var(--hg-border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(42, 36, 24, 0.08);
}
.a41-guide-search {
  position: relative;
  display: flex;
  align-items: center;
  border: 2px solid var(--hg-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.a41-guide-search:focus-within {
  border-color: var(--hg-gold);
  box-shadow: 0 0 0 4px rgba(229, 168, 35, 0.15);
}
.a41-guide-search-icon {
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--hg-olive);
  opacity: 0.7;
}
.a41-guide-search input {
  flex: 1;
  border: 0;
  padding: 16px 44px 16px 12px;
  font: inherit;
  font-size: 15px;
  background: transparent;
  color: var(--hg-ink);
}
.a41-guide-search input:focus { outline: none; }
.a41-guide-search input::placeholder { color: var(--hg-muted); }
.a41-guide-search-clear {
  position: absolute;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--hg-cream);
  color: var(--hg-muted);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.a41-guide-search-clear:hover {
  background: var(--hg-olive);
  color: var(--a41-white);
}
.a41-guide-search-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--hg-muted);
}

/* —— Quick links —— */
.a41-guide-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.a41-guide-quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px 18px;
  background: var(--a41-white);
  border: 1px solid var(--hg-border);
  border-radius: 16px;
  text-decoration: none !important;
  color: var(--hg-ink);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.2s;
}
.a41-guide-quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hg-olive), var(--hg-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.a41-guide-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(42, 36, 24, 0.1);
  border-color: var(--hg-gold);
  text-decoration: none !important;
}
.a41-guide-quick-card:hover::before { transform: scaleX(1); }
.a41-guide-quick-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--hg-gold);
}
.a41-guide-quick-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--hg-ink);
}
.a41-guide-quick-desc {
  font-size: 12px;
  color: var(--hg-muted);
}
.a41-guide-quick-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 16px;
  color: var(--hg-olive);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
.a41-guide-quick-card:hover .a41-guide-quick-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* —— Sticky topic nav —— */
.a41-guide-nav-wrap {
  position: sticky;
  top: calc(var(--a41-header-offset, 100px));
  z-index: 20;
  padding: 12px 0;
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hg-border);
  margin-bottom: 32px;
}
.a41-guide-nav {
  position: relative;
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--a41-white);
  border: 1px solid var(--hg-border);
  border-radius: 999px;
  overflow-x: auto;
  scrollbar-width: none;
}
.a41-guide-nav::-webkit-scrollbar { display: none; }
.a41-guide-nav-glider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--hg-olive);
  border-radius: 999px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.a41-guide-nav-btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--hg-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}
.a41-guide-nav-btn.is-active { color: var(--a41-white); }
.a41-guide-nav-btn span:first-child { font-size: 16px; }

/* —— Topic bento grid —— */
.a41-guide-body { padding-bottom: 48px; }
.a41-guide-empty {
  margin: 0 0 20px;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--hg-muted);
  background: var(--a41-white);
  border: 2px dashed var(--hg-border);
  border-radius: 14px;
}
.a41-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.a41-guide-topic {
  display: flex;
  flex-direction: column;
  background: var(--a41-white);
  border: 1px solid var(--hg-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(42, 36, 24, 0.05);
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  scroll-margin-top: 140px;
}
.a41-guide-topic.is-dimmed { opacity: 0.35; pointer-events: none; }
.a41-guide-topic--olive { border-top: 4px solid var(--hg-olive); }
.a41-guide-topic--gold { border-top: 4px solid var(--hg-gold); }
.a41-guide-topic--rose { border-top: 4px solid var(--hg-rose); }
.a41-guide-topic--sage { border-top: 4px solid var(--hg-sage); }
.a41-guide-topic-head {
  display: flex;
  gap: 16px;
  padding: 24px 24px 16px;
  align-items: flex-start;
}
.a41-guide-topic-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: var(--hg-cream);
  border-radius: 14px;
}
.a41-guide-topic-num {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hg-gold);
}
.a41-guide-topic-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hg-ink);
}
.a41-guide-topic-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--hg-muted);
}
.a41-guide-faqs {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.a41-guide-faq {
  border: 1px solid var(--hg-border);
  border-radius: 12px;
  background: var(--hg-cream);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.a41-guide-faq:hover { border-color: rgba(101, 117, 59, 0.35); }
.a41-guide-faq[open] {
  background: var(--a41-white);
  box-shadow: 0 8px 24px rgba(42, 36, 24, 0.06);
  border-color: var(--hg-gold);
}
.a41-guide-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}
.a41-guide-faq summary::-webkit-details-marker { display: none; }
.a41-guide-faq-q {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--hg-ink);
}
.a41-guide-faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(101, 117, 59, 0.1);
  position: relative;
  transition: background 0.2s, transform 0.25s;
}
.a41-guide-faq-toggle::before,
.a41-guide-faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--hg-olive);
  transform: translate(-50%, -50%);
  transition: transform 0.25s;
}
.a41-guide-faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.a41-guide-faq[open] .a41-guide-faq-toggle {
  background: var(--hg-gold);
  transform: rotate(45deg);
}
.a41-guide-faq[open] .a41-guide-faq-toggle::before,
.a41-guide-faq[open] .a41-guide-faq-toggle::after { background: var(--a41-white); }
.a41-guide-faq-a {
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--hg-muted);
  animation: a41GuideReveal 0.25s ease;
}
.a41-guide-faq-a a {
  color: var(--hg-olive);
  font-weight: 600;
}
@keyframes a41GuideReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Bottom band —— */
.a41-guide-band {
  padding: 48px 0 64px;
  background: linear-gradient(180deg, transparent, rgba(101, 117, 59, 0.06));
}
.a41-guide-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.a41-guide-band-card {
  padding: 28px;
  background: var(--a41-white);
  border: 1px solid var(--hg-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(42, 36, 24, 0.05);
}
.a41-guide-band-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--hg-ink);
}
.a41-guide-band-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hg-muted);
}
.a41-guide-band-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.a41-guide-band-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--hg-olive);
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.a41-guide-band-links a:hover {
  color: var(--hg-gold);
  border-bottom-color: var(--hg-gold);
}
.a41-guide-band-card--cta {
  background: linear-gradient(145deg, #6f8148, #65753b);
  border-color: transparent;
  color: var(--a41-white);
}
.a41-guide-band-card--cta .a41-guide-eyebrow { color: var(--hg-gold); }
.a41-guide-band-card--cta h3 { color: var(--a41-white); }
.a41-guide-band-hours,
.a41-guide-band-phone,
.a41-guide-band-email {
  margin: 0 0 6px;
  font-size: 14px;
  opacity: 0.9;
}
.a41-guide-band-card--cta a { color: var(--a41-white); }
.a41-guide-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 22px;
  background: var(--hg-gold);
  color: #1f1a12 !important;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}
.a41-guide-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .a41-guide-hero-inner { grid-template-columns: 1fr; }
  .a41-guide-quick { grid-template-columns: repeat(2, 1fr); }
  .a41-guide-grid { grid-template-columns: 1fr; }
  .a41-guide-band-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .a41-guide-quick { grid-template-columns: 1fr; }
  .a41-guide-nav { border-radius: 14px; }
  .a41-guide-nav-glider { display: none; }
  .a41-guide-nav-btn.is-active { background: var(--hg-olive); }
}
@media (prefers-reduced-motion: reduce) {
  .a41-guide-blob,
  .a41-guide-pulse,
  .a41-guide-faq-a { animation: none; }
  .a41-guide-nav-glider { transition: none; }
}
