/* ============================================================
   SafariBando — custom additions
   Load AFTER main.css:
   <link rel="stylesheet" href="<?= base_url('assets/css/custom.css') ?>">
   Uses the theme's own tokens (--tp-theme-1, --tp-common-black, Onest).
   ============================================================ */

/* ============================================================
   1. TOP BAR
   Sits above #header-sticky in normal flow. When the theme JS
   adds .header-sticky the header goes position:fixed and the
   topbar scrolls away on its own — nothing to compensate for.
   ============================================================ */

.sb-topbar {
   background: var(--tp-common-black);
   color: rgba(255, 255, 255, .8);
   font-family: var(--tp-ff-body);
   font-size: 13px;
   line-height: 1.4;
   position: relative;
   z-index: 11;
}

.sb-topbar__inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px;
   min-height: 38px;
   padding: 6px 0;
}

.sb-topbar__trust {
   display: flex;
   align-items: center;
   gap: 12px;
   min-width: 0;
}

.sb-topbar__sep {
   width: 1px;
   height: 12px;
   background: rgba(255, 255, 255, .25);
   flex-shrink: 0;
}

.sb-topbar__contact {
   display: flex;
   align-items: center;
   gap: 18px;
   flex-shrink: 0;
}

.sb-topbar__link {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   color: var(--tp-common-white);
   text-decoration: none;
   transition: color .3s ease;
}

.sb-topbar__link:hover {
   color: var(--tp-theme-1);
}

.sb-topbar__icon {
   width: 14px;
   height: 14px;
   fill: currentColor;
   flex-shrink: 0;
}

@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 574.98px) {
   .sb-topbar__trust,
   .sb-topbar__link--email { display: none; }
   .sb-topbar__inner { justify-content: center; }
}

/* ============================================================
   2. HERO
   ============================================================ */

.sb-hero {
   position: relative;
   display: flex;
   align-items: center;
   min-height: 640px;
   padding: 72px 0;
   overflow: hidden;
   color: var(--tp-common-white);
}

.sb-hero__media {
   position: absolute;
   inset: 0;
}

.sb-hero__slide {
   position: absolute;
   inset: 0;
   background-size: cover;
   background-position: center;
   opacity: 0;
   transform: scale(1.04);
   transition: opacity 1.4s ease-in-out;
}

.sb-hero__slide.is-active {
   opacity: 1;
   animation: sb-drift 14s ease-out forwards;
}

@keyframes sb-drift {
   from { transform: scale(1.04); }
   to   { transform: scale(1.12); }
}

.sb-hero__scrim {
   position: absolute;
   inset: 0;
   background: linear-gradient(90deg,
      rgba(7, 21, 22, .78) 0%,
      rgba(7, 21, 22, .58) 45%,
      rgba(7, 21, 22, .28) 100%);
}

.sb-hero__container {
   position: relative;
   z-index: 2;
}

.sb-hero__grid {
   display: grid;
   grid-template-columns: minmax(0, 1.15fr) minmax(0, 420px);
   gap: 56px;
   align-items: center;
}

.sb-hero__title {
   margin: 0 0 18px;
   font-family: var(--tp-ff-heading);
   font-size: clamp(2.4rem, 4.6vw, 4rem);
   line-height: 1.04;
   letter-spacing: -0.02em;
   font-weight: 700;
   color: var(--tp-common-white);
}

.sb-hero__lede {
   margin: 0 0 26px;
   max-width: 56ch;
   font-size: clamp(1rem, 1.25vw, 1.15rem);
   line-height: 1.6;
   color: rgba(255, 255, 255, .88);
}

.sb-hero__proof {
   display: flex;
   flex-wrap: wrap;
   gap: 14px 34px;
   margin: 0;
   padding: 20px 0 0;
   list-style: none;
   border-top: 1px solid rgba(255, 255, 255, .2);
   font-size: 15px;
   color: rgba(255, 255, 255, .78);
}

.sb-hero__proof strong {
   display: block;
   font-size: 24px;
   font-weight: 700;
   line-height: 1.2;
   color: var(--tp-theme-1);
}

/* ============================================================
   3. QUOTE CARD
   ============================================================ */

.sb-quote {
   background: var(--tp-common-white);
   color: var(--tp-common-black);
   border-radius: 14px;
   padding: 28px;
   box-shadow: 0 24px 60px rgba(7, 21, 22, .3);
}

