/* Bliss Haven Suites — refined interface layer
   Keeps the existing brand palette and functional selectors intact. */

:root {
  --surface: #f7f8fb;
  --surface-warm: #fffaf0;
  --line: rgba(0, 23, 73, .11);
  --line-strong: rgba(0, 23, 73, .2);
  --shadow-soft: 0 16px 45px rgba(0, 23, 73, .09);
  --shadow-lift: 0 24px 64px rgba(0, 23, 73, .14);
  --radius-card: 20px;
}

body { background: #fff; }
.container { max-width: 1200px; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tinted { background: var(--surface); }
.section-head { max-width: 680px; margin: 0 auto 42px; text-align: center; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { max-width: 620px; margin-inline: auto; }
.eyebrow-label { color: #806000; }

.btn { min-height: 48px; justify-content: center; border-radius: 8px; }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(255, 212, 73, .8);
  outline-offset: 3px;
}

/* Header */
.site-header { padding: 18px 0; }
.site-header.is-scrolled, .site-header.always-dark { background: rgba(0, 16, 54, .97); }
.site-header .inner { min-height: 42px; }
.main-nav { gap: clamp(16px, 1.8vw, 28px); }
.main-nav a { font-size: 11px; }

/* Home hero: large enough to sell the stay, never full-screen tall. */
.hero { height: min(760px, 78svh); min-height: 590px; max-height: 760px; }
.hero-slide { transform: none; }
.hero-slide img { object-position: center 48%; }
.hero::after { background: linear-gradient(90deg, rgba(0, 13, 48, .86) 0%, rgba(0, 13, 48, .57) 48%, rgba(0, 13, 48, .2) 100%); }
.hero-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 100%; max-width: var(--container); padding-top: 78px; }
.hero-content h1 { max-width: 710px; color: #fff; font-size: clamp(38px, 5vw, 64px); letter-spacing: -.035em; }
.hero-content p { max-width: 570px; color: rgba(255,255,255,.85); font-size: clamp(16px, 2vw, 19px); }
.hero-content .eyebrow-label { color: var(--gold); }
.hero-dots { bottom: 82px; }

.avail-strip { border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lift); padding: 18px; gap: 10px; }
.avail-field { min-width: 0; }
.avail-field input, .avail-field select { border-radius: 8px; min-height: 46px; }

/* Editorial introduction */
#about .container { max-width: 850px !important; }
#about h2 { max-width: 720px; margin-inline: auto; }
#about p { font-size: 16px; }

/* Apartment cards */
.overlay-grid-pair, .overlay-grid-three { gap: 24px; margin-top: 24px; }
.overlay-card { min-height: 430px; max-height: 500px; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.overlay-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s ease; }
.overlay-card:hover img { transform: scale(1.035); }
.overlay-card::after { background: linear-gradient(180deg, transparent 25%, rgba(0, 14, 48, .9) 100%); }
.overlay-card-content { padding: clamp(22px, 3vw, 34px); }
.overlay-card-content p { max-width: 520px; color: rgba(255,255,255,.82); }
.overlay-card-content .tag { display: inline-flex; width: fit-content; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.13); backdrop-filter: blur(8px); }

/* Animated amenity and value cards */
.feature-grid { gap: 18px; }
.feature-item { border: 1px solid var(--line); border-radius: 16px; padding: 28px 22px; background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: rgba(255, 212, 73, .8); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-light); margin-bottom: 20px; }
.feature-icon .icon { transition: transform .3s ease; }
.feature-item:hover .feature-icon .icon { transform: translateY(-2px) rotate(-3deg); }
.amenity-grid { gap: 12px; }
.amenity-grid .item { min-height: 60px; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 14px 16px; }
.amenity-grid .item .icon { flex: 0 0 auto; }

/* Images stay consistent and controlled. */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-grid a { height: auto !important; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--navy-mist); }
.gallery-grid img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .45s ease; }
.gallery-grid a:hover img { transform: scale(1.035); }
.video-grid { gap: 18px; }
.video-card { aspect-ratio: 4 / 3; max-height: 360px; border-radius: 16px; overflow: hidden; }
.video-card img { width: 100%; height: 100%; object-fit: cover; }

