/* Refonte front — composants (tokens.css requis) */

body.rf {
  padding-top: var(--header-h);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
}

header.rf-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--navy);
  padding: 0;
  text-align: left;
  width: 100%;
  box-shadow: var(--shadow-header);
}
.rf-header .rf-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
  padding: 8px 0;
}
header.rf-header nav ul.rf-nav {
  justify-content: flex-end;
  gap: 0 28px;
  flex-wrap: nowrap;
  min-width: 0;
}
.rf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.rf-brand img {
  height: 68px;
  width: auto;
}
.rf-bar .rf-brand span,
.rf-foot .rf-brand span {
  display: none;
}
.rf-nav {
  display: flex;
  align-items: center;
  gap: 0 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  flex-wrap: wrap;
}
.rf-nav > li { position: relative; }
.rf-nav a,
.rf-nav button.rf-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  background: none;
  border: none;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.rf-nav a:hover,
.rf-nav button.rf-link:hover { color: var(--lime); }
.rf-nav a.rf-cta,
.rf-header a.rf-cta,
.rf-header .rf-cta--nav {
  background: var(--lime) !important;
  color: var(--lime-ink) !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  margin-left: 8px;
}
.rf-nav a.rf-cta:hover,
.rf-header a.rf-cta:hover,
.rf-header .rf-cta--nav:hover {
  background: var(--lime-hover) !important;
  color: var(--lime-ink) !important;
}
.rf-header nav.d-lg-flex {
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.rf-header .rf-cta--nav {
  z-index: 2;
  margin-left: auto;
}
.rf-header .dropdown-toggle::after {
  display: inline-block !important;
  width: auto;
  height: auto;
  margin-left: 6px;
  vertical-align: 1px;
  border: 0 !important;
  content: "▾";
  font-size: 0.72em;
  line-height: 1;
  color: currentColor;
}
.rf-header .dropdown-menu {
  border: 0;
  border-radius: 12px;
  padding: 8px 0;
  margin-top: 8px;
  box-shadow: var(--shadow-card);
}
.rf-header .dropdown-item {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.3px;
  padding: 8px 16px;
}
.rf-header .dropdown-item:hover,
.rf-header .dropdown-item:focus {
  background: var(--lime-menu);
  color: var(--navy);
  font-weight: 600;
}
.rf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--lime);
  color: var(--lime-ink) !important;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 15px;
  letter-spacing: 0.2px;
  border: none;
  transition: transform 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.rf-cta:hover {
  background: var(--lime-hover);
  color: var(--lime-ink) !important;
  transform: scale(1.03);
}
.rf-cta--ghost {
  background: transparent;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.rf-cta--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white) !important;
}
.rf-cta--white {
  background: var(--white);
  color: var(--navy) !important;
}
.rf-cta--outline {
  background: transparent;
  color: var(--navy) !important;
  border: 1.5px solid var(--navy);
}
.rf-cta--outline:hover {
  background: var(--navy);
  color: var(--white) !important;
}
.rf-cta--sm {
  padding: 8px 16px;
  font-size: 12px;
}
.rf-cta--navy {
  background: var(--navy);
  color: var(--white) !important;
}
.rf-cta--navy:hover {
  background: var(--navy-hover);
  color: var(--white) !important;
}
.rf-burger {
  background: none;
  border: 0;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}
