/* =============================================================================
   vendors.css — "Vendor Calls" marketplace. Hero uses the shared landing.css
   vocabulary (landing-hero / reveal / wave); this file styles the cards, trust
   strip, how-it-works steps, forms, modal, and portal. Coastal brand tokens
   from style.css.
   ============================================================================= */

/* ---- Trust strip (under hero) ---- */
.vc-trust { background: var(--warm-white, #FBF9F4); border-bottom: 1px solid var(--sand, #E8E0D0); }
.vc-trust__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem 2.5rem; padding: 1.1rem 0; }
.vc-trust__item { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--coastal-blue, #2E7D96); }
.vc-trust__item i { color: var(--seafoam, #4BBCAA); }

/* ---- Section scaffolding ---- */
.vc-section { padding: var(--space-xl, 4rem) 0; background: var(--warm-white, #FBF9F4); }
.vc-section--shell { background: var(--shell, #F7F4EE); }
.vc-section__head { text-align: center; max-width: 640px; margin: 0 auto 2.2rem; }
.vc-section__head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: .5rem; }
.vc-section__head p { color: var(--text-light, #6D8494); font-size: 1.05rem; line-height: 1.6; }

/* ---- Filters ---- */
.vc-filters { display: flex; gap: .7rem; flex-wrap: wrap; margin: 0 0 1.6rem; align-items: center; }
.vc-select, .vc-input {
  padding: .7rem 1rem; border: 1px solid var(--sand, #E0D6C3); border-radius: var(--radius-sm, 8px);
  font-family: var(--font-body); font-size: .95rem; background: #fff; color: var(--text-dark, #1A2B33);
}
.vc-count-line { font-size: .9rem; color: var(--text-light, #6D8494); margin-left: auto; }

/* ---- Call cards ---- */
.vc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.2rem; }
.vc-card {
  position: relative; background: #fff; border: 1px solid var(--sand, #E8E0D0);
  border-radius: var(--radius-lg, 16px); padding: 1.4rem 1.5rem 1.3rem;
  box-shadow: 0 2px 10px rgba(26,60,77,.05); display: flex; flex-direction: column; gap: .7rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; overflow: hidden;
}
.vc-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--seafoam, #4BBCAA); opacity: .85; }
.vc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,60,77,.13); border-color: var(--seafoam, #4BBCAA); }
.vc-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.vc-badge {
  display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; padding: .32rem .7rem; border-radius: 999px;
  background: rgba(46,125,150,.1); color: var(--coastal-blue, #2E7D96); white-space: nowrap;
}
.vc-datechip {
  display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-align: center;
  background: rgba(232,116,59,.1); color: var(--coral, #E8743B); border-radius: var(--radius-sm, 8px);
  padding: .4rem .6rem; font-weight: 800; min-width: 52px;
}
.vc-datechip__mo { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.vc-datechip__day { font-size: 1.25rem; }
.vc-card h3 { font-size: 1.22rem; line-height: 1.3; margin: .1rem 0 0; color: var(--text-dark, #1A2B33); }
.vc-card__meta { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .85rem; color: var(--text-light, #6D8494); }
.vc-card__meta i { color: var(--seafoam, #4BBCAA); margin-right: .35rem; }
.vc-card__desc { font-size: .92rem; color: var(--text-body, #3D5565); line-height: 1.55; margin: 0; }
.vc-card__foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: auto; padding-top: .5rem; }
.vc-card__count { font-size: .8rem; color: var(--text-light, #6D8494); }
.vc-need { font-weight: 800; color: var(--deep-navy, #1A3C4D); }

.vc-empty, .vc-loading { text-align: center; padding: 3rem 1rem; color: var(--text-light, #6D8494); }
.vc-empty i, .vc-loading i { font-size: 2.4rem; color: var(--seafoam, #4BBCAA); display: block; margin-bottom: .9rem; }
.vc-empty h3 { margin-bottom: .3rem; }

/* ---- How it works (steps) ---- */
.vc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.vc-step { text-align: center; padding: 1.6rem 1.2rem; background: #fff; border: 1px solid var(--sand, #E8E0D0); border-radius: var(--radius-lg, 16px); }
.vc-step__num {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff;
  background: linear-gradient(135deg, var(--coastal-blue, #2E7D96), var(--seafoam, #4BBCAA));
}
.vc-step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.vc-step p { color: var(--text-light, #6D8494); font-size: .95rem; line-height: 1.6; margin: 0; }

/* ---- CTA band ---- */
.vc-cta { background: linear-gradient(135deg, var(--deep-navy, #1A3C4D), var(--coastal-blue, #2E7D96)); }
.vc-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 2.4rem 0; }
.vc-cta__inner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .3rem; }
.vc-cta__inner p { color: rgba(255,255,255,.85); margin: 0; max-width: 460px; }

/* ---- FAQ ---- */
.vc-faq { max-width: 760px; margin: 0 auto; }
.vc-faq details { background: #fff; border: 1px solid var(--sand, #E8E0D0); border-radius: var(--radius-md, 12px); padding: 1rem 1.3rem; margin-bottom: .8rem; }
.vc-faq summary { font-weight: 700; cursor: pointer; color: var(--text-dark, #1A2B33); }
.vc-faq p { color: var(--text-body, #3D5565); line-height: 1.6; margin: .7rem 0 0; }

/* ---- Forms (post + respond) ---- */
.vc-form { max-width: 640px; }
.vc-field { margin-bottom: 1.1rem; }
.vc-field label { display: block; font-size: .88rem; font-weight: 600; color: var(--text-body, #3D5565); margin-bottom: .35rem; }
.vc-field label .vc-opt { font-weight: 400; color: var(--text-light, #6D8494); }
.vc-field input, .vc-field select, .vc-field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--sand, #E0D6C3); border-radius: var(--radius-sm, 8px);
  font-size: 1rem; font-family: var(--font-body); background: #fff; color: var(--text-dark, #1A2B33);
}
.vc-field textarea { min-height: 110px; resize: vertical; }
.vc-field input:focus, .vc-field select:focus, .vc-field textarea:focus { outline: none; border-color: var(--coastal-blue, #2E7D96); box-shadow: 0 0 0 3px rgba(46,125,150,.12); }
.vc-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.vc-row .vc-field { flex: 1; min-width: 140px; }
.vc-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.vc-formcard { background: #fff; border: 1px solid var(--sand, #E8E0D0); border-radius: var(--radius-lg, 16px); padding: 2rem; box-shadow: 0 4px 20px rgba(26,60,77,.06); }

.vc-msg { display: none; padding: .85rem 1rem; border-radius: var(--radius-sm, 8px); margin: 1rem 0; font-size: .92rem; }
.vc-msg--error { background: var(--error-bg, #FCEBEA); color: var(--error, #C0392B); display: block; }
.vc-msg--success { background: var(--success-bg, #E8F6EF); color: var(--success, #1E8449); display: block; }

/* ---- Modal ---- */
.vc-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1rem; }
.vc-modal.is-open { display: flex; }
.vc-modal__overlay { position: absolute; inset: 0; background: rgba(26,60,77,.55); backdrop-filter: blur(2px); }
.vc-modal__box { position: relative; background: #fff; border-radius: var(--radius-lg, 16px); padding: 1.9rem; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.vc-modal__close { position: absolute; top: .7rem; right: 1rem; background: none; border: none; font-size: 1.7rem; color: var(--text-light, #6D8494); cursor: pointer; line-height: 1; }
.vc-modal h2 { font-size: 1.4rem; margin: 0 0 .3rem; }
.vc-modal__sub { color: var(--text-light, #6D8494); font-size: .9rem; margin: 0 0 1.2rem; }

/* ---- Portal ---- */
.vc-tabs { display: flex; gap: .5rem; margin-bottom: 1.4rem; border-bottom: 2px solid var(--sand, #E8E0D0); }
.vc-tab { background: none; border: none; padding: .8rem 1.1rem; font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--text-light, #6D8494); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.vc-tab.is-active { color: var(--coastal-blue, #2E7D96); border-bottom-color: var(--coastal-blue, #2E7D96); }
.vc-mycall { background: #fff; border: 1px solid var(--sand, #E8E0D0); border-radius: var(--radius-md, 12px); padding: 1.2rem 1.4rem; margin-bottom: 1rem; }
.vc-mycall__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.vc-status { font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; }
.vc-status--open { background: rgba(75,188,170,.15); color: #1E8449; }
.vc-status--filled { background: rgba(46,125,150,.12); color: #2E7D96; }
.vc-status--closed { background: rgba(109,132,148,.15); color: #6D8494; }
.vc-resp { border: 1px solid var(--sand, #EEE6D6); border-radius: var(--radius-sm, 8px); padding: .9rem 1.1rem; margin-top: .7rem; }
.vc-resp--priority { border-color: var(--coral, #E8743B); background: rgba(232,116,59,.04); }
.vc-resp__top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
.vc-resp__name { font-weight: 700; color: var(--deep-navy, #1A3C4D); }
.vc-priority-badge { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--coral, #E8743B); color: #fff; padding: .2rem .55rem; border-radius: 999px; }
.vc-resp__contact { font-size: .85rem; color: var(--text-body, #3D5565); margin: .4rem 0; }
.vc-resp__contact a { color: var(--coastal-blue, #2E7D96); }
.vc-resp__msg { font-size: .9rem; color: var(--text-body, #3D5565); font-style: italic; margin: .4rem 0 0; }

@media (max-width: 720px) { .vc-steps { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .vc-grid { grid-template-columns: 1fr; } .vc-cta__inner { flex-direction: column; align-items: flex-start; } }
