/* RRM Next.js ditto-copy: header + footer chrome. Matches app/globals.css + Header.tsx/Footer.tsx. */

:root {
  --rrm-ivory: #FAF6EE;
  --rrm-ivory-dim: #F1E9D8;
  --rrm-charcoal: #1C1712;
  --rrm-charcoal-soft: #2A2119;
  --rrm-maroon: #7A1F2B;
  --rrm-maroon-deep: #591620;
  --rrm-gold: #C9A13B;
  --rrm-gold-soft: #E8CF8E;
}

body.rrm-home { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; }

/* Force true full-bleed on alignfull blocks regardless of Astra container markup */
.rrm-main { overflow-x: clip; }
.content-area.primary { margin-top: 0 !important; margin-bottom: 0 !important; }
.rrm-home .alignfull {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* ---------- Header ---------- */
.rrm-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(28, 23, 18, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 161, 59, 0.2);
}
.rrm-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.rrm-header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
  min-width: 0;
  flex-shrink: 0;
}
.rrm-header__logo { height: 40px; width: 40px; object-fit: contain; flex-shrink: 0; }
.rrm-header__wordmark { font-family: 'Fraunces', ui-serif, Georgia, serif; line-height: 1.2; min-width: 0; }
.rrm-header__name { display: block; color: var(--rrm-ivory); font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rrm-header__tag {
  display: block; font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--rrm-gold-soft);
}
.rrm-header__nav { display: none; align-items: center; gap: 1.4rem; }
.rrm-header__nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.rrm-header__nav li a {
  color: rgba(250, 246, 238, 0.8); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.01em; white-space: nowrap; transition: color .2s ease;
}
.rrm-header__nav li a:hover { color: var(--rrm-gold-soft); }
.rrm-header__nav li.current-menu-item > a { color: var(--rrm-gold); }
.rrm-header__cta { display: none !important; flex-shrink: 0; }
.rrm-header__toggle {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 6px; border: 0; background: transparent; color: var(--rrm-ivory); cursor: pointer;
}
.rrm-header__toggle:hover { background: rgba(250, 246, 238, 0.1); }
.rrm-header__toggle svg { width: 22px !important; height: 22px !important; flex-shrink: 0; }
.rrm-header__mobile {
  overflow: hidden; max-height: 0; border-top: 0 solid rgba(201, 161, 59, 0.2);
  background: var(--rrm-charcoal); transition: max-height .3s ease;
}
.rrm-header__mobile.is-open { max-height: 32rem; border-top-width: 1px; }
.rrm-header__mobile nav ul { list-style: none; margin: 0; padding: 0.5rem 1rem 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.rrm-header__mobile nav li a {
  display: block; padding: 0.65rem 0.75rem; border-radius: 6px; color: rgba(250, 246, 238, 0.85);
  text-decoration: none; font-size: 0.9rem; font-weight: 500;
}
.rrm-header__mobile nav li a:hover { background: var(--rrm-charcoal-soft); }
.rrm-header__mobile nav li.current-menu-item > a { background: rgba(122, 31, 43, 0.3); color: var(--rrm-gold); }
.rrm-header__mobile-cta { display: block; margin: 0.5rem 1rem 1rem; text-align: center; }

@media (min-width: 1280px) {
  .rrm-header__nav { display: flex; }
  .rrm-header__cta { display: block !important; }
  .rrm-header__toggle { display: none !important; }
  .rrm-header__mobile { display: none !important; }
}

/* ---------- Buttons (shared with homepage) ---------- */
.rrm-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px; background: var(--rrm-maroon); color: var(--rrm-ivory) !important;
  padding: 0.6rem 1.4rem; font-size: 0.875rem; font-weight: 600;
  text-decoration: none !important; transition: background-color .2s ease; white-space: nowrap;
}
.rrm-btn-primary:hover { background: var(--rrm-maroon-deep); color: var(--rrm-ivory) !important; }

/* ---------- Footer ---------- */
.rrm-footer { background: var(--rrm-charcoal); color: rgba(250, 246, 238, 0.8); }
.rrm-footer__grid {
  max-width: 1280px; margin: 0 auto; padding: 3rem 1.5rem;
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
}
.rrm-footer__brand-row { display: flex; align-items: center; gap: 0.75rem; }
.rrm-footer__brand-row img { height: 48px; width: 48px; object-fit: contain; flex-shrink: 0; }
.rrm-footer__wordmark { font-family: 'Fraunces', ui-serif, Georgia, serif; line-height: 1.2; }
.rrm-footer__name { display: block; color: var(--rrm-ivory); font-size: 1.1rem; }
.rrm-footer__tag {
  display: block; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--rrm-gold-soft);
}
.rrm-footer__blurb { margin-top: 1rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.6; color: rgba(250, 246, 238, 0.6); }
.rrm-footer__col h3 {
  font-family: 'Fraunces', ui-serif, Georgia, serif; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--rrm-gold-soft); margin: 0;
}
.rrm-footer__col ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.5rem; font-size: 0.875rem; }
.rrm-footer__col ul li a { color: rgba(250, 246, 238, 0.7); text-decoration: none; }
.rrm-footer__col ul li a:hover { color: var(--rrm-gold-soft); }
.rrm-footer__contact li { display: flex; align-items: flex-start; gap: 0.6rem; }
.rrm-footer__address { color: rgba(250, 246, 238, 0.5); }
.rrm-footer__bottom { border-top: 1px solid rgba(250, 246, 238, 0.1); }
.rrm-footer__bottom p:nth-child(1),
.rrm-footer__bottom p:nth-child(2),
.rrm-footer__bottom p:nth-child(3) { margin: 0; }
.rrm-footer__bottom {
  max-width: 1280px; margin: 0 auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem;
  text-align: center; font-size: 0.75rem; color: rgba(250, 246, 238, 0.45);
}
.rrm-footer__bottom a { color: rgba(250, 246, 238, 0.6); text-decoration: underline; text-decoration-color: rgba(201, 161, 59, 0.4); text-underline-offset: 2px; }
.rrm-footer__bottom a:hover { color: var(--rrm-gold-soft); }

@media (min-width: 768px) {
  .rrm-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .rrm-footer__brand { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .rrm-footer__grid { grid-template-columns: repeat(4, 1fr); }
  .rrm-footer__brand { grid-column: span 1; }
  .rrm-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
}

/* ---------- Floating WhatsApp button ---------- */
.rrm-whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rrm-whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
  color: #FFFFFF;
}
