body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f7f6;
  color: #1f2937;
}

.resort-page {
  width: 100%;
}

.resort-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0.6rem;
}

.resort-hero {
  height: 430px;
  border-radius: 0 0 32px 32px;
  position: relative;
  overflow: hidden;
}

.resort-hero .cover-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.resort-hero .cover-hero-media img,
.resort-hero .cover-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.15));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 40px;
  position: relative;
  z-index: 1;
}

.hero-overlay h1 {
  font-size: 42px;
  margin: 0;
}

.hero-location {
  margin-top: 8px;
}

.hero-actions {
  margin-top: 12px;
}

.hero-actions a,
.contact-box a,
.modal-box a,
.modal-form button {
  display: inline-block;
  background: #0f766e;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  margin-right: 8px;
  border: 0;
  cursor: pointer;
}

.info-box,
.rooms-section,
.services,
.gallery,
.contact-box {
  max-width: 1100px;
  margin: 30px auto;
  background: #fff;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.quick-info,
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.quick-info span {
  background: #ecfdf5;
  padding: 14px;
  border-radius: 14px;
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.service-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
  border: 1px solid #99f6e4;
  border-radius: 14px;
  padding: 12px 14px;
  min-height: 54px;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.08);
}

.service-chip__icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #0f766e;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.service-chip__text {
  font-weight: 600;
  color: #115e59;
  line-height: 1.3;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.room-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.room-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.room-content {
  padding: 16px;
}

.room-content h3 {
  margin: 0 0 8px;
}

.room-content p {
  margin: 0;
}

.room-content .room-price {
  display: block;
  color: #0f766e;
  margin: 12px 0;
}

.room-content .room-select {
  width: 100%;
  border: 0;
  padding: 12px;
  border-radius: 12px;
  background: #0f766e;
  color: #fff;
  cursor: pointer;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
}

.modal {
  display: grid;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  padding: 20px;
  place-items: center;
}

.modal[hidden] {
  display: none;
}

.modal-box {
  background: #fff;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  margin: 40px auto;
  padding: 24px;
  border-radius: 22px;
  position: relative;
}

.modal-box--room-gallery {
  max-width: 1060px;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.modal-box--room-gallery .close {
  z-index: 5;
}

.room-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  min-height: 480px;
}

.room-modal-gallery {
  background: #fff;
  padding: 0;
  border-right: 1px solid #dadfe6;
  display: flex;
  flex-direction: column;
}

.room-modal-gallery .modal-carousel {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 16px 16px;
}

.room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__hero {
  margin: 0 -16px;
}

.room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__stage {
  flex: 0 0 auto;
  height: 400px;
  min-height: 400px;
  border-radius: 0;
}

.room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__track {
  height: 100%;
  min-height: 400px;
}

.room-modal-gallery .modal-carousel__stage {
  flex: 1;
  min-height: 340px;
  border-radius: 10px;
}

.room-modal-gallery .modal-carousel__track {
  height: 100%;
  min-height: 340px;
}

.room-modal-details {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  max-height: min(90vh, 720px);
  padding: 0;
  background: #fff;
}

.room-modal-details__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 22px 24px 16px;
}

.room-modal-details__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 24px 18px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.room-modal-gotit {
  border: 0;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.room-modal-gotit:hover {
  background: #1d4ed8;
}

.room-modal-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eef2f7;
}

.room-modal-info-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.room-modal-info-grid li {
  margin: 0;
  padding-left: 24px;
  position: relative;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}

.room-modal-info-grid li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.room-modal-details__section {
  margin-bottom: 14px;
}

.room-modal-details__section--info {
  flex: 1;
}

.room-modal-details__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.room-modal-details__title--main {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: #0f172a;
}

.room-modal-details__head {
  margin-bottom: 10px;
  padding-right: 36px;
}

.room-modal-details__head h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.15;
  color: #0f172a;
}

.room-modal-details__desc {
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.55;
  font-size: 14px;
}

.room-modal-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}