.sb-quote__title {
   margin: 0 0 16px;
   font-family: var(--tp-ff-heading);
   font-size: 21px;
   font-weight: 700;
   color: var(--tp-common-black);
}

.sb-quote__choices {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 6px;
   padding: 5px;
   margin-bottom: 20px;
   background: var(--tp-grey-3);
   border-radius: 10px;
}

.sb-quote__choice {
   padding: 10px 6px;
   border: 0;
   border-radius: 7px;
   background: transparent;
   font-family: var(--tp-ff-body);
   font-size: 14px;
   font-weight: 500;
   color: var(--tp-grey-1);
   cursor: pointer;
   transition: all .3s ease;
}

.sb-quote__choice.is-active {
   background: var(--tp-common-white);
   color: var(--tp-common-black);
   box-shadow: 0 1px 3px rgba(7, 21, 22, .14);
}

.sb-quote__label {
   display: block;
   margin-bottom: 8px;
   font-size: 14px;
   font-weight: 500;
   color: var(--tp-common-black);
}

.sb-quote__field {
   width: 100%;
   padding: 13px 14px;
   margin-bottom: 18px;
   border: 1px solid var(--tp-border-1);
   border-radius: 9px;
   background-color: var(--tp-common-white);
   font-family: var(--tp-ff-body);
   font-size: 15px;
   color: var(--tp-common-black);
   appearance: none;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235f556a'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
   background-repeat: no-repeat;
   background-position: right 12px center;
   background-size: 20px;
}

.sb-quote__field:focus {
   outline: 2px solid var(--tp-theme-1);
   outline-offset: 1px;
   border-color: var(--tp-theme-1);
}

/* note: not .tp-btn — that class carries margin:10px 14px which
   breaks a full-width button inside the card */
.sb-quote__submit {
   width: 100%;
   padding: 15px 20px;
   margin: 0;
   border: 0;
   border-radius: 50px;
   background: var(--tp-theme-1);
   color: var(--tp-common-white);
   font-family: var(--tp-ff-body);
   font-size: 16px;
   font-weight: 500;
   letter-spacing: -0.02em;
   cursor: pointer;
   transition: all .4s ease;
}

.sb-quote__submit:hover {
   background: var(--tp-common-red);
}

.sb-quote__submit:focus-visible {
   outline: 3px solid var(--tp-common-black);
   outline-offset: 2px;
}

.sb-quote__note {
   margin: 12px 0 0;
   text-align: center;
   font-size: 13px;
   color: var(--tp-grey-2);
}

/* ============================================================
   4. STICKY MOBILE CTA BAR
   ============================================================ */

.tour-mobile-cta {
   position: fixed;
   bottom: 0;
   left: 0;
   right: 0;
   z-index: 99;
   display: flex;
   gap: 10px;
   padding: 10px 15px;
   padding-bottom: calc(10px + env(safe-area-inset-bottom));
   background: var(--tp-common-white);
   box-shadow: 0 -2px 12px rgba(7, 21, 22, .14);
}

/* override .tp-btn's own margin so the two buttons sit level */
.tour-mobile-cta .tp-btn,
.tour-mobile-cta .tp-btn-wa {
   flex: 1;
   margin: 0;
   padding: 13px 16px;
   border: 0;
   border-radius: 50px;
   font-family: var(--tp-ff-body);
   font-size: 15px;
   font-weight: 500;
   line-height: 1;
   text-align: center;
   white-space: nowrap;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all .4s ease;
}

.tour-mobile-cta .tp-btn {
   background: var(--tp-theme-1);
   color: var(--tp-common-white);
}

.tour-mobile-cta .tp-btn-wa {
   background: #25D366;
   color: var(--tp-common-white);
   text-decoration: none;
}

.tour-mobile-cta .tp-btn-wa:hover {
   background: #1DA851;
   color: var(--tp-common-white);
}

/* stop the bar covering the end of the page */
@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 574.98px) {
   body { padding-bottom: 78px; }
}

/* ============================================================
   5. FLOATING WHATSAPP — desktop only
   ============================================================ */

@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 574.98px) {
   .whatsapp-floating { display: none !important; }
}

/* ============================================================
   6. RESPONSIVE + MOTION
   ============================================================ */

