/* China Chauffeur Service — Rates Guide V25
   A tighter, more connected page using the approved Services/Cities type scale.
*/

.rates-page-v25 {
  background: #f5f1e9;
}

/* Match the approved Services and Cities hero hierarchy exactly. */
.rates-page-v25 .rates-hero-v25 .inner-hero-image {
  object-position: center 58%;
}

.rates-page-v25 .rates-hero-v25 .inner-hero-content {
  max-width: none;
}

.rates-page-v25 .rates-hero-v25 h1 {
  max-width: 760px;
  font-size: clamp(46px, 3.8vw, 58px);
  line-height: 1.06;
  letter-spacing: -.025em;
}

.rates-page-v25 .rates-hero-v25 .inner-hero-lead {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.7;
}

.rates-overview-head-v25 h2,
.rates-reference-head-v25 h2,
.rates-route-copy-v25 h2,
.rates-factors-head-v25 h2,
.rates-page-v25 .rates-cta-v25 h2 {
  margin: 0;
  color: var(--dark);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(38px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.018em;
}

/* Pricing logic — intentionally image-free and compact. */
.rates-overview-v25 {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-top: 70px;
  padding-bottom: 74px;
  background:
    radial-gradient(circle at 88% 18%, rgba(191,158,96,.11), transparent 23%),
    #f7f3ec;
}

.rates-overview-v25::after {
  position: absolute;
  z-index: 0;
  right: -7%;
  bottom: -52px;
  width: 70%;
  height: 100px;
  background: linear-gradient(100deg, transparent, rgba(191,158,96,.08), rgba(7,52,58,.035));
  content: "";
  pointer-events: none;
  transform: skewY(-2deg) translateX(4%);
  transition: transform 1100ms var(--ease-premium);
}

.rates-page-v25.page-ready .rates-overview-v25::after {
  transform: skewY(-2deg) translateX(0);
}

.rates-overview-v25 .shell {
  position: relative;
  z-index: 1;
}

.rates-overview-head-v25,
.rates-reference-head-v25,
.rates-factors-head-v25 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: end;
}

.rates-overview-head-v25 {
  margin-bottom: 32px;
}

.rates-overview-head-v25 > p,
.rates-reference-head-v25 > p,
.rates-factors-head-v25 > p {
  max-width: 650px;
  margin: 0;
  color: #555e5d;
  font-size: 17px;
  line-height: 1.72;
}

.rates-logic-flow-v25 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 72px);
  padding-top: 28px;
}

.rates-logic-flow-v25 article {
  position: relative;
  padding: 16px 34px 3px 0;
  transition: transform 420ms var(--ease-premium);
}

.rates-logic-flow-v25 article::before {
  display: block;
  width: 48px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--gold);
  content: "";
  transition: width 420ms var(--ease-premium);
}

.rates-logic-flow-v25 article:not(:last-child)::after {
  position: absolute;
  top: 38px;
  right: -10px;
  color: rgba(138,107,53,.48);
  content: "→";
  font-size: 25px;
  font-weight: 400;
}

.rates-logic-flow-v25 article:hover {
  transform: translateY(-5px);
}

.rates-logic-flow-v25 article:hover::before {
  width: 78px;
}

.rates-logic-flow-v25 span {
  color: #8a6b35;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rates-logic-flow-v25 h3 {
  margin: 9px 0 9px;
  color: var(--dark);
  font-family: "Newsreader", Georgia, serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.13;
}

.rates-logic-flow-v25 p {
  margin: 0;
  color: #686e6a;
  font-size: 15px;
  line-height: 1.62;
}

/* Main reference table. */
.rates-reference-v25 {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-top: 76px;
  padding-bottom: 82px;
  background:
    radial-gradient(circle at 94% 8%, rgba(191,158,96,.13), transparent 25%),
    linear-gradient(180deg, #eee4d5 0, #f2eadd 100%);
}

.rates-reference-v25::before {
  position: absolute;
  top: -70px;
  left: -8%;
  width: 64%;
  height: 150px;
  background: linear-gradient(105deg, transparent 12%, rgba(255,255,255,.34), rgba(191,158,96,.07), transparent 86%);
  content: "";
  pointer-events: none;
  transform: skewY(-2deg);
}

.rates-reference-head-v25 {
  margin-bottom: 36px;
}

.rates-table-wrap-v25 {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.7);
  box-shadow: 0 18px 46px rgba(8,44,48,.05);
  transition: transform 520ms var(--ease-premium), box-shadow 520ms var(--ease-premium);
}

.rates-table-wrap-v25:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(8,44,48,.08);
}