.rf-offcanvas {
  background: var(--navy);
  color: var(--white);
}
.rf-offcanvas .btn-close { filter: invert(1); }
.rf-offcanvas .rf-nav {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.rf-offcanvas .rf-nav a,
.rf-offcanvas .rf-nav button.rf-link { font-size: 18px; }
.rf-offcanvas .rf-cta { margin-left: 0; }
.rf-offcanvas .dropdown-menu { position: static !important; transform: none !important; width: 100%; }

/* Hero */
.rf-hero {
  position: relative;
  height: 620px;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.rf-hero video,
.rf-hero video.background-video,
.rf-hero .rf-hero-bg,
.rf-hero-yt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0 !important;
  overflow: hidden;
  pointer-events: none;
  background: var(--navy);
}
.rf-hero-yt iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78%;
  min-height: 100%;
  border: 0;
  transform: translate(-50%, -50%) scale(1.2);
  pointer-events: none;
}
.rf-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 38, 103, 0.72) 0%, rgba(7, 38, 103, 0.48) 42%, rgba(7, 38, 103, 0.78) 100%);
}
.rf-hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rf-kicker {
  font-family: var(--font-display);
  letter-spacing: 2.5px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.rf-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 18px;
}
.rf-hero h1 em {
  color: var(--lime);
  font-style: normal;
}
.rf-hero-date {
  font-size: 18px;
  margin-bottom: 22px;
}
.rf-hero-actions {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.rf-cd {
  display: flex;
  gap: 12px !important;
  justify-content: center;
  flex-wrap: nowrap;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: auto !important;
}
.rf-cd-unit {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 58px;
  text-align: center;
}
body.rf .countdown span,
body.rf .countdown .number,
.rf-hero .rf-cd .number,
.rf-cd-unit .number,
.rf-cd-val {
  font-family: var(--font-display);
  font-size: 22px !important;
  font-weight: 700;
  display: block;
  line-height: 1.15 !important;
}
body.rf .countdown small,
body.rf .countdown .label,
.rf-hero .rf-cd small,
.rf-cd-unit small,
.rf-cd-unit .label {
  font-size: 10px !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--on-dark);
  line-height: 1.2 !important;
}

.rf-home-media {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.rf-home-media--acgc { height: 200px; }

/* Sections */
.rf-section { padding: 72px 0; }
.rf-hero ~ .rf-section { padding: 88px 0; }
.rf-section--navy { background: var(--navy); color: var(--white); }
.rf-section--paper { background: var(--paper); }
.rf-section--deep { background: var(--navy-deep); color: var(--white); }
.rf-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
}
.rf-section--navy .rf-title,
.rf-section--deep .rf-title { color: var(--white); }
.rf-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 68ch;
}
.rf-section--navy .rf-lead,
.rf-section--deep .rf-lead { color: var(--on-dark); }
.rf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--navy);
  padding: 48px 64px;
  text-align: center;
}
.rf-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--white);
}
.rf-stats span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--lime);
  text-transform: uppercase;
}
.rf-formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.rf-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  height: 100%;
  color: var(--ink);
}
.rf-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 8px;
}
.rf-card .rf-km {
  font-family: var(--font-display);
  color: var(--lime);
  font-size: 26px;
  font-weight: 700;
}
.rf-card--navy {
  background: var(--navy-deep);
  color: var(--white);
}
.rf-card--navy .rf-title {
  color: var(--white);
}
.rf-card a { color: var(--navy); font-weight: 600; }
.rf-card--navy a { color: var(--lime); }
.rf-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.rf-news--3 {
  grid-template-columns: repeat(3, 1fr);
}
.rf-news article {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e5ea;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.rf-news-cover {
  display: block;
  margin: 0;
  line-height: 0;
}
.rf-news img,
.rf-news-cover img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.rf-news-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.rf-news-body p {
  flex: 1;
}
.rf-news small { color: #8a8f99; }
.rf-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 24px;
}
.rf-filters button {
  border: 1px solid rgba(7, 38, 103, 0.2);
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 13px;
}
.rf-filters button.is-on {
  background: var(--navy);
  color: var(--white);
}
.rf-mood {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.rf-mood img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}
.rf-mood--43 img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-position: center;
}
.rf-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.rf-logo-slot {
  width: 160px;
  height: 90px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  display: grid;
  place-items: center;
  padding: 10px;
}
.rf-logo-slot img { max-width: 100%; max-height: 70px; object-fit: contain; }
.rf-tier--naming .rf-logo-slot img { max-height: 100px; }
.rf-tier { margin-bottom: 36px; }
.rf-tier h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--navy);
  font-size: 18px;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 16px;
}

.rf-banner {
  min-height: 150px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy), var(--navy-deep));
  padding: 36px 0;
}
.rf-banner h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-align: left;
}
.rf-banner p {
  color: var(--on-dark);
  margin: 6px 0 0;
  max-width: 40rem;
  text-align: left;
}

.rf-timeline { display: grid; gap: 20px; }
.rf-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.rf-step-n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.rf-check { list-style: none; padding: 0; margin: 0; }
.rf-check li {
  padding: 6px 0 6px 22px;
  position: relative;
}
.rf-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
}