@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 574.98px) {
   .sb-hero {
      min-height: 0;
      padding: 48px 0 56px;
   }
   .sb-hero__grid {
      grid-template-columns: 1fr;
      gap: 32px;
   }
   .sb-hero__scrim {
      background: linear-gradient(180deg, rgba(7, 21, 22, .55) 0%, rgba(7, 21, 22, .72) 100%);
   }
   .sb-hero__proof { gap: 12px 24px; }
   .sb-quote { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
   .sb-hero__slide,
   .sb-hero__slide.is-active {
      transition: none;
      animation: none;
      transform: none;
   }
}

@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 574.98px) {
   .sb-hero__slide[data-mobile] {
      background-image: var(--sb-mobile-img) !important;
   }
}

/* ============================================================
   TOP BAR — white
   Replaces the whole "1. TOP BAR" block in custom.css
   ============================================================ */

.sb-topbar {
   background: var(--tp-common-white);
   border-bottom: 1px solid var(--tp-border-1);
   color: var(--tp-grey-1);
   font-family: var(--tp-ff-body);
   font-size: 13px;
   line-height: 1.4;
   position: relative;
   z-index: 11;
}

.sb-topbar__inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px;
   min-height: 40px;
   padding: 6px 0;
}

.sb-topbar__trust {
   display: flex;
   align-items: center;
   gap: 12px;
   min-width: 0;
}

.sb-topbar__right {
   display: flex;
   align-items: center;
   gap: 16px;
   flex-shrink: 0;
}

.sb-topbar__contact {
   display: flex;
   align-items: center;
   gap: 18px;
}

.sb-topbar__sep {
   width: 1px;
   height: 13px;
   background: rgba(17, 17, 17, .15);
   flex-shrink: 0;
}

.sb-topbar__link {
   display: inline-flex;
   align-items: center;
   gap: 6px;
   color: var(--tp-common-black);
   text-decoration: none;
   transition: color .3s ease;
}

.sb-topbar__link:hover {
   color: var(--tp-theme-1);
}

.sb-topbar__icon {
   width: 14px;
   height: 14px;
   fill: currentColor;
   flex-shrink: 0;
}

/* --- social --- */

.sb-topbar__social {
   display: flex;
   align-items: center;
   gap: 6px;
}

.sb-topbar__social a {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 26px;
   height: 26px;
   border-radius: 50%;
   color: var(--tp-grey-1);
   transition: all .3s ease;
}

.sb-topbar__social a:hover {
   background: var(--tp-theme-1);
   color: var(--tp-common-white);
}

.sb-topbar__social svg {
   width: 14px;
   height: 14px;
   fill: currentColor;
}

/* --- small screens: keep phone + social, drop the rest --- */

@media only screen and (min-width: 768px) and (max-width: 991px) {
   .sb-topbar__trust { display: none; }
   .sb-topbar__inner { justify-content: flex-end; }
}

@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 574.98px) {
   .sb-topbar__trust,
   .sb-topbar__link--email,
   .sb-topbar__sep--social { display: none; }
   .sb-topbar__inner { justify-content: center; }
   .sb-topbar__right { gap: 12px; }
   .sb-topbar__social { gap: 2px; }
}

/* ============================================================
   HEADER CTA — "Plan My Trip" instead of the WhatsApp link
   ============================================================ */

.tp-header-contact a {
   display: inline-block;
   padding: 11px 22px;
   border-radius: 50px;
   background: var(--tp-theme-1);
   color: var(--tp-common-white);
   font-size: 15px;
   font-weight: 500;
   line-height: 1;
   letter-spacing: -0.02em;
   text-decoration: none;
   transition: all .4s ease;
}

.tp-header-contact a:hover {
   background: var(--tp-common-red);
   color: var(--tp-common-white);
}

/* ============================================================
   FOOTER — append to custom.css
   ============================================================ */

/* ---------- CTA strip ---------- */

.sb-footer-cta {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 30px;
   flex-wrap: wrap;
   margin-top: 60px;
   padding: 32px 40px;
   border-radius: 14px;
   background: var(--tp-common-black);
   color: var(--tp-common-white);
}

.sb-footer-cta__text h3 {
   margin: 0 0 6px;
   font-size: 24px;
   font-weight: 700;
   color: var(--tp-common-white);
}

.sb-footer-cta__text p {
   margin: 0;
   font-size: 15px;
   color: rgba(255, 255, 255, .75);
}

.sb-footer-cta__btn {
   flex-shrink: 0;
   padding: 15px 32px;
   border: 0;
   border-radius: 50px;
   background: var(--tp-theme-1);
   color: var(--tp-common-white);
   font-family: var(--tp-ff-body);
   font-size: 16px;
   font-weight: 500;
   cursor: pointer;
   transition: all .4s ease;
}

