/* ==========================================================
   "Become Our Partner" page (travel agencies, tour operators and organisers): the parts not shared with other pages.
   Loaded on that page only, after styles.css. The form reuses the private transport form's .tf-* styles.
   ========================================================== */

/* Hero: room for the long headline */
.pp-hero .tour-hero__title { max-width: 920px; }
.pp-hero .city-hero__sub { max-width: 780px; }

/* Introduction: the business model in one sentence */
.tp-intro__text .pp-quote { display: flex; gap: 16px; align-items: flex-start; margin: 26px 0 0; padding: 20px 22px; background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; }
.pp-quote .icon { flex: none; width: 26px; height: 26px; margin-top: 3px; color: var(--gold-ink); }
.tp-intro__text .pp-quote p { margin: 0; color: var(--night); font-family: var(--f-cond); font-size: 21px; font-weight: 600; line-height: 1.35; letter-spacing: .01em; }

/* Shared look of the small headings in the cards */
.pp-step h3, .pp-who__item h3, .pp-model h3, .pp-start__step h3 {
  margin: 0 0 8px; color: var(--night); font-family: var(--f-cond); font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase;
}
.pp-step p, .pp-who__item p, .pp-model p, .pp-start__step p { margin: 0; color: var(--text); font-family: var(--f-ui); font-size: 15px; line-height: 1.65; }

/* How it works: four numbered steps */
.pp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.pp-step { position: relative; padding: 30px 24px 26px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 34px rgba(16, 27, 54, .06); }
.pp-step__n { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; background: var(--night); border-radius: 50%; color: var(--gold); font-family: var(--f-cond); font-size: 22px; font-weight: 700; }
@media (min-width: 1141px) {
  .pp-step:not(:last-child)::after { content: ""; position: absolute; top: 53px; right: -23px; width: 24px; height: 2px; background: var(--gold); }
}

/* Services: photo cards, and a last dark card for everything else */
.pp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pp-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 34px rgba(16, 27, 54, .07); transition: transform .25s, box-shadow .25s; }
.pp-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(16, 27, 54, .12); }
.pp-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.pp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pp-card:hover .pp-card__media img { transform: scale(1.04); }
.pp-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 20px 22px; }
.pp-card__title { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 8px; color: var(--night); font-family: var(--f-cond); font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; }
.pp-card__title .icon { flex: none; margin-top: 2px; color: var(--gold); font-size: 20px; }
.pp-card__body p { margin: 0 0 16px; color: var(--text); font-family: var(--f-ui); font-size: 14.8px; line-height: 1.6; }
.pp-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--gold-ink); font-family: var(--f-ui); font-size: 14px; font-weight: 700; transition: gap .2s; }
.pp-card__more:hover { gap: 12px; }
.pp-card--more { background: linear-gradient(160deg, rgba(10, 24, 56, .92), rgba(10, 24, 56, .98)), url("../img/textura-dunas.webp") center / cover; border-color: transparent; }
.pp-card--more .pp-card__body { justify-content: center; padding: 30px 26px; }
.pp-card--more .pp-card__title { color: var(--white); }
.pp-card--more .pp-card__body p { color: rgba(255, 255, 255, .76); }
.pp-card--more .btn { margin-top: auto; }
.pp-card__badge { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; background: var(--gold); border-radius: 50%; color: var(--night); font-size: 24px; }

/* Who can become a partner */
.pp-who__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.pp-who__item { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.pp-who__ico { grid-row: span 2; display: grid; place-items: center; width: 50px; height: 50px; background: rgba(221, 153, 51, .14); border-radius: 14px; color: var(--gold-ink); font-size: 23px; }
.pp-who__item h3 { margin-top: 2px; font-size: 18px; }

/* Partnership models A, B and C, and the note on terms */
.pp-models__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.pp-model { padding: 32px 28px 28px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 18px; box-shadow: 0 14px 34px rgba(16, 27, 54, .06); }
.pp-model__letter { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; background: var(--night); border-radius: 14px; color: var(--gold); font-family: var(--f-cond); font-size: 28px; font-weight: 700; }
.pp-models__note { display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: 30px auto 0; padding: 18px 22px; background: var(--cream); border-radius: 14px; color: var(--night); font-family: var(--f-ui); font-size: 15px; font-weight: 600; line-height: 1.6; }
.pp-models__note .icon { flex: none; margin-top: 3px; color: var(--gold-ink); font-size: 19px; }

/* How to start: three steps */
.pp-start__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.pp-start__step { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px dashed rgba(221, 153, 51, .65); border-radius: 16px; }
.pp-start__step b { display: grid; flex: none; place-items: center; width: 44px; height: 44px; background: var(--gold); border-radius: 50%; color: var(--night); font-family: var(--f-cond); font-size: 20px; }

/* Enquiry: contact details and photo beside the form */
.pp-contact { display: grid; gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; }
.pp-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--night); font-family: var(--f-ui); font-size: 15.5px; font-weight: 700; overflow-wrap: anywhere; transition: color .2s; }
.pp-contact a:hover { color: var(--gold-ink); }
.pp-contact .brand { color: #1E9E4E; font-size: 20px; }
.pp-contact .icon { color: var(--gold-ink); font-size: 19px; }
.pp-enquiry__photo { display: block; width: 100%; max-width: 380px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 44px rgba(10, 24, 56, .16); }

/* Form: optional marks, and the services as tick boxes */
.pp-opt { color: var(--muted); font-size: 13px; font-weight: 500; }
.pp-checks { gap: 8px; }
.pp-checks__label { color: var(--night); font-family: var(--f-ui); font-size: 14px; font-weight: 700; }
.pp-checks__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.pp-check { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; background: var(--white); border: 1px solid #CFC8BA; border-radius: 10px; color: var(--ink); font-family: var(--f-ui); font-size: 15px; line-height: 1.3; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.pp-check input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; border: 0; box-shadow: none; accent-color: var(--gold-ink); cursor: pointer; }
.pp-check:has(input:checked) { border-color: var(--gold); background: rgba(221, 153, 51, .09); }
.pp-check:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(221, 153, 51, .22); }
.tf-field.pp-checks.is-invalid .pp-check { border-color: #B42318; }
.tf-field.pp-checks.is-invalid .pp-check input { box-shadow: none; }

/* Last call to action, with links to the main pages */
.pp-cta { background: linear-gradient(160deg, rgba(10, 24, 56, .9), rgba(10, 24, 56, .97)), url("../img/textura-dunas.webp") center / cover; }
.pp-cta__inner { max-width: 960px; text-align: center; }
.pp-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 34px; }
.pp-cta__links a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: var(--white); }
.pp-cta__links a:hover { background: rgba(255, 255, 255, .12); border-color: var(--gold); }

@media (max-width: 1140px) {
  .pp-steps, .pp-grid, .pp-who__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pp-models__grid, .pp-start__steps { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .pp-enquiry__photo { display: none; }
}
@media (max-width: 640px) {
  .pp-steps, .pp-grid, .pp-who__grid, .pp-checks__grid { grid-template-columns: minmax(0, 1fr); }
  .pp-step, .pp-who__item, .pp-model, .pp-start__step { padding: 20px; }
  .tp-intro__text .pp-quote { padding: 16px 18px; }
  .tp-intro__text .pp-quote p { font-size: 18px; }
  .pp-cta__actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-card, .pp-card__media img { transition: none; }
  .pp-card:hover { transform: none; }
}
