/* ============================================================
   MYHOME KEMANG by FLAT06. — Main Stylesheet
   Palette: Heritage Green #2E6B4F | Warm Brass #B8860B
             Mahogany #2C1810 | Linen #FAF8F5 | Espresso #1C1410
   Fonts: Cormorant Garamond (serif headings) | DM Sans (body)
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:    #2E6B4F;
  --green-dk: #1F4A36;
  --brass:    #B8860B;
  --brass-lt: #D4A017;
  --mahogany: #2C1810;
  --mahogany-lt: #3D2418;
  --linen:    #FAF8F5;
  --linen-dk: #F0EBE3;
  --espresso: #1C1410;
  --stone:    #7A6E63;
  --white:    #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(28,20,16,0.12);
  --shadow-lg: 0 12px 48px rgba(28,20,16,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--espresso);
  background: var(--linen);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--espresso);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }

p { color: var(--stone); line-height: 1.8; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 1rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dk); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-brass {
  background: transparent;
  color: var(--brass);
  border: 1.5px solid var(--brass);
}
.btn-brass:hover { background: var(--brass); color: var(--white); }

.btn-dark {
  background: var(--mahogany);
  color: var(--white);
}
.btn-dark:hover { background: var(--espresso); transform: translateY(-2px); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--mahogany);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(28,20,16,0.35); }
.navbar.transparent {
  background: transparent;
}
.navbar.transparent.scrolled {
  background: var(--mahogany);
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--linen);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-brand span { color: var(--brass); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,248,245,0.8);
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--linen); }

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 24px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--green-dk) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--linen);
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,20,16,0.45) 0%,
    rgba(28,20,16,0.35) 50%,
    rgba(28,20,16,0.65) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 24px;
}
.hero-location {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin-bottom: 1.2rem;
  display: block;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 16px rgba(28,20,16,0.4);
}
.hero-content h1 em {
  font-style: italic;
  color: var(--brass-lt);
}
.hero-content p {
  color: rgba(250,248,245,0.88);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2.4rem;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(250,248,245,0.6);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(250,248,245,0.4);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── INNER PAGE HERO ── */
.page-hero {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 72px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}
.page-hero-content h1 { color: var(--white); }
.page-hero-content p {
  color: rgba(250,248,245,0.85);
  font-size: 1.05rem;
  margin-top: 0.8rem;
}

/* ── SECTION LAYOUT ── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header p {
  max-width: 560px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

/* ── INTRO SECTION ── */
.intro-section {
  background: var(--linen);
  padding: 96px 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-text .section-label { margin-bottom: 0.8rem; }
.intro-text h2 { margin-bottom: 1.2rem; }
.intro-text p { margin-bottom: 1.2rem; }
.intro-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.intro-link:hover { color: var(--brass); border-color: var(--brass); }
.intro-image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.intro-image img {
  width: 100%; height: 480px;
  object-fit: cover;
}

/* ── ROOMS SECTION ── */
.rooms-section {
  background: var(--white);
  padding: 96px 0;
}
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.room-card {
  background: var(--linen);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.room-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.room-card:hover .room-card-img img { transform: scale(1.05); }
.room-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.room-type-badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.room-card-body h3 { color: var(--espresso); margin: 0; }
.room-card-body p { font-size: 0.92rem; margin: 0; }
.room-card-body .btn { margin-top: 8px; align-self: flex-start; }

/* ── FEATURES SECTION ── */
.features-section {
  background: var(--linen);
  padding: 96px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  text-align: center;
}
.feature-item { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 40px; height: 40px; stroke: var(--brass); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-item h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--espresso);
  margin: 0;
}
.feature-item p { font-size: 0.82rem; color: var(--stone); margin: 0; line-height: 1.5; }
.feature-item a { cursor: pointer; }
.feature-item a:hover .feature-icon svg { stroke: var(--green); }
.feature-item a:hover h4 { color: var(--green); }

/* ── 3-PANEL GALLERY STRIP CAROUSEL ── */
.gallery-carousel-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: var(--mahogany);
}
.gallery-carousel-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.gallery-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}
.gallery-cell {
  position: relative;
  overflow: hidden;
}
.gallery-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.82);
  transition: filter 0.4s, transform 0.5s;
}
.gallery-cell:hover img { filter: brightness(1); transform: scale(1.04); }
.gallery-cell-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 16px 12px;
  background: linear-gradient(to top, rgba(28,20,16,0.78) 0%, transparent 100%);
  color: var(--linen);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.03em;
  text-align: center;
}
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28,20,16,0.6);
  border: 1px solid rgba(184,134,11,0.55);
  color: var(--brass);
  font-size: 1.2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition), border-color var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.gallery-btn:hover { background: rgba(184,134,11,0.25); border-color: var(--brass); }
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }
.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.gdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(250,248,245,0.35);
  cursor: pointer;
  transition: background 0.3s;
}
.gdot.active { background: var(--brass); }

