:root {
  --surface: #ffffff;
  --text: #1c2731;
  --muted: #5f6f7a;
  --line: #d7e2ea;
  --brand: #006ce4;
  --radius: 15px;
  --shadow: 0 8px 24px rgba(7, 22, 34, 0.08);
}

* { box-sizing: border-box; }

/* do not override body background here — page-level styles come from global styles.css */
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 10px 30px;
}

.hero h1 {
  margin: 0;
  font-size: 1.5rem;
}

.hero p {
  margin: 6px 0 0;
  color: var(--muted);
}

.listado-cabanas {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

/* Small feature cards used on index "Qué podés encontrar" */
.card.feature-card {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(7,22,34,0.06);
  overflow: hidden;
}
.card.feature-card .card-body {
  padding: 14px 16px;
}
.card.feature-card .fs-2 {
  line-height: 1;
}

.cabana-card {
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}

.cabana-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(7,22,34,0.12);
}

.cabana-card.destacada {
  border: 2px solid #f6c343;
  box-shadow: 0 14px 46px rgba(246, 195, 67, 0.35);
}

.badge-destacada {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f6c343;
  color: #031926;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* when card is in two-column layout, round left corners of image */

.card-main {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  margin: 0;
  font-size: 1.35rem;
  color: #0f4fbf;
}

.card-loc {
  margin-top: 3px;
  margin-bottom: 10px;
  color: #2d3d48;
  font-size: 0.95rem;
}

.card-desc {
  margin: 0;
  color: #445964;
  line-height: 1.4;
}

.quick-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.icon-action,
.btn-more {
  text-decoration: none;
  border: none;
  border-radius: 10px;
  font-size: 0.88rem;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icon-action { color: #fff; }
.icon-action.wa { background: #25d366; }
.icon-action.call { background: #1f7ae0; }
.icon-action.map { background: #6c757d; }

.btn-more {
  margin-left: auto;
  background: #0f4fbf;
  color: #fff;
  cursor: pointer;
  padding: 8px 12px;
}

@media (min-width: 780px) {
  .page {
    padding: 20px 14px 34px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .cabana-card {
    display: grid;
    grid-template-columns: 320px 1fr;
  }

  .card-image {
    height: 100%;
    min-height: 235px;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
    display: block;
  }

  .card-main {
    padding: 15px;
  }
}

/* Ensure the listado fits nicely inside the main container */
.listado-cabanas {
  width: 100%;
}
