/* Home page (index.html): hero + search, available-now strip, value props, featured rooms, owner CTA */
.page--home a:hover {
  opacity: 0.9;
}

/* Hero */
.hero {
  width: 100%;
  box-sizing: border-box;
  padding: 72px var(--gutter) 120px;
  background: linear-gradient(180deg, var(--color-teal-dark) 0%, var(--color-teal) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.hero__badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-surface);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  max-width: 760px;
  color: var(--color-surface);
}

.hero__text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}

/* Search card: overlaps the bottom of the hero */
.search-card {
  width: calc(100% - 2 * var(--gutter));
  max-width: 1160px;
  margin: -64px auto 0;
  box-sizing: border-box;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
  gap: 16px;
  align-items: end;
  box-shadow: 0 12px 32px rgba(10, 76, 75, 0.18);
}

.search-card__field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Native dropdown laid over the field: the closed state keeps the design's look */
.search-card__select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-family: var(--font-body);
}

.search-card__field:focus-within {
  outline: 2px solid var(--color-teal);
  outline-offset: 1px;
  border-radius: var(--radius-xs);
}

.search-card__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-muted);
}

.search-card__value {
  padding: 11px 36px 11px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235C6663' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
}

.search-card__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: 12px;
  white-space: nowrap;
}

.search-card__checkbox {
  width: 17px;
  height: 17px;
  margin: 3px 3px 3px 4px;
  accent-color: var(--color-teal);
}

.search-card__button {
  border: none;
  cursor: pointer;
  background: var(--color-coral);
  color: var(--color-surface);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Available-now strip */
.available-now {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 88px var(--gutter) 8px;
}

.available-now__box {
  background: var(--color-sand);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.available-now__info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.available-now__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-surface);
  font-size: 18px;
  flex-shrink: 0;
}

.available-now__title {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--color-text);
}

.available-now__text {
  color: var(--color-muted);
  font-size: 13.5px;
}

.available-now__button {
  background: var(--color-teal);
  color: var(--color-surface);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

/* Value props */
.value-props {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 56px var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.value-props__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.value-props__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.value-props__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
}

.value-props__text {
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Featured rooms */
.featured {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 16px var(--gutter) 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.featured__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  color: var(--color-text);
}

.featured__count {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--color-muted);
}

/* Owner call to action */
.owner-cta {
  width: 100%;
  box-sizing: border-box;
  padding: 56px var(--gutter);
  background: var(--color-coral);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.owner-cta__body {
  max-width: 600px;
}

.owner-cta__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--color-surface);
}

.owner-cta__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.owner-cta__button {
  background: var(--color-surface);
  color: var(--color-coral-dark);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  display: inline-block;
}