/* ── CTA SECTION ── */
.cta-section {
  position: relative;
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}
.cta-content .section-label { color: var(--brass-lt); }
.cta-content h2 { color: var(--white); margin-bottom: 1rem; }
.cta-content h2 em { font-style: italic; color: var(--brass-lt); }
.cta-content p { color: rgba(250,248,245,0.82); margin-bottom: 2.4rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FACILITIES PAGE ── */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.facility-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.facility-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.facility-card-img {
  height: 240px;
  overflow: hidden;
}
.facility-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.facility-card:hover .facility-card-img img { transform: scale(1.05); }
.facility-card-body { padding: 24px; }
.facility-card-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.facility-card-body p { font-size: 0.9rem; }

/* ── AMENITIES LIST ── */
.amenities-section {
  background: var(--mahogany);
  padding: 80px 0;
}
.amenities-section .section-label { color: var(--brass-lt); }
.amenities-section h2 { color: var(--white); }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.amenity-group h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 16px;
}
.amenity-group ul { display: flex; flex-direction: column; gap: 10px; }
.amenity-group li {
  font-size: 0.88rem;
  color: rgba(250,248,245,0.78);
  padding-left: 18px;
  position: relative;
}
.amenity-group li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass);
  font-size: 0.75rem;
}

/* ── ROOMS DETAIL PAGE ── */
.room-detail-section { padding: 80px 0; }
.room-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
}
.room-detail-grid.reverse { direction: rtl; }
.room-detail-grid.reverse > * { direction: ltr; }
.room-gallery-main {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}
.room-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.room-gallery-main:hover img { transform: scale(1.03); }
.room-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.room-gallery-thumbs img {
  height: 80px;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.room-gallery-thumbs img:hover, .room-gallery-thumbs img.active { opacity: 1; }
.room-info .section-label { margin-bottom: 0.5rem; }
.room-info h2 { margin-bottom: 0.5rem; }
.room-meta {
  font-size: 0.88rem;
  color: var(--stone);
  margin-bottom: 1.2rem;
}
.room-info p { margin-bottom: 1.4rem; }
.room-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.room-features-list li {
  font-size: 0.9rem;
  color: var(--stone);
  padding-left: 20px;
  position: relative;
}
.room-features-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass);
  font-size: 0.8rem;
}
.room-cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── LONG STAY PAGE ── */
.longstay-intro {
  background: var(--linen);
  padding: 80px 0;
}
.longstay-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.rates-section {
  background: var(--white);
  padding: 80px 0;
}
.rates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.rate-card {
  background: var(--linen);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--linen-dk);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.rate-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.rate-card.featured {
  background: var(--mahogany);
  border-color: var(--brass);
  border-width: 2px;
}
.rate-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  color: var(--espresso);
}
.rate-card.featured h3 { color: var(--white); }
.rate-card .room-size {
  font-size: 0.82rem;
  color: var(--stone);
  margin-bottom: 1.2rem;
}
.rate-card.featured .room-size { color: rgba(250,248,245,0.6); }
.rate-divider {
  width: 40px;
  height: 1px;
  background: var(--brass);
  margin: 0 auto 1.4rem;
}
.rate-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.rate-card.featured .rate-price { color: var(--brass-lt); }
.rate-period {
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: 0.4rem;
}
.rate-card.featured .rate-period { color: rgba(250,248,245,0.55); }
.rate-note {
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: 1.6rem;
}
.rate-card.featured .rate-note { color: rgba(250,248,245,0.55); }
.rate-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
  flex-grow: 1;
  text-align: left;
}
.rate-features li {
  font-size: 0.88rem;
  color: var(--stone);
  padding-left: 20px;
  position: relative;
}
.rate-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass);
  font-size: 0.75rem;
}
.rate-card.featured .rate-features li { color: rgba(250,248,245,0.75); }
.rate-card .btn { margin-top: auto; }

