/* v255U — Fees + FAQ + Order conversion polish. Scoped public UI patch. */

/* Shared public conversion helpers */
.fees-hero .muted,
.page-hero .muted,
.order-shell .muted{
  max-width: 760px;
}

.section-lead{
  max-width: 860px;
}

/* Fees page */
.fees-hero-grid{
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.fees-hero .hero-actions{
  margin-top: 22px;
}

.fees-check-section{
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.fee-card{
  border: 1px solid rgba(13, 41, 66, .10);
  box-shadow: 0 18px 45px rgba(15, 45, 76, .10);
}

.fee-card h2{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fee-card h2::after{
  content: "Estimate";
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #2563eb;
  background: #eaf2ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
}

.fee-card label{
  margin-top: 12px;
  font-weight: 700;
  color: #18324d;
}

.fee-card select{
  margin-top: 7px;
  min-height: 48px;
}

.fee-card .total{
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, .08);
}

.fee-card .amount{
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
  margin: 0 0 8px;
  letter-spacing: -.04em;
}

.fees-table td,
.fees-table th{
  vertical-align: top;
}

.fees-table td:nth-child(3),
.fees-table th:nth-child(3){
  white-space: nowrap;
  font-weight: 800;
}

.fees-trust-section .trust-grid{
  align-items: stretch;
}

.fees-trust-section .trust-card{
  min-height: 100%;
}

.fees-example-grid{
  gap: 22px;
}

.private-service-bottom-note + .hero-actions{
  margin-top: 18px;
}

/* FAQ page */
.faq-expanded-page{
  max-width: 1180px;
}

.faq-intro-card{
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 16px 38px rgba(15, 45, 76, .08);
}

.faq-tools-card{
  position: sticky;
  top: 74px;
  z-index: 5;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 16px 38px rgba(15, 45, 76, .08);
}

.faq-tools-row{
  align-items: end;
}

.faq-search-input{
  min-height: 50px;
  font-size: 16px;
}

.faq-category-nav{
  display: none;
}

.faq-page-panel{
  margin-top: 24px;
}

.faq-page-intro{
  border: 1px solid rgba(37, 99, 235, .16);
  background: #f8fbff;
}

.faq-item{
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 12px 30px rgba(15, 45, 76, .06);
}

.faq-item h3{
  color: #102a43;
  line-height: 1.25;
}

.faq-item p{
  line-height: 1.68;
}

.faq-pager-card{
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 45, 76, .08);
}

.faq-nav-btn{
  min-height: 44px;
}

/* Order page */
.order-shell{
  max-width: 1220px;
}

.three-step-header{
  margin-bottom: 22px;
}

.step-pill{
  min-width: 0;
}

.order-layout{
  align-items: start;
}

.apply-card{
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 16px 42px rgba(15, 45, 76, .08);
}

.order-summary{
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 16px 42px rgba(15, 45, 76, .08);
}

.order-summary h3{
  margin-top: 0;
}

.inline-total-card{
  border: 1px solid rgba(37, 99, 235, .18);
  background: #f8fbff;
}

.form-intro,
.compact-note{
  max-width: 760px;
}

.review-mobile{
  display: none;
}

.confirmation-box{
  border: 1px solid rgba(15, 23, 42, .08);
  background: #f8fafc;
  border-radius: 18px;
  padding: 14px;
}

.confirm-check{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.confirm-check:last-of-type{
  border-bottom: 0;
}

.confirm-check input{
  margin-top: 4px;
}

.refined-submit-btn{
  min-height: 50px;
}

/* Thank you / payment summary */
.payment-ready-card,
.inline-payment-card,
#paymentBox,
#paymentSummary{
  border-radius: 18px;
}

/* Mobile */
@media (max-width: 760px){
  .page-visual-band.support-visual{
    display: none;
  }

  .fees-hero-grid{
    display: block;
  }

  .fees-hero .urgent-visual-card{
    margin-top: 18px;
  }

  .fees-check-section .grid.two,
  .fees-example-grid,
  .order-layout{
    grid-template-columns: 1fr !important;
  }

  .fee-card{
    margin-top: 18px;
  }

  .fee-card .amount{
    font-size: 36px;
  }

  .urgent-table-wrap{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
  }

  .fees-table{
    min-width: 720px;
  }

  .fees-table th,
  .fees-table td{
    font-size: 14px;
    padding: 12px;
  }

  .faq-expanded-page{
    padding-top: 0;
  }

  .faq-intro-card{
    padding: 18px;
  }

  .faq-tools-card{
    position: static;
    margin-top: 16px;
    padding: 16px;
  }

  .faq-tools-row{
    display: grid;
    gap: 10px;
  }

  .faq-filter-pills,
  .faq-page-pills{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
  }

  .faq-filter-pill,
  .faq-page-pill{
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .faq-category-grid{
    grid-template-columns: 1fr !important;
  }

  .faq-pager-card{
    align-items: stretch;
    gap: 12px;
  }

  .faq-pager-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .faq-nav-btn{
    width: 100%;
  }

  .three-step-header{
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .three-step-header > i{
    display: none;
  }

  .step-pill{
    width: 100%;
    justify-content: flex-start;
  }

  .order-summary{
    display: none;
  }

  .review-mobile{
    display: block;
    border: 1px solid rgba(37, 99, 235, .18);
    background: #f8fbff;
    border-radius: 18px;
    padding: 14px;
    margin: 14px 0 18px;
    max-height: 52vh;
    overflow: auto;
  }

  .apply-card{
    padding: 18px;
  }

  .order-main.card{
    width: 100%;
  }

  .form-step h2{
    font-size: 24px;
  }

  .grid.two,
  .grid.three,
  .compact-contact-grid,
  .travel-grid,
  .pickup-grid,
  .visa-step-grid{
    grid-template-columns: 1fr !important;
  }

  .span-2{
    grid-column: auto !important;
  }

  .actions,
  .actions.actions-right{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .actions .btn,
  .hero-actions .btn{
    width: 100%;
  }

  body:has(.order-shell) .whatsapp-float,
  body:has(.fee-card) .whatsapp-float,
  body:has(.faq-expanded-page) .whatsapp-float{
    bottom: 14px !important;
    right: 14px !important;
    transform: scale(.9);
  }
}

@media (max-width: 430px){
  .fees-table{
    min-width: 650px;
  }
  .fee-card h2{
    display: block;
  }
  .fee-card h2::after{
    display: inline-block;
    margin-top: 8px;
  }
  .review-mobile{
    max-height: 48vh;
  }
}

/* reduce FAQ visual band so answers/search appear sooner */
.support-visual{
  padding: 22px 0 6px;
  background: #f8fbff;
}
.support-visual .visual-card{
  max-width: 820px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
}
.support-visual .visual-card img{
  max-height: 260px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 761px){
  .faq-page.faq-expanded-page,
  .faq-expanded-page{
    margin-top: -4px;
  }
}
