/* Accommodations collection: style cards, filter bar, stay cards and questions. Shares buttons, headings and cards with
   accommodation-stay.css (.ad-*). No rules or frames; inputs answer the layout's !important form styles. */
.ac-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The way you stay */
.ac-styles { padding-block: clamp(5rem, 9vw, 8rem); }
.ac-style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.6rem); margin: 0; padding: 0; list-style: none; }
.ac-style { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(380px, 34vw, 500px); overflow: hidden; border-radius: 30px; background: #231F20; color: #FFFFFF; text-decoration: none; box-shadow: 0 40px 80px -56px rgba(35, 31, 32, .6); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease; }
.ac-style img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.ac-style::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(35, 31, 32, .05) 30%, rgba(35, 31, 32, .88) 100%); content: ''; }
.ac-style:hover, .ac-style:focus-visible { transform: translateY(-6px); box-shadow: 0 50px 90px -50px rgba(35, 31, 32, .7); }
.ac-style:hover img, .ac-style:focus-visible img { transform: scale(1.07); }
.ac-style__count { position: absolute; top: 1.2rem; left: 1.2rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(35, 31, 32, .5); color: #FFFFFF; font-size: .74rem; font-weight: 600; letter-spacing: .06em; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .35s ease; }
.ac-style.is-active .ac-style__count { background: #755431; }
.ac-style__copy { display: grid; gap: .5rem; padding: clamp(1.4rem, 2.4vw, 2rem) clamp(4.6rem, 7vw, 5.4rem) clamp(1.4rem, 2.4vw, 2rem) clamp(1.4rem, 2.4vw, 2rem); }
.ac-style__title { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.ac-style__text { color: rgba(255, 255, 255, .78); font-size: .9rem; line-height: 1.6; }
.ac-style__arrow { position: absolute; right: clamp(1.2rem, 2vw, 1.6rem); bottom: clamp(1.4rem, 2.4vw, 2rem); display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: 50%; background: #FFFFFF; color: #755431; transition: background .4s ease, color .4s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.ac-style__arrow svg { width: 1.05rem; height: 1.05rem; }
.ac-style:hover .ac-style__arrow { background: #6B9A40; color: #FFFFFF; transform: rotate(-45deg); }

/* Collection: filters and stays */
.ac-list { padding-block: clamp(5rem, 9vw, 8rem); background: #F7F4ED; scroll-margin-top: var(--home-header-height, 88px); }
.ac-filters { display: grid; gap: .8rem; margin-bottom: clamp(2rem, 4vw, 3rem); padding: .8rem; border-radius: 30px; background: #FFFFFF; box-shadow: 0 30px 60px -48px rgba(35, 31, 32, .5); }
.ac-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.ac-chip { display: inline-flex; align-items: center; gap: .55rem; padding: .65rem .75rem .65rem 1.15rem; border-radius: 999px; color: rgba(35, 31, 32, .78); font-size: .84rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .35s ease, color .35s ease; }
.ac-chip span { display: grid; min-width: 1.7rem; height: 1.7rem; padding: 0 .45rem; place-items: center; border-radius: 999px; background: #F7F4ED; color: #755431; font-size: .72rem; box-sizing: border-box; transition: background .35s ease, color .35s ease; }
.ac-chip:hover { background: #F7F4ED; color: #231F20; }
.ac-chip.is-active { background: #755431; color: #FFFFFF; }
.ac-chip.is-active span { background: rgba(255, 255, 255, .2); color: #FFFFFF; }
.ac-search { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.ac-search__field { display: block; min-width: 200px; }
.ac-search__field--grow { flex: 1; }
.ac-page .ac-search :is(select, input) { box-sizing: border-box; width: 100%; min-height: 52px !important; padding: .8rem 1.1rem !important; border: 0 !important; border-radius: 999px !important; background-color: #F7F4ED; color: #231F20; font-family: 'Poppins', sans-serif; font-size: .9rem; box-shadow: none; transition: box-shadow .3s ease, background-color .3s ease; }
.ac-page .ac-search select { appearance: none; padding-right: 2.8rem !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23755431' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: right 1.1rem center; background-repeat: no-repeat; background-size: 1.05rem; cursor: pointer; }
.ac-page .ac-search :is(select, input):focus { background-color: #FFFFFF; box-shadow: inset 0 0 0 2px #6B9A40 !important; outline: none !important; }
.ac-search__button { border: 0; cursor: pointer; font-family: 'Poppins', sans-serif; }
.ac-clear { padding: .5rem .8rem; color: #755431; font-size: .8rem; font-weight: 600; text-decoration: none; transition: color .3s ease; }
.ac-clear:hover { color: #3E6423; }

.ac-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.6rem); margin: 0; padding: 0; list-style: none; }
.ac-card .ad-card__image { position: relative; aspect-ratio: 4 / 3; }
.ac-card__place { display: inline-flex; align-items: center; gap: .35rem; color: #3E6423; font-size: .74rem; font-weight: 600; letter-spacing: .06em; }
.ac-card__place svg { width: .85rem; height: .85rem; }
.ac-card__text { color: rgba(35, 31, 32, .66); font-size: .86rem; line-height: 1.6; }

.ac-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.ac-pages a, .ac-pages span { display: grid; min-width: 2.9rem; height: 2.9rem; padding: 0 .8rem; place-items: center; border-radius: 999px; background: #FFFFFF; color: #231F20; font-size: .88rem; font-weight: 600; text-decoration: none; box-sizing: border-box; transition: background .3s ease, color .3s ease; }
.ac-pages a:hover { background: #231F20; color: #FFFFFF; }
.ac-pages span[aria-current] { background: #755431; color: #FFFFFF; }
.ac-pages .ac-pages__all { padding: 0 1.3rem; color: #755431; }

.ac-empty { display: grid; justify-items: center; gap: .8rem; max-width: 620px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem); border-radius: 32px; background: #FFFFFF; text-align: center; }
.ac-empty__icon { display: grid; width: 4rem; height: 4rem; place-items: center; border-radius: 50%; background: #F7F4ED; color: #755431; }
.ac-empty__icon svg { width: 1.8rem; height: 1.8rem; }
.ac-page .ac-empty h3 { margin: .4rem 0 0; color: #231F20; font-size: 1.5rem !important; font-weight: 700 !important; text-transform: none; }
.ac-page .ac-empty p { margin: 0 0 .8rem; color: rgba(35, 31, 32, .7); line-height: 1.75; }

/* Questions */
.ac-faq { padding-block: clamp(5rem, 9vw, 8rem); }
.ac-faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(2.5rem, 6vw, 6rem); }
.ac-page .ac-faq__intro { margin: 1.2rem 0 1.8rem; }
.ac-faq__list { display: grid; gap: .8rem; }
.ac-faq__item { border-radius: 24px; background: #F7F4ED; transition: background .4s ease, box-shadow .5s ease; }
.ac-faq__item[open] { background: #FFFFFF; box-shadow: 0 34px 70px -50px rgba(35, 31, 32, .55); }
.ac-faq__item summary { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; cursor: pointer; list-style: none; }
.ac-faq__item summary::-webkit-details-marker { display: none; }
.ac-faq__number { display: grid; flex: 0 0 auto; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: 50%; background: #FFFFFF; color: #755431; font-size: .78rem; font-weight: 700; transition: background .4s ease, color .4s ease; }
.ac-faq__item[open] .ac-faq__number { background: #755431; color: #FFFFFF; }
.ac-faq__question { flex: 1; color: #231F20; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.ac-faq__toggle { position: relative; display: grid; flex: 0 0 auto; width: 2.2rem; height: 2.2rem; place-items: center; border-radius: 50%; background: #FFFFFF; transition: background .4s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.ac-faq__toggle::before, .ac-faq__toggle::after { position: absolute; width: .8rem; height: 2px; border-radius: 2px; background: #755431; content: ''; }
.ac-faq__toggle::after { transform: rotate(90deg); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.ac-faq__item[open] .ac-faq__toggle { background: #F7F4ED; transform: rotate(180deg); }
.ac-faq__item[open] .ac-faq__toggle::after { transform: rotate(0deg); }
.ac-page .ac-faq__item p { margin: 0; padding: 0 1.5rem 1.4rem calc(1.3rem + 2.6rem + 1rem); color: rgba(35, 31, 32, .72); font-size: .94rem; line-height: 1.8; }

/* Staggered entrance for the card grids (shared reveal comes from accommodation-stay.css). */
.ac-page.is-armed :is(.ac-style-grid, .ac-grid):not(.is-inview) { opacity: 1; transform: none; }
.ac-page.is-armed :is(.ac-style-grid, .ac-grid):not(.is-inview) > * { opacity: 0; }
.ac-page.is-armed :is(.ac-style-grid, .ac-grid).is-inview > * { animation: ad-rise 1.1s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i, 0) * .08s); }

@media (max-width: 1023px) {
    .ac-style-grid, .ac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ac-style-grid > :last-child { grid-column: 1 / -1; }
    .ac-faq__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
    /* "Accommodations" is one long word; size it to the screen so it never runs off the edge. */
    .ac-page .ac-hero .collection-hero__title { font-size: clamp(2.2rem, 9.6vw, 3.4rem) !important; }
    .ac-style-grid, .ac-grid { grid-template-columns: minmax(0, 1fr); }
    .ac-style { min-height: 340px; }
    .ac-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .ac-chips::-webkit-scrollbar { display: none; }
    .ac-search__field { flex: 1 1 100%; min-width: 0; }
    .ac-search__button { width: 100%; justify-content: space-between; }
    .ac-page .ac-faq__item p { padding-left: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .ac-style, .ac-style img, .ac-style__arrow, .ac-chip, .ac-chip span, .ac-faq__item, .ac-faq__number, .ac-faq__toggle, .ac-faq__toggle::after { transition: none; }
}