.room-modal-meta li {
  margin: 0;
  padding-left: 22px;
  position: relative;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.room-modal-meta li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.room-modal-meta li[hidden] {
  display: none;
}

.room-modal-amenities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.room-modal-amenities li {
  margin: 0;
  padding-left: 22px;
  position: relative;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
}

.room-modal-amenities li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f766e;
  color: #fff;
  padding: 11px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.modal-actions a[hidden] {
  display: none;
}

.modal-form button[type='submit'] {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #1e5945;
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.modal-form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.modal-login-note {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.modal-headline {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.modal-headline h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}

.modal-price-hero {
  margin: 0;
  color: #0f766e;
  font-size: 22px;
  font-weight: 800;
}

.modal-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 10px;
}

.modal-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
}

.modal-chip--capacity {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.modal-chip--beds {
  background: #ecfdf5;
  border-color: #86efac;
  color: #15803d;
}

.modal-chip--rooms {
  background: #fefce8;
  border-color: #fde047;
  color: #a16207;
}

.modal-meta-list {
  margin: 8px 0 12px;
  padding-left: 18px;
}

.modal-meta-list li {
  margin: 6px 0;
}

.modal-form {
  margin-top: 10px;
}

.modal-form textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  resize: vertical;
}

.close {
  position: absolute;
  right: 16px;
  top: 12px;
  border: 0;
  background: #ef4444;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .resort-container {
    padding: 0 0.45rem;
  }

  .info-box,
  .rooms-section,
  .services,
  .gallery,
  .contact-box {
    margin: 16px auto;
    padding: 16px;
    border-radius: 18px;
  }

  .room-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .quick-info,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 0;
    place-items: stretch;
  }

  .modal-box {
    margin: 0;
    max-height: 100dvh;
    border-radius: 0;
  }

  .modal-box--room-gallery {
    max-width: 100%;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .room-modal-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .room-modal-gallery {
    border-right: 0;
    border-bottom: 1px solid #dadfe6;
    padding: 0;
    flex: 0 0 auto;
    min-width: 0;
  }

  .room-modal-gallery .modal-carousel {
    padding: 0 10px 10px;
    min-width: 0;
  }

  .room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__hero {
    margin: 0 -10px;
  }

  .room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__stage,
  .room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__track {
    height: clamp(180px, 36vh, 240px);
    min-height: 0;
  }

  .room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__thumb {
    width: 72px;
    height: 54px;
  }

  .room-modal-details {
    max-height: none;
    min-height: 0;
    min-width: 0;
    flex: 0 0 auto;
  }

  .room-modal-details__scroll {
    padding: 14px 14px 10px;
    overflow: visible;
  }

  .room-modal-details__head h2 {
    font-size: 22px;
    line-height: 1.2;
    word-break: break-word;
  }

  .modal-price-hero {
    font-size: 18px;
  }

  .room-modal-meta,
  .room-modal-amenities,
  .room-modal-info-grid {
    grid-template-columns: 1fr;
  }

  .room-modal-details__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .room-modal-gotit {
    width: 100%;
  }

  .modal-actions {
    width: 100%;
  }

  .modal-actions a {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
  }

  .modal-box--room-gallery .close {
    top: calc(8px + env(safe-area-inset-top, 0px));
    right: 8px;
  }

  .modal-form textarea {
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 600px) {
  .hero-overlay {
    padding: 24px;
  }

  .hero-overlay h1 {
    font-size: 28px;
  }

  .resort-hero {
    height: 360px;
  }

  .room-modal-layout {
    grid-template-columns: 1fr;
  }

  .room-modal-gallery {
    border-right: 0;
    border-bottom: 1px solid #dadfe6;
    padding: 0;
  }

  .room-modal-gallery .modal-carousel {
    padding: 0 10px 10px;
  }

  .room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__hero {
    margin: 0 -10px;
  }

  .room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__stage,
  .room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__track {
    height: clamp(180px, 36vh, 240px);
    min-height: 0;
  }

  .room-modal-details {
    max-height: none;
  }

  .room-modal-meta,
  .room-modal-amenities,
  .room-modal-info-grid {
    grid-template-columns: 1fr;
  }

  .room-modal-details__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .room-modal-gotit {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .hero-overlay h1 {
    font-size: 24px;
  }

  .room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__stage,
  .room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__track {
    height: clamp(160px, 32vh, 200px);
  }

  .room-modal-gallery .modal-carousel--stacked-gallery .modal-carousel__thumb {
    width: 64px;
    height: 48px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
