/* Future Fleet - self-contained styles (prefix ff-). Does not rely on the site's Tailwind build. */
.ff-section {
  background: #e6f0fa;
  border-top: 4px solid #0f766e;
  padding: 56px 16px 64px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  color: #1a2433;
}
.ff-wrap { max-width: 72rem; margin: 0 auto; }
.ff-label {
  display: inline-block; background: #0f766e; color: #fff; font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 6px; margin-bottom: 12px;
}
.ff-title { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 800; line-height: 1.2; margin: 0 0 12px; color: #12202f; }
.ff-intro { max-width: 46rem; color: #3b4a5c; line-height: 1.6; margin: 0 0 16px; }
.ff-notice {
  background: #fff8e1; border-left: 4px solid #f59e0b; padding: 10px 14px; border-radius: 6px;
  color: #6b4a00; font-weight: 600; font-size: .92rem; margin: 0 0 28px; max-width: 46rem;
}
.ff-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px)  { .ff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ff-grid { grid-template-columns: repeat(4, 1fr); } }

.ff-card {
  background: #fff; border: 1px dashed #8fb0cf; border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 1px 4px rgba(18, 32, 47, .08);
}
.ff-card-img { position: relative; aspect-ratio: 4 / 3; background: #d7e4f1; }
.ff-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ff-badge {
  position: absolute; top: 10px; left: 10px; background: rgba(15, 118, 110, .95); color: #fff;
  font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 5px; letter-spacing: .04em; text-transform: uppercase;
}
.ff-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ff-card-title { font-size: 1.1rem; font-weight: 700; margin: 0; color: #12202f; }
.ff-card-desc { font-size: .9rem; color: #4a5a6d; line-height: 1.5; margin: 0; }
.ff-facts { list-style: none; margin: 4px 0 0; padding: 0; font-size: .85rem; color: #3b4a5c; }
.ff-facts li { padding: 3px 0; border-top: 1px solid #eef2f6; display: flex; justify-content: space-between; gap: 8px; }
.ff-facts li span:first-child { color: #7a8a9c; }
.ff-facts li span:last-child { font-weight: 600; text-align: right; }
.ff-price { color: #0f766e; }
.ff-actions { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.ff-btn {
  appearance: none; cursor: pointer; font: inherit; font-weight: 700; font-size: .92rem;
  padding: 10px 14px; border-radius: 8px; border: 2px solid #0f766e; transition: background .15s, color .15s;
}
.ff-btn-vote { background: #0f766e; color: #fff; }
.ff-btn-vote:hover:not(:disabled) { background: #0b5f58; border-color: #0b5f58; }
.ff-btn-vote.is-voted { background: #d9f2ee; color: #0b5f58; cursor: default; }
.ff-btn-vote:disabled { opacity: .7; cursor: not-allowed; }
.ff-btn-vote.is-voted:disabled { opacity: 1; cursor: default; }
.ff-btn-reg { background: #fff; color: #0f766e; }
.ff-btn-reg:hover { background: #e9f7f5; }
.ff-btn:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.ff-msg { min-height: 1.2em; font-size: .8rem; margin: 0; color: #0b5f58; }
.ff-msg.is-error { color: #b42318; }
.ff-share { font-size: .78rem; color: #667085; margin: 0; }

.ff-fineprint { margin: 24px 0 0; font-size: .82rem; color: #52627a; }
.ff-loading, .ff-error { padding: 24px; text-align: center; color: #52627a; grid-column: 1 / -1; }

.ff-anchor-link { font-weight: 600; color: #0f766e; text-decoration: none; }
.ff-anchor-link:hover { text-decoration: underline; }

/* Modal */
.ff-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 16px; }
.ff-modal.is-open { display: flex; }
.ff-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 20, 35, .6); }
.ff-modal-box {
  position: relative; background: #fff; border-radius: 14px; width: 100%; max-width: 560px; max-height: 92vh;
  overflow: auto; padding: 22px 20px 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  font-family: 'Inter', system-ui, Arial, sans-serif; color: #1a2433;
}
.ff-modal-close {
  position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: transparent;
  font-size: 1.5rem; line-height: 1; cursor: pointer; color: #52627a; border-radius: 50%;
}
.ff-modal-close:hover { background: #eef2f6; }
.ff-modal h3 { margin: 0 28px 4px 0; font-size: 1.2rem; }
.ff-modal-boat { margin: 0 0 6px; font-weight: 700; color: #0f766e; }
.ff-modal-note { font-size: .82rem; color: #52627a; margin: 0 0 14px; }
.ff-modal-note a { color: #0f766e; }
.ff-modal-body { min-height: 120px; }
body.ff-modal-open { overflow: hidden; }