.sb-footer-cta__btn:hover { background: var(--tp-common-red); }

/* ---------- social ---------- */

.sb-footer-social {
   display: flex;
   gap: 8px;
   margin-top: 22px;
}

.sb-footer-social a {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 36px;
   height: 36px;
   border: 1px solid var(--tp-border-1);
   border-radius: 50%;
   color: var(--tp-grey-1);
   transition: all .3s ease;
}

.sb-footer-social a:hover {
   background: var(--tp-theme-1);
   border-color: var(--tp-theme-1);
   color: var(--tp-common-white);
}

.sb-footer-social svg {
   width: 16px;
   height: 16px;
   fill: currentColor;
}

/* ---------- contact list ---------- */

.sb-footer-contact {
   margin: 0 0 24px;
   padding: 0;
   list-style: none;
}

.sb-footer-contact li {
   display: flex;
   align-items: flex-start;
   gap: 10px;
   margin-bottom: 12px;
   font-size: 15px;
   line-height: 1.5;
   color: var(--tp-grey-1);
}

.sb-footer-contact svg {
   width: 16px;
   height: 16px;
   margin-top: 3px;
   fill: var(--tp-theme-1);
   flex-shrink: 0;
}

.sb-footer-contact a {
   color: var(--tp-common-black);
   text-decoration: none;
   transition: color .3s ease;
}

.sb-footer-contact a:hover { color: var(--tp-theme-1); }

/* ---------- quick enquiry ---------- */

.sb-footer-form__label {
   display: block;
   margin-bottom: 8px;
   font-size: 14px;
   font-weight: 500;
   color: var(--tp-common-black);
}

.sb-footer-form__row {
   display: flex;
   gap: 8px;
   margin-bottom: 8px;
}

.sb-footer-form input[type="email"],
.sb-footer-form textarea {
   width: 100%;
   padding: 12px 14px;
   border: 1px solid var(--tp-border-1);
   border-radius: 9px;
   background: var(--tp-common-white);
   font-family: var(--tp-ff-body);
   font-size: 15px;
   color: var(--tp-common-black);
   resize: vertical;
}

.sb-footer-form input:focus,
.sb-footer-form textarea:focus {
   outline: 2px solid var(--tp-theme-1);
   outline-offset: 1px;
   border-color: var(--tp-theme-1);
}

.sb-footer-form button {
   flex-shrink: 0;
   padding: 12px 24px;
   border: 0;
   border-radius: 9px;
   background: var(--tp-theme-1);
   color: var(--tp-common-white);
   font-family: var(--tp-ff-body);
   font-size: 15px;
   font-weight: 500;
   cursor: pointer;
   transition: all .4s ease;
}

.sb-footer-form button:hover { background: var(--tp-common-red); }

/* ---------- trust row ---------- */

.sb-footer-trust {
   display: flex;
   flex-wrap: wrap;
   gap: 10px 28px;
   padding: 20px 0;
   border-top: 1px solid var(--tp-border-1);
   font-size: 13px;
   color: var(--tp-grey-2);
}

/* ---------- bottom ---------- */

.tp-copyright-payment a {
   margin-left: 18px;
   font-size: 14px;
   color: var(--tp-grey-1);
   text-decoration: none;
   transition: color .3s ease;
}

.tp-copyright-payment a:first-child { margin-left: 0; }
.tp-copyright-payment a:hover { color: var(--tp-theme-1); }

/* ---------- responsive ---------- */

@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 574.98px) {
   .sb-footer-cta {
      padding: 26px 22px;
      text-align: center;
      justify-content: center;
   }
   .sb-footer-cta__btn { width: 100%; }
   .sb-footer-cta__text h3 { font-size: 20px; }
   .sb-footer-trust { gap: 8px 18px; font-size: 12px; }
   .tp-copyright-payment { margin-top: 10px; }
   .tp-copyright-payment a { margin: 0 9px 0 0; }
}

.sb-footer-ta {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   margin-top: 22px;
   padding: 10px 14px;
   border: 1px solid var(--tp-border-1);
   border-radius: 10px;
   text-decoration: none;
   transition: all .3s ease;
}

.sb-footer-ta:hover { border-color: var(--tp-theme-1); }

.sb-footer-ta__stars {
   color: #00AA6C;          /* TripAdvisor green */
   font-size: 15px;
   letter-spacing: 1px;
}

.sb-footer-ta__text {
   font-size: 13px;
   line-height: 1.4;
   color: var(--tp-grey-1);
}