/* ── CONTACT PAGE ── */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.2rem; }
.contact-info p { margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 40px; height: 40px;
  background: var(--linen-dk);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-item-text { display: flex; flex-direction: column; gap: 2px; }
.contact-item-text strong {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--espresso);
}
.contact-item-text a, .contact-item-text span {
  font-size: 0.92rem;
  color: var(--stone);
  transition: color var(--transition);
}
.contact-item-text a:hover { color: var(--green); }
.contact-map { border-radius: 2px; overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { display: block; }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--linen-dk);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}
.social-link:hover { border-color: var(--green); background: var(--green); }
.social-link:hover svg { stroke: var(--white); }
.social-link svg { width: 18px; height: 18px; stroke: var(--stone); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── HOUSE RULES PAGE ── */
.rules-section { padding: 80px 0; }
.rules-intro { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.rules-intro p { font-size: 1.05rem; }
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.rules-group h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--linen-dk);
  color: var(--espresso);
}
.rules-list { display: flex; flex-direction: column; gap: 12px; }
.rules-list li {
  font-size: 0.9rem;
  color: var(--stone);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.rules-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass);
  font-size: 0.8rem;
}
.rules-cta {
  background: var(--linen-dk);
  padding: 48px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.rules-cta h3 { margin-bottom: 0.8rem; }
.rules-cta p { margin-bottom: 2rem; }
.rules-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── APARTMENTS PAGE ── */
.apt-section { padding: 80px 0; }
.apt-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.apt-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.apt-gallery-main {
  grid-column: 1 / -1;
  height: 300px;
  overflow: hidden;
}
.apt-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.apt-gallery-thumb {
  height: 180px;
  overflow: hidden;
}
.apt-gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.apt-gallery-thumb:hover img { transform: scale(1.05); }
.apt-info h2 { margin-bottom: 0.8rem; }
.apt-info p { margin-bottom: 1.2rem; }
.apt-price-box {
  background: var(--linen-dk);
  padding: 24px;
  margin-bottom: 1.6rem;
}
.apt-price-box .price-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
}
.apt-price-box .price-value {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--green);
  font-weight: 600;
}
.apt-price-box .price-period { font-size: 0.85rem; color: var(--stone); }
.apt-facilities-section {
  background: var(--mahogany);
  padding: 64px 0;
  margin-bottom: 80px;
}
.apt-facilities-section .section-label { color: var(--brass-lt); }
.apt-facilities-section h2 { color: var(--white); margin-bottom: 2rem; }
.apt-facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.apt-facility-item {
  padding: 20px;
  border: 1px solid rgba(184,134,11,0.2);
  color: rgba(250,248,245,0.78);
  font-size: 0.88rem;
  padding-left: 36px;
  position: relative;
}
.apt-facility-item::before {
  content: '✓';
  position: absolute;
  left: 14px;
  color: var(--brass);
  font-size: 0.85rem;
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28,20,16,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  color: var(--linen);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250,248,245,0.1);
  border: 1px solid rgba(250,248,245,0.2);
  color: var(--linen);
  font-size: 1.4rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(250,248,245,0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ── FOOTER ── */
.footer {
  background: var(--mahogany);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250,248,245,0.1);
}
.footer-brand .brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--linen);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.footer-brand .brand-name span { color: var(--brass); }
.footer-brand .brand-sub {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,248,245,0.45);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(250,248,245,0.55);
  max-width: 280px;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(250,248,245,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--linen); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact-item svg {
  width: 14px; height: 14px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item span, .footer-contact-item a {
  font-size: 0.85rem;
  color: rgba(250,248,245,0.6);
  line-height: 1.5;
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--linen); }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social-btn {
  width: 38px; height: 38px;
  border: 1px solid rgba(250,248,245,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}
.footer-social-btn:hover { border-color: var(--brass); background: rgba(184,134,11,0.15); }
.footer-social-btn svg { width: 16px; height: 16px; stroke: rgba(250,248,245,0.6); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-social-btn:hover svg { stroke: var(--brass); }

.footer-managed {
  padding: 32px 0;
  text-align: center;
  border-bottom: 1px solid rgba(250,248,245,0.08);
}
.footer-managed p {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,248,245,0.35);
  margin-bottom: 16px;
}
.footer-managed a {
  display: inline-block;
  transition: opacity var(--transition);
}
.footer-managed a:hover { opacity: 0.8; }
.footer-managed img { height: 56px; width: auto; }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(250,248,245,0.3);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--mahogany);
  z-index: 999;
  padding: 24px 32px 32px;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid rgba(250,248,245,0.1);
  box-shadow: 0 8px 32px rgba(28,20,16,0.4);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,248,245,0.75);
  padding: 8px 0;
  border-bottom: 1px solid rgba(250,248,245,0.08);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--linen); }
