/* Nhà Dốc Nhỏ (homestay 4.0): a hand-made leaflet. Kraft paper, forest-green ink, taped polaroids, a red rubber stamp,
   a priced room list and an order slip. Fonts: Dancing Script (hand-written accents only) + Lora (text and headings). */
:root {
  --kraft: #e9dcc0;
  --kraft-2: #dcc9a2;
  --paper: #fbf6ea;
  --ink: #26402f;
  --ink-2: #3c5a46;
  --stamp: #b3382c;
  --muted: #6b6250;
  --rule: #c9b88f;
  --k-font: 'Lora', Georgia, serif;
  --k-font-display: 'Lora', Georgia, serif;
  --k-accent: #26402f;
  --k-accent-ink: #fbf6ea;
  --k-ink: #26402f;
  --k-paper: #fffaf0;
  --k-muted: #6b6250;
  --k-line: #c9b88f;
  --k-radius: 3px;
}
body {
  background: var(--kraft);
  color: var(--ink);
  font:
    400 16px/1.7 'Lora',
    Georgia,
    serif;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
}
p {
  margin: 0 0 12px;
}
.plain {
  margin: 0;
  padding: 0;
  list-style: none;
}
.k-icon {
  width: 18px;
  height: 18px;
}
.script {
  font:
    700 24px/1.2 'Dancing Script',
    cursive;
  color: var(--stamp);
}
.h1 {
  font-size: 44px;
  line-height: 1.05;
}
.h1-page {
  font-size: 28px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.h2 {
  position: relative;
  margin: 0 0 20px;
  font-size: 22px;
  text-align: center;
}
.h2::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px dashed var(--ink-2);
}
.h2 span {
  position: relative;
  padding: 0 14px;
  background: var(--kraft);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  font:
    700 15px/1 'Lora',
    serif;
  text-decoration: none;
  cursor: pointer;
}
.btn-paper {
  background: var(--paper);
  color: var(--ink);
}
.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
  margin-bottom: 8px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.center {
  margin-top: 20px;
  text-align: center;
}
.link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* Top */
.top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
}
.top-name {
  flex: 1;
  min-width: 0;
  font:
    700 28px/1.1 'Dancing Script',
    cursive;
  text-decoration: none;
}
.top-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--paper);
  border-radius: 3px;
  background: none;
  color: var(--paper);
  font:
    700 14px/1 'Lora',
    serif;
  cursor: pointer;
}
.top-call span {
  display: none;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-around;
  background: var(--kraft-2);
  border-bottom: 2px solid var(--ink);
}
.nav a {
  padding: 12px 8px;
  font:
    700 14px/1 'Lora',
    serif;
  text-decoration: none;
}

/* Cover */
.cover {
  display: grid;
  gap: 30px;
  padding: 28px 16px 0;
}
.cover-lead {
  margin: 12px 0 20px;
  font-size: 17px;
  color: var(--muted);
}
.polas {
  position: relative;
  height: 400px;
}
.pola {
  position: absolute;
  width: 150px;
  margin: 0;
  padding: 8px 8px 10px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(38, 64, 47, 0.25);
}
.pola img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.pola figcaption {
  padding-top: 6px;
  font:
    700 17px/1.1 'Dancing Script',
    cursive;
  text-align: center;
  color: var(--ink);
}
.pola::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  width: 52px;
  height: 18px;
  margin-left: -26px;
  background: rgba(220, 201, 162, 0.85);
  transform: rotate(-3deg);
}
.pola-a {
  left: 4%;
  top: 8px;
  transform: rotate(-6deg);
}
.pola-b {
  left: 33%;
  top: 198px;
  z-index: 2;
  transform: rotate(4deg);
}
.pola-c {
  right: 0;
  top: 4px;
  transform: rotate(-2deg);
}

.sec {
  padding: 52px 16px 0;
}
.page {
  padding-top: 26px;
}

