/* =====================================================================
   Paramos Meeds homepage (Update 14, MyOwner)
   ===================================================================== */

/* ---------- hero ---------- */
.hm-hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; background: var(--pm-ink); overflow: hidden; }
.hm-hero picture { position: absolute; inset: 0; }
.hm-hero__img { width: 100% !important; height: 100% !important; object-fit: cover; }
.hm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,.15) 30%, rgba(20,20,20,.25) 55%, rgba(20,20,20,.88) 100%); }
.hm-hero__in { position: relative; z-index: 1; padding-top: calc(var(--pm-head-h) + 48px); padding-bottom: 64px; }
.hm-rating { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; margin-bottom: 22px; border: 1px solid rgba(255,255,255,.3); background: rgba(20,20,20,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff !important; text-decoration: none !important; font-size: 14.5px; border-radius: 999px; }
.hm-rating:hover { border-color: var(--pm-brass); }
.hm-rating__score { font-family: var(--pm-serif); font-size: 20px; line-height: 1; }
.hm-rating__stars { color: #fbbc04; letter-spacing: 1px; }
.hm-hero__title { font-family: var(--pm-serif); font-weight: 400; color: #fff; text-transform: none; letter-spacing: -.01em; font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; margin: 0 0 22px; max-width: 10.5em; }
.hm-hero__lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: rgba(255,255,255,.86); max-width: 36em; }

/* ---------- distances strip ---------- */
.hm-near { background: var(--pm-ink); border-top: 1px solid rgba(255,255,255,.12); }
.hm-near__list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); }
.hm-near__list li + li { border-left: 1px solid rgba(255,255,255,.12); }
.hm-near__list a { display: block; padding: 24px 18px 26px; text-decoration: none; color: rgba(255,255,255,.7); transition: background .2s; height: 100%; }
.hm-near__list li:first-child a { padding-left: 0; }
.hm-near__list a:hover { background: rgba(255,255,255,.04); }
.hm-near__list strong { display: block; font-family: var(--pm-serif); font-weight: 400; font-size: 28px; color: var(--pm-brass); line-height: 1.1; }
.hm-near__list span { display: block; font-size: 14.5px; margin-top: 4px; line-height: 1.35; }

/* ---------- shared head ---------- */
.hm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.hm-head .lp-h2 { margin: 0; }
.hm-head--light .lp-h2 { color: #fff; }

/* ---------- rooms ---------- */
.hm-rooms { padding: 0 0 100px; }
.hm-rooms__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hm-room { display: block; text-decoration: none; color: inherit; }
.hm-room__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pm-sand); margin-bottom: 16px; }
.hm-room__img img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .6s ease; }
.hm-room:hover .hm-room__img img { transform: scale(1.04); }
.hm-room__name { display: block; font-family: var(--pm-serif); font-size: 24px; color: var(--pm-ink); line-height: 1.2; }
.hm-room__meta { display: block; font-size: 15px; color: var(--pm-mute); margin-top: 6px; }
.hm-room__best { display: block; font-size: 15px; color: #4A453F; margin-top: 2px; }
.hm-room__price { display: block; font-size: 15.5px; font-weight: 600; color: var(--pm-brass-deep); margin-top: 10px; }

/* ---------- photo tour ---------- */
.hm-tour { padding: 0 0 96px; }
.hm-tour__grid { max-width: var(--pm-wrap); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; grid-auto-flow: dense; }
.hm-tile { position: relative; display: block; overflow: hidden; background: var(--pm-sand); color: #fff; text-decoration: none !important; }
.hm-tile img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .7s ease; }
.hm-tile:hover img { transform: scale(1.035); }
.hm-tile img:not([src]) { visibility: hidden; }
.hm-tile::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, rgba(20,20,20,0), rgba(20,20,20,.62)); pointer-events: none; }
.hm-tile__cap { position: absolute; left: 14px; right: 14px; bottom: 11px; z-index: 1; font-size: 14px; line-height: 1.3; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.hm-tile:focus-visible { outline: 2px solid var(--pm-brass); outline-offset: 3px; }
.hm-tile--big { grid-column: span 2; grid-row: span 2; }
.hm-tile--big .hm-tile__cap { font-family: var(--pm-serif); font-size: 22px; left: 20px; bottom: 16px; }
.hm-tile--wide { grid-column: span 2; }
.hm-tile--tall { grid-row: span 2; }

/* room photos under the room cards */
.hm-sub { font-family: var(--pm-serif); font-weight: 400; font-size: 24px; color: var(--pm-ink); text-transform: none; letter-spacing: 0; margin: 56px 0 18px; }
.hm-strip { max-width: var(--pm-wrap); margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.hm-strip .hm-tile { aspect-ratio: 3 / 2; }
.hm-strip .hm-tile__cap { font-size: 13px; left: 10px; right: 10px; bottom: 8px; }

/* ---------- location hub ---------- */
.hm-map { background: var(--pm-ink); color: rgba(255,255,255,.75); padding: 96px 0; }
.hm-map__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.hm-areas { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); }
.hm-areas a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); text-decoration: none; color: rgba(255,255,255,.7); }
.hm-areas a:hover strong { color: var(--pm-brass); }
.hm-areas__top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.hm-areas strong { font-family: var(--pm-serif); font-weight: 400; font-size: 21px; color: #fff; transition: color .2s; }
.hm-areas em { font-style: normal; font-size: 14px; color: var(--pm-brass); white-space: nowrap; }
.hm-areas__txt { display: block; font-size: 15px; line-height: 1.55; margin-top: 4px; }
.hm-addr { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hm-addr address { font-style: normal; margin: 0; font-size: 16px; color: #fff; max-width: 46em; }

/* ---------- dining ---------- */
.hm-dine { padding: 96px 0; background: var(--pm-sand); }
.hm-dine__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.hm-dine__card { display: grid !important; grid-template-columns: 1fr; background: #fff; text-decoration: none; color: inherit; }
.hm-dine__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.hm-dine__img img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .6s ease; }
.hm-dine__card:hover .hm-dine__img img { transform: scale(1.03); }
.hm-dine__body { display: block; padding: 26px 28px 30px; }
.hm-dine__title { display: block; font-family: var(--pm-serif); font-size: 30px; color: var(--pm-ink); line-height: 1.15; }
.hm-dine__meta { display: block; font-size: 14.5px; color: var(--pm-brass-deep); font-weight: 600; margin: 6px 0 10px; }
.hm-dine__txt { display: block; font-size: 16.5px; line-height: 1.7; margin-bottom: 16px; }

/* ---------- amenities ---------- */
.hm-amen { padding: 96px 0; }
.hm-amen__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 56px; align-items: start; }
.hm-amen__lead { font-size: 17px; margin-bottom: 16px !important; max-width: 24em; }
.hm-amen__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--pm-ink); }
.hm-amen__list li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--pm-line); font-size: 16.5px; color: var(--pm-ink); }
.hm-amen__list i { color: var(--pm-brass-deep); font-size: 19px; width: 24px; text-align: center; }

