
.taxi-page {
  background: #fff9f1;
}
.taxi-page .fs-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 52px;
}
.taxi-page h1 {
  font-size: clamp(43px, 4.9vw, 70px);
  max-width: 15ch;
}
.taxi-page h1 span {
  display: block;
  font-size: .53em;
  letter-spacing: -.025em;
  line-height: 1.16;
  margin-top: 16px;
  max-width: 25ch;
}
.taxi-page .fs-intro {
  font-size: 19px;
  line-height: 1.58;
  max-width: 51ch;
}
.taxi-photo img {
  height: 445px;
  object-position: center 39%;
}
.taxi-photo figcaption {
  max-width: calc(100% - 30px);
  line-height: 1.4;
}
.taxi-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 46px;
  align-items: end;
}
.taxi-heading h2,
.taxi-transport-grid h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  max-width: 23ch;
}
.taxi-heading > p {
  font-size: 16px;
  line-height: 1.65;
  max-width: 54ch;
}
.taxi-compare {
  margin-top: 28px;
  overflow: auto;
  border: 1px solid #ddc9b3;
  border-radius: 18px;
  background: #fffdf9;
}
.taxi-compare table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  text-align: left;
}
.taxi-compare th,
.taxi-compare td {
  padding: 20px 23px;
  vertical-align: top;
  line-height: 1.55;
  overflow-wrap: break-word;
  hyphens: auto;
}
.taxi-compare thead th {
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: #fff7eb;
  background: #3a2d23;
}
.taxi-compare th:first-child {
  width: 26%;
}
.taxi-compare tbody th {
  color: #68462d;
  font-size: 15px;
  font-weight: 750;
}
.taxi-compare tbody td {
  font-size: 15px;
  color: #65594e;
}
.taxi-compare tbody tr + tr {
  border-top: 1px solid #e5d5c3;
}
.taxi-compare th + th,
.taxi-compare th + td,
.taxi-compare td + td {
  border-left: 1px solid #e5d5c3;
}
.taxi-compare thead th + th {
  border-left-color: #61503f;
}
.taxi-compare tbody tr:nth-child(even) {
  background: #fff8ed;
}
.taxi-page .taxi-note {
  font-size: 14px;
  line-height: 1.65;
  margin-top: 19px;
  max-width: 92ch;
}
.taxi-transport-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 65px;
  align-items: start;
}
.taxi-page .taxi-section-intro {
  margin-top: 19px;
  font-size: 16px;
  line-height: 1.65;
  max-width: 48ch;
}
.taxi-data {
  min-width: 0;
}
.taxi-data dl {
  margin: 0;
}
.taxi-data dl > div {
  display: grid;
  grid-template-columns: 133px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid #ddc7ac;
  padding: 15px 0;
}
.taxi-data dl > div:first-child {
  padding-top: 0;
}
.taxi-data dt {
  font-size: 15px;
  font-weight: 800;
  color: #67452c;
  line-height: 1.5;
}
.taxi-data dd {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  color: #65594e;
}
.taxi-page .taxi-data > p {
  font-size: 14px;
  line-height: 1.65;
  margin-top: 19px;
}
.taxi-price-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 46px;
  margin-top: 30px;
  align-items: start;
}
.taxi-bill {
  min-width: 0;
  padding: 26px 29px;
  border: 1px solid #e0c6ac;
  border-top: 4px solid #f37a24;
  border-radius: 4px 4px 18px 18px;
  background: #fffdf9;
  box-shadow: 0 12px 30px #5b321909;
}
.taxi-page .taxi-bill-caption {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 800;
  color: #8d4d25;
}
.taxi-price-lines {
  margin: 14px 0 0;
}
.taxi-price-lines > div {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 24px;
  border-bottom: 1px solid #e5d6c5;
  padding: 16px 0;
}
.taxi-price-lines dt {
  font-size: 16px;
  font-weight: 800;
  color: #57402e;
  line-height: 1.5;
}
.taxi-price-lines dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #65594e;
}
.taxi-bill-total {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
  padding-top: 23px;
}
.taxi-bill-total span {
  font-size: 27px;
  letter-spacing: -.035em;
  font-weight: 850;
  line-height: 1.1;
  color: #914b20;
}
.taxi-page .taxi-bill-total p {
  font-size: 14px;
  line-height: 1.65;
  color: #57402e;
}
.taxi-price-aside {
  padding-top: 23px;
  min-width: 0;
}
.taxi-price-aside h3 {
  font-size: 27px;
  max-width: 21ch;
}
.taxi-page .taxi-price-aside p {
  font-size: 16px;
  line-height: 1.7;
  margin-top: 18px;
}
.taxi-price-aside .fs-btn {
  margin-top: 25px;
}
.taxi-route-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 40px;
  margin-top: 30px;
  align-items: start;
}
.taxi-route {
  margin: 0;
  min-width: 0;
  padding: 22px;
  border: 1px solid #dec8ae;
  background: #fffaf2;
  border-radius: 18px;
}
.taxi-route figcaption {
  font-size: 15px;
  font-weight: 800;
  color: #694a32;
}
.taxi-route svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 16px 0 12px;
}
.taxi-route-key {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 18px;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #e4d0b7;
}
.taxi-route-key dt {
  font-size: 17px;
  font-weight: 850;
  color: #8f451c;
}
.taxi-route-key dd {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #65594e;
}
.taxi-page .taxi-order {
  counter-reset: taxi-step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.taxi-page .taxi-order li {
  position: relative;
  counter-increment: taxi-step;
  padding: 0 0 19px 42px;
  margin: 0 0 19px;
  border-bottom: 1px solid #decbb3;
}
.taxi-page .taxi-order li:last-child {
  border: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
.taxi-order li::before {
  content: "0" counter(taxi-step);
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 12px;
  letter-spacing: .07em;
  font-weight: 850;
  color: #a45220;
}
.taxi-order h3 {
  font-size: 23px;
}
.taxi-page .taxi-order p {
  font-size: 15px;
  line-height: 1.65;
  margin-top: 10px;
}
.taxi-page .fs-faq summary {
  font-size: 17px;
  line-height: 1.5;
}
.taxi-page .fs-faq p {
  font-size: 15px;
  line-height: 1.65;
}
.taxi-page .taxi-adjacent {
  padding-top: 29px;
}
.taxi-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.taxi-links .fs-link {
  font-size: 15px;
}
.taxi-page .taxi-last {
  border-top: 0;
  padding-top: 0;
}
.taxi-page .fs-final {
  background: #332b25;
}
.taxi-page .fs-final h2 {
  font-size: 35px;
}
.taxi-page .fs-final p {
  font-size: 16px;
  line-height: 1.65;
}
.taxi-page .fs-final p a {
  color: #ffe6c6;
  white-space: nowrap;
}
.taxi-page .fs-final .fs-btn {
  min-width: 175px;
  white-space: normal;
}
@media (max-width: 980px) {
  .taxi-page .fs-hero,
  .taxi-heading,
  .taxi-price-layout,
  .taxi-route-layout {
    gap: 28px;
  }
  .taxi-transport-grid {
    gap: 37px;
  }
  .taxi-compare th,
  .taxi-compare td {
    padding: 18px;
  }
  .taxi-bill {
    padding: 22px;
  }
  .taxi-price-lines > div,
  .taxi-bill-total {
    gap: 18px;
  }
}
@media (max-width: 760px) {
  .taxi-page .fs-hero,
  .taxi-heading,
  .taxi-transport-grid,
  .taxi-price-layout,
  .taxi-route-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .taxi-page h1 {
    font-size: 49px;
    max-width: 16ch;
  }
  .taxi-page h1 span {
    font-size: .56em;
    margin-top: 12px;
  }
  .taxi-page .fs-intro {
    font-size: 17px;
  }
  .taxi-photo {
    width: 100%;
    max-width: 560px;
    justify-self: center;
  }
  .taxi-photo img {
    height: 320px;
    object-position: center 20%;
  }
  .taxi-photo figcaption {
    font-size: 11px;
  }
  .taxi-page h2,
  .taxi-heading h2,
  .taxi-transport-grid h2 {
    font-size: 32px;
  }
  .taxi-heading > p,
  .taxi-page .taxi-section-intro {
    font-size: 15px;
  }
  .taxi-heading > p {
    max-width: 70ch;
  }
  .taxi-compare {
    margin-top: 23px;
    border-radius: 12px;
  }
  .taxi-compare th,
  .taxi-compare td {
    padding: 14px 12px;
  }
  .taxi-compare thead th {
    font-size: 15px;
  }
  .taxi-compare tbody th,
  .taxi-compare tbody td {
    font-size: 14px;
  }
  .taxi-data dl > div {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 16px;
  }
  .taxi-price-layout,
  .taxi-route-layout {
    margin-top: 24px;
  }
  .taxi-price-aside {
    padding-top: 0;
  }
  .taxi-price-aside h3 {
    font-size: 25px;
    max-width: 30ch;
  }
  .taxi-page .taxi-price-aside p {
    font-size: 15px;
    margin-top: 14px;
  }
  .taxi-price-aside .fs-btn {
    margin-top: 20px;
  }
  .taxi-route-layout {
    gap: 27px;
  }
  .taxi-route {
    padding: 18px;
  }
  .taxi-order h3 {
    font-size: 23px;
  }
  .taxi-links {
    grid-template-columns: 1fr;
  }
  .taxi-page .fs-final {
    padding: 25px;
  }
  .taxi-page .fs-final h2 {
    font-size: 30px;
  }
  .taxi-page .fs-final p {
    font-size: 15px;
  }
  .taxi-page .fs-final .fs-btn {
    width: 100%;
  }
}
@media (max-width: 420px) {
  .taxi-page h1 {
    font-size: 43px;
  }
  .taxi-photo img {
    height: 290px;
    object-position: center 30%;
  }
  .taxi-compare th,
  .taxi-compare td {
    padding: 12px 9px;
  }
  .taxi-compare thead th,
  .taxi-compare tbody th,
  .taxi-compare tbody td {
    font-size: 13px;
  }
  .taxi-data dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .taxi-bill {
    padding: 20px;
  }
  .taxi-price-lines > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .taxi-bill-total {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .taxi-route {
    padding: 16px;
  }
  .taxi-route-key {
    gap: 12px;
  }
  .taxi-route-key dd {
    font-size: 12px;
  }
}