.rates-table-v25 {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.rates-table-v25 caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.rates-table-v25 th,
.rates-table-v25 td {
  border-bottom: 1px solid rgba(7,52,58,.09);
}

.rates-table-v25 thead th {
  padding: 18px 28px;
  color: #fff;
  background: #06343a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
}

.rates-table-v25 thead th:first-child {
  width: 48%;
}

.rates-table-v25 thead th:not(:first-child) {
  width: 26%;
  text-align: center;
}

.rates-table-v25 thead small {
  color: rgba(255,255,255,.65);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
}

.rates-table-v25 tbody th {
  padding: 19px 28px;
  color: var(--dark);
  font-family: "Newsreader", Georgia, serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.08;
  text-align: left;
}

.rates-table-v25 tbody th span {
  display: block;
  margin-bottom: 6px;
  color: #8a6b35;
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rates-table-v25 tbody td {
  padding: 18px 22px;
  color: var(--dark);
  text-align: center;
}

.rates-table-v25 tbody td small {
  display: block;
  margin-bottom: 3px;
  color: #777d78;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rates-table-v25 tbody td strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 29px;
  font-weight: 500;
  line-height: 1;
}

.rates-table-v25 tbody tr {
  transition: background 260ms ease;
}

.rates-table-v25 tbody tr:hover {
  background: rgba(191,158,96,.08);
}

.rates-table-v25 tbody tr:last-child th,
.rates-table-v25 tbody tr:last-child td {
  border-bottom: 0;
}

.rates-reference-note-v25 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 28px;
  color: #59615e;
  background: rgba(223,209,186,.68);
}

.rates-reference-note-v25 strong {
  color: var(--dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rates-reference-note-v25 p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
}

/* Cross-city feature — full-bleed generated image with subtle parallax. */
.rates-route-v25 {
  position: relative;
  z-index: 2;
  min-height: 660px;
  padding-top: 76px;
  padding-bottom: 78px;
  overflow: hidden;
  color: #fff;
  background: #062f35;
}

.rates-route-bg-v25,
.rates-route-overlay-v25 {
  position: absolute;
  inset: 0;
}

.rates-route-bg-v25 {
  width: 100%;
  height: calc(100% + 56px);
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, var(--route-shift, -20px), 0) scale(1.025);
  transition: transform 900ms var(--ease-premium);
  will-change: transform;
}

.rates-route-overlay-v25 {
  background:
    linear-gradient(90deg, rgba(3,31,36,.97) 0%, rgba(3,31,36,.91) 43%, rgba(3,31,36,.6) 62%, rgba(3,31,36,.18) 100%),
    linear-gradient(0deg, rgba(3,31,36,.44), transparent 34%);
}

.rates-route-layout-v25 {
  position: relative;
  z-index: 2;
}

.rates-route-copy-v25 {
  max-width: 690px;
}

.rates-route-copy-v25 h2 {
  color: #fff;
}

.rates-route-copy-v25 > p:not(.eyebrow):not(.rates-route-footnote-v25) {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.79);
  font-size: 16px;
  line-height: 1.7;
}

.route-rate-list-v25 {
  max-width: 650px;
  margin-top: 27px;
}

.route-rate-list-v25 article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  transition: padding 340ms var(--ease-premium), background 340ms ease;
}

.route-rate-list-v25 article:first-child {
  border-top: 1px solid rgba(255,255,255,.2);
}

.route-rate-list-v25 article:hover {
  padding-right: 12px;
  padding-left: 12px;
  background: rgba(255,255,255,.055);
}

.route-rate-list-v25 article span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold-hover);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.route-rate-list-v25 h3 {
  margin: 0;
  color: #fff;
  font-family: "Newsreader", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}

.route-rate-list-v25 article > p {
  min-width: 116px;
  margin: 0;
  text-align: right;
}

.route-rate-list-v25 small {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.route-rate-list-v25 strong {
  color: #fff;
  font-family: "Newsreader", Georgia, serif;
  font-size: 29px;
  font-weight: 500;
}

.rates-route-footnote-v25 {
  max-width: 650px;
  margin: 17px 0 0;
  color: rgba(255,255,255,.61);
  font-size: 13px;
  line-height: 1.6;
}

/* Factors — no box borders or rigid vertical dividers. */
.rates-factors-v25 {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding-top: 74px;
  padding-bottom: 80px;
  background:
    radial-gradient(circle at 8% 18%, rgba(191,158,96,.13), transparent 22%),
    radial-gradient(circle at 90% 78%, rgba(7,52,58,.055), transparent 24%),
    #f3ede4;
}

.rates-factors-v25::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, #07343a, var(--gold) 46%, transparent 88%);
  content: "";
  opacity: .48;
}

.rates-factors-head-v25 {
  margin-bottom: 38px;
}

.rates-factor-grid-v25 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px clamp(52px, 8vw, 108px);
}

.rates-factor-grid-v25 article {
  position: relative;
  min-height: 150px;
  padding: 5px 0 4px 28px;
  transition: transform 420ms var(--ease-premium);
}

.rates-factor-grid-v25 article::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 3px;
  height: 45px;
  background: linear-gradient(var(--gold), rgba(191,158,96,.18));
  content: "";
  transition: height 420ms var(--ease-premium);
}

.rates-factor-grid-v25 article:hover {
  transform: translateY(-5px);
}

.rates-factor-grid-v25 article:hover::before {
  height: 76px;
}

.rates-factor-grid-v25 span {
  display: block;
  margin-bottom: 8px;
  color: #8a6b35;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rates-factor-grid-v25 h3 {
  margin: 0 0 8px;
  color: var(--dark);
  font-family: "Newsreader", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
}

