/* ==========================================================================
   THE PUXUAN HOTEL AND SPA — home page mockup
   Base template shared with sister hotels (The PuLi Shanghai / The PuXuan).
   Per-hotel identity is driven by the custom properties below.
   Reference geometry: thepuli.com/shanghai/en
   ========================================================================== */

:root {
  --bg: #FFFDF9;
  --ink: #191819;
  --ink-soft: #4B4842;
  --ink-faint: #C9C3B4;
  --cream: #F7F2E9;
  --beige: #EFEAE0;
  --line: #DCD6C8;
  --accent: #827D00;          /* PuXuan olive gold */
  --accent-ink: #FBFAEE;
  --dark: #201F15;            /* solid buttons / dark footer */
  --display: 'EB Garamond', 'Times New Roman', serif;
  --sans: 'Josefin Sans', 'Avenir', 'Helvetica Neue', sans-serif;
  --body: 'Lato', 'Helvetica Neue', Arial, sans-serif;

  --header-h: 60px;
  --edge: 72px;               /* header inset from viewport edge (desktop) */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: 0; cursor: pointer; color: inherit; font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 26px;
  line-height: 1;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-outline { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-solid { background: var(--dark); color: #FFFDF6; border: 1px solid var(--dark); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }

.btn-light.btn-outline { border-color: #FFFDF6; color: #FFFDF6; }
.btn-light.btn-outline:hover { background: #FFFDF6; color: var(--ink); }
.btn-light.btn-solid { background: #FFFDF6; border-color: #FFFDF6; color: var(--ink); }
.btn-light.btn-solid:hover { background: var(--cream); border-color: var(--cream); }

.btn-row { display: flex; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.link-arrow .long-arrow { transition: transform .3s ease; }
.link-arrow:hover .long-arrow { transform: translateX(8px); }
.link-arrow.underline { text-transform: none; letter-spacing: 0.02em; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }

.text-link { text-decoration: underline; text-underline-offset: 2px; }
.text-link:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 12px;
  left: var(--edge);
  right: var(--edge);
  z-index: 100;
  transition: top .3s ease;
}
.site-header.scrolled { top: 0; }

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  height: var(--header-h);
  padding: 0 26px;
  box-shadow: 0 1px 0 rgba(25, 24, 25, .04);
}

.hamburger { display: none; }

.header-left { display: flex; align-items: center; min-width: 180px; }

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.dropdown-toggle .chevron { opacity: .55; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--cream);
  border: 1px solid rgba(25, 24, 25, .08);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 110;
}
.dropdown-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a {
  display: block;
  padding: 9px 20px;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.08em;
}
.dropdown-menu li a:hover, .dropdown-menu li a.current { color: var(--accent); }

.header-left { position: relative; }
.header-right { position: relative; display: flex; align-items: center; gap: 22px; }
.header-right .dropdown-menu { left: auto; right: 60px; min-width: 140px; }

.header-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  line-height: 0;
}
.header-logo .logo-full img {
  height: 52px;
  width: auto;
  filter: brightness(0);
  transition: height .25s ease;
}
.header-logo .logo-mark {
  display: none;
  width: 38px;
  height: 38px;
  background: url('../assets/puxuan-logo.png') center top / 82px auto no-repeat;
  filter: brightness(0);
}
.header-logo .logo-mark img { display: none; }

/* when scrolled, collapse the wordmark to the round emblem (desktop) */
.site-header.scrolled .logo-full { display: none; }
.site-header.scrolled .logo-mark { display: block; }

.header-cta { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.header-cta:hover { background: #94511B; border-color: #94511B; }

/* Section nav strip */
.header-nav {
  display: none;
  justify-content: center;
  margin-top: 4px;
}
.site-header.scrolled .header-nav { display: flex; }
.header-nav ul {
  display: flex;
  background: var(--cream);
  padding: 0 18px;
}
.header-nav a {
  display: block;
  padding: 13px 20px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink);
  transition: color .2s ease;
}
.header-nav a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(82vw, 360px);
  background: var(--cream);
  z-index: 200;
  transform: translateX(-102%);
  transition: transform .35s ease;
  padding: 0 30px 40px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(20, 18, 15, .45);
  z-index: 150;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.menu-backdrop.show { opacity: 1; visibility: visible; }

.mobile-menu-head {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
  margin-bottom: 18px;
}
.menu-close { font-size: 30px; font-weight: 300; line-height: 1; }
.mobile-menu-mark {
  display: block;
  width: 30px;
  height: 30px;
  background: url('../assets/puxuan-logo.png') center top / 65px auto no-repeat;
  filter: brightness(0);
}
.mobile-menu-mark img { display: none; }
.mobile-menu-nav ul li { border-bottom: 1px solid rgba(25, 24, 25, .08); }
.mobile-menu-nav ul li a {
  display: block;
  padding: 16px 2px;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.06em;
}
.mobile-menu-foot { margin-top: 26px; }
.mobile-menu-label {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  margin: 18px 0 6px;
}
.mobile-menu-foot ul li a {
  display: inline-block;
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 480px;
  background: #0c0b0a;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Intro (title under hero)
   -------------------------------------------------------------------------- */
.intro {
  text-align: center;
  padding: 150px 24px 110px;
}
.intro-keys {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 34px;
}
.intro-keys img { width: 84px; height: 84px; }
.intro-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.18;
  letter-spacing: 0.075em;
}
.intro-tagline {
  margin-top: 34px;
  font-size: 16.5px;
  font-weight: 300;
  color: var(--ink-soft);
  letter-spacing: 0.015em;
}

/* --------------------------------------------------------------------------
   Rooms carousel
   -------------------------------------------------------------------------- */
.rooms { padding: 10px 0 30px; }

.rooms-carousel { position: relative; }

.rooms-stage {
  display: grid;
  grid-template-columns: 49.4% 1fr;
  gap: 0 9.2%;
  align-items: start;
}

.room-media { overflow: hidden; }
.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .45s ease, transform .45s ease;
}
.rooms-stage.switching .room-media img { opacity: 0; transform: scale(1.015); }

.room-large { position: relative; }
.room-large .room-media { aspect-ratio: 712 / 780; }

.room-large .room-caption {
  position: absolute;
  left: 38px;
  bottom: 34px;
  right: 38px;
  color: #FFFDF6;
}
.room-large .room-caption h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.11em;
  margin-bottom: 18px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .35);
}

.room-small { padding-top: 0; }
.room-peek { display: none; }
.room-small .room-media { aspect-ratio: 446 / 280; }
.room-small .room-caption { margin-top: 42px; }
.room-small .room-caption h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.11em;
  margin-bottom: 18px;
}

