/*
 * Rose Restoration Mega Menu - front-end styles
 * All selectors are .rr-mm-* prefixed to avoid collision with Elementor / other rr-* plugins.
 */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@400;500;600;700&family=Raleway:wght@300;400;500;600&display=swap');

/* ── Brand tokens, scoped to our nav so they don't leak ─────────────── */
.rr-mm-utility,
.rr-mm-nav,
.rr-mm-drawer {
  --rr-mm-rose: #930202;
  --rr-mm-rose-dark: #7a0101;
  --rr-mm-concrete: #272727;
  --rr-mm-venetian: #C1A986;
  --rr-mm-coliseum: #F6F3EE;
  --rr-mm-white: #FFFFFF;
  --rr-mm-hairline: rgba(39, 39, 39, 0.08);
  --rr-mm-venetian-15: rgba(193, 169, 134, 0.15);
  --rr-mm-venetian-20: rgba(193, 169, 134, 0.20);
  --rr-mm-venetian-40: rgba(193, 169, 134, 0.40);
  --rr-mm-shadow: 0 24px 48px rgba(39, 39, 39, 0.08);
  --rr-mm-display: "Libre Baskerville", "Times New Roman", Georgia, serif;
  --rr-mm-kicker: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --rr-mm-body: "Raleway", "Helvetica Neue", Arial, sans-serif;
}

.rr-mm-utility *,
.rr-mm-utility *::before,
.rr-mm-utility *::after,
.rr-mm-nav *,
.rr-mm-nav *::before,
.rr-mm-nav *::after,
.rr-mm-drawer *,
.rr-mm-drawer *::before,
.rr-mm-drawer *::after {
  box-sizing: border-box;
}

.rr-mm-utility *:focus-visible,
.rr-mm-nav *:focus-visible,
.rr-mm-drawer *:focus-visible {
  outline: 2px solid var(--rr-mm-venetian);
  outline-offset: 2px;
}

/* When our nav is active, neutralize the existing Elementor header template. */
body.rr-megamenu-active .elementor-15265.elementor-location-header {
  display: none !important;
}
body.rr-megamenu-active {
  padding-top: 0 !important;
  /* `overflow-x: hidden` on body turns body into the sticky element's scroll container,
     which prevents .rr-mm-nav from sticking. `overflow: clip` clips content the same way
     without creating a scroll container. */
  overflow-x: clip !important;
}

/* When the WordPress admin bar is shown (logged-in users), offset our sticky nav so it
   doesn't slide under the admin bar. */
body.admin-bar .rr-mm-nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .rr-mm-nav {
    top: 46px;
  }
}

/* ── UTILITY BAR ──────────────────────────────────────────────────── */
.rr-mm-utility {
  background: var(--rr-mm-concrete);
  color: var(--rr-mm-coliseum);
  padding: 9px 32px;
  font-family: var(--rr-mm-body);
}
.rr-mm-utility-inner {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.rr-mm-utility a,
.rr-mm-utility .rr-mm-locations {
  color: var(--rr-mm-coliseum);
  text-decoration: none;
  font-family: var(--rr-mm-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}
.rr-mm-utility a:hover {
  color: var(--rr-mm-venetian);
  cursor: pointer;
}
.rr-mm-utility-left,
.rr-mm-utility-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}
.rr-mm-utility-phone {
  font-family: var(--rr-mm-kicker) !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  font-size: 12px !important;
}
.rr-mm-utility-divider {
  width: 1px;
  height: 12px;
  background: rgba(246, 243, 238, 0.18);
  display: inline-block;
}
.rr-mm-socials {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.rr-mm-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--rr-mm-coliseum);
  opacity: 0.78;
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}
.rr-mm-social svg {
  width: 14px;
  height: 14px;
  display: block;
}
.rr-mm-social:hover {
  color: var(--rr-mm-venetian);
  opacity: 1;
}
.rr-mm-utility-cta {
  font-family: var(--rr-mm-kicker) !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
  color: var(--rr-mm-coliseum) !important;
  border: 1px solid rgba(193, 169, 134, 0.45);
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.rr-mm-utility-cta:hover {
  background: var(--rr-mm-rose);
  border-color: var(--rr-mm-rose);
  color: var(--rr-mm-white) !important;
}

/* ── MAIN NAV ─────────────────────────────────────────────────────── */
.rr-mm-nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--rr-mm-coliseum);
  border-bottom: 1px solid var(--rr-mm-hairline);
  font-family: var(--rr-mm-body);
  color: var(--rr-mm-concrete);
  line-height: 1.55;
}
.rr-mm-nav-row {
  max-width: 1480px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.rr-mm-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}
