/* Trips and Travels host page. Mobile first; wider screens add, never remove. */
:root {
  --petrol: #014660;
  --petrol-dark: #00334a;
  --petrol-tint: #e8f1f4;
  --sun: #F0A93C;
  --sun-tint: #fdf3e2;
  --ink: #1d2a30;
  --muted: #5a6b72;
  --line: #d3dfe3;
  --bad: #b3261e;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 1.0625rem/1.6 "Source Sans 3", system-ui, sans-serif;
}
h1, h2, h3, legend, .btn, .tier-people, .tier-pct, .eyebrow {
  font-family: "Outfit", system-ui, sans-serif;
}
h1 { font-size: 2.1rem; line-height: 1.12; font-weight: 700; margin: .3em 0 .5em; }
h2 { font-size: 1.6rem; line-height: 1.2; font-weight: 700; color: var(--petrol); margin: 0 0 .6em; }
h3 { font-size: 1.15rem; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--petrol); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
.section { padding: 48px 0; }
.wrap.section { padding-left: 16px; padding-right: 16px; }
.band { background: var(--petrol-tint); }
.lead { font-size: 1.15rem; color: var(--ink); max-width: 40em; }

/* hero */
.hero { background: var(--petrol); color: #fff; padding: 56px 0 64px; }
.hero-short { padding: 40px 0 44px; }
.hero h1 { color: #fff; }
.hero .sun { color: var(--sun); }
.hero-sub { font-size: 1.2rem; max-width: 34em; color: #d9e8ee; margin-bottom: 1.6em; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--sun); margin: 0; font-weight: 600; }

/* buttons */
.btn {
  display: inline-block; background: var(--sun); color: var(--petrol-dark);
  font-weight: 600; font-size: 1.1rem; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: #f4bb63; }
.btn:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }
.btn-ghost { background: transparent; border: 2px solid var(--petrol); color: var(--petrol); }
.btn-big { width: 100%; padding: 18px; font-size: 1.2rem; margin-top: 8px; }

/* yours / not yours */
.cols { display: grid; gap: 16px; }
.col { background: #fff; border-radius: var(--radius); padding: 20px; border-top: 6px solid var(--petrol); }
.col-not { border-top-color: var(--sun); }
.col ul { margin: 0; padding-left: 1.1em; }
.col li { margin-bottom: .6em; }

/* the scale */
.scale { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: 12px; }
.tier {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  border: 2px solid var(--line); border-radius: var(--radius); padding: 16px 20px;
}
.tier-people { font-size: 1.6rem; font-weight: 700; color: var(--petrol); }
.tier-pct { font-size: 1.9rem; font-weight: 700; color: var(--petrol); }
.tier small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.tier-top { background: var(--petrol); border-color: var(--petrol); }
.tier-top .tier-people, .tier-top .tier-pct { color: var(--sun); }
.tier-top small { color: #cfe0e6; }
.scale-note { font-size: 1.15rem; max-width: 40em; margin: 1.2em 0 0; }

/* departures */
.deps { display: grid; gap: 12px; }
.dep { background: #fff; border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; border-left: 6px solid var(--sun); }
.dep strong { font-family: "Outfit", sans-serif; font-size: 1.2rem; color: var(--petrol); }
.dep span { color: var(--muted); }

/* honest part */
.honest { list-style: none; padding: 0; margin: 0; }
.honest li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.honest li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); }
.honest strong { color: var(--petrol); }

/* form */
.band-apply { background: var(--sun-tint); }
.form fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.form legend { font-size: 1.25rem; font-weight: 700; color: var(--petrol); margin-bottom: 12px; padding: 0; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { color: var(--muted); font-size: .95rem; margin: -2px 0 6px; }
input, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #b9cbd1; border-radius: 8px; padding: 12px 14px;
}
textarea { min-height: 7.5em; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid rgba(1, 70, 96, .25); border-color: var(--petrol); }
input[type=number] { max-width: 9em; }
[aria-invalid=true] { border-color: var(--bad); }
.err { color: var(--bad); font-weight: 600; margin: 6px 0 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.err-box { background: #fff; border-left: 6px solid var(--bad); padding: 14px 16px; margin-bottom: 24px; border-radius: 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.foot { background: var(--petrol-dark); color: #fff; padding: 28px 0; font-size: .95rem; }

/* logo: inline SVG with fill="currentColor", so colour comes from here */
.logo { display: block; width: 100%; max-width: 170px; height: auto; color: var(--petrol); }
.hero .logo, .foot .logo { color: #fff; }
.hero .logo { margin-bottom: 28px; }
.foot .logo { max-width: 140px; }

/* departure city radios */
.form fieldset.radios { margin: 0 0 20px; }
.radios legend { font-size: 1.0625rem; font-family: "Source Sans 3", system-ui, sans-serif; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.radio { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid #b9cbd1; border-radius: 8px; padding: 12px 14px; margin-bottom: 8px; font-weight: 600; cursor: pointer; }
.radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--petrol); }
.radios[aria-invalid=true] .radio { border-color: var(--bad); }

@media (min-width: 720px) {
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2rem; }
  .hero { padding: 96px 0 104px; }
  .section { padding: 72px 0; }
  .cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .scale { grid-template-columns: repeat(5, 1fr); }
  .tier { grid-template-columns: 1fr; text-align: center; padding: 24px 12px; }
  .deps { grid-template-columns: 1fr 1fr; }
  .btn-big { width: auto; padding: 18px 40px; }
  .logo { max-width: 220px; }
  .foot .logo { max-width: 160px; }
  .radios .radio { display: inline-flex; margin-right: 8px; }
}

/* The quiet line under the hero headline: a reveal, not a second headline. */
.hero-reveal {
  font-style: italic; font-size: 1.15rem; line-height: 1.4;
  color: rgba(255, 255, 255, .82); margin: -.2em 0 1.4em;
}
@media (min-width: 720px) { .hero-reveal { font-size: 1.3rem; } }

/* enquiry form (/enquire; the same form sits on tripsandtravels.co.za/contact-us) */
.enq { max-width: 36em; }
.enq select { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #b9cbd1; border-radius: 8px; padding: 12px 14px; }
.enq .opt { font-weight: 400; color: var(--muted); }
.enq .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.enq .check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--petrol); }

/* interview booking (/hosts/interview/<token>) */
.iv-have { background: var(--petrol-tint); border-left: 6px solid var(--petrol); padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; }
.iv-have p { margin: 0; }
.iv-weeks { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.iv-weeks a { padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; }
.iv-weeks a[aria-current] { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.iv-grid { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.iv-grid th { font-size: .82rem; font-weight: 600; color: var(--muted); padding: 2px 0; }
.iv-grid thead th { color: var(--ink); line-height: 1.2; }
.iv-grid thead th span { font-weight: 400; color: var(--muted); }
.iv-grid tbody th { width: 3.1em; text-align: left; }
.iv-grid td { padding: 0; height: 36px; }
.iv-open { display: flex; align-items: center; justify-content: center; height: 100%; border-radius: 6px; background: var(--sun-tint);
  border: 1.5px solid #f3d29c; color: var(--petrol-dark); font-weight: 700; font-size: .88rem; text-decoration: none; }
.iv-open:hover, .iv-open:focus-visible { background: var(--sun); }
.iv-shut { display: block; height: 100%; border-radius: 6px; background: #eef1f2; }

/* the host agreement (/hosts/agreement/<token>) */
.ag-details { background: var(--petrol-tint); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 24px; }
.ag-details h2 { font-size: 1.2rem; margin-bottom: .5em; }
.ag-details dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 .6em; }
.ag-details dt { color: var(--muted); }
.ag-details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.ag-text { max-width: 40em; }
.ag-text h2 { font-size: 1.5rem; } .ag-text h3 { font-size: 1.2rem; color: var(--petrol); margin-top: 1.2em; } .ag-text h4 { font-size: 1.05rem; margin: 1em 0 .4em; }
.ag-text hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.ag-text ul { padding-left: 1.2em; }
.ag-accept { max-width: 40em; margin-top: 28px; padding: 18px; border: 2px solid var(--petrol); border-radius: var(--radius); }
.ag-accept .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; margin-bottom: 16px; }
.ag-accept .check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--petrol); }

/* /host-pack (Pieter, 30 Oct 2026): phone: the photo 46% of the screen and the whole form on one screen, by tight spacing;
   desktop: two columns, the photo nearly whole on the left. The crop centres on the photo's focal point (--pp, --pd). */
.pack { padding-bottom: 8px; }
.pack-photo { display: block; width: 100%; height: 46vh; height: 46svh; object-fit: cover; object-position: var(--pp, 50% 50%); }
.pack-right { padding: 0 14px; }
.pack h1 { font-size: 1.12rem; line-height: 1.15; margin: 6px 0 2px; }
.pack-sub { margin: 0 0 4px; line-height: 1.2; font-size: .86rem; }
.pack .form .field { display: grid; grid-template-columns: 5.4em 1fr; align-items: center; margin: 0 0 3px; }
.pack .field label { margin: 0; font-size: .8rem; line-height: 1.1; }
.pack .field input { padding: 4px 8px; font-size: 16px; min-width: 0; }
.pack .field .err { grid-column: 2; font-size: .8rem; margin: 1px 0 2px; }
.pack .err-box { padding: 4px 8px; margin: 0 0 4px; font-size: .8rem; }
.pack-check { display: flex; gap: 6px; align-items: center; font-size: .78rem; line-height: 1.1; margin: 4px 0; font-weight: 400; }
.pack-check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--petrol); }
.pack .btn-big { margin-top: 2px; padding: 8px; font-size: 1rem; width: 100%; }
.pack-small { font-size: .7rem; margin: 2px 0 0; text-align: center; line-height: 1.1; }
.pack-preview { background: var(--sun); margin: 0; padding: 2px 14px; font-size: .72rem; font-weight: 600; }
.pack-nophoto { display: flex; align-items: center; justify-content: center; background: #e7eef0; margin: 0; }
@media (min-width: 800px) {
  .pack-cols { display: grid; grid-template-columns: 55% 45%; align-items: center; max-width: 1280px; margin: 0 auto; }
  .pack-photo { height: auto; max-height: 92vh; object-position: var(--pd, 50% 50%); }
  .pack-nophoto { height: 60vh; }
  .pack-right { padding: 24px 40px; }
  .pack h1 { font-size: 2rem; margin: 0 0 10px; }
  .pack-sub { font-size: 1.1rem; margin: 0 0 18px; }
  .pack .form .field { display: block; margin: 0 0 12px; }
  .pack .field label { font-size: 1rem; margin-bottom: 4px; display: block; }
  .pack .field input { padding: 10px 12px; }
  .pack-check { font-size: .95rem; margin: 12px 0; }
  .pack .btn-big { padding: 16px; font-size: 1.15rem; }
  .pack-small { font-size: .85rem; margin-top: 8px; }
  .pack-preview { font-size: .85rem; padding: 6px 16px; }
}
.pack-choose { padding-top: 20px; padding-bottom: 32px; border-top: 4px solid var(--sun); }
.pack-cand { background: #fff; border: 1.5px solid #b9cbd1; border-radius: 8px; padding: 10px; margin-bottom: 16px; }
.pack-cand.pack-on { border: 3px solid var(--petrol); }
.pack-cand p { margin: 0 0 8px; }
.pack-views { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; margin-bottom: 10px; }
.pack-views span { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 3px; }
.view-phone, .view-desk { overflow: hidden; border: 1px solid #b9cbd1; border-radius: 6px; background: #fff; }
.view-phone { width: 160px; height: 284px; }            /* a 320 x 568 phone at half size */
.view-phone iframe { width: 320px; height: 568px; border: 0; transform: scale(.5); transform-origin: 0 0; pointer-events: none; }
.view-desk { width: 320px; height: 215px; }             /* a 1280 x 860 screen at quarter size */
.view-desk iframe { width: 1280px; height: 860px; border: 0; transform: scale(.25); transform-origin: 0 0; pointer-events: none; }
.pack-cand .btn { width: 100%; max-width: 500px; padding: 10px; }
.hosts-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.hosts-photos img { width: 100%; height: 190px; object-fit: cover; border-radius: 8px; display: block; }
.hosts-who { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hosts-who img { border-radius: 12px; max-width: 220px; height: auto; }
.hosts-who div { flex: 1 1 260px; }
