/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *




 */

#submit-loading {
  display: none;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  background: rgba(0, 0, 0, .4);
  margin: 0;
  padding: 0;
  z-index: 9999;    
}

#submit-loading div {
  opacity: 25%;
}

p:empty {
  height: 0!important;
  padding: 0!important;
  margin: 0!important;
  width: 0!important;
}
/*
 * Cookie Consent Module — ws_consent.css
 * =======================================
 * All classes prefixed .ws-consent-* to avoid colliding with client themes.
 *
 * Overridable CSS custom properties:
 *   --ws-consent-banner-bg           (banner background color)
 *   --ws-consent-banner-color        (banner text color)
 *   --ws-consent-banner-link-color   (banner link color)
 *   --ws-consent-header-bg           (modal header background)
 *   --ws-consent-header-color        (modal header text color)
 *   --ws-consent-header-link-color   (modal header link color)
 *   --ws-consent-header-border-color (modal header border color)
 *   --ws-consent-body-bg             (modal body background color)
 *   --ws-consent-body-color          (modal body text color)
 *   --ws-consent-body-link-color     (modal body link color)
 *   --ws-consent-accent              (buttons, toggle on-state, focus rings)
 *
 * Override in your site stylesheet:
 *   :root {
 *     --ws-consent-accent: #e63946;
 *     --ws-consent-bg: #fdf6ec;
 *     etc...
 *   }
 *
 * Responsive layout:
 *   Desktop (>640px) — banner is a bottom-bar spanning full viewport width
 *   Mobile  (≤640px) — banner is a bottom-sheet card with rounded top corners
 */

/* ── Default Theme Variables ──────────────────────────────────────── */
:root {
  --ws-consent-accent: #2563eb;
  --ws-consent-preference-button-nudge-amount: 1rem;

  --ws-consent-banner-bg: #fff;
  --ws-consent-banner-color: #000;
  --ws-consent-banner-link-color: #2563eb;
  --ws-consent-header-bg: #fff;
  --ws-consent-header-color: #000;
  --ws-consent-header-link-color: #6b7280;
  --ws-consent-header-border-color: var(--ws-consent-accent);
  --ws-consent-body-bg: #fff;
  --ws-consent-body-color: #000;
  --ws-consent-body-link-color: #2563eb;
  --ws-consent-preference-button-bg: #2563eb;
  --ws-consent-preference-button-color: #fff;
}

/* ── Reset / scoping ──────────────────────────────────────────────── */
.ws-consent-banner,
.ws-consent-modal,
.ws-consent-banner *,
.ws-consent-modal * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.ws-consent-banner,
.ws-consent-modal {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1a1a2e;
}

/* Shield child elements from bare site selectors (e.g. `p { font-size: 16px }`).
   :where() zeroes the element specificity so our own .ws-consent-* rules still win. */
.ws-consent-banner :where(p, a, h1, h2, h3, h4, span, li, ul, ol),
.ws-consent-modal :where(p, a, h1, h2, h3, h4, span, li, ul, ol) {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
  font-weight: normal;
  text-decoration: none;
}

/* ── Screenreader-only ────────────────────────────────────────────── */
.ws-consent-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* BANNER — first-visit bottom bar / bottom sheet                     */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--ws-consent-banner-bg, #fff);
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.1);
}
.ws-consent-banner[hidden] {
  display: none !important;
}

