/* =========================================================
   howtorent.css - How to Rent Page
   ========================================================= */

/* -- Variables -- */
:root {
  --color-primary:    #114E72;
  --color-header:     #6A8CA0;
  --color-white:      #ffffff;
  --color-border:     #D9D9D9;
  --color-text-muted: #7E7E7E;
  --color-danger:     #8F2929;
  --color-bg:         #F1F1F1;
  --font-main:        'Hanuman', serif;
  --radius-btn:       20px;
  --radius-sm:        10px;
}

/* -- Reset -- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background: #ffffff;
  color: var(--color-primary);
}

a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
img { display: block; max-width: 100%; }

/* =========================================================
   HEADER  (2 rows: top-bar + navbar)
   ========================================================= */
.SiteHeader {
  width: 100%;
  background: var(--color-header);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* -- Row 1: logo + actions -- */
.SiteHeader-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
}

.SiteHeader-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.Logo-img {
  width: 82px;
  height: 60px;
  object-fit: contain;
}

.Logo-text {
  color: var(--color-white);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.SiteHeader-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.BtnLogin {
  background: var(--color-white);
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-white);
  padding: 10px 28px;
  cursor: pointer;
}

.BtnLogin-text {
  color: var(--color-header);
  font-size: 24px;
  font-weight: 900;
}

.Icon-faq-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: opacity 0.2s, filter 0.2s;
  text-decoration: none;
}

.Icon-faq-link:hover {
  filter: brightness(0.85);
}

.Icon-faq {
  width: 41px;
  height: 41px;
  object-fit: contain;
}

.BtnLogin {
  background: var(--color-white);
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-white);
  padding: 10px 28px;
  cursor: pointer;
}

.BtnLogin-text {
  color: var(--color-header);
  font-size: 24px;
  font-weight: 900;
}

/* -- Row 2: navbar -- */
.Navbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px 18px;
  flex-wrap: nowrap;
}

.NavBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-white);
  background: var(--color-header);
  color: var(--color-white);
  font-size: 16px;
  font-family: var(--font-main);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.NavBtn:hover   { background: rgba(255,255,255,0.15); }
.NavBtn--active { background: var(--color-primary); }

/* =========================================================
   PAGE CONTENT
   ========================================================= */
.PageContent {
  padding: 40px 98px 60px;
}

/* -- Search bar -- */
.SearchBar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.SearchBar-input {
  width: 459px;
  height: 59px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-header);
  padding: 0 20px;
  font-size: 20px;
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--color-text-muted);
  outline: none;
  background: var(--color-white);
}

.SearchBar-input::placeholder { color: var(--color-text-muted); }
.SearchBar-input:focus        { border-color: var(--color-primary); }

.SearchBar-btn {
  width: 117px;
  height: 59px;
  border-radius: var(--radius-sm);
  background: var(--color-header);
  border: none;
  color: var(--color-white);
  font-size: 24px;
  font-family: var(--font-main);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.SearchBar-btn:hover { background: var(--color-primary); }

/* -- Guide card -- */
.GuideCard {
  background: var(--color-bg);
  border-radius: 20px;
  padding: 40px 48px 48px;
}

.GuideCard-title {
  text-align: center;
  margin-bottom: 36px;
}

.GuideCard-title-th {
  display: block;
  color: var(--color-primary);
  font-size: 35px;
  font-weight: 700;
  line-height: 1.3;
}

.GuideCard-title-en {
  display: block;
  color: var(--color-header);
  font-size: 24px;
  font-weight: 700;
}

/* -- Steps list -- */
.StepList {
  display: flex;
  flex-direction: column;
  gap: 28px;
  list-style: none;
  padding: 0;
}

.Step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.Step-icon {
  width: 41px;
  height: 41px;
  flex-shrink: 0;
  object-fit: contain;
  margin-top: 4px;
}

.Step-heading {
  color: var(--color-primary);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
}

.Step-detail {
  color: var(--color-text-muted);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

/* -- Divider between steps -- */
.Step-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* -- Note -- */
.GuideNote {
  margin-top: 28px;
  padding-left: 48px;
}

.GuideNote-label {
  color: var(--color-danger);
  font-size: 25px;
  font-weight: 700;
}

.GuideNote-text {
  color: var(--color-text-muted);
  font-size: 20px;
  font-weight: 700;
  margin-top: 4px;
}

.GuideNote-about {
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  margin-top: 25px;
  }