.mobile-menu .btn { text-align: center; margin-top: 8px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .rates-grid { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .container { padding: 0 24px; }
  .section { padding: 64px 0; }
  .intro-grid, .longstay-intro-grid, .contact-grid, .room-detail-grid, .apt-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .room-detail-grid.reverse { direction: ltr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: 1fr; }
  .rates-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-carousel-wrap { height: 220px; }
  .gallery-panel { grid-template-columns: 1fr; }
  .gallery-carousel-wrap { height: 260px; }
  .apt-facilities-grid { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { height: 280px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .apt-facilities-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .rules-cta-btns { flex-direction: column; align-items: center; }
}

/* ── NEW ROOM CARD CLASSES (Revision 2026-07) ── */

/* 2x2 grid for homepage rooms section */
.rooms-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* 3-column grid variant (explicit) */
.rooms-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Centered single-item grid for Jr. Suite and Suite */
.rooms-grid-1-center {
  display: grid;
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
  gap: 32px;
}

/* Wide card for Jr. Suite / Suite (horizontal layout) */
.room-card-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--linen);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.room-card-wide:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.room-card-wide .room-card-img { height: 100%; min-height: 320px; }
.room-card-wide .room-card-body { padding: 36px; }

/* Taller image variant */
.room-card-img-tall { height: 340px !important; }

/* Room number badge overlay */
.room-number-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(28,20,16,0.72);
  color: var(--linen);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  backdrop-filter: blur(4px);
}

/* Room amenities list */
.room-amenities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.room-amenities li {
  font-size: 0.85rem;
  color: var(--stone);
  padding-left: 16px;
  position: relative;
}
.room-amenities li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass);
  font-size: 0.72rem;
}

/* 2-column amenities list for wide cards */
.room-amenities-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  margin-bottom: 1.5rem;
}

/* House rules grid */
.house-rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.house-rule-card {
  background: rgba(250,248,245,0.06);
  border: 1px solid rgba(250,248,245,0.1);
  padding: 32px 28px;
  transition: border-color var(--transition);
}
.house-rule-card:hover { border-color: var(--brass); }
.house-rule-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.house-rule-icon svg {
  width: 28px; height: 28px;
  stroke: var(--brass);
}
.house-rule-card h4 {
  color: var(--linen);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}