.carousel-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  padding: 24px 14px;
  color: var(--ink);
  opacity: .75;
  transition: opacity .2s ease, transform .2s ease;
}
.carousel-arrow:hover { opacity: 1; }
.carousel-arrow.prev { left: 26px; }
.carousel-arrow.next { right: 26px; }

.rooms-viewall { text-align: center; padding: 52px 0 26px; }

/* --------------------------------------------------------------------------
   Quote
   -------------------------------------------------------------------------- */
.quote {
  max-width: 760px;
  margin: 0 auto;
  padding: 130px 24px 140px;
  text-align: center;
}
.quote-line {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.quote-line .ch { color: var(--ink-faint); transition: color .18s linear; }
.quote-line .ch.lit { color: var(--ink); }

/* --------------------------------------------------------------------------
   Split sections (Dining / Wellness)
   -------------------------------------------------------------------------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  align-items: center;
  gap: 0 4%;
  padding: 110px var(--edge) 100px;
  max-width: 1500px;
  margin: 0 auto;
}
.split-section > * { min-width: 0; }
/* wellness mirrors dining: label column first */
.split-section#wellness { grid-template-columns: minmax(280px, 390px) 1fr; }

.split-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
}
#dining .split-cards { grid-column: 1; grid-row: 1; }
#dining .split-label { grid-column: 2; grid-row: 1; }
#wellness .split-label { grid-column: 1; grid-row: 1; }
#wellness .split-cards { grid-column: 2; grid-row: 1; }
.text-card {
  padding: 6px 26px 10px;
  border-left: 1px solid var(--line);
  min-height: 350px;
  display: flex;
  flex-direction: column;
}
.text-card:first-child { border-left: 1px solid var(--line); }
.text-card h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 30px;
  min-height: 20px;
}
.text-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 34px;
}
.text-card .link-arrow { margin-top: auto; font-size: 10.5px; }

