/* ==========================================================================
   Sri Lanka Travel Tours — Partner With Us
   ========================================================================== */

/* ---- Hero ---- */
.pw-hero {
  padding-block: 72px;
}

.pw-hero__inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.pw-hero__kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slt-action);
  margin-bottom: 18px;
}

.pw-hero h1 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.12;
  margin: 0 0 20px;
  color: var(--slt-text-primary);
}

.pw-hero__lead {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--slt-text-secondary);
  margin: 0 0 32px;
  max-width: 480px;
}

.pw-hero__actions {
  display: flex;
  gap: 14px;
}

.pw-hero__visual {
  position: relative;
  height: 420px;
}

.pw-hero__media {
  position: absolute;
  inset: 0;
  border-radius: var(--slt-radius-sm);
  background: linear-gradient(145deg, #0d3a8c, #3f5e85 55%, #2c8a92);
}

.pw-hero__badge {
  position: absolute;
  background-color: var(--slt-surface);
  border-radius: var(--slt-radius-sm);
  padding: 16px 20px;
  box-shadow: 0 16px 32px rgba(18, 18, 18, 0.16);
}

.pw-hero__badge strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--slt-text-primary);
  line-height: 1.1;
}

.pw-hero__badge span {
  font-size: 0.76rem;
  color: var(--slt-text-secondary);
  max-width: 130px;
  display: inline-block;
}

.pw-hero__badge--a {
  top: -20px;
  left: -24px;
  transform: rotate(-4deg);
}

.pw-hero__badge--b {
  bottom: 30px;
  right: -20px;
  transform: rotate(3deg);
}

.pw-hero__badge--c {
  bottom: -18px;
  left: 30%;
  transform: rotate(-2deg);
}

/* ---- Eyebrow (shared) ---- */
.pw-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slt-action);
  margin-bottom: 10px;
}

.pw-section h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.7px;
  margin: 0 0 40px;
  color: var(--slt-text-primary);
}

/* ---- Generic section ---- */
.pw-section {
  padding-block: 88px;
}

.pw-section--alt {
  background-color: var(--slt-surface-subtle);
}

/* ---- Partner types rail ---- */
.pw-type-track {
  margin-top: 8px;
}

.pw-type-card {
  flex: 1 1 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.pw-type-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--slt-radius-sm);
  margin-bottom: 18px;
}

.pw-type-card__media--a {
  background: linear-gradient(145deg, #0d3a8c, #3f5e85 55%, #2c8a92);
}

.pw-type-card__media--b {
  background: linear-gradient(145deg, #8c3d2e, #a9714a 55%, #d8a35a);
}

.pw-type-card__media--c {
  background: linear-gradient(145deg, #2e5c34, #5a8a5e 55%, #9bc7a0);
}

.pw-type-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--slt-text-primary);
}

.pw-type-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--slt-text-secondary);
  margin: 0 0 16px;
}

.pw-type-card__for {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--slt-text-muted);
}

/* ---- Benefits strip ---- */
.pw-benefits {
  padding-block: 56px;
  background-color: var(--slt-slate-900);
}

.pw-benefits__row {
  display: flex;
}

.pw-benefit {
  flex: 1;
  text-align: center;
  padding-inline: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.pw-benefit:first-child {
  border-left: none;
}

.pw-benefit strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 8px;
}

.pw-benefit span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* ---- Process — arrow stepper ---- */
.pw-process {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pw-process__step {
  flex: 1;
}

.pw-process__num {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slt-action);
  margin-bottom: 12px;
}

.pw-process__step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--slt-text-primary);
}

.pw-process__step p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--slt-text-secondary);
  margin: 0;
}

.pw-process__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 1.1rem;
  margin-top: 34px;
  color: var(--slt-border-strong);
}

.pw-process__arrow svg {
  width: 22px;
  height: 22px;
}

/* ---- Application form + sidebar ---- */
.pw-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

.pw-form-panel h2 {
  margin-bottom: 8px;
}