.rf-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.rf-tabs button {
  border: 0;
  background: var(--paper);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 13px;
}
.rf-tabs button.is-on { background: var(--navy); color: var(--white); }
.rf-pane { display: none; }
.rf-pane.is-on { display: block; }

.rf-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.rf-form input,
.rf-form select,
.rf-form textarea {
  width: 100%;
  background: var(--paper);
  border: none;
  border-radius: var(--radius-form);
  padding: 16px 18px;
  margin-bottom: 14px;
  font: 400 16px/1.5 var(--font-body);
  color: var(--navy);
}
.rf-form input:focus,
.rf-form textarea:focus {
  outline: 2px solid var(--lime);
}

.rf-placeholder {
  border: 1px dashed rgba(7, 38, 103, 0.25);
  background: rgba(7, 38, 103, 0.04);
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: var(--muted);
}

footer.rf-foot {
  background: var(--navy);
  color: var(--on-dark);
  padding: 40px 24px 28px;
  text-align: center;
}
.rf-foot-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
  justify-content: center;
}
.rf-foot-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.rf-foot-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(7, 38, 103, 0.55);
}
.rf-foot-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rf-foot-cta h2 {
  font-family: var(--font-display);
  color: var(--white);
  text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.35;
  margin-bottom: 24px;
  font-weight: 700;
}
.rf-foot-cta h2 span {
  color: var(--lime);
  font-size: clamp(28px, 4vw, 40px);
  display: block;
}
.rf-cta--prefoot {
  background: var(--white) !important;
  color: var(--navy) !important;
  gap: 12px;
  margin-bottom: 18px;
}
.rf-cta--prefoot:hover {
  background: var(--white) !important;
  color: var(--navy) !important;
}
.rf-cta-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
}
.rf-socials {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.rf-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.rf-social:hover {
  background: var(--lime);
  border-color: var(--lime);
}
.rf-social img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1);
}
.rf-social:hover img {
  filter: none;
}
.rf-foot-links {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}
.rf-foot-links a { color: var(--on-dark); font-size: 13px; text-decoration: none; }
.rf-foot-links a:hover { color: var(--lime); }
.rf-foot-contact { font-size: 13px; color: var(--on-dark); margin: 0 0 6px; }
.rf-foot-contact a { color: var(--on-dark); text-decoration: none; }
.rf-foot-contact a:hover { color: var(--lime); }
[dir="rtl"] .rf-foot-contact a,
[dir="rtl"] .rf-wa-num,
[dir="rtl"] .rf-tel {
  direction: ltr;
  unicode-bidi: isolate;
}
.rf-foot .rf-brand {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 4px;
}
.rf-foot .rf-brand img { height: 64px; }
.rf-copy {
  border-top: 1px solid #233a70;
  padding-top: 16px;
  margin-top: 22px;
  font-size: 12px;
  color: #8592b4;
}
.rf-copy a { color: #8592b4; text-decoration: none; }
.rf-copy a:hover { color: var(--lime); }

.rf-formats--navy .rf-card {
  background: var(--navy-deep);
  border: 1.5px solid #2c3d6b;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  color: var(--on-dark);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.rf-formats--navy .rf-card:hover {
  transform: translateY(-3px);
  border-color: var(--lime);
}
.rf-formats--navy .rf-card h3 { color: var(--white); }
.rf-formats--navy .rf-card p { color: var(--on-dark); font-size: 13px; }
.rf-card--photo { padding: 0; overflow: hidden; }
.rf-card--photo img { width: 100%; height: 120px; object-fit: cover; display: block; }
.rf-card--photo .rf-card-body { padding: 20px; }
.rf-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.rf-shot {
  background: var(--white);
  border: 1px solid #e2e5ea;
  border-radius: 12px;
  padding: 22px;
  text-decoration: none;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(20, 30, 60, 0.05);
}
.rf-shot--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.rf-shot--navy p { color: var(--on-dark); }
.rf-shot--navy strong { color: var(--lime); }
.rf-shot-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--paper);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.rf-shot--navy .rf-shot-ico { background: var(--lime); color: var(--navy); }
.rf-include-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rf-include-grid span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #2c3d6b;
  border-radius: 8px;
  padding: 16px;
  font-size: 13px;
  color: var(--on-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.15s ease;
}
.rf-include-grid span:hover { border-color: var(--lime); }
.rf-include-grid span::before { content: "✓"; color: var(--lime); font-weight: 700; }
.rf-relay-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: #eef7e8;
  border-radius: 12px;
  padding: 26px 30px;
}
.rf-map-stub {
  min-height: 140px;
  border-radius: 8px;
  background: repeating-linear-gradient(45deg, #e2e5ea, #e2e5ea 10px, #eceef1 10px, #eceef1 20px);
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #8a8f99;
  text-align: center;
  padding: 12px;
}
.rf-place-map-wrap {
  overflow: hidden;
  border-radius: 8px;
  background: #002960;
}
.rf-place-map {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  background: #002960;
}
.rf-place-map .leaflet-container {
  height: 100%;
  width: 100%;
  background: #002960;
  font-family: inherit;
}
.rf-place-map-link {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
}
.rf-places {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.rf-places li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid #e2e5ea;
  border-radius: 10px;
  padding: 14px 16px;
}
.rf-places strong {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  font-size: 15px;
}
.rf-places span {
  grid-column: 1;
  font-size: 13px;
  color: var(--muted);
}
.rf-places a {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.rf-news-article {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e5ea;
}
.rf-news-article > img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.rf-news-article-body {
  padding: 24px 28px 28px;
}
.rf-news-copy {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}
.rf-relay-plan {
  display: grid;
  gap: 12px;
}
.rf-relay-plan div {
  background: #f7f8fa;
  border-radius: 10px;
  padding: 14px 16px;
}
.rf-relay-plan b {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}
.rf-note {
  background: #eef7e8;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #4d7a34;
}
.rf-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.rf-metrics div {
  background: var(--paper);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.rf-metrics b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
}
.rf-metrics small { color: #8a8f99; font-size: 11px; text-transform: uppercase; }
.rf-tabs--lime button.is-on {
  background: var(--lime);
  color: var(--navy);
}
.rf-pick {
  border: 1px solid #e2e5ea;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 10px;
}
.rf-pick.is-on {
  border: 1.5px solid var(--lime);
  background: #f5fbf0;
}
.rf-faq-item {
  border-bottom: 1px solid #eceef1;
  padding: 16px 0;
}
.rf-faq-item h3 { font-size: 14px; font-weight: 700; margin: 0 0 6px; color: var(--navy); }
.rf-faq-item p { font-size: 13px; color: #6b7280; line-height: 1.6; margin: 0; }
.rf-card-accent { border-top: 4px solid var(--navy); }
.rf-card-accent--lime { border-top-color: var(--lime); }

.rf-tabs-sticky {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: #f7f8fa;
  padding: 6px 0;
}
.rf-album {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rf-album img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.rf-wa {
  display: block;
  background: var(--navy);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  margin-bottom: 16px;
}
.rf-wa-kicker {
  color: var(--lime);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}
.rf-wa-num {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
}
.rf-contact-photo {
  height: 200px;
  overflow: hidden;
}
.rf-contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rf-pay {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #eceef1;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.rf-pay-badge {
  width: 40px;
  height: 26px;
  background: var(--navy);
  border-radius: 3px;
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rf-pay span { font-size: 12px; color: #4d7a34; font-weight: 600; }
.rf-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  color: #454e5f;
  cursor: pointer;
}
.rf-agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lime); flex-shrink: 0; }
.rf-agree.is-warn { color: #a33; }
.rf-soldout {
  display: inline-block;
  background: var(--paper);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.rf-article {
  border-bottom: 1px solid #eceef1;
  padding-bottom: 22px;
  margin-bottom: 22px;
}
.rf-article h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--navy);
  text-transform: none;
}
.rf-article p,
.rf-article li { font-size: 14px; color: #454e5f; line-height: 1.7; }
.rf-kicker-page {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #6fa83f;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.rf-tier .rf-logos {
  display: grid;
  gap: 16px;
  justify-content: stretch;
}
.rf-tier--naming .rf-logo-slot,
.rf-tier--naming .rf-placeholder {
  width: 100%;
  height: 130px;
  border: 2px solid var(--navy);
  border-radius: 10px;
  box-shadow: none;
}
.rf-tier--diamond .rf-logos { grid-template-columns: repeat(2, 1fr); }
.rf-tier--diamond .rf-logo-slot { width: 100%; height: 110px; }
.rf-tier--gold .rf-logos { grid-template-columns: repeat(3, 1fr); }
.rf-tier--gold .rf-logo-slot { width: 100%; height: 88px; }
.rf-tier--silver .rf-logos { grid-template-columns: repeat(4, 1fr); }
.rf-tier--silver .rf-logo-slot { width: 100%; height: 70px; }
.rf-tier--media .rf-logos { grid-template-columns: repeat(5, 1fr); }
.rf-tier--media .rf-logo-slot { width: 100%; height: 56px; }
.rf-metric-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: 10px;
  padding: 18px 22px;
}
.rf-metric-callout b {
  font-family: var(--font-display);
  font-size: 30px;
  color: #6fa83f;
  white-space: nowrap;
}
.rf-cta-navy-box {
  text-align: center;
  padding: 28px;
  background: var(--navy);
  border-radius: 12px;
}
.rf-cta-navy-box p {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}
.rf-form input:focus,
.rf-form select:focus,
.rf-form textarea:focus,
.rf-card input:focus,
.rf-card select:focus,
.rf-card textarea:focus {
  outline: 2px solid var(--lime);
  box-shadow: none;
}
.rf-news-archive { display: none; }
.rf-news-archive.is-open {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 1280px) {
  .rf-nav a,
  .rf-nav button.rf-link { font-size: 12px; }
  header.rf-header nav ul.rf-nav { gap: 0 18px; }
  .rf-brand img { height: 56px; }
}

@media (max-width: 991px) {
  .rf-formats,
  .rf-news,
  .rf-mood,
  .rf-stats,
  .rf-shots,
  .rf-include-grid,
  .rf-metrics,
  .rf-album,
  .rf-tier--gold .rf-logos,
  .rf-tier--silver .rf-logos,
  .rf-tier--media .rf-logos { grid-template-columns: 1fr 1fr; }
  header.rf-header nav ul.rf-nav { flex-wrap: wrap; }
  .rf-brand img { height: 52px; }
}
@media (max-width: 768px) {
  :root { --header-h: 80px; }
  .rf-brand img { height: 48px; }
  .rf-stats,
  .rf-formats,
  .rf-news,
  .rf-mood,
  .rf-album,
  .rf-tier--diamond .rf-logos,
  .rf-tier--gold .rf-logos,
  .rf-tier--silver .rf-logos,
  .rf-tier--media .rf-logos { grid-template-columns: 1fr; }
  .rf-stats { padding: 28px 16px; }
  .rf-foot-links { gap: 12px 22px; }
  .rf-hero { min-height: 70dvh; height: auto; }
  .rf-cd { flex-wrap: wrap; }
}

/* Currency select: caret must sit after the label, not on it */
body.rf #currencySelector.rf-currency,
body.rf select.rf-currency {
  width: auto;
  min-width: 12.5rem;
  max-width: 100%;
  padding: 8px 2.6rem 8px 14px !important;
  background-position: right 12px center;
  background-size: 12px 8px;
  font-size: 13px;
  line-height: 1.3;
  text-transform: none;
  color: var(--navy);
}

/* Home entrance — brand poster reveal, transform/opacity only */
@keyframes rf-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.rf-hero-inner > * {
  animation: rf-rise 0.7s var(--ease-out-expo) both;
}
.rf-hero-inner > *:nth-child(1) { animation-delay: 0.06s; }
.rf-hero-inner > *:nth-child(2) { animation-delay: 0.14s; }
.rf-hero-inner > *:nth-child(3) { animation-delay: 0.22s; }
.rf-hero-inner > *:nth-child(4) { animation-delay: 0.3s; }
.rf-hero-inner > *:nth-child(5) { animation-delay: 0.4s; }
.rf-cd-unit {
  animation: rf-rise 0.55s var(--ease-out-expo) both;
  animation-delay: calc(0.46s + var(--i, 0) * 0.07s);
}
.rf-motion .rf-reveal {
  opacity: 0;
  transform: translateY(20px);
}
.rf-motion .rf-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}
.rf-motion .rf-reveal [data-rf-stagger] {
  opacity: 0;
  transform: translateY(14px);
}
.rf-motion .rf-reveal.is-in [data-rf-stagger] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s var(--ease-out-expo), transform 0.55s var(--ease-out-expo);
  transition-delay: calc(var(--i, 0) * 0.08s);
}

.rf-course-map {
  height: min(74vh, 560px);
  min-height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: #002960;
  border: 1px solid rgba(0, 41, 96, 0.4);
}
.rf-course-map .leaflet-container {
  height: 100%;
  width: 100%;
  font-family: inherit;
  background: #002960;
}
.rf-course-map .leaflet-control-attribution,
.rf-place-map .leaflet-control-attribution,
#pos-map .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(0, 41, 96, 0.82);
  color: rgba(255, 255, 255, 0.5);
}
.rf-course-map .leaflet-control-attribution a,
.rf-place-map .leaflet-control-attribution a,
#pos-map .leaflet-control-attribution a {
  color: var(--lime);
}
.rf-course-map .leaflet-control-zoom a,
.rf-place-map .leaflet-control-zoom a,
#pos-map .leaflet-control-zoom a {
  width: 32px;
  height: 32px;
  line-height: 32px;
  background: #002960;
  color: var(--lime);
  border: 1px solid rgba(131, 251, 6, 0.35);
}
.rf-course-map .leaflet-control-zoom a:hover,
.rf-place-map .leaflet-control-zoom a:hover,
#pos-map .leaflet-control-zoom a:hover {
  background: #072667;
  color: #fff;
}
.rf-course-err {
  margin: 0;
  padding: 24px;
  color: var(--on-dark);
}
.rf-map-ends,
.rf-map-km,
.rf-map-place,
.rf-map-arrow {
  background: none !important;
  border: 0 !important;
  overflow: visible !important;
}
.rf-map-ends-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}
.rf-map-ends-dots i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #002960;
}
.rf-map-ends-dots i.is-start {
  background: #fff;
}
.rf-map-ends-dots i.is-finish {
  background: #fff200;
}
.rf-map-ends-txt {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 8px #002960, 0 0 12px #002960;
}
.rf-map-ends-txt b {
  font-weight: 700;
}
.rf-map-ends-txt b.is-start {
  color: #fff;
}
.rf-map-ends-txt b.is-finish {
  color: #fff200;
}
.rf-map-km {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rf-map-km b {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-shadow: 0 1px 8px #002960, 0 0 10px #002960;
}
.rf-map-place span {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 10px #002960, 0 0 14px #002960;
}
.rf-map-place.is-ar span {
  font-family: Cairo, sans-serif;
  letter-spacing: 0;
}
.rf-map-arrow i {
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 9px solid #0b3a7a;
  filter: drop-shadow(0 0 1px #fff200);
}
@media (max-width: 700px) {
  .rf-course-map:not(.is-detailed) .rf-map-place {
    display: none;
  }
}
.rf-elev {
  margin-top: 16px;
}
.rf-elev-title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.rf-elev-card {
  background: #002960;
  border-radius: 16px;
  border: 1px solid rgba(131, 251, 6, 0.22);
  padding: 14px 12px 10px;
}
.rf-elev-svg {
  display: block;
  width: 100%;
  height: 120px;
}
.rf-elev-svg path[stroke],
.rf-elev-svg circle {
  vector-effect: non-scaling-stroke;
}
.rf-elev-stats {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.rf-elev-stats div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.rf-elev-stats small {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.rf-elev-stats b {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  padding: 0 4px;
  border-radius: 4px;
  width: fit-content;
}
.rf-elev-stats b.is-lime {
  color: #002960;
  background: var(--lime);
}
.rf-course-gpx {
  margin-top: 10px;
  font-size: 13px;
}
.rf-course-gpx a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .rf-hero-inner > *,
  .rf-cd-unit,
  .rf-motion .rf-reveal,
  .rf-motion .rf-reveal [data-rf-stagger] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