.rates-factor-grid-v25 p {
  max-width: 560px;
  margin: 0;
  color: #626965;
  font-size: 15px;
  line-height: 1.65;
}

.rates-complex-note-v25 {
  display: grid;
  grid-template-columns: auto minmax(260px, .45fr) 1fr;
  gap: 24px 38px;
  align-items: center;
  margin-top: 38px;
  padding: 23px 28px;
  background: linear-gradient(105deg, rgba(191,158,96,.3), rgba(191,158,96,.16));
  transition: transform 420ms var(--ease-premium);
}

.rates-complex-note-v25:hover {
  transform: translateX(6px);
}

.rates-complex-note-v25 span {
  color: #8a6b35;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rates-complex-note-v25 strong {
  color: var(--dark);
  font-family: "Newsreader", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
}

.rates-complex-note-v25 p {
  margin: 0;
  color: #59615e;
  font-size: 15px;
  line-height: 1.65;
}

/* Distinct final CTA, using the same type scale and button wording as the site. */
.rates-page-v25 .rates-cta-v25 {
  padding-block: 72px;
}

.rates-page-v25 .rates-cta-v25 h2 {
  max-width: 760px;
  color: #fff;
}

.rates-page-v25 .rates-cta-v25 p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 1040px) {
  .rates-overview-head-v25,
  .rates-reference-head-v25,
  .rates-factors-head-v25 {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
  }

  .rates-logic-flow-v25 {
    gap: 34px;
  }

  .rates-route-v25 {
    min-height: 640px;
  }

  .rates-route-overlay-v25 {
    background: linear-gradient(90deg, rgba(3,31,36,.97) 0%, rgba(3,31,36,.91) 53%, rgba(3,31,36,.46) 78%, rgba(3,31,36,.2));
  }

  .rates-complex-note-v25 {
    grid-template-columns: auto 1fr;
  }

  .rates-complex-note-v25 p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .rates-page-v25 .rates-hero-v25 h1 {
    font-size: clamp(41px, 12vw, 50px);
  }

  .rates-overview-v25,
  .rates-reference-v25,
  .rates-route-v25,
  .rates-factors-v25 {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .rates-overview-head-v25,
  .rates-reference-head-v25,
  .rates-factors-head-v25 {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-bottom: 27px;
  }

  .rates-overview-head-v25 > p,
  .rates-reference-head-v25 > p,
  .rates-factors-head-v25 > p {
    font-size: 16px;
  }

  .rates-logic-flow-v25 {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 13px;
  }

  .rates-logic-flow-v25 article {
    padding: 10px 0 22px;
  }

  .rates-logic-flow-v25 article:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -5px;
    left: 18px;
    content: "↓";
  }

  .rates-table-v25,
  .rates-table-v25 tbody,
  .rates-table-v25 tr,
  .rates-table-v25 th,
  .rates-table-v25 td {
    display: block;
    width: 100%;
  }

  .rates-table-v25 thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .rates-table-v25 tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
    border-bottom: 1px solid rgba(7,52,58,.12);
  }

  .rates-table-v25 tbody tr:last-child {
    border-bottom: 0;
  }

  .rates-table-v25 tbody th {
    grid-column: 1 / -1;
    padding: 0 0 15px;
    border-bottom: 1px solid rgba(7,52,58,.09);
    font-size: 22px;
  }

  .rates-table-v25 tbody td {
    position: relative;
    padding: 38px 7px 0;
    border-bottom: 0;
  }

  .rates-table-v25 tbody td + td {
    border-left: 1px solid rgba(7,52,58,.09);
  }

  .rates-table-v25 tbody td::before {
    position: absolute;
    top: 15px;
    right: 6px;
    left: 6px;
    color: #737a76;
    content: attr(data-label);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .rates-reference-note-v25 {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 19px;
  }

  .rates-reference-note-v25 strong {
    white-space: normal;
  }

  .rates-route-v25 {
    min-height: 690px;
  }

  .rates-route-bg-v25 {
    object-position: 68% center;
  }

  .rates-route-overlay-v25 {
    background: rgba(3,31,36,.84);
  }

  .rates-route-copy-v25 {
    max-width: none;
  }

  .rates-factor-grid-v25 {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rates-factor-grid-v25 article {
    min-height: 0;
  }

  .rates-complex-note-v25 {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 31px;
    padding: 21px;
  }

  .rates-complex-note-v25 p {
    grid-column: auto;
  }

  .rates-page-v25 .rates-cta-v25 {
    padding-block: 62px;
  }
}

@media (max-width: 480px) {
  .route-rate-list-v25 article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .route-rate-list-v25 article > p {
    text-align: left;
  }

  .route-rate-list-v25 small {
    display: inline;
    margin-right: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rates-route-bg-v25,
  .rates-logic-flow-v25 article,
  .rates-table-wrap-v25,
  .route-rate-list-v25 article,
  .rates-factor-grid-v25 article,
  .rates-complex-note-v25,
  .rates-overview-v25::after {
    transform: none !important;
    transition: none !important;
  }
}