.pw-form-panel__note {
  font-size: 0.92rem;
  color: var(--slt-text-secondary);
  line-height: 1.55;
  margin: 0 0 28px;
}

.pw-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pw-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pw-field {
  display: block;
}

.pw-field__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slt-text-secondary);
  margin-bottom: 6px;
}

.pw-field__input,
.pw-field__select,
.pw-field__textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--slt-text-primary);
  background-color: var(--slt-surface-subtle);
  border: 1px solid transparent;
  border-radius: var(--slt-radius-sm);
  padding: 11px 14px;
}

.pw-field__select {
  cursor: pointer;
}

.pw-field__textarea {
  resize: vertical;
}

.pw-field__input:focus,
.pw-field__select:focus,
.pw-field__textarea:focus {
  outline: none;
  border-color: var(--slt-action);
  background-color: var(--slt-surface);
}

.pw-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pw-captcha {
  transition: outline-color 0.15s ease;
  outline: 2px solid transparent;
  outline-offset: 4px;
  border-radius: var(--slt-radius-sm);
  width: fit-content;
}

.pw-captcha.is-invalid {
  outline-color: var(--slt-red-400);
}

.pw-form__status {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
}

.pw-form__status--error {
  color: var(--slt-red-400);
}

.pw-form__status--success {
  color: var(--slt-success);
}

.pw-form__submit {
  border: none;
  cursor: pointer;
}

.pw-form__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ---- Sidebar ---- */
.pw-sidebar {
  display: flex;
  height: 100%;
}

.pw-sidebar__banner {
  display: block;
  width: 100%;
  min-height: 480px;
  border-radius: var(--slt-radius-sm);
  background: linear-gradient(145deg, #0d3a8c, #3f5e85 55%, #2c8a92);
}

/* ---- Buttons ---- */
.pw-btn {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--slt-radius-sm);
  white-space: nowrap;
  text-align: center;
}

.pw-btn--primary {
  background-color: var(--slt-action);
  color: var(--slt-white);
}

.pw-btn--primary:hover {
  background-color: var(--slt-action-hover);
}

.pw-btn--outline {
  border: 1px solid var(--slt-border-strong);
  color: var(--slt-text-primary);
}

.pw-btn--outline:hover {
  border-color: var(--slt-action);
  color: var(--slt-action);
}

/* ---- Closing quote ---- */
.pw-quote {
  padding-block: 88px;
  background-color: var(--slt-surface-subtle);
}

.pw-quote__inner {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.pw-quote__mark {
  width: 40px;
  height: 30px;
  color: var(--slt-border-strong);
  margin-bottom: 20px;
}

.pw-quote p {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.5;
  color: var(--slt-text-primary);
  margin: 0 0 20px;
}

.pw-quote span {
  font-size: 0.88rem;
  color: var(--slt-text-secondary);
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (max-width: 991.98px) {
  .pw-hero__inner {
    grid-template-columns: 1fr;
  }

  .pw-hero h1 {
    font-size: 34px;
  }

  .pw-hero__visual {
    height: 320px;
    margin-top: 48px;
  }

  .pw-benefits__row {
    flex-wrap: wrap;
    gap: 24px 0;
  }

  .pw-benefit {
    flex: 0 0 50%;
    border-left: none;
  }

  .pw-process {
    flex-direction: column;
    align-items: stretch;
  }

  .pw-process__arrow {
    transform: rotate(90deg);
    margin: 4px 0;
    align-self: center;
  }

  .pw-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .pw-hero {
    padding-block: 48px;
  }

  .pw-hero h1 {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
  }

  .pw-hero__actions {
    flex-direction: column;
  }

  .pw-section {
    padding-block: 56px;
  }

  .pw-section h2 {
    font-size: 1.5rem;
    margin-bottom: 28px;
  }

  .pw-field-row {
    grid-template-columns: 1fr;
  }

  .pw-quote p {
    font-size: 1.15rem;
  }
}