.rr-mm-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
}

.rr-mm-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0 0 0 auto;
  padding: 0;
}
.rr-mm-item {
  position: static;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rr-mm-item--simple { position: relative; }

.rr-mm-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 11px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--rr-mm-kicker);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rr-mm-concrete);
  text-decoration: none;
  position: relative;
  transition: color 220ms ease;
  white-space: nowrap;
}
.rr-mm-trigger::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 11px;
  right: 11px;
  height: 1px;
  background: var(--rr-mm-venetian);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.3, 1);
}
.rr-mm-item:hover .rr-mm-trigger,
.rr-mm-item:focus-within .rr-mm-trigger,
.rr-mm-trigger[aria-expanded="true"] {
  color: var(--rr-mm-rose);
}
.rr-mm-item:hover .rr-mm-trigger::after,
.rr-mm-item:focus-within .rr-mm-trigger::after,
.rr-mm-trigger[aria-expanded="true"]::after,
.rr-mm-trigger:hover::after {
  transform: scaleX(1);
}
.rr-mm-caret {
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 240ms ease;
  opacity: 0.55;
}
.rr-mm-trigger[aria-expanded="true"] .rr-mm-caret {
  transform: rotate(225deg) translate(-1px, -1px);
  opacity: 1;
}

.rr-mm-cta {
  background: var(--rr-mm-rose);
  color: var(--rr-mm-white);
  font-family: var(--rr-mm-kicker);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  margin-left: 14px;
  transition: background 200ms ease, transform 200ms ease;
  white-space: nowrap;
  display: inline-block;
}
.rr-mm-cta:hover {
  background: var(--rr-mm-rose-dark);
  color: var(--rr-mm-white);
  transform: translateY(-1px);
}

.rr-mm-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  margin-left: auto;
}
.rr-mm-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--rr-mm-concrete);
}

/* ── MEGA PANELS ──────────────────────────────────────────────────── */
.rr-mm-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--rr-mm-coliseum);
  border-top: 1px solid var(--rr-mm-venetian-15);
  box-shadow: var(--rr-mm-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0s linear 180ms;
  z-index: 90;
}
.rr-mm-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0s linear 0s;
}
.rr-mm-panel-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 56px 32px 64px;
  display: grid;
  gap: 40px;
}
.rr-mm-panel--commercial .rr-mm-panel-inner,
.rr-mm-panel--residential .rr-mm-panel-inner,
.rr-mm-panel--contractors .rr-mm-panel-inner {
  grid-template-columns: 1fr 1fr 1fr 1.05fr;
}
.rr-mm-panel--hospitality .rr-mm-panel-inner {
  grid-template-columns: 1fr 1fr 1.1fr;
}
.rr-mm-panel--about .rr-mm-panel-inner {
  grid-template-columns: 1fr 1fr;
  max-width: 760px;
  margin: 0;
  padding: 36px 32px 40px;
}
.rr-mm-panel--about {
  left: auto;
  right: 0;
  width: auto;
  min-width: 520px;
}

