.card-page {
  padding-bottom: 0;
}

.card-page .section-gap,
.card-page .footer {
  margin-top: 140px;
}

.card-intro {
  margin-top: 32px;
}

.card-labels {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.card-label {
  height: 28px;
  border-radius: 30px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.card-label-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

.card-hero {
  margin-top: 48px;
  min-height: 461px;
  padding: 32px;
  border-radius: 20px;
  background: var(--teal);
  display: grid;
  grid-template-columns: minmax(0, 808px) minmax(0, 453px);
  align-items: start;
  justify-content: space-between;
  gap: 75px;
}

.card-main-col {
  color: #fff;
}

.actual-line {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1;
}

.card-rating {
  margin-top: 24px;
  width: fit-content;
  display: grid;
  gap: 12px;
  font-size: 14px;
  justify-items: start;
  color: #fff;
}

.card-rating .stars {
  margin: 0;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--orange);
}

.card-rating .rating-value {
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0;
  font-size: 14px;
  margin-left: 0;
}

.review-open-btn {
  margin-top: 4px;
  min-height: 36px;
  border: 0;
  border-radius: 10px;
  padding: 0 16px;
  background: var(--orange);
  color: #fff;
  font: 400 14px/1 "PT Sans", sans-serif;
  cursor: pointer;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  display: inline-flex;
}

.card-rating .star-half {
  display: inline-block;
  width: 0.55em;
  overflow: hidden;
  vertical-align: bottom;
}

.card-main-title {
  margin: 24px 0 0;
  max-width: 587px;
  font: 400 56px/1 "Comfortaa", sans-serif;
  color: #fff;
  text-transform: uppercase;
}

.card-main-title .mark {
  border-bottom-color: var(--orange);
}

.card-about {
  margin-top: 40px;
  width: 335px;
}

.card-about p {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  color: #fff;
}

.card-about .cta-btn {
  margin-top: 28px;
}

.cta-btn {
  width: 303px;
  max-width: 100%;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font: 400 16px/1 "PT Sans", sans-serif;
  text-transform: lowercase;
  text-decoration: none;
  cursor: pointer;
}

.card-bottom-meta {
  margin-top: 58px;
  display: grid;
  gap: 10px;
  color: #fff;
}

.card-bottom-meta div:first-child {
  font-size: 16px;
  line-height: 1;
}

.card-bottom-meta div:last-child {
  font: 400 18px/1 "Comfortaa", sans-serif;
}

.card-hero-photo {
  width: 100%;
  height: 397px;
  border-radius: 10px;
  object-fit: cover;
}

.photo-grid-card {
  margin-top: 80px;
  display: grid;
  grid-template-columns: minmax(0, 453px) 1fr;
  gap: 20px;
}

.photo-grid-card img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.photo-large {
  min-height: 397px;
}

.photo-small-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.photo-small-grid img {
  min-height: 397px;
}

.card-gallery-carousel {
  position: relative;
}

.card-gallery-viewport {
  margin-top: 40px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.card-gallery-viewport::-webkit-scrollbar {
  display: none;
}

.card-gallery-viewport.is-dragging {
  cursor: grabbing;
}

.card-gallery-viewport.is-dragging .card-photo-item {
  pointer-events: none;
}

.card-photo-grid {
  display: flex;
  gap: 20px;
  padding-bottom: 18px;
}

.card-photo-item {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  scroll-snap-align: start;
}

.card-photo-item img {
  width: 100%;
  height: 280px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.card-photo-item:hover img {
  transform: scale(1.025);
}

.gallery-arrows {
  margin: 40px auto 0;
  width: 100px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.gallery-arrows .arrow,
.gallery-arrows .arrow.ghost {
  background: var(--orange);
  color: #fff;
  opacity: 1;
}

.gallery-arrows .arrow.is-disabled,
.gallery-arrows .arrow.ghost.is-disabled {
  background: var(--surface);
  color: #b8b2ae;
  opacity: 1;
  cursor: default;
}

.gallery-arrows[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
}

.gallery-modal.is-open {
  display: block;
}

.gallery-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(32, 19, 12, 0.72);
}

.gallery-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 64px));
  height: min(820px, calc(100vh - 64px));
  margin: 32px auto;
  border-radius: 20px;
  background: #211712;
  box-shadow: 0 24px 80px rgba(24, 14, 8, 0.34);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.gallery-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(248, 248, 248, 0.92);
  color: var(--ink);
  font: 400 30px/1 "PT Sans", sans-serif;
  cursor: pointer;
}