.sb-footer-ta__text strong { color: var(--tp-common-black); }
/* ============================================================
   PLAN MY TRIP — append to custom.css
   Uses the theme tokens from main.css
   ============================================================ */

.pmt { padding: 60px 0 90px; }

.pmt-head { max-width: 760px; margin-bottom: 48px; }

.pmt-head h1 {
   margin: 0 0 16px;
   font-size: clamp(2rem, 3.6vw, 3rem);
   line-height: 1.1;
   letter-spacing: -0.02em;
   color: var(--tp-common-black);
}

.pmt-head__lede {
   margin: 0;
   font-size: 17px;
   line-height: 1.65;
   color: var(--tp-grey-1);
}

.pmt-grid {
   display: grid;
   grid-template-columns: minmax(0, 1fr) 320px;
   gap: 56px;
   align-items: start;
}

/* ---------- alerts ---------- */

.pmt-alert {
   padding: 14px 18px;
   margin-bottom: 28px;
   border-radius: 10px;
   font-size: 15px;
}

.pmt-alert--error {
   background: #FFF1EE;
   border: 1px solid var(--tp-theme-1);
   color: var(--tp-common-red);
}

.pmt-err {
   margin: 6px 0 0;
   font-size: 13px;
   color: var(--tp-common-red);
}

/* ---------- honeypot ---------- */

.pmt-hp {
   position: absolute;
   left: -9999px;
   width: 1px;
   height: 1px;
   overflow: hidden;
}

/* ---------- steps ---------- */

.pmt-step {
   padding: 0 0 36px;
   margin: 0 0 36px;
   border: 0;
   border-bottom: 1px solid var(--tp-border-1);
}

.pmt-step:last-of-type { border-bottom: 0; }

.pmt-step legend {
   display: flex;
   align-items: center;
   gap: 12px;
   margin-bottom: 8px;
   padding: 0;
   font-size: 21px;
   font-weight: 700;
   color: var(--tp-common-black);
}

.pmt-step__n {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 30px;
   height: 30px;
   flex-shrink: 0;
   border-radius: 50%;
   background: var(--tp-theme-1);
   color: var(--tp-common-white);
   font-size: 15px;
   font-weight: 600;
}

.pmt-step__hint {
   margin: 0 0 20px;
   font-size: 15px;
   color: var(--tp-grey-1);
}

.pmt-step legend + .pmt-cards,
.pmt-step legend + .pmt-pills { margin-top: 20px; }

/* ---------- trip-type cards: ALL ON ONE ROW ---------- */

.pmt-cards {
   display: grid;
   gap: 12px;
}

/* however many options exist, they divide one row evenly */
.pmt-cards--4 {
   grid-auto-flow: column;
   grid-auto-columns: 1fr;
}

.pmt-cards--3 { grid-template-columns: repeat(3, 1fr); }

.pmt-card { cursor: pointer; }

.pmt-card input {
   position: absolute;
   opacity: 0;
   width: 0;
   height: 0;
}

.pmt-card__body {
   display: block;
   height: 100%;
   overflow: hidden;
   border: 2px solid var(--tp-border-1);
   border-radius: 12px;
   background: var(--tp-common-white);
   transition: all .25s ease;
}

.pmt-card img {
   display: block;
   width: 100%;
   height: 110px;
   object-fit: cover;
}

.pmt-card__label {
   display: block;
   padding: 10px 12px;
   font-size: 14px;
   font-weight: 600;
   line-height: 1.3;
   color: var(--tp-common-black);
}

.pmt-card__note {
   display: block;
   padding: 0 14px 14px;
   font-size: 13px;
   line-height: 1.5;
   color: var(--tp-grey-1);
}

.pmt-cards--text .pmt-card__label {
   padding: 14px 14px 4px;
   font-size: 15px;
}

.pmt-card:hover .pmt-card__body { border-color: var(--tp-grey-2); }

.pmt-card input:checked + .pmt-card__body {
   border-color: var(--tp-theme-1);
   box-shadow: 0 0 0 3px rgba(253, 70, 33, .12);
}

.pmt-card input:focus-visible + .pmt-card__body {
   outline: 3px solid var(--tp-common-black);
   outline-offset: 2px;
}

/* ---------- "beyond Tanzania" secondary row ---------- */

.pmt-also {
   margin-top: 22px;
   padding-top: 20px;
   border-top: 1px dashed var(--tp-border-1);
}

