/* Feedback button and form, shared by index.html and plan.html. Colors follow home.css. */
.fb-open {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: #E89B2C; color: #1E1405; font: 600 15px/1 'Karla', -apple-system, 'Segoe UI', sans-serif;
  box-shadow: 0 6px 22px rgba(21, 14, 34, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.fb-open:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(21, 14, 34, .3); }
.fb-open:focus-visible { outline: 2.5px solid #150E22; outline-offset: 3px; }

.fb-dialog {
  width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  padding: 0; border: 0; border-radius: 18px; background: #FBF6EC; color: #2A2118;
  font: 16px/1.5 'Karla', -apple-system, 'Segoe UI', sans-serif;
  box-shadow: 0 20px 60px rgba(21, 14, 34, .35);
}
.fb-dialog::backdrop { background: rgba(21, 14, 34, .45); }
.fb-dialog form, .fb-done { padding: 24px; }
.fb-dialog h2 {
  margin: 0 0 4px; font: 600 24px/1.15 'Fraunces', Georgia, serif; letter-spacing: -.02em;
}
.fb-sub { margin: 0 0 18px; color: #6E6357; font-size: 15px; }
.fb-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
  border: 0; border-radius: 50%; background: transparent; color: #6E6357;
  font-size: 22px; line-height: 1; cursor: pointer;
}
.fb-close:hover { background: #F3EDDF; color: #2A2118; }

.fb-dialog fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.fb-dialog legend, .fb-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 15px; }
.fb-faces { display: flex; gap: 6px; justify-content: space-between; }
.fb-faces label { flex: 1; cursor: pointer; }
.fb-faces input { position: absolute; opacity: 0; pointer-events: none; }
.fb-faces span {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 2px; border: 2px solid #EADFCE; border-radius: 12px; background: #fff;
  font-size: 12px; color: #6E6357; transition: border-color .12s, background .12s, transform .12s;
}
.fb-faces span b { font-size: 26px; line-height: 1.1; font-weight: 400; }
.fb-faces label:hover span { border-color: #E89B2C; }
.fb-faces input:checked + span { border-color: #E89B2C; background: #F7E3C2; color: #2A2118; transform: scale(1.04); }
.fb-faces input:focus-visible + span { outline: 2.5px solid #150E22; outline-offset: 2px; }
.fb-roles span { font-size: 13px; }
.fb-roles span b { font-size: 22px; }

.fb-dialog textarea, .fb-dialog input[type="email"], .fb-dialog input[type="tel"] {
  width: 100%; margin: 0 0 14px; padding: 10px 12px; border: 2px solid #EADFCE; border-radius: 10px;
  background: #fff; color: #2A2118; font: inherit; resize: vertical;
}
.fb-dialog textarea:focus, .fb-dialog input[type="email"]:focus, .fb-dialog input[type="tel"]:focus { outline: none; border-color: #E89B2C; }
.fb-opt { font-weight: 400; color: #6E6357; }
.fb-hp { position: absolute; left: -9999px; }

.fb-send {
  width: 100%; padding: 13px; border: 0; border-radius: 999px; cursor: pointer;
  background: #150E22; color: #FBF6EC; font: 600 16px/1 'Karla', -apple-system, 'Segoe UI', sans-serif;
}
.fb-send:hover { background: #3A2B52; }
.fb-send:disabled { opacity: .5; cursor: not-allowed; }
.fb-msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; color: #B8432F; text-align: center; }

.fb-done { text-align: center; padding: 40px 24px; }
.fb-done .fb-big { font-size: 48px; line-height: 1; margin-bottom: 10px; }

@media print { .fb-open { display: none; } }

/* Pilot-project notice, shown at the top of both pages. */
.pilot-note {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 12px;
  padding: 12px 16px; text-align: center;
  background: linear-gradient(90deg, #241A35, #3A2B52 30%, #5A3A2A 55%, #3A2B52 80%, #241A35);
  background-size: 200% 100%; animation: pilot-drift 14s ease-in-out infinite alternate;
  border-bottom: 1px solid rgba(232, 155, 44, .35);
  color: #FFFFFF; font: 500 16px/1.45 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.pilot-note::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 40%, rgba(247, 227, 194, .14) 50%, transparent 60%);
  transform: translateX(-100%); animation: pilot-shine 6s ease-in-out 1s infinite;
}
.pilot-badge {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 3px 12px 3px 10px; border-radius: 999px;
  background: #E89B2C; color: #1E1405;
  font: 700 13px/1.7 'Karla', sans-serif; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(247, 227, 194, .4), 0 0 14px rgba(232, 155, 44, .45);
}
.pilot-badge i { width: 8px; height: 8px; border-radius: 50%; background: #1E1405; animation: pilot-pulse 1.8s ease-in-out infinite; }
.pilot-text { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 500; font-size: 18px; }
.pilot-text b { font-style: normal; font-weight: 800; color: #FFC266; }
.pilot-soon { color: #D9CFEA; }
@keyframes pilot-drift { to { background-position: 100% 0; } }
@keyframes pilot-shine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes pilot-pulse { 50% { opacity: .25; transform: scale(.7); } }
@media (max-width: 520px) { .pilot-text { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) {
  .pilot-note, .pilot-note::after, .pilot-badge i { animation: none; }
}
.hero.night { padding-top: calc(clamp(104px, 16vh, 150px) + 52px); }