.rr-mm-col {
  margin: 0;
  padding: 0;
}
.rr-mm-kicker {
  font-family: var(--rr-mm-kicker);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rr-mm-venetian);
  margin-bottom: 22px;
  padding-bottom: 14px;
  position: relative;
}
.rr-mm-kicker::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--rr-mm-venetian-40);
}

.rr-mm-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rr-mm-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rr-mm-link {
  display: inline-block;
  font-family: var(--rr-mm-body);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--rr-mm-concrete) !important;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 220ms ease;
}
.rr-mm-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rr-mm-venetian);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}
.rr-mm-link:hover {
  color: var(--rr-mm-rose) !important;
}
.rr-mm-link:hover::after {
  transform: scaleX(1);
}

/* Featured editorial card.
   `!important` on every text-color rule below - the site's rr-design-system mu-plugin
   declares many `color: ... !important` rules that would otherwise win and turn these
   links/text black on the dark background. */
.rr-mm-featured {
  background: var(--rr-mm-concrete) !important;
  color: var(--rr-mm-coliseum) !important;
  padding: 36px 30px 30px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.rr-mm-featured::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--rr-mm-venetian-20);
  pointer-events: none;
  z-index: 0;
}
.rr-mm-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 92% 8%, rgba(193, 169, 134, 0.14), transparent 60%),
    radial-gradient(140% 100% at 0% 100%, rgba(147, 2, 2, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.rr-mm-featured > * {
  position: relative;
  z-index: 1;
}
.rr-mm-featured-kicker {
  font-family: var(--rr-mm-kicker);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rr-mm-venetian) !important;
  margin-bottom: 20px;
  padding-bottom: 14px;
  position: relative;
}
.rr-mm-featured-kicker::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--rr-mm-venetian);
}
.rr-mm-featured-headline {
  font-family: var(--rr-mm-display);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.22;
  color: var(--rr-mm-white) !important;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.rr-mm-featured-body {
  font-family: var(--rr-mm-body);
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--rr-mm-coliseum) !important;
  opacity: 0.85;
  margin-bottom: 24px;
  max-width: 32ch;
}
.rr-mm-featured-link,
.rr-mm-featured-link:visited {
  font-family: var(--rr-mm-kicker);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rr-mm-venetian) !important;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color 220ms ease;
  display: inline-block;
}
.rr-mm-featured-link:hover {
  border-bottom-color: var(--rr-mm-venetian);
  color: var(--rr-mm-venetian) !important;
}
.rr-mm-featured-link .rr-mm-arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 240ms ease;
}
.rr-mm-featured-link:hover .rr-mm-arrow {
  transform: translateX(4px);
}

/* ── SIMPLE DROPDOWN (Marble Armor) ───────────────────────────────── */
.rr-mm-simple-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -8px);
  background: var(--rr-mm-coliseum);
  border-top: 1px solid var(--rr-mm-venetian-15);
  box-shadow: var(--rr-mm-shadow);
  padding: 14px 0;
  margin: 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0s linear 180ms;
  z-index: 90;
  list-style: none;
}
.rr-mm-simple-drop.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 0s linear 0s;
}
.rr-mm-simple-drop li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rr-mm-simple-drop a {
  display: block;
  padding: 10px 26px;
  font-family: var(--rr-mm-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--rr-mm-concrete);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}
.rr-mm-simple-drop a:hover {
  color: var(--rr-mm-rose);
  background: rgba(193, 169, 134, 0.10);
}

