/* HavenRank — redesigned homepage (preview via althome.php; promote to index.php when approved) */

/* Let the home page go full-width; sections constrain their own content via .hv-inner */
.home-page { overflow-x: hidden; }
.home-page main.container { max-width: none !important; width: 100%; padding: 0 !important; margin: 0 !important; }

.hv {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #2a2a28;
  line-height: 1.6;
}
.hv * { box-sizing: border-box; }
.hv-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hv-serif { font-family: Georgia, "Times New Roman", serif; }

.hv-section { padding: 64px 0; }
.hv-section.cream { background: #faf7f0; }
.hv-eyebrow { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: #b5933f; margin: 0 0 12px; }
.hv-title { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 32px; color: #16574f; margin: 0 0 8px; line-height: 1.2; }
.hv-sub { font-size: 16px; color: #6b6a64; margin: 0 0 32px; max-width: 640px; }
.hv-center { text-align: center; }
.hv-center .hv-sub { margin-left: auto; margin-right: auto; }

.hv-btn { display: inline-block; border-radius: 8px; padding: 13px 26px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; border: 0; transition: background .2s, transform .15s; }
.hv-btn:active { transform: scale(.98); }
.hv-btn-teal { background: #16574f; color: #fff; }
.hv-btn-teal:hover { background: #0e3b35; color: #fff; }
.hv-btn-gold { background: #b5933f; color: #fff; }
.hv-btn-gold:hover { background: #9a7c31; color: #fff; }
.hv-btn-out { background: transparent; border: 1.5px solid #16574f; color: #16574f; }
.hv-btn-out:hover { background: #16574f; color: #fff; }

/* ---- Top nav ---- */
.hv-nav { background: #fff; border-bottom: 1px solid #ece5d4; position: sticky; top: 0; z-index: 50; }
.hv-nav .hv-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.hv-nav .hv-logo img { display: block; height: 48px; width: auto; }
.hv-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.hv-nav a { color: #2a2a28; text-decoration: none; font-size: 15px; }
.hv-nav a:hover { color: #16574f; }
.hv-nav .hv-nav-search { color: #16574f; font-size: 15px; font-weight: 600; }

/* ---- Hero ---- */
.hv-hero { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: #16574f; }
.hv-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hv-hero-overlay { position: absolute; inset: 0; }
.hv-hero-content { position: relative; z-index: 2; max-width: 720px; margin: 0 20px; padding: 40px 24px; color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.4); }
.hv-hero .hv-eyebrow { color: #e8cf8f; }
.hv-hero h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 52px; line-height: 1.12; margin: 0 0 16px; color: #fff; }
.hv-hero p.lede { font-size: 18px; color: #eef4f1; margin: 0 0 28px; }
.hv-searchform { display: flex; align-items: center; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 40px; padding: 6px 6px 6px 22px; text-shadow: none; }
.hv-searchform input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; color: #2a2a28; padding: 10px 0; }
.hv-searchform button { border: 0; background: #16574f; color: #fff; border-radius: 30px; padding: 12px 24px; font-size: 15px; font-weight: 600; cursor: pointer; }
.hv-searchform button:hover { background: #0e3b35; }
.hv-trust { font-size: 14px; color: #dcebe5; margin: 18px 0 18px; }
.hv-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; text-shadow: none; }
.hv-chip { border: 1px solid rgba(255,255,255,.55); color: #fff; border-radius: 30px; padding: 8px 16px; font-size: 14px; text-decoration: none; transition: background .2s; }
.hv-chip:hover { background: rgba(255,255,255,.16); color: #fff; }
.hv-hero-badge { position: absolute; top: 18px; right: 20px; z-index: 2; background: rgba(20,40,36,.45); color: #eef4f1; font-size: 12px; padding: 6px 13px; border-radius: 30px; }
.hv-hero-credit { position: absolute; left: 22px; bottom: 18px; z-index: 2; color: #eef4f1; font-size: 13px; text-decoration: none; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.hv-hero-credit:hover { color: #fff; text-decoration: underline; }

/* ---- Editor's pick ---- */
.hv-editor { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hv-editor-photo { min-height: 340px; border-radius: 14px; background-size: cover; background-position: center; background-color: #d6c6bb; }
.hv-stars { color: #b5933f; font-size: 16px; letter-spacing: 2px; }
.hv-rating-note { color: #5f5e5a; font-size: 14px; }
.hv-quote { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: #3f3e3a; font-size: 19px; line-height: 1.6; margin: 16px 0 22px; }

/* ---- Generic grids ---- */
.hv-grid { display: grid; gap: 18px; }
.hv-g4 { grid-template-columns: repeat(4, 1fr); }
.hv-g3 { grid-template-columns: repeat(3, 1fr); }
.hv-g2 { grid-template-columns: repeat(2, 1fr); }

/* ---- Theme tiles ---- */
.hv-theme { position: relative; display: block; height: 130px; border-radius: 12px; overflow: hidden; text-decoration: none; color: #fff; background-size: cover; background-position: center; background-color: #4f6259; }
.hv-theme .hv-theme-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px; background: rgba(20,40,36,.42); font-size: 15px; font-weight: 600; }
.hv-theme .hv-theme-count { font-weight: 400; opacity: .9; font-size: 13px; }

/* ---- Destinations ---- */
.hv-dest { display: block; background: #fff; border: 1px solid #ece5d4; border-radius: 12px; padding: 18px 16px; text-align: center; text-decoration: none; transition: border-color .2s, transform .15s; }
.hv-dest:hover { border-color: #16574f; transform: translateY(-2px); }
.hv-dest .n { display: block; font-size: 16px; font-weight: 600; color: #16574f; }
.hv-dest .c { display: block; font-size: 13px; color: #7a786f; margin-top: 3px; }
.hv-dest-all { text-align: center; margin-top: 26px; }
.hv-dest-all a { color: #16574f; font-weight: 600; text-decoration: none; }
.hv-dest-all a:hover { text-decoration: underline; }

/* ---- Collections ---- */
.hv-collection { position: relative; display: block; height: 150px; border-radius: 12px; overflow: hidden; text-decoration: none; color: #fff; background-size: cover; background-position: center; background-color: #42525c; }
.hv-collection .lbl { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: rgba(20,40,36,.45); }
.hv-collection .lbl strong { display: block; font-size: 17px; font-weight: 600; }
.hv-collection .lbl span { font-size: 13px; opacity: .9; }

/* ---- Stay / article cards ---- */
.hv-card { background: #fff; border: 1px solid #ece5d4; border-radius: 12px; overflow: hidden; display: block; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .2s; }
.hv-card:hover { transform: translateY(-3px); }
.hv-card-photo { height: 150px; background-size: cover; background-position: center; background-color: #cdd6d0; }
.hv-card-body { padding: 14px 16px; }
.hv-card-name { font-size: 16px; font-weight: 600; color: #16574f; margin: 0 0 4px; }
.hv-card-loc { font-size: 13px; color: #7a786f; margin: 0; }
.hv-card-meta { margin-top: 9px; display: flex; align-items: center; gap: 10px; }
.hv-tag { display: inline-block; font-size: 12px; color: #7a5f1f; background: #f4ecd8; border-radius: 30px; padding: 3px 11px; }
.hv-readtime { font-size: 13px; color: #7a786f; }

/* ---- How we curate (teal band) ---- */
.hv-curate { background: #16574f; color: #fff; }
.hv-curate .hv-title { color: #fff; }
.hv-curate .hv-sub { color: #bcd6ce; }
.hv-curate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; text-align: center; }
.hv-curate-col h3 { font-size: 19px; font-weight: 600; margin: 0 0 4px; color: #fff; }
.hv-curate-col .rule { width: 36px; height: 3px; background: #b5933f; margin: 0 auto 14px; border-radius: 2px; }
.hv-curate-col p { font-size: 15px; color: #bcd6ce; margin: 0; }
.hv-stats { display: flex; justify-content: center; gap: 60px; margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.18); }
.hv-stat { text-align: center; }
.hv-stat .num { font-family: Georgia, "Times New Roman", serif; font-size: 38px; color: #e8cf8f; line-height: 1; }
.hv-stat .lbl { font-size: 14px; color: #bcd6ce; margin-top: 6px; }

/* ---- Concierge CTA (gold band) ---- */
.hv-cta { background: #b5933f; color: #fff; text-align: center; }
.hv-cta .hv-title { color: #fff; }
.hv-cta p { color: #fceedb; font-size: 17px; max-width: 560px; margin: 8px auto 24px; }

/* ---- Footer ---- */
.hv-footer { background: #0e3b35; color: #cfe0da; padding: 44px 0 24px; }
.hv-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.hv-footer h4 { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.hv-footer p, .hv-footer li { font-size: 13px; color: #9fc3b8; line-height: 1.8; }
.hv-footer ul { list-style: none; margin: 0; padding: 0; }
.hv-footer a { color: #cfe0da; text-decoration: none; font-size: 13px; }
.hv-footer a:hover { color: #fff; text-decoration: underline; }
.hv-footer .copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; text-align: center; font-size: 13px; color: #7fa89d; }

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .hv-hero h1 { font-size: 38px; }
  .hv-editor { grid-template-columns: 1fr; }
  .hv-g4 { grid-template-columns: repeat(2, 1fr); }
  .hv-curate-grid { grid-template-columns: 1fr; gap: 24px; }
  .hv-stats { gap: 32px; flex-wrap: wrap; }
  .hv-footer .cols { grid-template-columns: 1fr; gap: 22px; }
  .hv-nav ul { gap: 16px; }
}
@media (max-width: 560px) {
  .hv-section { padding: 44px 0; }
  .hv-hero h1 { font-size: 31px; }
  .hv-g4, .hv-g3, .hv-g2 { grid-template-columns: 1fr 1fr; }
  .hv-nav ul { display: none; }
}
