/* Become a pet host + pet host login (public pages). Palette: harbour teal ink, leaf green, marigold accent. */
.pj { --pj-ink: #14323a; --pj-ink2: #4a6068; --pj-leaf: #2f7d6d; --pj-leaf-bg: #e8f3ef; --pj-mari: #f0a43a; --pj-mari-bg: #fff4e2; --pj-line: #dce7e4; --pj-bg: #f5f9f8;
      color: var(--pj-ink); background: var(--pj-bg); font-family: Inter, system-ui, sans-serif; }
.pj * { box-sizing: border-box; }
.pj-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.pj h1, .pj h2, .pj h3 { font-family: Poppins, Inter, system-ui, sans-serif; color: var(--pj-ink); letter-spacing: -.015em; }
.pj p { color: var(--pj-ink2); }
.pj a { color: #a70f1e; }

.pj-hero { padding: 56px 0 44px; background: linear-gradient(180deg, #fff 0%, var(--pj-bg) 100%); }
.pj-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.pj-hero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); line-height: 1.08; margin: 0 0 16px; }
.pj-hero .pj-intro { font-size: 1.08rem; max-width: 34em; margin: 0 0 24px; line-height: 1.6; }
.pj-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pj-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.pj-btn-main { background: #d7192a; color: #fff !important; }
.pj-btn-main:hover { background: #a70f1e; }
.pj-btn-line { background: #fff; color: var(--pj-ink) !important; border: 1.5px solid var(--pj-line); }
.pj-note { font-size: .9rem; color: var(--pj-ink2); }
.pj-facts { display: flex; gap: 26px; margin-top: 28px; flex-wrap: wrap; }
.pj-facts div b { display: block; font-size: 1.35rem; font-family: Poppins, Inter, sans-serif; }
.pj-facts div span { font-size: .84rem; color: var(--pj-ink2); }

/* The diary card — what a pet parent sees during a stay */
.pj-diary { background: #fff; border: 1px solid var(--pj-line); border-radius: 26px; padding: 22px; box-shadow: 0 30px 60px -36px rgba(20, 50, 58, .45); max-width: 440px; justify-self: center; width: 100%; }
.pj-diary-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--pj-line); }
.pj-diary-head .pj-face { width: 46px; height: 46px; border-radius: 50%; background: var(--pj-mari-bg); display: grid; place-items: center; font-size: 1.5rem; }
.pj-diary-head b { display: block; }
.pj-diary-head small { color: var(--pj-ink2); }
.pj-diary ol { list-style: none; margin: 14px 0 0; padding: 0; }
.pj-diary li { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 10px 0; position: relative; }
.pj-diary li + li { border-top: 1px dashed var(--pj-line); }
.pj-diary time { font-size: .8rem; font-weight: 700; color: var(--pj-leaf); padding-top: 2px; }
.pj-diary li p { margin: 0; font-size: .92rem; color: var(--pj-ink); }
.pj-diary li small { color: var(--pj-ink2); font-size: .8rem; }
.pj-diary .pj-snap { margin-top: 8px; height: 96px; border-radius: 14px; background: linear-gradient(135deg, #cfe7de, #f6dcb2); display: grid; place-items: center; font-size: 2.4rem; }
.pj-diary-foot { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; background: var(--pj-leaf-bg); border-radius: 14px; padding: 10px 14px; font-size: .86rem; font-weight: 600; color: var(--pj-leaf); }

.pj-sec { padding: 64px 0; }
.pj-sec.alt { background: #fff; }
.pj-sec h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); margin: 0 0 10px; }
.pj-sec .pj-sub { max-width: 40em; margin: 0 0 28px; font-size: 1.02rem; }

.pj-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; }
.pj-steps li { counter-increment: s; background: #fff; border: 1px solid var(--pj-line); border-radius: 20px; padding: 20px; }
.pj-steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pj-ink); color: #fff; font-weight: 800; margin-bottom: 12px; }
.pj-steps h3 { font-size: 1.05rem; margin: 0 0 6px; }
.pj-steps p { margin: 0; font-size: .92rem; }

.pj-gets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--pj-line); }
.pj-gets > div { padding: 22px 26px 22px 0; border-bottom: 1px solid var(--pj-line); }
.pj-gets > div:nth-child(odd) { border-right: 1px solid var(--pj-line); }
.pj-gets > div:nth-child(even) { padding-left: 26px; }
.pj-gets h3 { font-size: 1.05rem; margin: 0 0 6px; display: flex; gap: 10px; align-items: center; }
.pj-gets h3 span { font-size: 1.3rem; }
.pj-gets p { margin: 0; font-size: .94rem; line-height: 1.55; }

.pj-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.pj-plan { background: #fff; border: 1px solid var(--pj-line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.pj-plan.pick { border-color: var(--pj-leaf); box-shadow: 0 0 0 1.5px var(--pj-leaf); }
.pj-plan h3 { margin: 0; font-size: 1.1rem; }
.pj-plan .pj-price { font-size: 1.7rem; font-weight: 800; font-family: Poppins, Inter, sans-serif; }
.pj-plan .pj-price small { font-size: .86rem; font-weight: 600; color: var(--pj-ink2); }
.pj-plan ul { margin: 6px 0 0; padding-left: 18px; font-size: .9rem; color: var(--pj-ink2); }

/* Registration */
.pj-form { background: #fff; border: 1px solid var(--pj-line); border-radius: 24px; padding: 28px; }
.pj-form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.pj-form legend { font-family: Poppins, Inter, sans-serif; font-weight: 700; font-size: 1.08rem; margin-bottom: 4px; color: var(--pj-ink); }
.pj-form .pj-hint { font-size: .86rem; margin: 0 0 14px; }
.pj-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.pj-fields .w { grid-column: 1 / -1; }
.pj-field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 5px; color: var(--pj-ink); }
.pj-field label i { font-style: normal; font-weight: 500; color: var(--pj-ink2); }
.pj-field input, .pj-field select, .pj-field textarea { width: 100%; min-height: 46px; border: 1.5px solid var(--pj-line); border-radius: 12px; padding: 10px 12px; font: inherit; color: var(--pj-ink); background: #fff; }
.pj-field input:focus, .pj-field select:focus { outline: none; border-color: var(--pj-leaf); box-shadow: 0 0 0 3px rgba(47, 125, 109, .15); }
.pj-field input[type=file] { padding: 9px; min-height: 0; }
.pj-field .pj-err, .pj-err { display: block; color: #b42318; font-size: .82rem; font-weight: 600; margin-top: 4px; }
.pj-field.bad input, .pj-field.bad select { border-color: #e9a29a; }
.pj-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--pj-ink); }
.pj-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pj-leaf); flex: none; }
.pj-ticks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin-top: 6px; }
.pj-field .pj-tick { margin: 0; display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1.5px solid #e4e1d8; border-radius: 12px; background: #fff; font-size: .92rem; font-weight: 600; cursor: pointer; color: var(--pj-ink); }
.pj-field .pj-tick input { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; accent-color: var(--pj-leaf); flex: none; }
.pj-field .pj-tick:has(input:checked) { border-color: var(--pj-leaf); background: #f1f8f2; }
.pj-field.bad .pj-ticks .pj-tick { border-color: #e0a3a3; }
.pj-loc { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pj-loc .pj-btn { min-height: 40px; font-size: .9rem; padding: 0 14px; }
.pj-loc span { font-size: .86rem; color: var(--pj-ink2); }
.pj-safe { display: flex; gap: 10px; align-items: flex-start; background: var(--pj-leaf-bg); border-radius: 14px; padding: 12px 14px; font-size: .86rem; color: var(--pj-ink); margin-bottom: 14px; }
.pj-formwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.pj-aside { position: sticky; top: 90px; }
.pj-aside h2 { margin-top: 0; }
.pj-aside ul { padding-left: 18px; color: var(--pj-ink2); font-size: .95rem; line-height: 1.7; }

.pj-faq details { border-bottom: 1px solid var(--pj-line); padding: 16px 0; }
.pj-faq summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.pj-faq summary::after { content: '+'; font-size: 1.3rem; color: var(--pj-leaf); }
.pj-faq details[open] summary::after { content: '–'; }
.pj-faq details p { margin: 10px 0 0; }

.pj-login { min-height: 70vh; display: grid; place-items: center; padding: 40px 20px; }
.pj-login-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--pj-line); border-radius: 24px; padding: 30px; }
.pj-login-card h1 { font-size: 1.6rem; margin: 10px 0 6px; }

@media (max-width: 900px) {
    .pj-hero-grid, .pj-formwrap { grid-template-columns: 1fr; }
    .pj-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pj-aside { position: static; }
}
@media (max-width: 600px) {
    .pj-hero { padding-top: 32px; }
    .pj-steps, .pj-gets, .pj-fields { grid-template-columns: 1fr; }
    .pj-gets > div, .pj-gets > div:nth-child(even) { padding: 18px 0; border-right: 0 !important; }
    .pj-form { padding: 20px 16px; border-radius: 18px; }
    .pj-sec { padding: 44px 0; }
}

/* Registration in steps: 1. you & the place  2. verification  (3. payouts after the account is created) */
.pj-regsteps { display: flex; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; counter-reset: none; }
.pj-regsteps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 14px; border: 1px solid var(--pj-line, #eadfd8); background: #fff; font-weight: 700; font-size: .84rem; color: #7a6f69; }
.pj-regsteps b { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #f4ebe7; font-size: .8rem; }
.pj-regsteps li.on { border-color: #e0182d; color: #1d1b1a; box-shadow: 0 8px 20px -14px rgba(224, 24, 45, .7); }
.pj-regsteps li.on b { background: linear-gradient(135deg, #d4142b, #ff6a3d); color: #fff; }
.pj-regsteps li.done b { background: #e7f6ee; color: #157347; }
.pj-step[hidden] { display: none !important; }
.pj-next { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pj-field.bad input[type=file] { outline: 2px solid #e9a29a; border-radius: 8px; }
@media (max-width: 600px) { .pj-regsteps li { font-size: .72rem; padding: 7px 8px; gap: 5px; } }
.pj-regsteps li::before { content: none !important; display: none !important; }

/* Pet pictures under the hero */
.pj-pets { padding: 8px 0 44px; background: var(--pj-bg); }
.pj-pets-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pj-pets-grid figure { margin: 0; }
.pj-pets-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: var(--pj-leaf-bg); }
.pj-pets-grid figcaption { margin-top: 8px; color: var(--pj-ink); font-weight: 700; font-size: .92rem; }
@media (max-width: 760px) { .pj-pets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .pj-pets-grid figcaption { font-size: .84rem; } }