/* Desktop: full-width bottom bar, horizontal layout */
.ws-consent-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}
.ws-consent-banner__text {
  flex: 1 1 auto;
  min-width: 0;
}
.ws-consent-banner__desc {
  color: var(--ws-consent-banner-color, #3a3a4e);
}
.ws-consent-banner__desc a {
  color: var(--ws-consent-banner-link-color, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ws-consent-banner__desc a:hover {
  opacity: 0.8;
}
.ws-consent-banner__desc a:focus-visible {
  outline: 2px solid var(--ws-consent-accent);
  outline-offset: 2px;
}
.ws-consent-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Mobile: bottom-sheet style */
@media (max-width: 992px) {
  .ws-consent-banner {
    border-radius: 14px 14px 0 0;
  }
  .ws-consent-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1rem;
    gap: 1rem;
  }
  .ws-consent-banner__actions {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* OVERLAY                                                            */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.45);
}
.ws-consent-overlay[hidden] {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* MODAL — category toggles                                           */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ws-consent-modal[hidden] {
  display: none !important;
}
.ws-consent-modal__inner {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--ws-consent-body-bg);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  /* padding: 1.5rem; */
}

.ws-consent-modal__content {
  padding: 1.5rem;
  padding-top: 1rem;
}

/* Header */
.ws-consent-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--ws-consent-header-border-color, #2563eb);
  background-color: var(--ws-consent-header-bg, #fff);
}
.ws-consent-modal__title {
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ws-consent-header-color, #1a1a2e);
}
.ws-consent-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--ws-consent-header-link-color, #6b7280);
  cursor: pointer;
  transition: background 0.15s;
}
.ws-consent-modal__close:hover {
  background: #f0f0f5;
  color: #1a1a2e;
}
.ws-consent-modal__close:focus-visible {
  outline: 2px solid var(--ws-consent-accent);
  outline-offset: 2px;
}

/* Description */
.ws-consent-modal__desc {
  font-family: inherit;
  color: var(--ws-consent-body-color, #3a3a4e);
  margin-bottom: 1rem;
}
.ws-consent-modal__desc a {
  color: var(--ws-consent-body-link-color, #2563eb);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ws-consent-modal__desc a:hover {
  opacity: 0.8;
}
.ws-consent-modal__desc a:focus-visible {
  outline: 2px solid var(--ws-consent-body-link-color, #2563eb);
  outline-offset: 2px;
}

/* Modal actions */
.ws-consent-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

/* Mobile modal: bottom-sheet */
@media (max-width: 640px) {
  .ws-consent-modal {
    align-items: flex-end;
    padding: 0;
  }
  .ws-consent-modal__inner {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 14px 14px 0 0;
    /* padding: 1.25rem 1rem; */
  }
  .ws-consent-modal__actions {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* CATEGORIES + TOGGLES                                               */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-categories {
  border: none;
}
.ws-consent-category {
  border-top: 1px solid #e5e7eb;
  padding: 0.75rem 0;
}
.ws-consent-category:last-child {
  border-bottom: 1px solid #e5e7eb;
}
.ws-consent-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ws-consent-category__name {
  font-weight: 600;
  color: #1a1a2e;
}
.ws-consent-category__desc {
  margin-top: 0.3rem;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.45;
}
.ws-consent-category__badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Toggle switch */
.ws-consent-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.ws-consent-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ws-consent-toggle__track {
  display: inline-flex;
  align-items: center;
  width: 38px;
  height: 22px;
  background: #cbd5e1;
  border-radius: 11px;
  padding: 2px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.ws-consent-toggle__thumb {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
/* Checked */
.ws-consent-toggle input:checked + .ws-consent-toggle__track {
  background: var(--ws-consent-accent, #2563eb);
}
.ws-consent-toggle input:checked + .ws-consent-toggle__track .ws-consent-toggle__thumb {
  transform: translateX(16px);
}
/* Disabled (necessary) */
.ws-consent-toggle input:disabled + .ws-consent-toggle__track {
  background: #94a3b8;
  cursor: not-allowed;
}
/* Focus ring (T-4) */
.ws-consent-toggle input:focus-visible + .ws-consent-toggle__track {
  outline: 2px solid var(--ws-consent-accent, #2563eb);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════ */
/* BUTTONS                                                            */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-btn {
  flex: 1 1 0;
  min-width: 150px;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, transform 0.1s;
}
.ws-consent-btn:active {
  transform: scale(0.97);
}
.ws-consent-btn:focus-visible {
  outline: 2px solid var(--ws-consent-accent, #2563eb);
  outline-offset: 2px;
}

/* QC-3: Reject all & Accept all — identical visual weight */
.ws-consent-btn--primary {
  background: #1a1a2e;
  color: #ffffff;
}
.ws-consent-btn--primary:hover {
  background: #2a2a40;
}

/* Customize / secondary */
.ws-consent-btn--secondary {
  background: #f0f0f5;
  color: #1a1a2e;
  border: 1px solid #d0d0da;
}
.ws-consent-btn--secondary:hover {
  background: #e4e4ec;
}

/* Save my choices — accent-coloured */
.ws-consent-btn--accent {
  background: var(--ws-consent-accent, #2563eb);
  color: #ffffff;
}
.ws-consent-btn--accent:hover {
  filter: brightness(0.9);
}

/* ═══════════════════════════════════════════════════════════════════ */
/* PRIVACY POLICY — shared between consent modal and standalone page   */
/* Double-class selector beats site base rules like .section-p h2      */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-privacy__inner {
  max-width: 720px;
}
.ws-consent-privacy__body.ws-consent-privacy__body {
  font-family: inherit;
  color: #3a3a4e;
  line-height: 1.65;
}
.ws-consent-modal .ws-consent-privacy__body {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}
.ws-consent-privacy__body.ws-consent-privacy__body h1,
.ws-consent-privacy__body.ws-consent-privacy__body h2,
.ws-consent-privacy__body.ws-consent-privacy__body h3,
.ws-consent-privacy__body.ws-consent-privacy__body h4 {
  font-family: inherit;
  color: #1a1a2e;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.ws-consent-privacy__body.ws-consent-privacy__body h1 { font-size: 1.5rem; }
.ws-consent-privacy__body.ws-consent-privacy__body h2 { font-size: 1.1rem; }
.ws-consent-privacy__body.ws-consent-privacy__body h3 { font-size: 1rem; }
.ws-consent-privacy__body.ws-consent-privacy__body h4 { font-size: 0.9375rem; }
.ws-consent-privacy__body.ws-consent-privacy__body p {
  font-size: inherit;
  line-height: inherit;
  margin-bottom: 0.75rem;
}
.ws-consent-privacy__body.ws-consent-privacy__body address {
  margin-bottom: 1rem;
}
.ws-consent-privacy__body.ws-consent-privacy__body ul,
.ws-consent-privacy__body.ws-consent-privacy__body ol {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}
.ws-consent-privacy__body.ws-consent-privacy__body li {
  margin-bottom: 0.25rem;
}
.ws-consent-privacy__body.ws-consent-privacy__body address p {
  margin-bottom: 0;
}
.ws-consent-privacy__body.ws-consent-privacy__body a {
  color: var(--ws-consent-body-link-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ws-consent-privacy__body.ws-consent-privacy__body a:hover {
  opacity: 0.8;
}
@media (max-width: 640px) {
  .ws-consent-privacy__inner {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════ */
/* BLOCKED ELEMENT PARTIAL                                             */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-form-blocked button {
  color: var(--ws-consent-preference-button-color, #FFF);
  background-color: var(--ws-consent-preference-button-bg, #2563eb);
}

.ws-consent-form-blocked a {
  color: var(--ws-consent-body-link-color);
  display: inline-block;
  padding: 5px;
}


/* ═══════════════════════════════════════════════════════════════════ */
/* FOOTER LINK (QC-4 persistent re-access)                             */
/* ═══════════════════════════════════════════════════════════════════ */
.ws-consent-footer-link {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--ws-consent-preference-button-bg, #2563eb);
  color: var(--ws-consent-preference-button-color, #fff);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: opacity 0.15s, box-shadow 0.15s, bottom 0.15s;
}
.ws-consent-footer-link:hover {
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.ws-consent-footer-link:focus-visible {
  outline: 2px solid var(--ws-consent-accent, #2563eb);
  outline-offset: 2px;
  color: #fff;
}
.ws-consent-footer-link--nudge {
  bottom: var(--ws-consent-preference-button-nudge-amount, 1rem);
}
.ws-consent-footer-link__icon {
  flex-shrink: 0;
}
.ws-consent-last-modified {
  margin: 0;
  margin-top: 0.75rem;
}


/* ═══════════════════════════════════════════════════════════════════ */
/* REDUCED MOTION                                                     */
/* ═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .ws-consent-toggle__track,
  .ws-consent-toggle__thumb,
  .ws-consent-btn,
  .ws-consent-modal__close,
  .ws-consent-footer-link {
    transition: none;
  }
}
/* ----- variables ----- */
:root {
    /* === Brand colors (from Figma palette) === */
    --black: #000000;
    --fandango: #b41e8e;
    --vivid-cerulean: #00aeef;
    --pear: #bfd730;
    --yellow: #ffcb05;
    --cream: #f5f1ea;
    --text-primary: #171717;

    /* === Fixed utility tokens === */
    --white: #ffffff;
    --txt-color: #525252;
    --light-grey: #f8f9fa;
    --border: #d9d9d9;
    --border-light: #e9eaeb;

    /* === Fonts === */
    --heading-font: "Nunito", sans-serif;
    --body-font: "Nunito", sans-serif;
}

/* ----- reset / base ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--body-font);
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
}

.main {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    color: var(--black);
    margin: 0;
}

p {
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--fandango);
    text-decoration: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ----- accent text helpers (brand palette) ----- */
.text-fandango { color: var(--fandango); }
.text-cerulean { color: var(--vivid-cerulean); }
.text-pear { color: var(--pear); }
.text-yellow { color: var(--yellow); }

/* ----- max-width helpers ----- */
.mw-280 { max-width: 280px; }
.mw-480 { max-width: 480px; }
.mw-576 { max-width: 576px; }
.mw-768 { max-width: 768px; }
.mw-991 { width: 100%; max-width: 991px; }
.mw-1024 { width: 100%; max-width: 1024px; }

.mw-lg-576 { width: 100%; }

/* ----- background tints ----- */
.bg-cream { background-color: var(--cream); }
.bg-light-grey { background-color: var(--light-grey); }
.bg-white { background-color: var(--white); }

/* ----- section layout ----- */
.section-p {
    padding-top: 64px;
    padding-bottom: 64px;
}

.single-p { padding-bottom: 64px; }

.section-divider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-divider div {
    height: 1px;
    width: 100%;
    max-width: 1300px;
    padding: 0 32px;
    align-self: center;
    background-color: var(--border);
}

/* ----- buttons ----- */
.btn-rb-primary,
.btn-rb-secondary {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    border-radius: 999px;
    padding: 11px 24px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-rb-primary {
    background-color: var(--fandango);
    border: 2px solid var(--fandango);
    color: var(--white);
}

.btn-rb-primary:is(:hover, :focus-visible) {
    background-color: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.btn-rb-secondary {
    background-color: var(--white);
    border: 2px solid var(--fandango);
    color: var(--fandango);
}

.btn-rb-secondary:is(:hover, :focus-visible) {
    background-color: var(--fandango);
    color: var(--white);
}

/* inverted fandango button (for dark/fandango backgrounds) */
.btn-rb-invert {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    border-radius: 999px;
    padding: 11px 24px;
    background-color: var(--white);
    border: 2px solid var(--white);
    color: var(--fandango);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-rb-invert:is(:hover, :focus-visible) {
    background-color: var(--black);
    border-color: var(--black);
    color: var(--white);
}

/* ghost button (white outline on a dark/fandango background) */
.btn-rb-ghost {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    border-radius: 999px;
    padding: 11px 24px;
    background-color: var(--fandango);
    border: 2px solid var(--white);
    color: var(--white);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-rb-ghost:is(:hover, :focus-visible) {
    background-color: var(--black);
    border-color: var(--black);
    color: var(--white);
}

/* larger button (e.g. the Contact page quote CTA) */
.btn-rb-lg {
    font-size: 20px;
    line-height: 30px;
    padding: 12px 28px;
    gap: 8px;
}

/* ----- nav ----- */
.rb-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--cream);
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.rb-nav.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.rb-nav .navbar {
    padding-top: 14px;
    padding-bottom: 14px;
}

.rb-nav__logo {
    width: auto;
    height: 44px;
}

.rb-nav .nav-link {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    padding: 8px 14px;
    transition: color 0.2s ease;
}

.rb-nav .nav-link:is(:hover, :focus-visible),
.rb-nav .nav-link.active {
    color: var(--fandango);
}

.rb-nav__cta {
    margin-top: 8px;
}

.rb-nav .navbar-toggler {
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    padding: 4px 8px;
}

.rb-nav .navbar-toggler:focus {
    box-shadow: none;
}

.rb-nav__offcanvas {
    background-color: var(--cream);
}

/* ----- footer ----- */
.rb-footer {
    position: relative;
    overflow: hidden;
    background-color: var(--pear);
    padding-top: 64px;
    padding-bottom: 48px;
    color: var(--black);
    border-top-left-radius: 48px;
    border-top-right-radius: 48px;
}

.rb-footer__inner {
    position: relative;
    z-index: 1;
}

.rb-footer__watermark {
    position: absolute;
    right: -170px;
    bottom: -150px;
    z-index: 0;
    pointer-events: none;
}

.rb-footer__watermark img {
    width: 480px;
    opacity: 0.07;
}

.rb-footer__top {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

.rb-footer__brand-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rb-footer__brand img {
    width: 168px;
    height: auto;
}

.rb-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
}

.rb-footer__links a {
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 18px;
    color: var(--black);
    text-decoration: none;
}

.rb-footer__links a:is(:hover, :focus-visible) {
    text-decoration: underline;
}

footer .section-divider div {
    background-color: rgba(0, 0, 0, 0.2);
    max-width: none;
    padding: 0;
}

.rb-footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.rb-footer__copy {
    font-size: 14px;
    color: var(--black);
}

.rb-footer__copy a {
    color: var(--black);
    text-decoration: underline;
}

.rb-footer__social {
    display: flex;
    gap: 12px;
}

.rb-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: var(--black);
    color: var(--white);
    font-size: 18px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.rb-footer__social a:is(:hover, :focus-visible) {
    background-color: var(--fandango);
    transform: translateY(-2px);
}

/* ----- skip link ----- */
.skip-to-main-content {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 2000;
    padding: 12px 20px;
    background-color: var(--black);
    color: var(--white);
    font-weight: 700;
}

.skip-to-main-content:focus {
    left: 8px;
    top: 8px;
}

/* ----- reusable patterns ----- */
.rb-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--fandango);
    border-radius: 13px;
}

.rb-icon-box--sm { width: 40px; height: 40px; font-size: 40px; }
.rb-icon-box--md { width: 48px; height: 48px; font-size: 48px; }
.rb-icon-box--lg { width: 64px; height: 64px; font-size: 32px; }
.rb-icon-box--cerulean { background-color: var(--vivid-cerulean); color: var(--white); }
.rb-icon-box--pear { background-color: var(--pear); color: var(--black); }
.rb-icon-box--fandango { background-color: var(--fandango); color: var(--white); }
.rb-icon-box--yellow { background-color: var(--yellow); color: var(--black); }

/* ----- hero ----- */
.rb-hero {
    padding-top: 24px;
    padding-bottom: 24px;
}

.rb-hero__card {
    max-width: 991px;
    margin: 0 auto;
    background-color: var(--fandango);
    border-radius: 40px;
    padding: 56px 24px;
    text-align: center;
    color: var(--white);
}

.rb-hero__heading {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 24px;
}

.rb-hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.rb-hero__arrow {
    color: var(--white);
    font-size: 40px;
    line-height: 1;
    flex-shrink: 0;
}

.rb-cube-face {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 108px;
    height: 108px;
    padding: 7px;
    background-color: var(--black);
    border-radius: 12px;
    flex-shrink: 0;
}

.rb-cube-tile {
    border: 0;
    padding: 0;
    border-radius: 6px;
    background-color: var(--black);
}

/* result tiles fade softly as they change, one by one (mosaic) */
.rb-cube-face--result .rb-cube-tile { transition: background-color 0.45s ease; }

.rb-cube-face button.rb-cube-tile {
    cursor: pointer;
    appearance: none;
    transition: transform 0.15s ease;
}

.rb-cube-face button.rb-cube-tile:is(:hover, :focus-visible) {
    transform: scale(1.08);
}

.rb-cube-face button.rb-cube-tile:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* subtle pulse hinting the left cube is clickable */
.rb-cube-face--picker { position: relative; }
.rb-cube-face--picker::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 18px;
    border: 2px solid var(--white);
    opacity: 0;
    pointer-events: none;
    animation: rbPickerPulse 2.2s ease-in-out infinite;
}
@keyframes rbPickerPulse {
    0%, 100% { opacity: 0; transform: scale(0.94); }
    50% { opacity: 0.7; transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
    .rb-cube-face--picker::after { animation: none; }
    .rb-cube-face .rb-cube-tile { transition: none; }
}

.rb-cube-face .b { background-color: var(--vivid-cerulean); }
.rb-cube-face .g { background-color: var(--pear); }
.rb-cube-face .y { background-color: var(--yellow); }
.rb-cube-face .m { background-color: var(--fandango); }
.rb-cube-face .w { background-color: var(--white); }

/* ----- content (RUBOX. intro) ----- */
.rb-intro__title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.44px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* ----- "powered by" attribution label ----- */
.rb-powered-by {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--fandango);
}

footer .rb-powered-by {
    color: var(--black);
}

.rb-powered-by a {
    color: inherit;
    text-decoration: underline;
}

/* ----- image box (shared: content + feature panels) ----- */
.rb-img-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-img-box--sm { aspect-ratio: 576 / 560; }
.rb-img-box--lg { aspect-ratio: 576 / 652; }
.rb-img-box--adv { aspect-ratio: 7 / 5; }
.rb-img-box--fandango { background-color: var(--fandango); }

.rb-img-box__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rb-img-box__icon {
    width: 76%;
    height: auto;
}

/* picture wrapper must not break the flex centering of the box */
.rb-img-box picture { display: contents; }

/* ----- colored offset shadow (brand) — reusable on any element ----- */
.rb-shadow {
    --rb-shadow-offset: 10px;
    --rb-shadow-x: var(--rb-shadow-offset);
    box-shadow: var(--rb-shadow-x) var(--rb-shadow-offset) 0 var(--rb-shadow-color, var(--vivid-cerulean));
}
.rb-shadow--left { --rb-shadow-x: calc(-1 * var(--rb-shadow-offset)); }
.rb-shadow--cerulean { --rb-shadow-color: var(--vivid-cerulean); }
.rb-shadow--fandango { --rb-shadow-color: var(--fandango); }
.rb-shadow--pear { --rb-shadow-color: var(--pear); }
.rb-shadow--yellow { --rb-shadow-color: var(--yellow); }

/* ----- simplify (morphing shape cards) ----- */
.rb-simplify {
    background-image: url(/assets/frontend/cube-pattern-2b69d48aaed40892fa9fea00b23c06b5b30f091ed78a05f3d190c121268e8eb5.png);
    background-repeat: repeat;
    background-position: center;
    background-size: 360px;
}

.rb-shape {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    margin: 0 auto;
    text-decoration: none;
}

.rb-shape__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.rb-shape__path {
    transition: filter 0.25s ease;
}

.rb-shape--storage .rb-shape__path { fill: var(--vivid-cerulean); }
.rb-shape--why .rb-shape__path { fill: var(--fandango); }
.rb-shape--moving .rb-shape__path { fill: var(--yellow); }

.rb-shape__label {
    position: relative;
    z-index: 1;
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--black);
    pointer-events: none;
    text-align: center;
    max-width: 225px;
}

.rb-shape--why .rb-shape__label { color: var(--white); }

.rb-shape--storage:is(:hover, :focus-visible) .rb-shape__path {
    filter: drop-shadow(0 10px 34px rgba(0, 174, 239, 0.5));
}

.rb-shape--why:is(:hover, :focus-visible) .rb-shape__path {
    filter: drop-shadow(0 10px 34px rgba(180, 30, 142, 0.5));
}

.rb-shape--moving:is(:hover, :focus-visible) .rb-shape__path {
    filter: drop-shadow(0 10px 34px rgba(255, 203, 5, 0.55));
}

/* ----- features (Why RuBox?) ----- */
.rb-feature-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ----- testimonials ----- */
.rb-quote-card {
    background-color: var(--white);
    border: 8px solid var(--fandango);
    border-radius: 48px;
    padding: 32px;
    max-width: 576px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.rb-quote-card--cerulean { border-color: var(--vivid-cerulean); }

.rb-quote-card__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 2px;
}

.rb-quote-card__role {
    font-size: 16px;
    color: var(--black);
}

.rb-quote-card__footer {
    margin-top: auto;
}

/* ----- interior page typography (reusable) ----- */
.rb-page-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.rb-section-heading {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.96px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.rb-lead {
    font-size: 20px;
    line-height: 30px;
    color: var(--text-primary);
}
.rb-lead--invert { color: var(--white); }

/* shared card title + body text (reused across every card type) */
.rb-card-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 28px;
    color: var(--text-primary);
    margin: 0 0 8px;
}
.rb-card-text {
    font-size: 18px;
    line-height: 28px;
    color: var(--text-primary);
}
.rb-feature-card .rb-card-title { margin-top: 16px; }

/* ----- content / feature rows (About) ----- */
.rb-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.rb-features-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

/* ----- how it works (numbered step cards) ----- */
.rb-step-card {
    background-color: var(--white);
    border: 5px solid var(--rb-step-color, var(--vivid-cerulean));
    border-radius: 28px;
    padding: 32px 24px;
    text-align: center;
    height: 100%;
}

.rb-step-card--cerulean { --rb-step-color: var(--vivid-cerulean); }
.rb-step-card--pear { --rb-step-color: var(--pear); }
.rb-step-card--yellow { --rb-step-color: var(--yellow); }
.rb-step-card--fandango { --rb-step-color: var(--fandango); }

.rb-step-card__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin: 0 auto 24px;
    background-color: var(--rb-step-color, var(--vivid-cerulean));
    color: var(--black);
    font-family: var(--heading-font);
    font-weight: 800;
    font-size: 18px;
}

.rb-step-card--fandango .rb-step-card__num { color: var(--white); }

/* ----- CTA banner ----- */
.rb-cta-banner {
    position: relative;
    overflow: hidden;
    background-color: var(--fandango);
    border-radius: 48px;
    padding: 48px 24px;
    color: var(--white);
}

.rb-cta-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.rb-cta-banner__watermark {
    position: absolute;
    right: -160px;
    bottom: -170px;
    z-index: 0;
    pointer-events: none;
}

.rb-cta-banner__watermark img {
    width: 480px;
    opacity: 0.1;
}

.rb-cta-banner__heading {
    color: var(--white);
    margin-bottom: 16px;
}

/* ----- advantages (alternating image rows) ----- */
.rb-advantage__title {
    font-size: 30px;
    font-weight: 800;
    line-height: 38px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* ----- spec badge (white pill: icon + two lines) ----- */
.rb-spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 16px;
}
.rb-spec-badge__icon {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}
.rb-spec-badge__icon img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.rb-spec-badge__still,
.rb-spec-badge__spin {
    transition: opacity 0.3s ease;
}
.rb-spec-badge__spin {
    opacity: 0;
}
.rb-spec-badge:hover .rb-spec-badge__still {
    opacity: 0;
}
.rb-spec-badge:hover .rb-spec-badge__spin {
    opacity: 1;
}
.rb-spec-badge__title {
    font-size: 24px;
    font-weight: 800;
    line-height: 32px;
    color: var(--text-primary);
}
.rb-spec-badge__sub {
    font-size: 16px;
    line-height: 24px;
    color: var(--black);
}
@media (prefers-reduced-motion: reduce) {
    .rb-spec-badge__spin { display: none; }
    .rb-spec-badge:hover .rb-spec-badge__still { opacity: 1; }
}

/* ----- info card (bordered, centered icon + text) ----- */
.rb-info-card {
    background-color: var(--white);
    border: 10px solid var(--rb-info-color, var(--vivid-cerulean));
    border-radius: 48px;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}
.rb-info-card--cerulean { --rb-info-color: var(--vivid-cerulean); }
.rb-info-card--pear { --rb-info-color: var(--pear); }
.rb-info-card--fandango { --rb-info-color: var(--fandango); }
.rb-info-card--yellow { --rb-info-color: var(--yellow); }
.rb-info-card .rb-icon-box { font-size: 24px; }

/* ----- our containers (moving / storing) ----- */
.rb-cc-card {
    background-color: var(--rb-cc-color, var(--pear));
    border-radius: 48px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.rb-cc-card--pear { --rb-cc-color: var(--pear); }
.rb-cc-card--cerulean { --rb-cc-color: var(--vivid-cerulean); }
.rb-cc-card__head {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.rb-cc-card__heading {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--black);
}
.rb-cc-card__sub {
    font-size: 22px;
    font-weight: 800;
    line-height: 30px;
    color: var(--text-primary);
}
.rb-cc-card__media {
    width: 100%;
    aspect-ratio: 7 / 5;
    border-radius: 24px;
    object-fit: cover;
}

.rb-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px 32px;
}
.rb-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 18px;
    line-height: 28px;
    color: var(--black);
}
.rb-check-item i {
    flex-shrink: 0;
    font-size: 22px;
    color: var(--text-primary);
    margin-top: 3px;
}

.rb-cc-arrow {
    align-self: flex-end;
    margin-top: auto;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: none;
    border-radius: 12px;
    background-color: var(--white);
    color: var(--fandango);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.rb-cc-arrow:is(:hover, :focus-visible) {
    background-color: var(--fandango);
    color: var(--white);
}
.rb-cc-arrow:focus-visible {
    outline: 3px solid var(--text-primary);
    outline-offset: 2px;
}
.rb-cc-arrow--left { align-self: flex-start; }

/* desktop stage: two cards side by side with a sliding image overlay */
.rb-cc-stage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
}
.rb-cc-image {
    position: absolute;
    top: 0;
    left: 0;
    width: calc((100% - 32px) / 2);
    height: 100%;
    border-radius: 48px;
    overflow: hidden;
    z-index: 3;
    transform: translateX(calc(100% + 32px));
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.rb-cc-stage.is-storing .rb-cc-image { transform: translateX(0); }
.rb-cc-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease 0.18s;
}
.rb-cc-image .rb-cc-photo--moving { opacity: 1; }
.rb-cc-stage.is-storing .rb-cc-image .rb-cc-photo--moving { opacity: 0; }
.rb-cc-stage.is-storing .rb-cc-image .rb-cc-photo--storing { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .rb-cc-image,
    .rb-cc-image img { transition: none; }
}

/* ----- contact (social buttons + map) ----- */
.rb-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    color: var(--white);
    font-size: 24px;
    transition: transform 0.2s ease;
}
.rb-social-link--facebook { background-color: var(--black); }
.rb-social-link--instagram { background-color: var(--vivid-cerulean); }
.rb-social-link:is(:hover, :focus-visible) { transform: translateY(-3px); }
.rb-social-link:focus-visible {
    outline: 3px solid var(--fandango);
    outline-offset: 2px;
}

.rb-map {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 32px;
}

.rb-card-text a {
    color: inherit;
    text-decoration: none;
}
.rb-card-text a:is(:hover, :focus-visible) { text-decoration: underline; }
.rb-feature-card .rb-check-list{
    row-gap: 8px;
}
/* ----- updates - 2026-07-13 ----- */

/* language toggle (pear pill dropdown) + vertical divider before the CTA */
.rb-nav__lang {
    margin-top: 8px;
}
.rb-nav__lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: var(--pear);
    color: var(--black);
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    border: none;
    border-radius: 9999px;
    padding: 6px 14px;
    transition: filter 0.2s ease;
}
.rb-nav__lang-toggle:is(:hover, :focus-visible) {
    filter: brightness(0.94);
}
.rb-nav__lang-toggle:focus-visible {
    outline: 3px solid var(--fandango);
    outline-offset: 2px;
}
.rb-nav__lang-toggle i {
    font-size: 16px;
}
.rb-nav__lang-menu {
    min-width: 5rem;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.rb-nav__lang-menu li + li {
    margin-top: 4px;
}
.rb-nav__lang-menu .dropdown-item {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-primary);
    border-radius: 8px;
    padding: 6px 12px;
}
.rb-nav__lang-menu .dropdown-item:is(:hover, :focus-visible) {
    background-color: var(--cream);
    color: var(--fandango);
}
.rb-nav__lang-menu .dropdown-item.active {
    background-color: var(--pear);
    color: var(--black);
}

@media (min-width: 992px) {
    .rb-nav__lang {
        margin-top: 0;
    }
    .rb-nav__cta {
        padding-left: 16px;
        border-left: 1px solid var(--border);
    }
}
/* min-width only — mobile-first upgrades */

@media (min-width: 768px) {
    .section-p {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .single-p { padding-bottom: 96px; }

    .rb-hero__card { padding: 112px 40px; border-radius: 56px; }
    .rb-hero__heading { font-size: 64px; }
    .rb-hero__visual { gap: 40px; }
    .rb-hero__arrow { font-size: 56px; }
    .rb-cube-face { width: 132px; height: 132px; padding: 8px; }

    .rb-intro__title { font-size: 72px; }

    .rb-shadow { --rb-shadow-offset: 20px; }

    .rb-page-title { font-size: 60px; }
    .rb-section-heading { font-size: 48px; }

    .rb-cta-banner { padding: 64px; }

    .rb-cc-card__heading { font-size: 48px; }
}

@media (min-width: 992px) {
    .mw-lg-576 { max-width: 576px; }

    .rb-nav__cta { margin-top: 0; margin-left: 8px; }

    .rb-hero__card { padding: 160px 32px; border-radius: 64px; }
    .rb-hero__heading { font-size: 72px; }

    .rb-cta-banner__inner {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .rb-footer__top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .rb-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .rb-feature-row{
        max-width: 480px;
    }

    .rb-cc-card .rb-check-list { grid-template-columns: 1fr 1fr; }
}