.house-rule-card p {
  color: rgba(250,248,245,0.65);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Apartment unit card */
.apt-unit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.apt-unit-card {
  background: var(--linen);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.apt-unit-img {
  position: relative;
  height: 380px;
  overflow: hidden;
}
.apt-unit-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.apt-unit-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
}
.apt-unit-body { padding: 40px; }
.apt-unit-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.apt-unit-meta {
  font-size: 0.88rem;
  color: var(--stone);
  margin-top: 4px;
}
.apt-unit-price { text-align: right; }
.price-main {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--green);
}
.price-main span {
  font-size: 1rem;
  color: var(--stone);
  font-family: var(--font-sans);
  font-weight: 400;
}
.price-alt {
  font-size: 0.82rem;
  color: var(--stone);
  margin-top: 4px;
}
.apt-unit-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.apt-detail-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: 12px;
}
.apt-unit-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Contact detail list (new structure) */
.contact-detail-list { display: flex; flex-direction: column; gap: 28px; }
.contact-detail-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--linen-dk);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 18px; height: 18px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-detail-item h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: 4px;
}
.contact-detail-item p { font-size: 0.92rem; color: var(--stone); margin: 0; }
.contact-detail-item a { color: var(--stone); transition: color var(--transition); }
.contact-detail-item a:hover { color: var(--green); }
.contact-map-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding-bottom: 1px;
  display: inline-block;
  margin-top: 6px;
  transition: color var(--transition), border-color var(--transition);
}
.contact-map-link:hover { color: var(--brass); border-color: var(--brass); }
.contact-map-wrap {
  height: 480px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-map-wrap iframe { width: 100%; height: 100%; display: block; border: 0; }

/* ── RESPONSIVE: New classes ── */
@media (max-width: 1024px) {
  .rooms-grid-3 { grid-template-columns: 1fr 1fr; }
  .rooms-grid-2x2 { grid-template-columns: 1fr 1fr; }
  .house-rules-grid { grid-template-columns: 1fr 1fr; }
  .apt-unit-details { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .rooms-grid-3 { grid-template-columns: 1fr; }
  .rooms-grid-2x2 { grid-template-columns: 1fr; }
  .rooms-grid-1-center { grid-template-columns: 1fr; }
  .room-card-wide { grid-template-columns: 1fr; }
  .room-card-wide .room-card-img { height: 260px; min-height: unset; }
  .room-amenities-2col { grid-template-columns: 1fr; }
  .house-rules-grid { grid-template-columns: 1fr; }
  .apt-unit-header { flex-direction: column; }
  .apt-unit-price { text-align: left; }
  .apt-unit-body { padding: 24px; }
  .contact-map-wrap { height: 320px; }
}

/* ============================================================
   APARTMENTS PAGE — Nine Residence
   ============================================================ */

/* Interior gallery grid */
.apt-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.apt-gallery-grid.apt-gallery-3col {
  grid-template-columns: repeat(3, 1fr);
}
.apt-gallery-item {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/3;
}
.apt-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.apt-gallery-item:hover img {
  transform: scale(1.04);
}
.apt-gallery-main {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

/* Unit info layout */
.apt-unit-layout {
  max-width: 720px;
  margin: 0 auto;
}
.apt-unit-info h2 {
  margin-top: 0.5rem;
}

/* Pricing table */
.apt-pricing-table {
  border: 1px solid var(--brass-lt, #c9a96e);
  border-radius: 4px;
  overflow: hidden;
  margin: 1.5rem 0;
}
.apt-pricing-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.apt-pricing-row:last-child { border-bottom: none; }
.apt-pricing-row span:first-child { color: var(--stone, #888); }
.apt-pricing-row span:last-child { font-weight: 600; color: var(--ink, #1a1a1a); }

/* Amenities list */
.apt-amenities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.apt-amenities-list li {
  font-size: 0.9rem;
  color: var(--stone, #888);
  padding-left: 1rem;
  position: relative;
}
.apt-amenities-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--brass, #b8973a);
}

/* Building facilities — dark section */
.apt-facilities-section {
  background: #1e2d3d;
  padding: 80px 0;
}
.apt-facilities-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.apt-facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 2rem;
}
.apt-facility-item {
  text-align: center;
}
.apt-facility-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  color: var(--brass, #b8973a);
}
.apt-facility-icon svg {
  width: 100%;
  height: 100%;
}
.apt-facility-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--linen, #f5f0e8);
  margin-bottom: 0.4rem;
}
.apt-facility-item p {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
  .apt-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .apt-gallery-main { grid-column: span 2; }
  .apt-facilities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .apt-gallery-grid { grid-template-columns: 1fr; }
  .apt-gallery-main { grid-column: span 1; aspect-ratio: 4/3; }
  .apt-gallery-grid.apt-gallery-3col { grid-template-columns: 1fr; }
  .apt-facilities-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .apt-pricing-row { flex-direction: column; gap: 0.2rem; }
}

/* ============================================================
   HOUSE RULES PAGE
   ============================================================ */
.rules-sections { display: flex; flex-direction: column; gap: 2.5rem; }
.rules-section {
  border-left: 3px solid var(--brass, #b8973a);
  padding-left: 1.5rem;
}
.rules-section h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink, #1a1a1a);
  margin-bottom: 1rem;
}
.rules-letter {
  color: var(--brass, #b8973a);
  margin-right: 0.4rem;
}
.rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: rules-counter;
}
.rules-list[start] { counter-reset: none; }
.rules-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.92rem;
}
.rules-list li:last-child { border-bottom: none; }
.rules-list li strong {
  color: var(--ink, #1a1a1a);
  font-weight: 600;
}
.rules-list li em {
  color: var(--stone, #888);
  font-style: italic;
  font-size: 0.88rem;
}
.rules-sub {
  list-style: none;
  padding: 0.5rem 0 0 1rem;
  margin: 0;
}
.rules-sub li {
  border: none;
  padding: 0.2rem 0;
  font-size: 0.88rem;
  color: var(--stone, #888);
}
.rules-penalty {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #c0392b;
  background: rgba(192,57,43,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}
.rules-note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--stone, #888);
  font-style: italic;
}

/* ============================================================
   LONG STAY — HOUSE RULES MODAL
   ============================================================ */
.hr-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.hr-modal {
  background: #fff;
  border-radius: 8px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem 2rem 1.5rem;
  position: relative;
}
.hr-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--stone, #888);
  line-height: 1;
}
.hr-modal-close:hover { color: var(--ink, #1a1a1a); }
.hr-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.hr-modal-icon { font-size: 1.5rem; }
.hr-modal-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink, #1a1a1a);
  margin: 0;
}
.hr-modal-subtitle {
  font-size: 0.9rem;
  color: var(--stone, #888);
  margin-bottom: 1.25rem;
}
.hr-modal-subtitle strong { color: var(--brass, #b8973a); }
.hr-modal-summary {
  background: #f8f7f4;
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
.hr-summary-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink, #1a1a1a);
  margin-bottom: 0.75rem;
}
.hr-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hr-summary-list li {
  font-size: 0.85rem;
  color: var(--stone, #888);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  gap: 0.5rem;
}
.hr-summary-list li:last-child { border-bottom: none; }
.hr-summary-list li strong { color: var(--ink, #1a1a1a); min-width: 120px; }
.hr-full-rules-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--brass, #b8973a);
  text-decoration: underline;
}
.hr-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--stone, #888);
  margin-bottom: 1.25rem;
  cursor: pointer;
}
.hr-agree-label input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--brass, #b8973a);
}
.hr-agree-label a { color: var(--brass, #b8973a); }
.hr-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--stone, #888);
  color: var(--stone, #888);
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--ink, #1a1a1a); color: var(--ink, #1a1a1a); }
#hrProceedBtn:disabled { opacity: 0.4; cursor: not-allowed; }
@media (max-width: 600px) {
  .hr-modal { padding: 1.5rem 1.25rem 1.25rem; }
  .hr-modal-actions { flex-direction: column-reverse; }
  .hr-summary-list li { flex-direction: column; gap: 0.1rem; }
  .hr-summary-list li strong { min-width: unset; }
}