/* ── MOBILE DRAWER ────────────────────────────────────────────────── */
.rr-mm-drawer {
  position: fixed;
  inset: 0;
  background: var(--rr-mm-coliseum);
  z-index: 99999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.3, 1);
  font-family: var(--rr-mm-body);
  color: var(--rr-mm-concrete);
}
.rr-mm-drawer.is-open {
  transform: translateX(0);
}
.rr-mm-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rr-mm-hairline);
}
.rr-mm-drawer-header .rr-mm-logo-img {
  height: 32px;
  width: auto;
}
.rr-mm-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--rr-mm-display);
  font-size: 28px;
  line-height: 1;
  color: var(--rr-mm-concrete);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rr-mm-acc {
  border-bottom: 1px solid var(--rr-mm-hairline);
}
.rr-mm-acc-trigger,
.rr-mm-acc-direct {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px;
  font-family: var(--rr-mm-kicker);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rr-mm-concrete);
  text-align: left;
  text-decoration: none;
}
.rr-mm-acc-direct {
  border-bottom: 1px solid var(--rr-mm-hairline);
}
.rr-mm-acc-direct::after {
  content: "→";
  font-family: var(--rr-mm-body);
  font-size: 16px;
  color: var(--rr-mm-venetian);
  letter-spacing: 0;
}
.rr-mm-acc-trigger .rr-mm-plus {
  width: 14px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
}
.rr-mm-acc-trigger .rr-mm-plus::before,
.rr-mm-acc-trigger .rr-mm-plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--rr-mm-venetian);
}
.rr-mm-acc-trigger .rr-mm-plus::before {
  width: 14px;
  height: 1px;
}
.rr-mm-acc-trigger .rr-mm-plus::after {
  width: 1px;
  height: 14px;
  transition: transform 240ms ease;
}
.rr-mm-acc.is-open .rr-mm-plus::after {
  transform: scaleY(0);
}
.rr-mm-acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms cubic-bezier(0.2, 0.8, 0.3, 1);
}
.rr-mm-acc.is-open .rr-mm-acc-content {
  max-height: 2400px;
}
.rr-mm-acc-inner {
  padding: 0 20px 28px;
  display: grid;
  gap: 24px;
}
.rr-mm-acc-inner .rr-mm-kicker {
  margin-bottom: 12px;
  /* Override the venetian color used on desktop - it's only 2:1 contrast on the
     light drawer background and reads as nearly-blank on small screens. */
  color: var(--rr-mm-concrete) !important;
  opacity: 0.7;
}
.rr-mm-acc-inner .rr-mm-link {
  padding: 5px 0;
  font-size: 15px;
}
.rr-mm-acc-inner .rr-mm-featured {
  margin-top: 8px;
  padding: 26px 22px;
}
.rr-mm-drawer-cta {
  display: block;
  margin: 28px 20px 40px;
  background: var(--rr-mm-rose);
  color: var(--rr-mm-white);
  text-align: center;
  padding: 16px;
  font-family: var(--rr-mm-kicker);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
}
.rr-mm-drawer-cta:hover {
  color: var(--rr-mm-white);
}

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .rr-mm-nav-list,
  .rr-mm-nav-row > .rr-mm-cta {
    display: none;
  }
  .rr-mm-hamburger {
    display: flex;
  }
  .rr-mm-utility {
    padding: 8px 16px;
    font-size: 11px;
  }
  .rr-mm-utility-right .rr-mm-socials,
  .rr-mm-utility-right .rr-mm-utility-divider {
    display: none;
  }
  .rr-mm-utility-cta {
    padding: 6px 14px;
    font-size: 10px !important;
    letter-spacing: 0.14em !important;
  }
  .rr-mm-utility-inner {
    gap: 14px;
  }
  .rr-mm-nav-row {
    padding: 14px 16px;
  }
  .rr-mm-logo-img {
    height: 36px;
  }
  .rr-mm-panel,
  .rr-mm-simple-drop {
    display: none !important;
  }
}
@media (min-width: 1181px) {
  .rr-mm-drawer {
    display: none !important;
  }
}

/* ── REDUCED MOTION ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .rr-mm-utility *,
  .rr-mm-nav *,
  .rr-mm-drawer *,
  .rr-mm-utility *::before,
  .rr-mm-nav *::before,
  .rr-mm-drawer *::before,
  .rr-mm-utility *::after,
  .rr-mm-nav *::after,
  .rr-mm-drawer *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
