/* WordPress themes can change the root rem size; match the standalone preview. */
html { font-size: 16px; }
.franchising-preview { background: var(--paper); font-size: 16px; }
.franchising-preview .site-header { padding: 0; }
.franchising-preview :is(section[id], #main) { scroll-margin-top: calc(var(--header-height) + 20px); }
.franchising-preview .site-footer .container { max-width: none; }
.franchising-preview .sooy-credit { clear: both; width: 100%; color: #386b54; background: #fffdf7; }
.franchising-preview .sooy-credit__inner { width: min(calc(100% - 40px), 1180px); min-height: 50px; margin-inline: auto; padding-block: 7px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.franchising-preview .sooy-credit__label { color: #386b54; font-size: .55rem; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.franchising-preview .sooy-credit__logo { display: block; width: 118px; max-width: 100%; height: auto; margin: 0; border: 0; object-fit: contain; }
.franchising-preview .section { padding-block: 100px; }
.franchising-preview .eyebrow::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }

.fr-hero {
  position: relative;
  min-height: calc(var(--header-height) + clamp(460px, 55svh, 560px));
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 45px) 0 50px;
  isolation: isolate;
  overflow: hidden;
  color: var(--paper);
  background: #244431;
}
.fr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10,35,25,.17), rgba(10,35,25,.12) 60%, rgba(10,35,25,.3)), url("assets/franchising-preview/rios-franchising-hero-20261111.jpg") center center / cover no-repeat;
}
.fr-hero__inner { text-align: center; }
.fr-hero h1 {
  margin: 0 auto;
  color: var(--paper);
  font-size: clamp(4.2rem, 7.8vw, 7.8rem);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.045em;
  text-shadow: 0 4px 26px rgba(7, 28, 18, .48);
}
.fr-hero__subtitle { max-width: 640px; margin: 24px auto 0; color: var(--paper); font-size: 1.05rem; font-weight: 400; line-height: 1.58; text-wrap: balance; text-shadow: 0 3px 14px rgba(7, 28, 18, .45); }

.fr-intro__grid { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 1050px; text-align: center; }
.fr-intro h2, .fr-format h2, .fr-partner h2, .fr-contact h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(2.5rem, 4.4vw, 4.7rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.052em;
}
.fr-intro h2 em { font-style: normal; color: var(--green); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .12em; text-underline-offset: .09em; }
.fr-intro__line { display: block; }
.fr-intro__text { max-width: 760px; margin-inline: auto; color: var(--text-muted); font-size: 1.05rem; line-height: 1.72; }
.fr-intro__text p { margin: 0 0 18px; }
.fr-intro__text .fr-lead { color: var(--ink); font-size: 1.3rem; font-weight: 700; line-height: 1.45; }
.fr-intro__cta { min-width: 290px; margin-top: 18px; }
.fr-link-arrow { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fr-intro__cta .fr-link-arrow { margin-left: 6px; }
.franchising-preview a.button--secondary { background: var(--paper); color: var(--green); }
.franchising-preview a.button--secondary:hover { background: var(--cream); color: var(--green); }
.fr-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin-top: 74px; padding: 30px 0 0; border-top: 1px solid var(--line); }
.fr-facts > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 8px 24px; border-right: 1px solid var(--line); text-align: center; }
.fr-facts > div:last-child { border-right: 0; }
.fr-facts strong { color: var(--green); font-size: clamp(2.5rem, 4vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.fr-facts span { color: var(--text-muted); font-size: .85rem; font-weight: 650; }

.fr-support .section-heading { max-width: 740px; }
.fr-support__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fr-step { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: var(--paper); box-shadow: var(--shadow-1); }
.fr-step__image { width: 100%; height: 185px; object-fit: cover; }
.fr-step:nth-child(3) .fr-step__image { object-position: 23% center; }
.fr-step:nth-child(4) .fr-step__image { object-position: 76% center; }
.fr-step__body { flex: 1; padding: 25px 26px 30px; }
.fr-step__number { display: block; width: fit-content; color: #6b8a78; font-size: .9rem; font-weight: 800; line-height: 1; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.fr-step h3 { margin: 18px 0 12px; color: var(--green); font-size: 1.45rem; line-height: 1.12; letter-spacing: -.03em; }
.fr-step p { margin: 0; color: var(--text-muted); font-size: .94rem; line-height: 1.58; }

.fr-format__grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(55px, 8vw, 120px); align-items: center; }
.fr-format__image { height: 550px; overflow: hidden; border-radius: 34px; box-shadow: var(--shadow-2); }
.fr-format__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.fr-format__copy p:not(.eyebrow) { max-width: 510px; margin: 24px 0 0; color: var(--text-muted); font-size: 1.04rem; line-height: 1.72; }
.fr-format__copy .button { margin-top: 32px; }

.franchising-preview .fr-stores { background: #f8f4e9; }
.fr-stores .rios-locator__heading { max-width: 760px; margin: 0 auto 38px; }
.fr-stores .rios-locator__heading .text-link { margin-top: 15px; }
.fr-stores .rios-locator__map-wrap { height: 570px; border-color: rgba(56,107,84,.18); border-radius: 28px; background: var(--mint); box-shadow: var(--shadow-1); }
.fr-stores .rios-locator__results { border-radius: 22px; }
.fr-stores .rios-locator__directory { margin-top: 22px; }
.fr-stores .rios-locator__directory summary { color: var(--green); font-weight: 750; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.fr-stores .rios-locator__directory a { display: inline-flex; align-items: center; gap: 5px; }

.fr-partner__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(60px, 9vw, 145px); }
.fr-partner__intro > p:not(.eyebrow) { max-width: 510px; margin: 23px 0 30px; color: var(--text-muted); font-size: 1.04rem; line-height: 1.68; }
.fr-partner__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fr-partner__list li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.fr-partner__icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--green); }
.fr-partner__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fr-partner__list h3 { margin: 0 0 5px; color: var(--green); font-size: 1.23rem; letter-spacing: -.025em; }
.fr-partner__list p { margin: 0; color: var(--text-muted); font-size: .91rem; }

.fr-faq__grid { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(55px, 8vw, 120px); }
.fr-faq .section-heading { margin: 0; }
.fr-faq__items { border-top: 1px solid var(--line-strong); }
.fr-faq details { border-bottom: 1px solid var(--line-strong); }
.fr-faq summary { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 4px; color: var(--green); font-size: 1.08rem; font-weight: 750; line-height: 1.35; cursor: pointer; list-style: none; }
.fr-faq summary::-webkit-details-marker { display: none; }
.fr-faq summary::after { content: "+"; flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--green); font-size: 1.3rem; font-weight: 500; }
.fr-faq details[open] summary::after { content: "−"; }
.fr-faq details p { max-width: 570px; margin: -2px 0 23px; color: var(--text-muted); font-size: .96rem; line-height: 1.6; }