.split-label .section-label {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: 0.1em;
}
.split-label.label-right { text-align: right; align-self: end; }
.split-label.label-left { text-align: left; align-self: end; }

.full-bleed-media {
  width: 100%;
  aspect-ratio: 1440 / 580;
  overflow: hidden;
}
.full-bleed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Feature bands (Meetings / Experiences)
   -------------------------------------------------------------------------- */
.feature-band {
  display: grid;
  grid-template-columns: 49.4% 1fr;
  align-items: center;
  padding-bottom: 120px;
}
.feature-band .feature-media {
  aspect-ratio: 712 / 580;
  overflow: hidden;
}
.feature-band .feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-text {
  padding: 40px 12% 40px 9.5%;
  max-width: 640px;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  color: var(--ink);
}
.feature-heading {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: 0.1em;
  margin-bottom: 26px;
}
.feature-para {
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 340px;
  margin-bottom: 34px;
}
.feature-band.reverse { grid-template-columns: 1fr 49.4%; }
.feature-band.reverse .feature-media { order: 2; }
.feature-band.reverse .feature-text { order: 1; justify-self: end; padding: 40px 9.5% 40px 12%; }

/* --------------------------------------------------------------------------
   Attractions
   -------------------------------------------------------------------------- */
.attractions {
  background: var(--beige);
  padding: 96px 0 110px;
}
.attractions .section-head {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 64px;
  padding: 0 24px;
}
.attraction-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 26px;
}
.attraction-grid.two-col { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.attraction-grid.two-col .attraction-card { max-width: 430px; margin: 0 auto; width: 100%; }
.attraction-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 22px;
}
.attraction-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.attraction-card:hover .attraction-media img { transform: scale(1.04); }
.attraction-card h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.attraction-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Offers
   -------------------------------------------------------------------------- */
.offers { padding-top: 100px; }
.offers-head {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 0 var(--edge) 34px;
}
.offers-head .section-label {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: 0.1em;
}
.offers-head .link-arrow { text-transform: none; letter-spacing: 0.02em; font-size: 14px; }

.offers-viewport { position: relative; overflow: hidden; }
.offers-track {
  display: flex;
  transition: transform .55s cubic-bezier(.33, .01, .2, 1);
}
.offer-card {
  position: relative;
  flex: 0 0 40%;
  aspect-ratio: 480 / 640;
  overflow: hidden;
}
.offer-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.offer-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10, 8, 6, 0) 45%, rgba(10, 8, 6, .78) 100%);
}
.offer-body {
  position: absolute;
  left: 24px; right: 24px; bottom: 22px;
  z-index: 2;
  color: #FFFDF6;
}
.offer-body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.11em;
  margin-bottom: 18px;
  min-height: 48px;
}

.offers-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 64px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFDF6;
  background: rgba(20, 18, 15, .18);
  transition: background .25s ease;
}
.offers-arrow:hover { background: rgba(20, 18, 15, .42); }
.offers-arrow.prev { left: 18px; }
.offers-arrow.next { right: 18px; }

.offers-progress {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 26px var(--edge) 0;
}
.progress-track {
  position: relative;
  width: 240px;
  height: 2px;
  background: var(--line);
}
.progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 33.33%;
  background: var(--ink);
  transition: width .4s ease, transform .4s ease;
}
.progress-count {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  min-width: 38px;
}

/* --------------------------------------------------------------------------
   Contact pre-footer
   -------------------------------------------------------------------------- */
