/* ==========================================================================
   BrookHills — Home page (v2)
   ========================================================================== */

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--forest-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.04); }
.hero-slide.active { opacity: 1; animation: kenburns 12s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,26,14,0.55) 0%, rgba(13,26,14,0.15) 35%, rgba(13,26,14,0.25) 60%, rgba(13,26,14,0.85) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 140px 0 150px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 22px; }
.hero-eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.hero h1 { color: #fff; max-width: 820px; text-shadow: 0 6px 40px rgba(0,0,0,0.25); }
.hero p { max-width: 560px; margin-top: 22px; font-size: 1.12rem; line-height: 1.7; color: rgba(255,255,255,0.82); }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 22px; margin-top: 44px; flex-wrap: wrap; }
.hero-proof .stars-row .i { color: var(--gold); font-size: 15px; }
.hero-proof strong { color: #fff; }
.hero-proof span { font-size: 13px; color: rgba(255,255,255,0.7); }
.hero-proof .sep { width: 1px; height: 26px; background: rgba(255,255,255,0.2); }
.hero-scroll { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); z-index: 2; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,0.55); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll::after { content: ""; width: 1px; height: 44px; background: linear-gradient(180deg, var(--gold), transparent); animation: scrollHint 2s ease-in-out infinite; }
@keyframes scrollHint { 0%, 100% { opacity: .3; transform: scaleY(.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* Search bar overlapping hero bottom */
.search-wrap { position: relative; z-index: 5; margin-top: -58px; }
.search-note { display: flex; gap: 18px; justify-content: center; margin-top: 16px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.search-note span { display: inline-flex; align-items: center; gap: 6px; }
.search-note .i { color: var(--success); font-size: 15px; }

/* Member strip */
.member-strip { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: linear-gradient(90deg, var(--forest), var(--forest-2)); color: #fff; border-radius: var(--radius); padding: 14px 20px; margin-top: 24px; flex-wrap: wrap; }
.member-strip .avatar { background: var(--gold); color: var(--forest-deep); }
.member-strip em { color: var(--gold-soft); font-style: normal; }
.member-strip .row a { color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; }
.member-strip .row a:hover { background: rgba(255,255,255,0.1); }
.guest-strip { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.guest-strip a { color: var(--forest); font-weight: 600; border-bottom: 1px solid var(--gold); }

/* About / story */
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.story-media { position: relative; }
.story-media .main { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; overflow: hidden; }
.story-media .main img { width: 100%; height: 100%; object-fit: cover; }
.story-media .float { position: absolute; right: -28px; bottom: 56px; width: 46%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--cream); aspect-ratio: 4 / 3; }
.story-media .float img { width: 100%; height: 100%; object-fit: cover; }
.story-badge { position: absolute; left: -22px; top: 40px; background: var(--forest); color: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.story-badge .i { color: var(--gold); font-size: 26px; }
.story-badge strong { display: block; font-family: var(--serif); font-size: 1.4rem; line-height: 1; }
.story-badge span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.story-text .lead { margin-top: 20px; }
.story-text p + p { margin-top: 14px; color: var(--ink-2); line-height: 1.8; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--forest); line-height: 1; }
.stat strong em { color: var(--gold); font-style: normal; font-size: 1.4rem; }
.stat span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: block; margin-top: 6px; }

/* Rooms */
.rooms-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.rooms-head .section-head { margin-bottom: 0; }
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rooms-grid .room-card:first-child:nth-last-child(2), .rooms-grid .room-card:first-child:nth-last-child(2) ~ .room-card { }
.rooms-grid.two { grid-template-columns: repeat(2, 1fr); }
.rooms-grid.two .room-card { display: grid; grid-template-columns: 1fr 1fr; }
.rooms-grid.two .room-card .media { aspect-ratio: auto; min-height: 100%; }

/* Amenities */
.amen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.amen { padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); transition: background .3s, transform .3s var(--ease); }
.amen:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.amen .ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(201,168,76,0.14); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.amen h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.amen p { font-size: 13px; color: rgba(255,255,255,0.62); line-height: 1.6; }

/* Offers */
.offer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.offer { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: #fff; }
.offer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.offer:hover img { transform: scale(1.05); }
.offer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,26,14,0) 30%, rgba(13,26,14,0.85) 100%); }
.offer-body { position: relative; z-index: 1; padding: 28px; }
.offer-body h3 { color: #fff; font-size: 1.7rem; margin: 10px 0 6px; }
.offer-body p { font-size: 14px; color: rgba(255,255,255,0.8); max-width: 420px; }
.offer-body .row { margin-top: 16px; }
.offer-code { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14); border: 1px dashed rgba(255,255,255,0.5); padding: 7px 12px; border-radius: 8px; font-family: monospace; font-size: 13px; letter-spacing: .1em; }

/* Gallery masonry */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.gal-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-item:hover img { transform: scale(1.06); }
.gal-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(13,26,14,0.5)); opacity: 0; transition: opacity .3s; }
.gal-item:hover::after { opacity: 1; }
.gal-item.tall { grid-row: span 2; }
.gal-item.wide { grid-column: span 2; }
.gal-more { display: flex; align-items: center; justify-content: center; background: var(--forest); color: #fff; font-family: var(--serif); font-size: 1.4rem; flex-direction: column; gap: 6px; }
.gal-more small { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* Events */
.event-card { overflow: hidden; display: flex; flex-direction: column; }
.event-card .media { aspect-ratio: 16 / 10; }
.event-date { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 10px; padding: 8px 12px; text-align: center; line-height: 1; z-index: 2; }
.event-date strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--forest); }
.event-date span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.event-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.event-body h3 { font-size: 1.45rem; }
.event-body p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.event-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-3); }