/* Lines: priced room list */
.lines {
  display: grid;
  border-top: 2px solid var(--ink);
}
.line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--ink-2);
}
.line-img img {
  display: block;
  width: 96px;
  height: 76px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(38, 64, 47, 0.25);
}
.line-main {
  min-width: 0;
}
.line-name {
  font-size: 17px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.line-name a {
  text-decoration: none;
}
.line-short {
  display: none;
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.line-price {
  grid-column: 1 / 2;
  margin: 0;
  align-self: center;
  font-size: 13px;
  color: var(--muted);
}
.line-price b {
  display: block;
  font:
    700 19px/1.1 'Lora',
    serif;
  color: var(--stamp);
}
.line .btn {
  grid-column: 2;
  justify-self: end;
}

/* Note */
.note {
  position: relative;
  padding: 24px 20px 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 4px 4px 0 var(--kraft-2);
}
.note p {
  color: var(--muted);
}
.stamp {
  display: inline-block;
  padding: 6px 12px;
  border: 3px double var(--stamp);
  border-radius: 4px;
  color: var(--stamp);
  font:
    700 13px/1.3 'Lora',
    serif;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-5deg);
}
.stamp b {
  font-size: 15px;
}
.note .stamp {
  position: absolute;
  right: 14px;
  bottom: -18px;
  background: var(--paper);
}
.stamp-sm {
  padding: 6px 14px;
  font-size: 14px;
  text-transform: none;
}
.stamp-sm b {
  font:
    700 24px/1.2 'Lora',
    serif;
}

/* Amenities */
.amen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.amen li {
  display: grid;
  gap: 2px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.amen .k-icon {
  width: 24px;
  height: 24px;
  color: var(--ink-2);
}
.amen b {
  font-size: 15px;
  line-height: 1.3;
}
.amen span {
  font-size: 13px;
  color: var(--muted);
}

/* Cards (reviews) */
.cards {
  display: grid;
  gap: 14px;
}
.card {
  margin: 0;
  padding: 18px;
  background: var(--paper);
  border-left: 5px solid var(--stamp);
}
.card blockquote {
  margin: 0 0 10px;
}
.card figcaption {
  font-size: 14px;
  color: var(--muted);
}

/* FAQ */
.faqs {
  border-top: 2px solid var(--ink);
}
.faq {
  border-bottom: 1px dashed var(--ink-2);
}
.faq summary {
  padding: 14px 0;
  font-weight: 700;
  cursor: pointer;
}
.faq p {
  color: var(--muted);
}

/* Where */
.where-grid {
  display: grid;
  gap: 14px;
}
.where-card {
  padding: 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
}
.where-addr {
  display: flex;
  gap: 10px;
  font-weight: 700;
}
.where-addr .k-icon {
  flex: none;
  margin-top: 4px;
  color: var(--stamp);
}
.where-hours {
  margin-bottom: 16px;
}
.where-hours li {
  display: grid;
  padding: 8px 0;
  border-top: 1px dashed var(--ink-2);
  font-size: 15px;
}
.map {
  min-height: 260px;
  overflow: hidden;
  border: 2px solid var(--ink);
  filter: sepia(0.25);
}

/* Groups */
.intro {
  color: var(--muted);
}
.groups {
  display: grid;
  gap: 30px;
  margin-top: 10px;
}
.group-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 17px;
}
.group-h small {
  font:
    400 13px/1 'Lora',
    serif;
  color: var(--kraft);
}
.group .lines {
  border-top: 0;
}

/* Detail */
.back {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--stamp);
  text-decoration: none;
}
.d-grid {
  display: grid;
  gap: 22px;
  margin-bottom: 36px;
}
.d-pola {
  position: relative;
  margin: 0;
  padding: 10px 10px 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(38, 64, 47, 0.25);
  transform: rotate(-1.2deg);
}
.d-pola img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.d-pola figcaption {
  padding-top: 6px;
  font:
    700 20px/1.1 'Dancing Script',
    cursive;
  text-align: center;
}
.d-price {
  margin: 14px 0;
}
.d-short {
  font-weight: 700;
}
.ledger {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
  background: var(--paper);
  border: 2px solid var(--ink);
}
.ledger th,
.ledger td {
  padding: 11px 14px;
  border-bottom: 1px dashed var(--ink-2);
  text-align: left;
  vertical-align: top;
}
.ledger th {
  width: 40%;
  font-weight: 400;
  color: var(--muted);
}
.ledger td {
  font-weight: 700;
  overflow-wrap: anywhere;
}
.d-desc {
  font-size: 17px;
}
.d-more {
  margin-top: 44px;
}

/* Order */
.slip {
  max-width: 580px;
  margin: 0 auto;
  padding: 22px 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--kraft-2);
}
.slip-head {
  display: grid;
  gap: 2px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 3px double var(--ink);
  text-align: center;
}
.slip-head b {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.slip-row {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px dashed var(--ink-2);
  overflow-wrap: anywhere;
}
.slip-row b:empty::before {
  content: 'chọn ở ô bên dưới';
  font-weight: 400;
  color: var(--muted);
}
.slip form {
  margin-top: 16px;
}
.slip-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Footer */
.foot {
  margin-top: 60px;
  padding: 28px 16px 10px;
  background: var(--ink);
  color: #dfe8e0;
}
.foot-name {
  font:
    700 28px/1 'Dancing Script',
    cursive;
  color: var(--kraft);
}
.foot p,
.foot li {
  margin: 0 0 6px;
}
.foot p:not([class]),
.foot li {
  font-size: 15px;
}

@media (min-width: 640px) {
  .line {
    grid-template-columns: 150px minmax(0, 1fr) auto auto;
    align-items: center;
  }
  .line-img img {
    width: 150px;
    height: 112px;
  }
  .line-short {
    display: block;
  }
  .line-price {
    grid-column: auto;
    text-align: right;
  }
  .line .btn {
    grid-column: auto;
  }
  .amen {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .top-call span {
    display: inline;
  }
}
@media (min-width: 960px) {
  .top {
    padding: 16px max(32px, calc((100% - 1100px) / 2));
  }
  .top-name {
    font-size: 40px;
  }
  .nav {
    justify-content: center;
    gap: 44px;
  }
  .cover {
    max-width: 1100px;
    margin: 0 auto;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
    padding: 48px 32px 0;
  }
  .h1 {
    font-size: 64px;
    white-space: nowrap;
  }
  .polas {
    height: 520px;
  }
  .pola {
    width: 210px;
  }
  .pola figcaption {
    font-size: 22px;
  }
  .pola-b {
    left: 36%;
    top: 270px;
  }
  .sec {
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 32px 0;
  }
  .page {
    padding-top: 36px;
  }
  .h2 {
    font-size: 26px;
  }
  .h1-page {
    font-size: 34px;
  }
  .faqs {
    max-width: 820px;
    margin: 0 auto;
  }
  .where-grid {
    grid-template-columns: 1fr 1.4fr;
  }
  .map {
    min-height: 340px;
  }
  .d-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 44px;
    align-items: center;
  }
  .foot {
    padding: 36px max(32px, calc((100% - 1100px) / 2)) 14px;
  }
}