.contact { padding: 90px var(--edge) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1fr;
  border: 1px solid var(--line);
}
.contact-col {
  padding: 38px 42px 30px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 290px;
}
.contact-col:first-child { border-left: 0; }
.contact-col h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}
.contact-col p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.contact-col .link-arrow { margin: 8px 0 6px; }
.contact-foot { margin-top: auto; }
.contact-foot a {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.contact-foot a:hover { color: var(--accent); }
.contact-plane { color: var(--ink-soft); margin-bottom: 14px; }
.getting-here {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink) !important;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Newsletter band
   -------------------------------------------------------------------------- */
.newsletter {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: 8px;
  padding: 26px var(--edge) 0;
  align-items: stretch;
}
.newsletter-connect {
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 20px;
}
.newsletter-subscribe {
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 44px;
  flex-wrap: wrap;
}
.newsletter-label {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.wechat-qr {
  width: 96px;
  height: 96px;
  margin-top: 18px;
  background: #fff;
  padding: 5px;
}
.wechat-id {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.social-list { display: flex; gap: 18px; margin-top: 18px; }
.social-list a {
  display: flex;
  width: 34px; height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: color .2s ease;
}
.social-list a:hover { color: var(--accent); }

.subscribe-form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-form input {
  width: min(360px, 60vw);
  background: #fff;
  border: 1px solid var(--line);
  padding: 15px 18px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink);
  outline: none;
}
.subscribe-form input::placeholder { color: #B4AC9C; }
.subscribe-form input:focus { border-color: var(--accent); }
.subscribe-form .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2E2A26;
  border-color: #2E2A26;
  padding: 15px 24px;
}
.subscribe-form .btn:hover { background: var(--accent); border-color: var(--accent); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: 90px;
  background: #211B15;
  color: #E8E2D6;
  padding: 70px var(--edge) 46px;
}
.footer-motif {
  width: 104px;
  height: 50px;
  margin: 0 auto 60px;
  background: url('../assets/puxuan-logo.png') center top / 104px auto no-repeat;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr 1.2fr;
  gap: 40px;
  max-width: 1240px;
  margin: 0 auto;
}
.footer-brand img { height: 120px; width: auto; }
.footer-col h5 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  color: #B9B1A2;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: #E8E2D6;
}
.footer-col ul a:hover { color: #D29A66; }
.footer-col p {
  font-size: 13px;
  line-height: 1.7;
  color: #C9C2B4;
  margin-bottom: 14px;
}
.footer-col p strong { color: #E8E2D6; font-weight: 400; }
.footer-col p a { text-decoration: underline; text-underline-offset: 2px; }
.footer-col p a:hover { color: #D29A66; }

.footer-partners {
  display: flex;
  align-items: center;
  gap: 44px;
  max-width: 1240px;
  margin: 58px auto 0;
  padding-top: 44px;
  border-top: 1px solid rgba(232, 226, 214, .14);
}
.footer-partners img { height: 30px; width: auto; opacity: .92; }

.footer-bottom {
  max-width: 1240px;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-links a {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #B9B1A2;
}
.footer-links a:hover { color: #D29A66; }
.copyright {
  font-size: 11.5px;
  line-height: 1.7;
  color: #8F887B;
}

/* --------------------------------------------------------------------------
   Drag-to-scroll (applied by JS on swipe-mode rows)
   -------------------------------------------------------------------------- */
.drag-scroll { cursor: grab; }
.drag-scroll.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
  -webkit-user-select: none;
}
.drag-scroll img { -webkit-user-drag: none; user-select: none; }

/* --------------------------------------------------------------------------
   Scroll reveal helper
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1280px) {
  :root { --edge: 40px; }
  .room-large .room-caption { left: 26px; bottom: 24px; right: 26px; }
}

@media (max-width: 1024px) {
  .header-left, .header-right .lang-toggle { display: none; }
  .hamburger {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px 2px;
  }
  .hamburger span {
    display: block;
    width: 22px; height: 1.6px;
    background: var(--ink);
  }
  .header-logo { position: static; transform: none; }
  .header-logo .logo-full { display: none; }
  .header-logo .logo-mark { display: block; }
  .header-right { margin-left: auto; }
  .header-cta { padding: 12px 18px; }
  .site-header.scrolled .header-nav { display: none; }

  /* Split sections stack: label above, cards become horizontal swipe */
  .split-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 64px 24px 56px;
  }
  .split-label { padding: 0 4px 26px; order: -1; }
  .split-label.label-right,
  .split-label.label-left { align-self: stretch; }
  .split-label.label-right { text-align: left; }
  .split-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 4px 8px;
    scrollbar-width: none;
  }
  .split-cards::-webkit-scrollbar { display: none; }
  .split-cards .text-card {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: min(78%, 320px);
    min-height: 0;
    border-left: 1px solid var(--line);
    scroll-snap-align: start;
    padding: 4px 24px 8px;
  }
  .feature-text { padding: 30px 6%; }
  .attraction-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --edge: 14px; --header-h: 54px; }
  .site-header { top: 8px; }

  .hero { min-height: 420px; height: 72vh; }

  .intro { padding: 64px 20px 72px; }
  .intro-keys img { width: 64px; height: 64px; }
  .intro-tagline { font-size: 15px; }

  /* Rooms: single card + peek of the next slide */
  .rooms-stage { display: block; }
  .room-large { width: 78%; }
  .room-large .room-media { aspect-ratio: 350 / 430; }
  .room-large .room-caption { left: 16px; bottom: 18px; right: 16px; }
  .room-large .room-caption h3 { font-size: 19px; margin-bottom: 12px; }
  .room-large .btn-row { flex-wrap: wrap; gap: 8px; }
  .room-large .btn { padding: 12px 14px; }
  .room-small { display: none; }
  .carousel-arrow { display: none; }
  .room-peek {
    position: absolute;
    right: -10vw;
    top: 12%;
    width: 32vw;
    aspect-ratio: 350 / 430;
    object-fit: cover;
    display: block;
  }
  .rooms-carousel { position: relative; }
  .rooms-stage.switching .room-media img,
  .rooms-stage.switching .room-peek { opacity: 0; }
  .rooms-viewall { padding: 40px 0 10px; }

  .quote { padding: 80px 20px 84px; }
  .quote-line { font-size: 17px; }

  /* Phone refinements for the stacked split sections */
  .split-section { padding: 56px 20px 48px; }
  .split-cards .text-card { flex-basis: 78%; padding: 4px 20px 8px; }
  .text-card h4 { margin-bottom: 16px; min-height: 0; }
  .text-card p { margin-bottom: 22px; font-size: 14.5px; }
  .full-bleed-media { aspect-ratio: 4 / 3; }

  .feature-band,
  .feature-band.reverse { display: block; padding-bottom: 64px; }
  .feature-band .feature-media { aspect-ratio: 4 / 3; }
  .feature-band.reverse .feature-media { order: 0; }
  .feature-text { padding: 30px 20px 0; max-width: none; }
  .feature-band.reverse .feature-text { padding: 30px 20px 0; justify-self: start; }

  .attractions { padding: 64px 0 72px; }
  .attractions .section-head { margin-bottom: 40px; }
  .attraction-grid { grid-template-columns: 1fr; gap: 38px; }

  .offers { padding-top: 64px; }
  .offers-head { padding: 0 20px 22px; gap: 26px; }
  .offer-card { flex: 0 0 84%; }
  .offers-arrow { display: none; }
  .offers-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .offers-track::-webkit-scrollbar { display: none; }
  .offers-progress { padding: 20px 20px 0; }
  .progress-track { width: 150px; }

  .contact { padding: 60px 14px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-col { border-left: 0; border-top: 1px solid var(--line); min-height: 0; padding: 28px 24px; }
  .contact-col:first-child { border-top: 0; }

  .newsletter { grid-template-columns: 1fr; padding: 0 14px; }
  .newsletter-connect { border: 1px solid var(--line); padding: 26px 20px; }
  .newsletter-subscribe { padding: 26px 22px; gap: 18px; }
  .subscribe-form { width: 100%; }
  .subscribe-form input { flex: 1 1 200px; width: auto; }

  .site-footer { margin-top: 60px; padding: 54px 24px 36px; }
  .footer-motif { display: none; }
  .footer-motif { margin-bottom: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .footer-brand img { height: 100px; margin: 0 auto; }
  .footer-partners { justify-content: center; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Very small screens */
@media (max-width: 380px) {
  .header-cta { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-video { display: none; }
  .hero { background: url('../assets/guerlain-spa.webp') center / cover no-repeat; }
}