.pmt-also__label {
   display: block;
   margin-bottom: 12px;
   font-size: 14px;
   font-weight: 500;
   color: var(--tp-grey-1);
}

/* ---------- pills ---------- */

.pmt-pills {
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   margin-bottom: 24px;
}

.pmt-pills--tight { margin-bottom: 0; }

.pmt-pill { cursor: pointer; }

.pmt-pill input {
   position: absolute;
   opacity: 0;
   width: 0;
   height: 0;
}

.pmt-pill span {
   display: inline-block;
   padding: 11px 20px;
   border: 1px solid var(--tp-border-1);
   border-radius: 50px;
   background: var(--tp-common-white);
   font-size: 15px;
   color: var(--tp-common-black);
   transition: all .25s ease;
}

.pmt-pill:hover span { border-color: var(--tp-grey-2); }

.pmt-pill input:checked + span {
   border-color: var(--tp-theme-1);
   background: var(--tp-theme-1);
   color: var(--tp-common-white);
}

.pmt-pill input:focus-visible + span {
   outline: 3px solid var(--tp-common-black);
   outline-offset: 2px;
}

/* ---------- months ---------- */

.pmt-months {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 10px;
}

.pmt-month {
   cursor: pointer;
   border: 1px solid var(--tp-border-1);
   border-radius: 10px;
   background: var(--tp-common-white);
   transition: all .25s ease;
}

.pmt-month input {
   position: absolute;
   opacity: 0;
   width: 0;
   height: 0;
}

.pmt-month__name {
   display: block;
   padding: 10px 12px 4px;
   font-size: 15px;
   font-weight: 600;
   color: var(--tp-common-black);
}

.pmt-month__note {
   display: block;
   padding: 0 12px 10px;
   font-size: 12px;
   line-height: 1.45;
   color: var(--tp-grey-1);
}

.pmt-month:hover { border-color: var(--tp-grey-2); }

.pmt-month:has(input:checked) {
   border-color: var(--tp-theme-1);
   box-shadow: 0 0 0 3px rgba(253, 70, 33, .12);
}

.pmt-month:has(input:focus-visible) {
   outline: 3px solid var(--tp-common-black);
   outline-offset: 2px;
}

/* ---------- counters ---------- */

.pmt-counts {
   display: grid;
   grid-template-columns: 140px 140px 1fr;
   gap: 16px;
   align-items: start;
}

.pmt-count label {
   display: block;
   margin-bottom: 6px;
   font-size: 14px;
   font-weight: 500;
   color: var(--tp-common-black);
}

.pmt-count label span {
   font-weight: 400;
   color: var(--tp-grey-2);
}

.pmt-count small {
   display: block;
   margin-top: 6px;
   font-size: 12.5px;
   line-height: 1.45;
   color: var(--tp-grey-2);
}

/* ---------- fields ---------- */

.pmt-fields {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 20px;
   margin-bottom: 28px;
}

.pmt-field--wide { grid-column: 1 / -1; }

.pmt-field label,
.pmt-field__label {
   display: block;
   margin-bottom: 6px;
   font-size: 14px;
   font-weight: 500;
   color: var(--tp-common-black);
}

.pmt-field label span { color: var(--tp-theme-1); }

.pmt-field small {
   display: block;
   margin-top: 6px;
   font-size: 12.5px;
   color: var(--tp-grey-2);
}

.pmt-form input[type="text"],
.pmt-form input[type="email"],
.pmt-form input[type="tel"],
.pmt-form input[type="number"],
.pmt-form textarea {
   width: 100%;
   padding: 13px 14px;
   border: 1px solid var(--tp-border-1);
   border-radius: 9px;
   background: var(--tp-common-white);
   font-family: var(--tp-ff-body);
   font-size: 15px;
   color: var(--tp-common-black);
   resize: vertical;
}

.pmt-form input:focus,
.pmt-form textarea:focus {
   outline: 2px solid var(--tp-theme-1);
   outline-offset: 1px;
   border-color: var(--tp-theme-1);
}

/* ---------- submit ---------- */

.pmt-submit {
   padding: 16px 38px;
   border: 0;
   border-radius: 50px;
   background: var(--tp-theme-1);
   color: var(--tp-common-white);
   font-family: var(--tp-ff-body);
   font-size: 17px;
   font-weight: 500;
   cursor: pointer;
   transition: all .4s ease;
}

.pmt-submit:hover { background: var(--tp-common-red); }