/* Testimonials */
.testi-wrap { max-width: 920px; min-height: 330px; border: 1px solid var(--line); background: #fff; border-radius: 22px; box-shadow: var(--shadow-soft); padding: clamp(34px, 5vw, 62px); }
.testi-slide .quote { font-size: clamp(17px, 2.2vw, 22px); line-height: 1.65; }
.testi-arrow { border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 24px rgba(0,23,73,.1); }
.testi-dots button { width: 8px; height: 8px; }

/* FAQ */
.faq-layout { gap: 22px; }
.faq-list, .faq-answer-card { border-radius: 18px; overflow: hidden; }
.faq-list-item { min-height: 62px; }
.faq-answer-card { box-shadow: var(--shadow-soft); }

/* Inner page hero and listing presentation */
.page-hero { position: relative; min-height: 360px; height: min(48svh, 480px); max-height: 480px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; background: var(--navy); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,14,48,.86), rgba(0,14,48,.25)); }
.page-hero-content { position: relative; z-index: 1; max-width: 1200px; padding-top: 130px; padding-bottom: 54px; }
.page-hero-content h1 { color: #fff; margin-bottom: 10px; }
.page-hero-content p { max-width: 620px; color: rgba(255,255,255,.84); margin: 0; }
.page-hero-content .eyebrow-label { color: var(--gold); }

/* Apartment page: compact split hero inspired by premium hotel cards. */
.apt-breadcrumb { padding-top: 112px; margin-bottom: 20px; }
.apt-intro { min-height: 470px; max-height: 540px; display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-soft); background: #fff; }
.apt-intro.is-reversed { grid-template-columns: 1.15fr .85fr; }
.apt-intro-media { min-height: 0; }
.apt-intro-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.apt-intro-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 58px); background: linear-gradient(145deg, #fff 0%, var(--surface-warm) 100%); }
.apt-intro-body h1 { font-size: clamp(31px, 4vw, 48px); }
.location-tag { width: fit-content; border-radius: 999px; padding: 8px 12px; background: var(--gold-light); color: var(--navy); }
.apt-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.apt-facts .fact { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 11px; font-size: 12px; }
.apt-gallery { margin: 20px 0 36px; }
.apt-gallery-main { height: min(58vw, 590px); min-height: 340px; max-height: 590px; border-radius: 18px; overflow: hidden; background: var(--navy-mist); }
.apt-gallery-main img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.apt-gallery-strip { gap: 10px; padding: 12px 2px 6px; }
.apt-gallery-strip button { flex: 0 0 132px; height: 96px; border-radius: 10px; overflow: hidden; }
.apt-gallery-strip img { width: 100%; height: 100%; object-fit: cover; }
.apt-layout { gap: clamp(28px, 5vw, 60px); }
.booking-card { border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); }
.apartment-service-note { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; margin: 18px 0; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-warm); }
.apartment-service-note > .icon { color: var(--navy); }
.apartment-service-note span { display: grid; gap: 2px; }
.apartment-service-note small { color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.apartment-service-note strong { color: var(--navy); font-size: 13px; }
.apartment-service-note em { color: var(--ink-soft); font-size: 12px; font-style: normal; }

/* Checkout */
.checkout-wrap { max-width: 1080px !important; }
.checkout-grid { gap: 34px !important; }
.checkout-form, .summary-card { border: 1px solid var(--line); border-radius: 18px !important; }
.checkout-form { padding: clamp(22px, 4vw, 36px); background: #fff; }
.summary-card { background: var(--surface) !important; }
.checkout-service { border-radius: 14px !important; }
.service-choice { border: 1px solid var(--line); border-radius: 12px !important; }

/* Footer */
.site-footer { padding-top: 48px; }
.footer-bottom { gap: 18px; }
.payment-methods img { width: 168px; height: auto; }

/* Reveal is progressive enhancement; content stays visible without JS. */
@media (prefers-reduced-motion: no-preference) {
  .ui-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
  .ui-reveal.is-visible { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .hero { height: 680px; min-height: 620px; }
  .hero::after { background: linear-gradient(180deg, rgba(0,13,48,.4), rgba(0,13,48,.86)); }
  .hero-content { justify-content: flex-end; padding-bottom: 118px; }
  .avail-strip { margin-top: -38px !important; }
  .overlay-card { min-height: 390px; max-height: 450px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apt-intro, .apt-intro.is-reversed { grid-template-columns: 1fr; max-height: none; }
  .apt-intro-media { height: min(62vw, 440px); }
  .apt-intro-body { padding: 32px 26px; }
  .apt-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .section { padding: 58px 0; }
  .mobile-drawer { width: min(86vw, 360px); }
  .hero { height: 650px; min-height: 600px; }
  .hero-content { padding-bottom: 106px; }
  .hero-content h1 { font-size: clamp(34px, 10vw, 45px); }
  .hero-dots { bottom: 72px; }
  .avail-strip { border-radius: 14px; padding: 14px; }
  .overlay-grid-pair, .overlay-grid-three { grid-template-columns: 1fr; }
  .overlay-card { min-height: 380px; height: 420px; max-height: 420px; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-grid a { aspect-ratio: 4 / 3; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card { max-height: 300px; }
  .testi-wrap { min-height: 390px; padding: 34px 26px; }
  .faq-layout { grid-template-columns: 1fr; }
  .apt-breadcrumb { padding-top: 96px; }
  .apt-intro-media { height: 300px; }
  .apt-intro-body { padding: 28px 22px; }
  .apt-gallery-main { height: 72vw; min-height: 280px; max-height: 390px; }
  .apt-gallery-strip button { flex-basis: 108px; height: 82px; }
  .checkout-wrap { padding-top: 112px !important; }
}

/* V19 layout correction: restore the proven media layout below the new heroes. */
.section-head,
.section-head.left { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p,
#about p,
.overlay-card-content p,
.feature-item p,
.faq-answer-card p,
.apt-intro-body p,
.apt-layout p { text-align: left; }
#about h2,
.apt-layout h2 { text-align: center; }

.why-section,
.home-video-section,
.testimonial-section { background: var(--navy); color: #fff; }
.why-section h2,
.why-section h3,
.home-video-section h2,
.testimonial-section h2,
.testimonial-section .testi-name { color: #fff; }
.why-section .eyebrow-label,
.home-video-section .eyebrow-label,
.testimonial-section .eyebrow-label { color: var(--gold); }
.why-section .feature-item { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); box-shadow: none; }
.why-section .feature-item:hover { border-color: var(--gold); box-shadow: 0 18px 46px rgba(0,0,0,.18); }
.why-section .feature-item p { color: rgba(255,255,255,.78); }
.why-section .feature-icon { background: var(--gold); }
.amenities-section,
.faq-section { background: #fff; }
.testimonial-section .testi-wrap { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); box-shadow: none; }
.testimonial-section .testi-slide .quote,
.testimonial-section .testi-sub { color: rgba(255,255,255,.8); }
.testimonial-section .testi-quote-mark { color: var(--gold); }

/* Exactly ten evenly spaced homepage gallery images. */
#gallery .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 20px; }
#gallery .gallery-grid a,
#gallery .gallery-grid a:nth-child(1),
#gallery .gallery-grid a:nth-child(6) { grid-column: auto; grid-row: auto; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; }
#gallery .gallery-grid img { width: 100%; height: 100%; object-fit: cover; }

/* Restore portrait video proportions and useful size. */
.home-video-section .video-grid { max-width: 900px; margin-inline: auto; gap: 22px; }
.home-video-section .video-card { aspect-ratio: 9 / 16; max-height: 500px; }
.apt-layout .video-grid { width: min(100%, 340px); }
.apt-layout .video-card { width: 100%; aspect-ratio: 9 / 16; max-height: none; }

/* Restore the earlier apartment gallery dimensions and thumbnail rhythm. */
.apt-gallery { margin: 10px 0 50px; }
.apt-gallery-main { width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 16 / 10; border-radius: var(--radius-md); }
.apt-gallery-strip { gap: 10px; margin-top: 12px; padding: 0 0 4px; }
.apt-gallery-strip button { flex: 0 0 84px; width: 84px; height: 64px; border-radius: 6px; }
.apt-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 50px; }

/* A single location card should read like a card, not a full-width banner. */
.location-single-card { width: min(100%, 680px); aspect-ratio: 4 / 3 !important; margin-inline: auto; }

/* Individual review cards move continuously while staying readable and swipeable. */
.testimonial-section { overflow: hidden; }
.testimonial-marquee { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 4px 0 12px; }
.testimonial-marquee::-webkit-scrollbar { display: none; }
.testimonial-marquee .testi-track { display: flex; width: max-content; gap: 20px; padding: 0; animation: testimonial-scroll 38s linear infinite; }
.testimonial-marquee:hover .testi-track,
.testimonial-marquee:focus-within .testi-track { animation-play-state: paused; }
.testimonial-card { flex: 0 0 clamp(290px, 29vw, 370px); min-height: 285px; padding: 30px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.07); text-align: left; }
.testimonial-card .testi-quote-mark { height: 44px; margin-bottom: 8px; }
.testimonial-card .quote { margin: 0 0 22px; color: rgba(255,255,255,.84); font-size: 15px; line-height: 1.72; }
.testimonial-card .testi-name { margin-top: auto; }
.testimonial-card .testi-sub { color: rgba(255,255,255,.62); }
@keyframes testimonial-scroll { to { transform: translateX(calc(-50% - 10px)); } }

@media (max-width: 980px) {
  .apt-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .section-head { margin-bottom: 34px; }
  .section-head h1,
  .section-head h2,
  #about h2,
  .apt-layout h2 { text-align: center; }
  .section-head p,
  #about p,
  .feature-item p,
  .overlay-card-content p,
  .faq-answer-card p,
  .apt-intro-body p,
  .apt-layout p { text-align: left; }
  #gallery .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
  #gallery .gallery-grid a { aspect-ratio: 4 / 3; }
  .home-video-section .video-grid { grid-template-columns: 1fr; max-width: 360px; }
  .home-video-section .video-card { max-height: none; }
  .testimonial-card { flex-basis: min(82vw, 330px); min-height: 300px; padding: 26px; }
  .testimonial-marquee .testi-track { animation-duration: 34s; }
  .apt-gallery-strip button { flex-basis: 68px; width: 68px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-marquee .testi-track { animation: none; }
}

/* Keep the apartments listing title on one desktop line. */
.suites-heading {
  max-width: 920px;
}

.suites-heading h1 {
  white-space: nowrap;
  font-size: clamp(34px, 4vw, 52px);
}

@media (max-width: 700px) {
  .suites-heading h1 {
    white-space: normal;
    font-size: 32px;
  }
}

/* V21 proportion and spacing correction.
   These rules change presentation only; booking and admin selectors stay intact. */

/* Keep the home hero copy on the same left line as the sections below it. */
.hero .hero-content {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Coloured sections sit inside the page instead of stretching edge to edge. */
.why-section,
.home-video-section,
.testimonial-section {
  background: #fff;
  padding: clamp(42px, 5vw, 68px) 0;
}

.why-section > .container,
.home-video-section > .container,
.testimonial-section > .container {
  width: calc(100% - 48px);
  max-width: 1200px;
  padding: clamp(48px, 5vw, 72px) clamp(26px, 4.5vw, 58px);
  border-radius: 30px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

/* Larger, calmer value cards within the contained blue panel. */
.why-section .feature-grid { gap: 20px; }
.why-section .feature-item {
  min-height: 286px;
  padding: 30px 26px;
  border-radius: 22px;
}
.why-section .feature-item h3 {
  margin-bottom: 12px;
  font-size: clamp(18px, 1.65vw, 21px);
  line-height: 1.25;
}
.why-section .feature-item p {
  font-size: 15px;
  line-height: 1.72;
}
.why-section .feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

/* Two balanced, near-square apartment cards on desktop. */
.overlay-grid-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.overlay-grid-pair .overlay-card.pair,
.overlay-grid-pair .overlay-card.third {
  width: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
}
.overlay-card-content h3 {
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 1.15;
}
.overlay-card-content p {
  font-size: 15px;
  line-height: 1.65;
}
.overlay-card-content .tag { font-size: 12px; }

/* Three useful portrait video cards, equal in size and never oversized. */
.home-video-section .video-grid {
  width: 100%;
  max-width: 1100px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-inline: auto;
}
.home-video-section .video-card {
  width: 100%;
  max-height: none;
  aspect-ratio: 2 / 3;
  border-radius: 22px;
}

/* Consistent soft corners across visible cards. */
.gallery-grid a,
.testimonial-card,
.testi-wrap,
.faq-list,
.faq-answer-card,
.apt-intro,
.booking-card,
.checkout-form,
.summary-card {
  border-radius: 22px !important;
}

.testimonial-card {
  min-height: 300px;
  padding: 30px;
}

@media (max-width: 900px) {
  .why-section > .container,
  .home-video-section > .container,
  .testimonial-section > .container {
    width: calc(100% - 32px);
    padding: 48px 28px;
    border-radius: 26px;
  }
  .why-section .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-video-section .video-grid { gap: 16px; }
}

@media (max-width: 640px) {
  .hero .hero-content {
    padding-left: 18px;
    padding-right: 18px;
  }
  .why-section,
  .home-video-section,
  .testimonial-section { padding: 34px 0; }
  .why-section > .container,
  .home-video-section > .container,
  .testimonial-section > .container {
    width: calc(100% - 24px);
    padding: 42px 18px;
    border-radius: 22px;
  }
  .why-section .feature-grid,
  .home-video-section .video-grid,
  .overlay-grid-pair { grid-template-columns: 1fr; }
  .why-section .feature-item { min-height: 0; }
  .overlay-grid-pair .overlay-card.pair,
  .overlay-grid-pair .overlay-card.third {
    height: auto;
    min-height: 390px;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
  }
  .home-video-section .video-grid { max-width: 350px; }
  .home-video-section .video-card { aspect-ratio: 2 / 3; }
}

/* V22 detail correction: clearer apartment content and faster mobile display. */

/* Use the exact same content line as every 1200px page container. */
.hero .hero-content {
  max-width: none;
  margin: 0;
  padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1200px) / 2 + 24px));
}

/* Keep individual apartment photos close to the size of the intro image. */
.apt-gallery {
  width: min(100%, 760px);
  margin: 16px auto 54px;
}
.apt-gallery-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #eef2f7;
}
.apt-gallery-strip {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

/* Increase apartment information copy by two pixels and use blue icons. */
.apt-layout > div > p {
  max-width: 720px;
  font-size: 18px !important;
  line-height: 1.75;
}
.apt-layout > div > h2 { margin-bottom: 14px; }
.amenity-grid .item {
  min-height: 62px;
  font-size: 16px;
  line-height: 1.45;
}
.amenity-grid .item .icon {
  width: 38px;
  height: 38px;
  color: var(--navy);
  background: rgba(0, 64, 160, .09);
}
.amenity-grid .item .icon svg {
  width: 20px;
  height: 20px;
}

/* Keep supporting text readable without making the layout feel heavy. */
#about p,
.faq-answer-card p,
.apt-intro-body p {
  line-height: 1.75;
}
.faq-answer-card p { max-width: 68ch; }

/* Prevent blank-looking media areas while responsive images decode. */
.apt-intro-media,
.apt-gallery-main,
.gallery-grid a,
.overlay-card,
.video-card {
  background-color: #eef2f7;
}

/* Testimonials must be visible immediately, including before JS runs. */
.testimonial-section .section-head,
.testimonial-section .testimonial-marquee,
.testimonial-section .testimonial-card {
  opacity: 1 !important;
  transform: none !important;
}
.testimonial-marquee .testi-track {
  will-change: transform;
  backface-visibility: hidden;
}
.testimonial-marquee:active .testi-track {
  animation-play-state: paused;
}

/* Comfortable touch targets without enlarging the visible controls. */
.main-nav a,
.mobile-drawer a,
.apt-gallery-strip button,
.testi-arrow,
.faq-list-item,
.hero-dots button {
  min-height: 44px;
}

@media (max-width: 640px) {
  .hero .hero-content {
    padding-left: 18px;
    padding-right: 18px;
  }
  .apt-gallery {
    width: 100%;
    margin-bottom: 44px;
  }
  .apt-gallery-main {
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }
  .apt-layout > div > p { font-size: 17px !important; }
  .amenity-grid .item { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ui-reveal,
  .ui-reveal.is-visible,
  .testimonial-marquee .testi-track {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
