/* ViaggiaFacile Planner */
.vfp {
  --vfp-sea: #0e7c72;
  --vfp-sun: #f2994a;
  --vfp-ink: #14211f;
  --vfp-line: #e6e1d6;
  font-family: inherit;
  color: var(--vfp-ink);
}

.vfp-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #fff;
  border: 1px solid var(--vfp-line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(20, 33, 31, .07);
}
.vfp-field { display: flex; flex-direction: column; gap: 6px; }
.vfp-field--wide { grid-column: span 2; }
.vfp-field label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #5d6b68; }
.vfp-field input, .vfp-field select {
  padding: 12px 14px; border: 1px solid var(--vfp-line); border-radius: 12px;
  font-size: 1rem; font-family: inherit; background: #fdfbf6; color: inherit;
}
.vfp-field input:focus, .vfp-field select:focus { outline: 2px solid var(--vfp-sea); outline-offset: 1px; }
.vfp-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vfp-btn {
  background: var(--vfp-sun); color: #24160a; border: 0; border-radius: 999px;
  padding: 14px 28px; font-weight: 800; font-size: 1rem; cursor: pointer;
}
.vfp-btn:hover { background: #ffb066; }
.vfp-btn[disabled] { opacity: .6; cursor: progress; }
.vfp-note { font-size: .85rem; color: #5d6b68; }

.vfp-status { margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: #e7f2f0; color: #0a5f58; font-size: .95rem; }
.vfp-status.is-error { background: #fdeae5; color: #a53a1f; }

.vfp-result { margin-top: 28px; display: grid; gap: 20px; }
.vfp-summary { background: linear-gradient(120deg, #14211f, #123a37); color: #fff; border-radius: 20px; padding: 26px; }
.vfp-summary h3 { color: #fff; margin: 0 0 8px; font-size: 1.5rem; }
.vfp-summary p { margin: 0 0 6px; color: #d8e5e2; }
.vfp-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.vfp-fact { background: rgba(255,255,255,.12); border-radius: 999px; padding: 6px 14px; font-size: .82rem; }

.vfp-day { background: #fff; border: 1px solid var(--vfp-line); border-radius: 16px; padding: 20px; }
.vfp-day h4 { margin: 0 0 10px; font-size: 1.15rem; }
.vfp-day-num { display: inline-block; background: var(--vfp-sea); color: #fff; border-radius: 999px; font-size: .72rem; font-weight: 800; padding: 4px 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.vfp-slot { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--vfp-line); font-size: .96rem; }
.vfp-slot strong { color: #5d6b68; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.vfp-tip { margin-top: 10px; background: #fdf3e6; border-radius: 12px; padding: 10px 14px; font-size: .9rem; }

.vfp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vfp-panel { background: #fff; border: 1px solid var(--vfp-line); border-radius: 16px; padding: 20px; }
.vfp-panel h4 { margin: 0 0 12px; }
.vfp-item { border-top: 1px solid var(--vfp-line); padding: 12px 0; }
.vfp-item:first-of-type { border-top: 0; }
.vfp-item strong { display: block; }
.vfp-item span { font-size: .88rem; color: #5d6b68; }
.vfp-price { float: right; font-weight: 700; color: var(--vfp-sea); }
.vfp-cta-link { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--vfp-sea); }

.vfp-practical ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.vfp-toolbar { display: flex; gap: 10px; flex-wrap: wrap; }
.vfp-toolbar button { background: #fff; border: 1px solid var(--vfp-line); border-radius: 999px; padding: 10px 18px; font-weight: 700; cursor: pointer; font-family: inherit; }
.vfp-toolbar button:hover { border-color: var(--vfp-sea); color: var(--vfp-sea); }

@media (max-width: 860px) {
  .vfp-form { grid-template-columns: 1fr 1fr; }
  .vfp-field--wide { grid-column: 1 / -1; }
  .vfp-cols { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .vfp-form { grid-template-columns: 1fr; padding: 18px; }
  .vfp-slot { grid-template-columns: 1fr; gap: 2px; }
}
@media print {
  .vfp-form, .vfp-toolbar, .vf-ad-wrap, .vf-header, .vf-footer, .vf-topbar { display: none !important; }
}
