/* ==========================================================================
   Huntingdonshire Business Directory - ADD YOUR BUSINESS PAGE
   Page-specific naming: .addbiz-*  (multi-step listing form)
   Shared components used here: .btn, .page-head, .eyebrow
   ========================================================================== */

/* ---- Page head (green banner) ---- */
.page-head { background: linear-gradient(180deg, var(--accent), var(--accent-dark)); color: #fff; text-align: center; padding-block: clamp(2.4rem, 6vw, 4.2rem); }
.page-head h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: .5rem; }
.page-head p { color: rgba(255,255,255,.92); font-size: clamp(1.02rem, 2vw, 1.2rem); max-width: 660px; margin: 0 auto; }
.page-head .eyebrow { color: var(--accent-2); }

/* ---- Form card (navy - the nav blue) ---- */
.addbiz-section { background: var(--grey); }
.addbiz-form { width: 90%; max-width: 1000px; margin-inline: auto; background: linear-gradient(160deg, var(--brand), var(--brand-dark)); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(2rem, 5vw, 3.6rem); }

/* ---- Progress indicator (light on navy) ---- */
.addbiz-progress { list-style: none; display: flex; gap: .5rem; margin: 0 0 2.2rem; padding: 0; }
.addbiz-progress__step { flex: 1; display: flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 600; color: rgba(255,255,255,.55); font-size: .98rem; padding-bottom: .75rem; border-bottom: 3px solid rgba(255,255,255,.18); }
.addbiz-progress__num { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.15); color: rgba(255,255,255,.85); display: grid; place-items: center; font-size: .9rem; font-weight: 700; }
.addbiz-progress__step.is-active { color: #fff; border-bottom-color: var(--accent); }
.addbiz-progress__step.is-active .addbiz-progress__num { background: var(--accent); color: #fff; }
.addbiz-progress__step.is-done { color: #fff; border-bottom-color: var(--accent); }
.addbiz-progress__step.is-done .addbiz-progress__num { background: var(--accent); color: #fff; }

/* ---- Steps ---- */
.addbiz-step { display: none; }
.addbiz-step.is-active { display: block; }
.addbiz-step__title { font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: #fff; margin: 0 0 .4rem; }
.addbiz-step__note { color: rgba(255,255,255,.72); font-size: 1.05rem; margin: 0 0 1.8rem; line-height: 1.55; }

/* ---- Plan cards (white cards on the navy form) ---- */
.addbiz-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.addbiz-plan { position: relative; cursor: pointer; display: block; }
.addbiz-plan input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.addbiz-plan__inner { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 2px solid transparent; border-radius: var(--radius); padding: 1.5rem; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.addbiz-plan:hover .addbiz-plan__inner { border-color: rgba(47,125,85,.4); }
.addbiz-plan input:checked + .addbiz-plan__inner { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,125,85,.35); }
.addbiz-plan input:focus-visible + .addbiz-plan__inner { border-color: var(--accent); }
.addbiz-plan input:checked + .addbiz-plan__inner::after { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--accent); position: absolute; top: .9rem; right: 1rem; font-size: 1.15rem; }
.addbiz-plan__badge { display: inline-block; align-self: flex-start; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .65rem; border-radius: 999px; margin-bottom: .55rem; }
.addbiz-plan__name { font-family: var(--font-head); font-weight: 700; color: var(--brand); font-size: 1.25rem; }
.addbiz-plan__price { font-family: var(--font-head); font-weight: 800; color: var(--accent-dark); font-size: 1.7rem; line-height: 1; margin: .35rem 0 .65rem; }
.addbiz-plan__price small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.addbiz-plan__desc { color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* ---- Fields ---- */
.addbiz-field { display: block; margin-bottom: 1.3rem; }
.addbiz-label { display: block; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.05rem; margin-bottom: .5rem; }
.addbiz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.addbiz-field input, .addbiz-field select { width: 100%; font-family: var(--font-body); font-size: 1.08rem; color: var(--ink); background-color: #fff; border: 1px solid var(--grey-line); border-radius: var(--radius-sm); padding: .95rem 1.1rem; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.addbiz-field input:hover, .addbiz-field select:hover { border-color: #C2CBC6; }
.addbiz-field input:focus, .addbiz-field select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,125,85,.4); }
.addbiz-field ::placeholder { color: #9AA4B6; opacity: 1; }
.addbiz-select { appearance: none; -webkit-appearance: none; -moz-appearance: none; cursor: pointer; padding-right: 3rem; background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20stroke='%231E2E48'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M1.5%201.5l6.5%206.5%206.5-6.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; background-size: 16px 10px; }

/* ---- Step navigation ---- */
.addbiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; }
.addbiz-nav .btn { min-width: 140px; }

/* ---- Responsive ---- */
@media (max-width: 720px) {
    .addbiz-plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .addbiz-form { width: 100%; }
    .addbiz-grid { grid-template-columns: 1fr; gap: 0; }
    .addbiz-nav .btn { min-width: 0; flex: 1; }
}
@media (max-width: 440px) {
    .addbiz-progress__step { font-size: 0; gap: 0; }
    .addbiz-progress__num { font-size: .9rem; }
}