.pmt-next {
   display: flex;
   flex-wrap: wrap;
   gap: 8px 26px;
   margin: 20px 0 0;
   padding: 0;
   list-style: none;
   font-size: 14px;
   color: var(--tp-grey-1);
}

.pmt-next li::before {
   content: "✓";
   margin-right: 7px;
   color: var(--tp-theme-1);
   font-weight: 700;
}

/* ---------- sidebar ---------- */

.pmt-aside { position: sticky; top: 110px; }

.pmt-trust {
   padding: 26px;
   border: 1px solid var(--tp-border-1);
   border-radius: 14px;
   background: var(--tp-grey-3);
}

.pmt-trust h2 {
   margin: 0 0 16px;
   font-size: 18px;
   font-weight: 700;
   color: var(--tp-common-black);
}

.pmt-trust ul {
   margin: 0 0 22px;
   padding: 0;
   list-style: none;
   font-size: 14.5px;
   line-height: 1.5;
   color: var(--tp-grey-1);
}

.pmt-trust ul li {
   position: relative;
   padding-left: 20px;
   margin-bottom: 10px;
}

.pmt-trust ul li::before {
   content: "";
   position: absolute;
   left: 0;
   top: 8px;
   width: 7px;
   height: 7px;
   border-radius: 50%;
   background: var(--tp-theme-1);
}

.pmt-licence {
   margin: 0 0 22px;
   padding: 16px 0;
   border-top: 1px solid var(--tp-border-1);
   border-bottom: 1px solid var(--tp-border-1);
   font-size: 13px;
}

.pmt-licence dt { color: var(--tp-grey-2); }
.pmt-licence dd { margin: 0 0 8px; color: var(--tp-common-black); font-weight: 600; }
.pmt-licence dd:last-child { margin-bottom: 0; }

.pmt-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.pmt-contact a { color: var(--tp-common-black); text-decoration: none; }
.pmt-contact a:hover { color: var(--tp-theme-1); }

.pmt-wa {
   padding: 12px 18px;
   border-radius: 50px;
   background: #25D366;
   color: var(--tp-common-white) !important;
   text-align: center;
   font-weight: 500;
}

.pmt-wa:hover { background: #1DA851; color: var(--tp-common-white) !important; }

/* ---------- thanks page ---------- */

.pmt-thanks__head { max-width: 680px; margin-bottom: 56px; }
.pmt-thanks__head h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.pmt-thanks__head p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--tp-grey-1); }

.pmt-matches h2 { margin: 0 0 6px; font-size: 22px; }
.pmt-matches__note { margin: 0 0 26px; font-size: 15px; color: var(--tp-grey-1); }

.pmt-match-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 22px;
}

.pmt-match {
   display: block;
   overflow: hidden;
   border: 1px solid var(--tp-border-1);
   border-radius: 12px;
   background: var(--tp-common-white);
   text-decoration: none;
   transition: all .3s ease;
}

.pmt-match:hover {
   border-color: var(--tp-theme-1);
   transform: translateY(-3px);
}

.pmt-match img { display: block; width: 100%; height: 170px; object-fit: cover; }
.pmt-match__body { display: block; padding: 16px 18px 20px; }
.pmt-match__title { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 600; color: var(--tp-common-black); }
.pmt-match__meta { display: block; font-size: 14px; color: var(--tp-grey-1); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* laptops: narrower sidebar, smaller card images */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
   .pmt-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
   .pmt-cards--4 { gap: 10px; }
   .pmt-card img { height: 92px; }
   .pmt-card__label { padding: 9px 10px; font-size: 13px; }
}

/* tablets: sidebar drops below, cards stay on one row */
@media only screen and (min-width: 768px) and (max-width: 991px) {
   .pmt-grid { grid-template-columns: 1fr; gap: 40px; }
   .pmt-aside { position: static; }
   .pmt-card img { height: 86px; }
   .pmt-card__label { padding: 9px 10px; font-size: 13px; }
   .pmt-months { grid-template-columns: repeat(3, 1fr); }
   .pmt-cards--3 { grid-template-columns: repeat(3, 1fr); }
}

/* phones: cards wrap to two rows — never a sideways scroller,
   options hidden off-screen do not get chosen */