.gallery-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: var(--orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 12px 36px rgba(24, 14, 8, 0.24);
}

.gallery-modal-nav::before {
  content: "";
  width: 15px;
  height: 15px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.gallery-modal-nav:hover {
  filter: brightness(1.04);
}

.gallery-modal-nav[hidden] {
  display: none;
}

.gallery-modal-nav-prev {
  left: 18px;
}

.gallery-modal-nav-prev::before {
  transform: translateX(3px) rotate(-135deg);
}

.gallery-modal-nav-next {
  right: 18px;
}

.gallery-modal-nav-next::before {
  transform: translateX(-3px) rotate(45deg);
}

.gallery-modal-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-seo-block {
  margin-top: 70px;
}

.card-seo-panel {
  border-radius: 20px;
  background: var(--surface);
  padding: 34px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  color: var(--ink);
}

.card-seo-label {
  width: fit-content;
  height: 36px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  font: 400 14px/1 "Comfortaa", sans-serif;
}

.card-seo-content {
  min-width: 0;
  color: #5f5f5f;
  font-size: 18px;
  line-height: 1.55;
}

.card-seo-content > :first-child {
  margin-top: 0;
}

.card-seo-content > :last-child {
  margin-bottom: 0;
}

.why-title {
  max-width: 960px;
}

.why-grid-card {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.why-card {
  min-height: 413px;
  border-radius: 10px;
  background: var(--surface);
  padding: 24px;
  color: var(--ink);
}

.why-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.why-id {
  width: 52px;
  height: 40px;
  border-radius: 20px;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font: 400 18px/1 "Comfortaa", sans-serif;
}

.why-card h3 {
  margin: 40px 0 0;
  font: 400 32px/1.02 "Comfortaa", sans-serif;
  color: var(--ink);
}

.why-card p {
  margin: 32px 0 0;
  font-size: 16px;
  line-height: 1.35;
  color: #6b5b55;
}

.services-section .section-title {
  margin-bottom: 80px;
}

.service-table-wrap {
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #e1d8d2;
}

.service-table-head,
.service-table-row {
  display: grid;
  grid-template-columns: 300px 1fr 180px;
  align-items: center;
}

.service-table-head {
  background: var(--teal);
  color: #fff;
}

.service-table-row {
  background: var(--surface);
  border-top: 1px solid #e1d8d2;
}

.service-col {
  padding: 22px 24px;
  color: var(--ink);
}

.service-table-head .service-col {
  font: 700 14px/1 "PT Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
}

.service-col-name {
  border-right: 1px solid #e1d8d2;
}

.service-col-price {
  border-left: 1px solid #e1d8d2;
  text-align: right;
  font: 700 24px/1 "Comfortaa", sans-serif;
  color: var(--orange);
}

.service-name {
  font: 400 24px/1 "Comfortaa", sans-serif;
  color: var(--ink);
}

.service-meta {
  margin-top: 10px;
  font-size: 16px;
  color: #969696;
}

.service-col-desc {
  font-size: 14px;
  line-height: 1.35;
  color: #5f5f5f;
}

.card-reviews-head {
  display: grid;
  gap: 40px;
}

.card-review-top-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.review-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-review-grid {
  margin-top: 40px;
}

.card-reviews-section .review {
  background: var(--surface);
}

.card-reviews-arrow {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
}

.blog-banner {
  border-radius: 20px;
  background: var(--teal);
  color: #fff;
  padding: 32px;
  display: grid;
  grid-template-columns: minmax(0, 808px) minmax(0, 453px);
  justify-content: space-between;
  gap: 24px;
  align-items: stretch;
}

.blog-banner img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.blog-banner-content {
  display: grid;
  align-content: start;
  gap: 30px;
}

.blog-banner-title {
  margin: 0;
  max-width: 560px;
  font: 400 72px/0.94 "Comfortaa", sans-serif;
  color: #fff;
}

.blog-banner p {
  margin: 0;
  font-size: 20px;
  color: #ecf5f5;
}

.blog-rating-box {
  width: fit-content;
  min-height: 81px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  padding: 12px 20px;
  display: grid;
  gap: 8px;
}

.blog-rating-box span {
  font-size: 16px;
}

.blog-rating-box strong {
  color: var(--orange);
  font-size: 20px;
  letter-spacing: 3px;
}

.blog-banner .cta-btn {
  width: 303px;
  text-transform: none;
}

.route-layout {
  margin-top: 80px;
  display: grid;
  grid-template-columns: minmax(0, 572px) minmax(0, 690px);
  justify-content: space-between;
  gap: 24px;
}

.route-info {
  border-radius: 20px;
  background: var(--surface);
  padding: 32px;
  display: grid;
  gap: 22px;
  align-content: start;
}

.route-rating {
  font-size: 14px;
  color: #5f5f5f;
}

.route-item {
  color: #5f5f5f;
  line-height: 1.2;
}

.route-item span {
  color: var(--ink-soft);
}

.route-btn {
  margin-top: 6px;
  width: fit-content;
  height: auto;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 400 14px/1 "PT Sans", sans-serif;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.route-map {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #d9d9d9;
  min-height: 480px;
}

.route-map-frame {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: 0;
}

.route-map-empty {
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: grid;
  place-items: center;
  color: #7a6d67;
  font-size: 16px;
}

.card-related .places-panel {
  margin-top: 80px;
  border-radius: 20px;
  background: var(--surface);
}

.card-related .place-card {
  min-height: 541px;
}

.card-related .place-card .photo {
  height: 280px;
}

.card-tg-photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card-tg-photos .tg-item {
  height: 216px;
  padding: 12px;
}

.card-tg-photos .tg-item img {
  border-radius: 36px;
}

.card-tg-photos .p1 {
  width: 288px;
}

.card-tg-photos .p2,
.card-tg-photos .p4,
.card-tg-photos .p5 {
  width: 216px;
}

.card-tg-photos .p3 {
  width: 324px;
}

body.is-modal-open {
  overflow: hidden;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
}

.review-modal.is-open {
  display: block;
}

.review-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(32, 19, 12, 0.56);
}

.review-modal-dialog {
  position: relative;
  z-index: 1;
  margin: 60px auto 0;
  width: min(560px, calc(100% - 32px));
  border-radius: 20px;
  background: var(--surface-plain);
  padding: 28px 24px 24px;
  box-shadow: 0 20px 60px rgba(55, 37, 27, 0.24);
}

.review-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #f3ebe4;
  color: var(--ink);
  font: 400 24px/1 "PT Sans", sans-serif;
  cursor: pointer;
}

.review-modal-title {
  margin: 0 0 24px;
  padding-right: 40px;
  font: 400 34px/1 "Comfortaa", sans-serif;
  color: var(--ink);
}

.review-form {
  display: grid;
  gap: 14px;
}

.review-form-field {
  display: grid;
  gap: 8px;
}

.review-form-field span {
  font-size: 13px;
  color: #756861;
}

.review-form-field input,
.review-form-field select,
.review-form-field textarea {
  width: 100%;
  border: 1px solid #dfd5ce;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 400 15px/1.3 "PT Sans", sans-serif;
  padding: 10px 12px;
}

.review-form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.review-form-submit {
  margin-top: 6px;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font: 400 16px/1 "PT Sans", sans-serif;
  cursor: pointer;
}

@media (max-width: 1240px) {
  .card-hero,
  .blog-banner,
  .route-layout {
    grid-template-columns: 1fr;
  }

  .card-main-col {
    gap: 20px;
  }

  .card-title-row {
    grid-template-columns: 1fr;
  }

  .card-main-title {
    font-size: 46px;
  }

  .photo-grid-card {
    grid-template-columns: 1fr;
  }

  .photo-small-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-photo-item {
    flex-basis: calc((100% - 20px) / 2);
  }

  .card-seo-panel {
    grid-template-columns: 1fr;
  }

  .why-grid-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-table-head,
  .service-table-row,
  .card-review-grid,
  .card-related .grid-3 {
    grid-template-columns: 1fr;
  }

  .service-table-head {
    display: none;
  }

  .service-table-row {
    gap: 0;
    border-top: 1px solid #e1d8d2;
  }

  .service-col,
  .service-col-price,
  .service-col-name {
    border: 0;
    text-align: left;
  }

  .service-col-name {
    padding-bottom: 10px;
  }

  .service-col-desc {
    padding-top: 0;
    padding-bottom: 12px;
  }

  .service-col-price {
    padding-top: 0;
    padding-bottom: 22px;
    font-size: 22px;
  }

  .blog-banner-title {
    font-size: 56px;
  }

  .route-map {
    min-height: 360px;
  }

  .route-map-frame,
  .route-map-empty {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .card-page .section-gap,
  .card-page .footer {
    margin-top: 90px;
  }

  .card-hero {
    margin-top: 40px;
  }

  .card-main-title {
    font-size: 34px;
    line-height: 1;
  }

  .card-about p {
    font-size: 16px;
  }

  .card-bottom-meta div:last-child {
    font-size: 15px;
    line-height: 1.3;
  }

  .photo-grid-card,
  .why-grid-card,
  .service-table-head,
  .service-table-row,
  .event-grid,
  .card-review-grid,
  .card-related .grid-3 {
    grid-template-columns: 1fr;
  }

  .photo-small-grid {
    grid-template-columns: 1fr;
  }

  .card-gallery-viewport {
    cursor: auto;
    user-select: auto;
  }

  .card-photo-item {
    flex-basis: min(82vw, 360px);
  }

  .card-photo-item img {
    height: 240px;
  }

  .gallery-modal-dialog {
    width: calc(100vw - 24px);
    height: min(72vh, calc(100vh - 96px));
    margin: 48px auto;
    border-radius: 16px;
  }

  .gallery-modal-close {
    top: 10px;
    right: 10px;
  }

  .gallery-modal-nav {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .gallery-modal-nav::before {
    width: 13px;
    height: 13px;
  }

  .gallery-modal-nav-prev {
    left: 10px;
  }

  .gallery-modal-nav-next {
    right: 10px;
  }

  .card-seo-panel {
    padding: 22px;
  }

  .card-seo-content {
    font-size: 16px;
  }

  .why-card h3 {
    font-size: 26px;
  }

  .service-name {
    font-size: 20px;
  }

  .service-col {
    padding: 16px;
  }

  .service-col-price {
    font-size: 20px;
  }

  .card-review-top-actions {
    align-items: flex-start;
  }

  .card-reviews-arrow {
    justify-content: center;
  }

  .blog-banner {
    padding: 20px;
  }

  .blog-banner-title {
    font-size: 36px;
  }

  .blog-banner p {
    font-size: 16px;
  }

  .route-info {
    padding: 20px;
  }

  .route-btn {
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 1.3;
  }

  .card-tg-photos .tg-item,
  .card-tg-photos .p1,
  .card-tg-photos .p2,
  .card-tg-photos .p3,
  .card-tg-photos .p4,
  .card-tg-photos .p5 {
    width: 100%;
  }
}