.fr-contact { background: var(--green); }
.fr-contact__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(55px, 7vw, 110px); align-items: start; }
.fr-contact__copy { position: sticky; top: calc(var(--header-height) + 28px); }
.fr-contact__copy .eyebrow { color: var(--green); }
.fr-contact h2 { color: var(--paper); }
.fr-contact__copy > p:not(.eyebrow) { max-width: 440px; margin: 26px 0 26px; color: rgba(255,253,247,.88); font-size: 1.08rem; line-height: 1.65; }
.fr-contact__copy ul { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.fr-contact__copy li { padding: 8px 11px; border: 1px solid rgba(255,253,247,.3); border-radius: 10px; color: var(--paper); font-size: .75rem; font-weight: 700; }
.fr-form { display: grid; gap: 19px; padding: clamp(26px, 4vw, 48px); border-radius: 31px; background: var(--paper); box-shadow: 0 25px 60px rgba(15,40,27,.17); }
.fr-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
.fr-form label { display: block; color: var(--green); font-size: .79rem; font-weight: 800; }
.fr-form label > span:not(.fr-form__consent span) { color: #9d7414; }
.fr-form :is(input:not([type="checkbox"]), select, textarea) { width: 100%; min-height: 54px; margin-top: 8px; padding: 13px 18px; border: 1px solid rgba(56,107,84,.3); border-radius: 16px; outline: none; background: #fffefa; color: var(--ink); font-size: .9rem; font-weight: 450; }
.fr-form textarea { resize: vertical; }
.fr-form :is(input, select, textarea):focus-visible { border-color: var(--green); outline: 2px solid var(--yellow); outline-offset: 1px; }
.fr-form ::placeholder { color: #82968b; opacity: 1; }
.fr-select { position: relative; display: block; margin-top: 8px; }
.fr-form .fr-select__native { position: absolute; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
.fr-form .fr-select__trigger { position: relative; display: flex; width: 100%; min-height: 54px; align-items: center; padding: 13px 56px 13px 18px; border: 1px solid rgba(56,107,84,.3); border-radius: 16px; background: #fffefa; color: var(--ink); font-family: inherit; font-size: .9rem; font-weight: 450; line-height: 1.3; text-align: left; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.fr-form .fr-select__trigger:hover { border-color: var(--green); background: #f7faf4; }
.fr-form .fr-select__trigger:focus-visible, .fr-form .fr-select__trigger[aria-expanded="true"] { border-color: var(--green); outline: 2px solid var(--yellow); outline-offset: 2px; }
.fr-form .fr-select__trigger[aria-invalid="true"] { border-color: #a86725; }
.fr-select__chevron { position: absolute; top: 50%; right: 21px; width: 18px; height: 18px; display: grid; place-items: center; color: var(--green); transform: translateY(-50%); transition: transform .18s ease; pointer-events: none; }
.fr-select__chevron svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fr-select__trigger[aria-expanded="true"] .fr-select__chevron { transform: translateY(-50%) rotate(180deg); }
.fr-select__menu { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 100%; max-height: 250px; overflow-y: auto; padding: 6px; border: 1px solid rgba(56,107,84,.23); border-radius: 16px; background: #fffefa; box-shadow: 0 18px 35px rgba(14,48,31,.16); }
.fr-select__menu[hidden] { display: none; }
.fr-form .fr-select__option { display: block; width: 100%; padding: 11px 13px; border: 0; border-radius: 10px; background: transparent; color: var(--green); font-family: inherit; font-size: .88rem; font-weight: 600; line-height: 1.3; text-align: left; cursor: pointer; }
.fr-form .fr-select__option:hover, .fr-form .fr-select__option:focus-visible { outline: none; background: #e8f0e9; }
.fr-form .fr-select__option[aria-selected="true"] { background: #fff0bd; color: #234d39; }
.fr-select__error { margin: 7px 0 0; color: #945020; font-size: .73rem; font-weight: 650; }
.fr-select__error[hidden] { display: none; }
.fr-form__consent { display: flex !important; flex-direction: row; align-items: start; gap: 10px !important; color: var(--text-muted) !important; font-size: .75rem !important; font-weight: 500 !important; line-height: 1.5; }
.fr-form__consent input { width: 18px; height: 18px; flex: 0 0 18px; margin: 1px 0 0; accent-color: var(--green); }
.fr-form__consent a { color: var(--green); font-weight: 750; text-decoration: underline; }
.fr-form__submit { width: 100%; margin-top: 2px; }
.fr-form__note { margin: -8px 0 0; color: var(--text-muted); font-size: .72rem; text-align: center; }
.fr-form__status { min-height: 0; margin: 0; color: var(--green); font-size: .78rem; font-weight: 700; text-align: center; }
.fr-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 1080px) {
  .fr-support__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fr-facts > div { flex-direction: column; gap: 4px; }
}
@media (max-width: 760px) {
  .franchising-preview .section { padding-block: 72px; }
  .fr-hero { padding: calc(var(--header-height) + 30px) 0 35px; }
  .fr-hero::before { background-image: linear-gradient(180deg, rgba(10,35,25,.10), rgba(10,35,25,.12) 65%, rgba(10,35,25,.23)), url("assets/franchising-preview/rios-franchising-hero-mobile-20261112.jpg"); background-position: center; }
  .fr-hero h1 { font-size: clamp(2.4rem, 10.7vw, 5.5rem); }
  .fr-hero__subtitle { margin-top: 20px; font-size: 1rem; line-height: 1.5; }
  .fr-intro__grid, .fr-format__grid, .fr-partner__grid, .fr-faq__grid, .fr-contact__grid { grid-template-columns: 1fr; gap: 34px; }
  .fr-intro h2, .fr-format h2, .fr-partner h2, .fr-contact h2 { font-size: clamp(2.55rem, 9vw, 3.8rem); }
  .fr-intro__text { padding-top: 0; }
  .fr-facts { margin-top: 50px; }
  .fr-facts > div { padding-inline: 12px; }
  .fr-facts strong { font-size: clamp(2rem, 7vw, 3rem); }
  .fr-facts span { font-size: .74rem; }
  .fr-support__grid { gap: 15px; }
  .fr-step__body { padding: 22px 23px 27px; }
  .fr-step h3 { margin-top: 18px; }
  .fr-format__image { height: min(60vw, 380px); }
  .fr-format__copy { order: -1; text-align: center; }
  .fr-format__copy p:not(.eyebrow) { margin-inline: auto; }
  .fr-format__copy .button { display: flex; width: fit-content; margin: 32px auto 0; }
  .fr-stores .rios-locator__map-wrap { height: clamp(420px, 62svh, 520px); border-radius: 22px; }
  .fr-stores .rios-locator__heading { margin-bottom: 27px; }
  .fr-partner__intro .button { margin-bottom: 8px; }
  .fr-contact__copy { position: static; }
  .fr-contact__copy h2 { max-width: 530px; }
}
@media (max-width: 680px) {
  .fr-hero { min-height: calc(var(--header-height) + 420px); }
  .fr-format__copy .button { min-height: 52px; padding-inline: 24px; font-size: .82rem; }
}
@media (max-width: 500px) {
  .fr-facts { grid-template-columns: 1fr 1fr 1fr; }
  .fr-support__grid, .fr-form__row { grid-template-columns: 1fr; }
  .fr-step__image { height: 205px; }
  .fr-intro__cta { width: 100%; min-width: 0; }
  .fr-form { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .franchising-preview * { scroll-behavior: auto !important; }
}