/* Reviews */
.reviews-layout { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
.reviews-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.reviews-side .card { padding: 28px; }
.reviews-side .rating-summary { grid-template-columns: 1fr; text-align: center; gap: 20px; }
.review-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.source-logos { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.source-logos .chip { font-size: 12px; }

/* Location */
.loc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.loc-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--sand); position: relative; }
.loc-map iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; filter: saturate(.85); }
.loc-list { display: grid; gap: 12px; margin-top: 24px; }
.loc-item { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.loc-item .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--mist); display: flex; align-items: center; justify-content: center; color: var(--gold-2); font-size: 20px; flex-shrink: 0; }
.loc-item strong { display: block; font-size: 14px; color: var(--forest); }
.loc-item span { font-size: 12px; color: var(--ink-3); }
.loc-item .dist { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--forest); white-space: nowrap; }

/* Contact */
.contact-card { display: grid; grid-template-columns: 0.9fr 1.1fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-info { background: var(--forest); color: #fff; padding: 44px; display: flex; flex-direction: column; gap: 24px; }
.contact-info h3 { color: #fff; font-size: 2rem; }
.contact-info > p { color: rgba(255,255,255,0.75); line-height: 1.75; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(201,168,76,0.15); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-line strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 3px; }
.contact-line a, .contact-line span { color: #fff; font-size: 15px; }
.contact-line a:hover { color: var(--gold); }
.contact-form { background: #fff; padding: 44px; }
.contact-form h4 { font-size: 1.6rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.char { text-align: right; font-size: 12px; color: var(--ink-3); }

/* Newsletter / CTA band */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 64px; color: #fff; background: var(--forest); text-align: center; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 640px; margin-inline: auto; }
.cta-band p { max-width: 520px; margin: 14px auto 28px; color: rgba(255,255,255,0.8); }

/* Responsive */
@media (max-width: 1080px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .reviews-layout { grid-template-columns: 1fr; }
  .reviews-side { position: static; }
  .loc-grid, .offer-grid, .contact-card, .story-grid { grid-template-columns: 1fr; }
  .story-media .float { right: 0; }
  .story-media .main { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  .hero { min-height: 92svh; }
  .hero-inner { padding: 120px 0 130px; }
  .hero-scroll { display: none; }
  .search-wrap { margin-top: -80px; }
  .rooms-grid, .rooms-grid.two, .review-cards { grid-template-columns: 1fr; }
  .rooms-grid.two .room-card { grid-template-columns: 1fr; }
  .rooms-grid.two .room-card .media { aspect-ratio: 4 / 3; }
  .amen-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .amen { padding: 18px 16px; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gal-item.wide { grid-column: span 2; }
  .contact-info, .contact-form { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat strong { font-size: 1.7rem; }
  .story-badge { left: 8px; top: 12px; padding: 10px 12px; }
  .story-media .float { width: 52%; bottom: -20px; }
  .cta-band { padding: 40px 22px; }
  .rooms-head { flex-direction: column; align-items: flex-start; }
}