@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 574.98px) {
   .pmt { padding: 40px 0 70px; }
   .pmt-grid { grid-template-columns: 1fr; gap: 40px; }
   .pmt-aside { position: static; }

   .pmt-cards--4 {
      grid-auto-flow: row;
      grid-template-columns: repeat(2, 1fr);
   }
   .pmt-card img { height: 100px; }
   .pmt-card__label { font-size: 14px; }

   .pmt-cards--3 { grid-template-columns: 1fr; }
   .pmt-months { grid-template-columns: repeat(2, 1fr); }
   .pmt-counts { grid-template-columns: 1fr 1fr; }
   .pmt-counts .pmt-count--wide { grid-column: 1 / -1; }
   .pmt-fields { grid-template-columns: 1fr; }
   .pmt-submit { width: 100%; }
   .pmt-match-grid { grid-template-columns: 1fr; }
   .pmt-pill span { padding: 10px 16px; font-size: 14px; }
}

/* ============================================================
   CONTACT — credentials strip + offices grid
   Append to custom.css
   ============================================================ */

.sb-offices { padding: 20px 0 70px; }

/* ---------- credentials ---------- */

.sb-creds {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 18px;
   padding: 24px;
   margin-bottom: 60px;
   border: 1px solid var(--tp-border-1);
   border-radius: 14px;
   background: var(--tp-grey-3);
}

.sb-creds__item {
   display: flex;
   align-items: flex-start;
   gap: 12px;
}

.sb-creds__item svg {
   width: 22px;
   height: 22px;
   flex-shrink: 0;
   margin-top: 2px;
   fill: var(--tp-theme-1);
}

.sb-creds__item strong {
   display: block;
   font-size: 14.5px;
   font-weight: 600;
   line-height: 1.35;
   color: var(--tp-common-black);
}

.sb-creds__item span {
   display: block;
   margin-top: 3px;
   font-size: 13px;
   color: var(--tp-grey-1);
}

/* ---------- offices ---------- */

.sb-offices__head {
   max-width: 620px;
   margin-bottom: 34px;
}

.sb-offices__head h2 {
   margin: 0 0 10px;
   font-size: 28px;
   font-weight: 600;
   color: var(--tp-common-black);
}

.sb-offices__head p {
   margin: 0;
   font-size: 16px;
   line-height: 1.6;
   color: var(--tp-grey-1);
}

.sb-office-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
   gap: 20px;
}

.sb-office {
   position: relative;
   padding: 24px 22px;
   border: 1px solid var(--tp-border-1);
   border-radius: 14px;
   background: var(--tp-common-white);
   transition: all .3s ease;
}

.sb-office:hover {
   border-color: var(--tp-theme-1);
   box-shadow: 0 10px 30px rgba(7, 21, 22, .07);
}

.sb-office--hq {
   border-color: var(--tp-theme-1);
   background: #FFF8F6;
}

.sb-office__tag--ops {
   background: var(--tp-common-black);
}

.sb-office__tag {
   display: inline-block;
   margin-bottom: 10px;
   padding: 4px 11px;
   border-radius: 50px;
   background: var(--tp-theme-1);
   color: var(--tp-common-white);
   font-size: 11.5px;
   font-weight: 600;
   letter-spacing: .02em;
   text-transform: uppercase;
}

.sb-office h3 {
   margin: 0 0 10px;
   font-size: 20px;
   font-weight: 600;
   color: var(--tp-common-black);
}

.sb-office__addr {
   margin: 0 0 10px;
   font-size: 14.5px;
   line-height: 1.55;
   color: var(--tp-common-black);
}

.sb-office__note {
   margin: 0 0 16px;
   padding-bottom: 16px;
   border-bottom: 1px solid var(--tp-border-1);
   font-size: 13px;
   line-height: 1.5;
   color: var(--tp-grey-1);
}

.sb-office__links {
   display: flex;
   flex-direction: column;
   gap: 7px;
   font-size: 14px;
}

.sb-office__links a {
   color: var(--tp-common-black);
   text-decoration: none;
   transition: color .3s ease;
}

.sb-office__links a:last-child {
   color: var(--tp-theme-1);
   font-weight: 500;
}

.sb-office__links a:hover { color: var(--tp-theme-1); }

/* ---------- responsive ---------- */

@media only screen and (min-width: 768px) and (max-width: 991px) {
   .sb-creds { grid-template-columns: 1fr; gap: 16px; }
}

@media only screen and (min-width: 576px) and (max-width: 767px), (max-width: 574.98px) {
   .sb-offices { padding: 10px 0 50px; }
   .sb-creds {
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 20px;
      margin-bottom: 40px;
   }
   .sb-offices__head h2 { font-size: 23px; }
   .sb-office-grid { grid-template-columns: 1fr; }
}
