/* Appily Sixteen — Bloom Note Kiosk contact */

.page-bloom-note .page-main { background: var(--cream, #FFF8F0); }

/* Hero */
.bn-hero {
  position: relative;
  padding: 44px 0 32px;
  overflow: hidden;
  background: linear-gradient(165deg, #fff8f0 0%, #fce4ec 42%, #e8f5e9 100%);
}
.bn-hero-petals {
  position: absolute;
  inset: -30% -10% auto;
  height: 280px;
  background:
    radial-gradient(circle at 22% 45%, rgba(211, 47, 47, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 78% 30%, rgba(104, 159, 56, 0.12) 0%, transparent 48%);
  pointer-events: none;
}
.bn-hero-float {
  position: absolute;
  top: 20px;
  right: 8%;
  width: 120px;
  height: 100px;
  pointer-events: none;
  opacity: 0.5;
}
.bn-float-envelope {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
}
.bn-float-petal {
  position: absolute;
  font-size: 1rem;
  animation: bn-float 5s ease-in-out infinite;
}
.bn-float-petal-1 { top: 0; left: 10%; animation-delay: 0s; }
.bn-float-petal-2 { top: 40px; right: 0; animation-delay: -1.5s; }
.bn-float-petal-3 { bottom: 0; left: 30%; animation-delay: -3s; }
@keyframes bn-float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}
.bn-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.bn-kicker {
  font-family: var(--script, 'Marck Script', cursive);
  color: var(--green, #689F38);
  font-size: 1.35rem;
  margin: 0 0 6px;
}
.bn-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.12;
  color: var(--ink);
}
.bn-hero h1 em { font-style: normal; color: var(--red, #D32F2F); }
.bn-lede {
  margin: 0 0 18px;
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.bn-topic-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bn-topic-chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(104, 159, 56, 0.25);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.02em;
}
.bn-kiosk-badge {
  position: relative;
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 24px 20px;
  border-radius: 18px;
  background: linear-gradient(165deg, #fff 0%, #f1f8e9 100%);
  border: 2px solid rgba(104, 159, 56, 0.25);
  box-shadow: 0 14px 36px rgba(104, 159, 56, 0.12);
  text-align: center;
}
.bn-badge-wax {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ef5350, #c62828);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}
.bn-badge-label {
  margin-top: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.bn-badge-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.bn-hero-sill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #8d6e63 0 12px,
    #a1887f 12px 24px
  );
  opacity: 0.35;
}

/* Floor layout */
.bn-floor { padding: 28px 0 72px; }
.bn-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}

/* Note form card */
.bn-note {
  position: relative;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(141, 110, 99, 0.25);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.07);
  padding: 28px 28px 24px;
  background-image: linear-gradient(180deg, #fff 0%, #fff8f0 100%);
}
.bn-note-ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 18px;
  background: var(--red);
  border-radius: 0 0 10px 10px;
  opacity: 0.85;
}
.bn-note-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-top: 8px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(141, 110, 99, 0.3);
}
.bn-note-stamp {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(211, 47, 47, 0.1);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--red);
}
.bn-note-label {
  margin: 0 0 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.bn-note-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}
.bn-note-ref {
  margin-left: auto;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.bn-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 0.88rem;
}
.bn-notice-success {
  background: #e8f5e9;
  border: 1px solid rgba(104, 159, 56, 0.3);
  color: var(--ink);
}
.bn-notice-success p { margin: 4px 0 0; font-size: 0.82rem; color: var(--ink-soft); }
.bn-notice-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.bn-notice-error {
  background: #ffebee;
  border: 1px solid rgba(211, 47, 47, 0.25);
  color: var(--red);
}

.bn-form { display: grid; gap: 0; }
.bn-fields { display: grid; gap: 14px; }
.bn-fields-duo { grid-template-columns: 1fr 1fr; }
.bn-field-wide { grid-column: 1 / -1; }
.bn-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.bn-optional {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.72rem;
}
.bn-field input,
.bn-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font: inherit;
  background: #fff;
}
.bn-field input:focus,
.bn-field textarea:focus {
  outline: 2px solid rgba(104, 159, 56, 0.35);
  border-color: var(--green);
}
.bn-field textarea { resize: vertical; min-height: 120px; }
.bn-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.bn-fine {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.bn-fine a { color: var(--green); }
.bn-note-edge {
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 4px,
    rgba(141, 110, 99, 0.2) 4px 8px
  );
  border-radius: 0 0 4px 4px;
}

/* Buttons */
.bn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.bn-btn-primary {
  background: var(--red, #D32F2F);
  color: #fff;
  box-shadow: 0 6px 18px rgba(211, 47, 47, 0.25);
}
.bn-btn-primary:hover { transform: translateY(-1px); }
.bn-btn-soft {
  background: rgba(104, 159, 56, 0.12);
  color: var(--green);
  border: 1px solid rgba(104, 159, 56, 0.25);
}
.bn-btn-outline {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

/* Stakes registry sidebar */
.bn-stakes {
  position: relative;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
  padding: 24px 22px;
  overflow: hidden;
}
.bn-stakes-vine {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background:
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(104, 159, 56, 0.5) 16px 17px);
  pointer-events: none;
}
.bn-stakes-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.bn-stakes-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(104, 159, 56, 0.12);
  font-size: 1.2rem;
}
.bn-stakes-head h2 {
  margin: 0 0 2px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}
.bn-stakes-head p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.bn-stake-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.bn-stake-card {
  position: relative;
  padding: 12px 14px 12px 22px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(180deg, #fff 0%, #f1f8e9 100%);
  border: 1px solid rgba(104, 159, 56, 0.15);
  border-left: 3px solid var(--green);
}
.bn-stake-pin {
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}
.bn-stake-key {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.bn-stake-val {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  word-break: break-word;
  text-decoration: none;
}
a.bn-stake-val:hover { color: var(--red); }
.bn-stakes-links {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Quick rail */
.bn-quick-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.bn-quick-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.bn-quick-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.bn-quick-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(211, 47, 47, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--red);
  flex-shrink: 0;
}
.bn-quick-body {
  display: grid;
  gap: 2px;
}
.bn-quick-body strong {
  font-size: 0.88rem;
  color: var(--ink);
}
.bn-quick-body span {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .bn-layout { grid-template-columns: 1fr; }
  .bn-stakes { order: -1; }
  .bn-quick-rail { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .bn-hero-grid { grid-template-columns: 1fr; }
  .bn-kiosk-badge { max-width: 240px; }
  .bn-fields-duo { grid-template-columns: 1fr; }
  .bn-form-foot { flex-direction: column; align-items: stretch; }
  .bn-form-foot .bn-btn { width: 100%; text-align: center; }
  .bn-note { padding: 24px 18px 20px; }
}

@media (max-width: 480px) {
  .bn-stakes-links { flex-direction: column; }
  .bn-stakes-links .bn-btn { width: 100%; text-align: center; }
}
