/* A single reading column keeps the section headline, context, and cards aligned. */
.section-intro {
  display: block !important;
  max-width: 760px;
}

.section-intro h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.section-intro .lead {
  max-width: 650px;
  margin: 22px 0 0;
}

/* Let the craving headline use the full reading rail on wider screens. */
.brands-section .section-intro h2 {
  max-width: none;
  font-size: clamp(2.7rem, 4.2vw, 4.3rem);
}

.brands-section .section-intro .lead {
  display: block;
  width: 100% !important;
  max-width: none !important;
  font-size: 16px !important;
}


@media (min-width: 1120px) {
  .brands-section .section-intro h2 { white-space: nowrap; }
}

/* Use the same inner content rail as the following sections, not the outer viewport edge. */
@media (min-width: 981px) {
  .hero .copy {
    margin-left: 10vw;
    margin-right: 0;
    transform: none;
  }
}

/* Keep the franchise invitation on the same 90vw content rail as the stories below. */
.partner-cta .partner-cta-grid {
  width: min(1180px, 90vw);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

/* A single soft corner treatment makes the brand mosaic feel cohesive. */
.brand-mosaic .brand-tile {
  border-radius: 18px !important;
}

/* Keep the home headline decisive and readable at its intended two-line rhythm. */
@media (min-width: 801px) {
  .hero .copy { max-width: 860px; }
  .hero h1 { max-width: 860px; }
  .hero h1 em { white-space: nowrap; }
}

/* Centered proof points with a small, responsive motion cue. */
.proof .wrap { align-items: stretch; }
.proof article {
  display: flex;
  min-height: 152px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.proof strong {
  display: inline-block;
  transition: transform .22s ease, color .22s ease;
}
.proof article:hover strong { transform: translateY(-4px); }
.proof span { max-width: 245px; }
.proof article:last-child { border-right: 0; }

/* The NEX Place pillars read as distinct reasons to spend time there. */
.place-pillars {
  gap: 16px !important;
  margin-top: 34px;
}

.place-pillars article {
  display: flex;
  min-height: 236px;
  padding: 26px 24px !important;
  flex-direction: column;
  border: 0;
  border-radius: 22px !important;
  background: #1d1d1e !important;
  transition: transform .22s ease, background .22s ease;
}

.place-pillars article:hover {
  background: #252528 !important;
  transform: translateY(-4px);
}

.place-pillars .pillar-icon {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.place-pillars b {
  margin-top: 18px;
  color: #fff !important;
  font-size: 23px;
  font-weight: 600;
}

.place-pillars p {
  margin: 7px 0 0;
  color: rgba(255,255,255,.78) !important;
  font-size: 16px;
  line-height: 1.65;
}

.feature h2 em { color: #13dbe8; font-style: italic; font-weight: 500; }

.feature .split > .cassalu-feature-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0 !important;
  border-radius: 22px;
  background: url("../assets/web/brand-food-cassalu.webp") center 56% / 135% auto no-repeat;
}

/* A direct inquiry form makes the franchise invitation actionable on the home page. */
.partner-cta .wrap.partner-cta-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr) !important;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}

.partner-cta { padding-top: 48px; }
.partner-cta .partner-copy { max-width: 690px; }
.partner-cta .partner-copy p { max-width: 590px; margin: 0; }
.partner-cta .partner-form {
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  padding: 36px 32px 30px;
  border-radius: 20px;
  background: #fffdfa;
  color: var(--ink);
}

.partner-cta .partner-form h3 { margin: 0 0 22px; font-size: 31px; font-weight: 500; letter-spacing: -.04em; }
.partner-cta .partner-name-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.partner-cta .partner-form input,
.partner-cta .partner-form select,
.partner-cta .custom-select-trigger {
  width: 100%;
  min-height: 54px;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #cbc3b7;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 16px Montserrat, Arial, sans-serif;
}

.partner-cta .custom-select { position: relative; }
.partner-cta .custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}
.partner-cta .custom-select-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin: -5px 5px 0 18px;
  border-right: 1.75px solid currentColor;
  border-bottom: 1.75px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease, margin .2s ease;
}
.partner-cta .custom-select.is-open .custom-select-trigger::after { margin-top: 4px; transform: rotate(225deg); }
.partner-cta .custom-select-trigger:disabled { color: #8a8490; cursor: not-allowed; }
.partner-cta .custom-select-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: none;
  max-height: 240px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid #cbc3b7;
  border-radius: 14px;
  background: #fffdfa;
  box-shadow: 0 13px 24px rgba(21,16,37,.16);
}
.partner-cta .custom-select.is-open .custom-select-menu { display: grid; }
.partner-cta .custom-select-menu button { min-height: 45px; padding: 10px 12px; border: 0; border-bottom: 1px solid #e2dbcf; border-radius: 0; background: transparent; color: var(--ink); font: 400 16px Montserrat, Arial, sans-serif; text-align: left; cursor: pointer; }
.partner-cta .custom-select-menu button:last-child { border-bottom: 0; }
.partner-cta .custom-select-menu button:hover,
.partner-cta .custom-select-menu button:focus { outline: 0; border-radius: 8px; background: #eee9dd; }
.partner-cta .partner-form .button { width: fit-content; margin-top: 23px; }
.partner-cta .partner-form .success { min-height: 0; margin: 12px 0 0; color: #285650; font-size: 15px; }

@media (max-width: 800px) {
  .partner-cta .wrap.partner-cta-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .partner-cta .partner-form { max-width: none; justify-self: stretch; padding: 29px 23px 25px; }
  .partner-cta .partner-name-grid { gap: 13px; }
}

@media (max-width: 800px) {
  .place-pillars article { min-height: 210px; }
}

/* Guest reviews replace the former trust-grid with a continuously moving rail. */
.reviews-marquee { overflow: hidden; background: #eee9dd; }
.reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.reviews-heading h2 { margin: 7px 0 12px; font-size: clamp(2.65rem, 4.8vw, 5rem); font-weight: 500; letter-spacing: -.07em; line-height: .94; }
.reviews-heading p { max-width: 600px; margin: 0; color: var(--muted); font-size: 17px; }
.google-rating { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 12px; color: var(--ink); white-space: nowrap; }
.google-rating strong { font-size: 42px; font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.google-rating span { color: #e17b10; font-size: 20px; letter-spacing: .08em; }
.google-rating small { grid-column: 1 / -1; margin-top: 5px; color: var(--muted); font-size: 15px; }
.reviews-window { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; isolation: isolate; }
/* A light carousel cue: soften only the cropped cards at each edge. */
.reviews-window::before,.reviews-window::after { position: absolute; z-index: 2; top: 0; bottom: 0; width: clamp(28px,6vw,88px); content: ''; pointer-events: none; }
.reviews-window::before { left: 0; background: linear-gradient(90deg,#eee9dd 0%,rgba(238,233,221,.72) 36%,rgba(238,233,221,0) 100%); }
.reviews-window::after { right: 0; background: linear-gradient(270deg,#eee9dd 0%,rgba(238,233,221,.72) 36%,rgba(238,233,221,0) 100%); }
.reviews-track { display: flex; width: max-content; animation: reviews-scroll 58s linear infinite; }
.reviews-group { display: flex; gap: 16px; padding-right: 16px; }
.reviews-group article { display: flex; width: min(340px, calc(100vw - 44px)); min-height: 224px; padding: 25px; flex-direction: column; border: 1px solid #d9cfbe; border-radius: 20px; background: #fffdfa; color: var(--ink); }
.review-stars { color: #e17b10; font-size: 18px; letter-spacing: .12em; }
.reviews-group blockquote { margin: 20px 0; font-family: Georgia, serif; font-size: 19px; line-height: 1.38; }
.reviews-group cite { margin-top: auto; color: var(--muted); font-size: 15px; font-style: normal; }
.reviews-window:hover .reviews-track { animation-play-state: paused; }
.reviews-action { display: flex; justify-content: center; margin-top: 32px; }
@keyframes reviews-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .reviews-window { overflow-x: auto; } .reviews-track { animation: none; } }
@media (max-width: 800px) { .reviews-heading { align-items: start; flex-direction: column; margin-bottom: 27px; } .google-rating { align-self: start; } .reviews-group article { min-height: 205px; } }

/* Live Google Map: the legacy illustration is replaced once the API loads. */
.location-art.live-map { isolation: isolate; background: #e4dfd5; }
.location-art.live-map .nex-map-canvas { position: absolute; inset: 0; z-index: 0; }
.location-art.live-map .map-status { display: none; }
.nex-map-info { display: grid; gap: 4px; padding: 3px 1px; color: #17162b; font-family: Montserrat, Arial, sans-serif; }
.nex-map-info strong { font-size: 16px; }
.nex-map-info span { font-size: 14px; line-height: 1.4; }
.nex-map-info .nex-map-brands { margin-top: 7px; color: #2d2588; font-size: 12px; font-weight: 700; }