/* ---------- who stays ---------- */
.hm-who { padding: 0 0 96px; }
.hm-who__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-who__list a { display: block; height: 100%; padding: 22px 24px 24px; background: var(--pm-sand); border-top: 2px solid var(--pm-brass); text-decoration: none; color: #4A453F; transition: background .2s; }
.hm-who__list a:hover { background: #EDE8E1; }
.hm-who__list strong { display: block; font-family: var(--pm-serif); font-weight: 400; font-size: 23px; color: var(--pm-ink); margin-bottom: 6px; }
.hm-who__list span { display: block; font-size: 15.5px; line-height: 1.6; }

.lp--home .lp-faq { border-top: 1px solid var(--pm-line); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .hm-strip { grid-template-columns: repeat(3, 1fr); }
    .hm-rooms__list { grid-template-columns: repeat(2, 1fr); }
    .hm-near__list { grid-template-columns: repeat(3, 1fr); }
    .hm-near__list li:nth-child(4) { border-left: 0; }
    .hm-near__list li:nth-child(4) a { padding-left: 0; }
    .hm-near__list li:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 991px) {
    .hm-map__grid, .hm-amen__grid { grid-template-columns: 1fr; gap: 32px; }
    .hm-map, .hm-dine, .hm-amen { padding: 68px 0; }
    .hm-rooms { padding-bottom: 72px; }
    .hm-who { padding-bottom: 72px; }
    .hm-who__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    /* photo rows become swipeable strips that start at the page margin */
    .hm-tour { padding-bottom: 64px; }
    .hm-tour__grid, .hm-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 18px; padding: 0 18px 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .hm-tour__grid::-webkit-scrollbar, .hm-strip::-webkit-scrollbar { display: none; }
    .hm-tile { flex: 0 0 78vw; height: 60vw; scroll-snap-align: start; }
    .hm-tile--tall { flex-basis: 40vw; }
    .hm-strip .hm-tile { flex-basis: 66vw; height: auto; }
    .hm-tile--big .hm-tile__cap { font-size: 19px; left: 14px; bottom: 12px; }
    .hm-sub { margin-top: 44px; font-size: 22px; }
    .hm-hero { min-height: 88svh; }
    .hm-hero__in { padding-bottom: 40px; }
    .hm-dine__grid { grid-template-columns: 1fr; }
    .hm-near__list { grid-template-columns: 1fr 1fr; }
    .hm-near__list li { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.12); }
    .hm-near__list li:nth-child(-n+2) { border-top: 0; }
    .hm-near__list li:nth-child(even) { border-left: 1px solid rgba(255,255,255,.12) !important; }
    .hm-near__list li a, .hm-near__list li:nth-child(4) a { padding: 18px 16px; }
    .hm-near__list li:nth-child(odd) a { padding-left: 0; }
    .hm-near__list strong { font-size: 24px; }
}
@media (max-width: 575px) {
    .hm-rooms__list { grid-template-columns: 1fr; gap: 30px; }
    .hm-amen__list { grid-template-columns: 1fr; }
    .hm-who__list { grid-template-columns: 1fr; }
    .hm-addr .pm-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .hm-room__img img, .hm-dine__img img, .hm-tile img { transition: none; }
}
