/* ================================================================
   STYLSTAV.CSS
   Stavebniny Stylstav storefront: info strip above the header, logo,
   and the homepage sections (Frontend/Home/Section/*). Colours come
   from the tokens in new/style.css; nothing here hardcodes the palette
   except the roof-line gradient, which is the logo's own.
   ================================================================ */

/* === HEADER: info strip + logo === */
:root {
  --topbar-h: 36px;
  --nav-h: 112px;   /* info strip + 76px bar */
}

.rl-nav { flex-direction: column; align-items: stretch; }
.rl-nav > .rl-container { flex: 1; display: flex; align-items: center; }
.rl-nav__inner { width: 100%; }
.rl-nav__links { margin-bottom: 0; padding-left: 0; }  /* bootstrap's ul spacing pushed the links off-centre */

.rl-topbar {
  flex: none;
  height: var(--topbar-h);
  background: var(--c-dark);
  color: var(--c-dark-ink-2);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  position: relative;
}
/* the logo's roof lines, as a hairline under the strip */
.rl-topbar::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--g-roof);
}
.rl-topbar .rl-container { height: 100%; }
.rl-topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.rl-topbar__list { display: flex; align-items: center; gap: var(--sp-6); margin: 0; padding: 0; }
.rl-topbar__item { display: inline-flex; align-items: center; gap: var(--sp-2); white-space: nowrap; }
.rl-topbar__item i { color: #6FB1FF; font-size: 0.8em; }
.rl-topbar a { color: var(--c-dark-ink); transition: color var(--t-fast); }
.rl-topbar a:hover { color: #6FB1FF; }

/* Logo (2026-11-07): mark = images/logo-reservations.svg, name = Settings webName as text */
.rl-nav__logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.rl-nav__logo-name { font-size: var(--text-lg); line-height: 1; }
.rl-footer__logo { width: fit-content; align-self: flex-start; }
/* Navy tile would vanish on the navy footer - thin ring keeps its edge */
.rl-footer__logo-mark { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10.5px; box-shadow: 0 0 0 1px var(--c-dark-line); }
.rl-footer__links { padding-left: 0; }  /* bootstrap's ul indent */

@media (max-width: 1080px) {
  .rl-topbar__item--address { display: none; }
}
@media (max-width: 860px) {
  :root { --nav-h: 72px; }
  .rl-topbar { display: none; }
  .rl-nav__logo-mark { width: 38px; height: 38px; }
}

/* === SHARED HOMEPAGE PIECES === */
.rl-hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8EC2FF;
}
.rl-hp-eyebrow::before {
  content: '';
  width: 36px; height: 3px;
  background: var(--g-roof);
}

.rl-hp-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}
.rl-hp-head .section-label { margin-bottom: var(--sp-2); }
.rl-hp-head .section-sub { margin-top: var(--sp-3); }
.rl-hp-head--center { justify-content: center; text-align: center; }
/* title underline: short roof-gradient rule */
.rl-hp-head .section-title::after {
  content: '';
  display: block;
  width: 56px; height: 4px;
  margin-top: var(--sp-4);
  background: var(--g-roof);
}
.rl-hp-head--center .section-title::after { margin-left: auto; margin-right: auto; }

body.rl-landing .rl-section { padding-top: var(--sp-20); padding-bottom: var(--sp-20); }

/* === HERO === */
.rl-hp-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--sp-16));
  padding-bottom: calc(var(--sp-20) + var(--sp-12));  /* room for the benefits strip overlap */
  color: var(--c-dark-ink);
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(0,112,240,0.42) 0%, transparent 60%),
    linear-gradient(135deg, #071A3A 0%, var(--c-dark) 45%, #0C3B86 100%);
}
/* faint blueprint grid */
.rl-hp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.rl-hp-hero__roof {
  position: absolute;
  right: -4%; bottom: 0;
  width: min(72%, 980px);
  height: auto;
  opacity: 0.55;
  pointer-events: none;
}
.rl-hp-hero .rl-container { position: relative; }
.rl-hp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: var(--sp-16);
  align-items: center;
}
.rl-hp-hero__title {
  margin: var(--sp-5) 0 var(--sp-6);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--c-white);
  text-wrap: balance;
}
.rl-hp-hero__title em { font-style: normal; color: #6FB1FF; }
.rl-hp-hero__lead {
  max-width: 56ch;
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--c-dark-ink-2);
}
.rl-hp-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-8); }
.rl-hp-hero .btn-primary { box-shadow: 0 8px 24px rgba(0,112,240,0.45); }
.rl-hp-hero .btn-outline { color: var(--c-white); border-color: rgba(255,255,255,0.38); }
.rl-hp-hero .btn-outline:hover { border-color: var(--c-white); background: rgba(255,255,255,0.08); }

.rl-hp-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-10);
  margin: var(--sp-12) 0 0;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.rl-hp-hero__stat { display: flex; flex-direction: column-reverse; }
.rl-hp-hero__stat dd {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-4xl);
  line-height: 1;
  color: var(--c-white);
  font-variant-numeric: tabular-nums;
}
.rl-hp-hero__stat dt {
  margin-top: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-dark-ink-2);
}

/* Visit-us card */
.rl-hp-visit {
  position: relative;
  padding: var(--sp-8);
  background: var(--c-white);
  color: var(--c-brown);
  border-radius: var(--r-2xl);
  box-shadow: 0 24px 60px rgba(3,14,36,0.45);
}
.rl-hp-visit::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 5px;
  background: var(--g-roof);
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}
.rl-hp-visit__title {
  margin: 0 0 var(--sp-6);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--c-charcoal);
}
.rl-hp-visit__label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-3);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-text);
}
.rl-hp-visit__hours { margin: 0 0 var(--sp-6); padding: 0; }
.rl-hp-visit__hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-cream);
  font-size: var(--text-sm);
}
.rl-hp-visit__hours strong { color: var(--c-charcoal); font-variant-numeric: tabular-nums; }
.rl-hp-visit__address { margin: 0 0 var(--sp-6); font-size: var(--text-sm); color: var(--c-brown); }
.rl-hp-visit__phone {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-accent);
  color: var(--c-white);
  border-radius: var(--r-lg);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.1;
  letter-spacing: 0.02em;
  transition: background var(--t-fast), transform var(--t-fast);
}
.rl-hp-visit__phone:hover { background: var(--c-accent-hov); color: var(--c-white); transform: translateY(-2px); }
.rl-hp-visit__phone span { display: flex; flex-direction: column; }
.rl-hp-visit__phone small {
  font-family: var(--font-sans);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* === BENEFITS STRIP === */
.rl-hp-usp { position: relative; z-index: 2; margin-top: calc(-1 * var(--sp-12)); }
.rl-hp-usp__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0; padding: 0;
  background: var(--c-white);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.rl-hp-usp__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border-left: 1px solid var(--c-cream);
}
.rl-hp-usp__item:first-child { border-left: 0; }
.rl-hp-usp__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  background: var(--c-sage-bg);
  color: var(--c-accent);
  border-radius: var(--r-lg);
  font-size: 1.25rem;
}
.rl-hp-usp__body { display: flex; flex-direction: column; gap: 2px; font-size: var(--text-sm); color: var(--c-muted); line-height: 1.45; }
.rl-hp-usp__body strong { font-size: 1rem; color: var(--c-charcoal); }

/* === CATEGORIES === */
.rl-hp-cats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--sp-4);
  margin: 0; padding: 0;
}
.rl-hp-cat {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  height: 100%;
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-white);
  border: 1px solid var(--c-beige);
  border-radius: var(--r-xl);
  color: var(--c-charcoal);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
/* roof-gradient edge slides in on hover */
.rl-hp-cat::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--g-roof);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.rl-hp-cat:hover,
.rl-hp-cat:focus-visible {
  border-color: var(--c-accent);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
  color: var(--c-accent-text);
}
.rl-hp-cat:hover::after,
.rl-hp-cat:focus-visible::after { transform: scaleX(1); }
.rl-hp-cat__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--c-sage-bg);
  color: var(--c-olive);
  border-radius: var(--r-lg);
  font-size: 1.15rem;
  transition: background var(--t-base), color var(--t-base);
}
.rl-hp-cat:hover .rl-hp-cat__icon { background: var(--c-accent); color: var(--c-white); }
.rl-hp-cat__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--text-md);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.rl-hp-cat__count { margin-left: auto; font-size: var(--text-xs); color: var(--c-light); font-variant-numeric: tabular-nums; }
/* photo variant (real categories with an image) */
.rl-hp-cat--photo { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.rl-hp-cat--photo .rl-hp-cat__media { display: block; aspect-ratio: 4 / 3; background: var(--c-cream); overflow: hidden; }
.rl-hp-cat--photo .rl-hp-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.rl-hp-cat--photo:hover .rl-hp-cat__media img { transform: scale(1.05); }
.rl-hp-cat--photo .rl-hp-cat__name { padding: var(--sp-4) var(--sp-5); }
.rl-hp-cat--photo .rl-hp-cat__count { position: absolute; top: var(--sp-3); right: var(--sp-3); padding: 2px var(--sp-2); background: var(--c-white); border-radius: var(--r-md); color: var(--c-brown); }

/* === PROMO BANNERS === */
.rl-hp-promo__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6); }
.rl-hp-promo__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
  padding: var(--sp-10);
  border-radius: var(--r-2xl);
  overflow: hidden;
  color: var(--c-white);
  background: linear-gradient(120deg, var(--c-dark) 0%, #0C4CAE 60%, var(--c-brand) 100%);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.rl-hp-promo__card--roof { background: linear-gradient(120deg, #3A1C7A 0%, #8A2C9E 55%, #E0123C 100%); }
.rl-hp-promo__card:hover { transform: translateY(-4px); box-shadow: var(--sh-xl); color: var(--c-white); }
.rl-hp-promo__tag {
  padding: var(--sp-1) var(--sp-3);
  background: rgba(255,255,255,0.16);
  border-radius: var(--r-md);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rl-hp-promo__title {
  max-width: 16ch;
  margin-top: var(--sp-4);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.rl-hp-promo__text { max-width: 34ch; margin-top: var(--sp-3); font-size: var(--text-sm); line-height: 1.55; opacity: 0.88; }
.rl-hp-promo__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: auto;
  padding-top: var(--sp-6);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rl-hp-promo__cta i { transition: transform var(--t-base); }
.rl-hp-promo__card:hover .rl-hp-promo__cta i { transform: translateX(5px); }
.rl-hp-promo__mark {
  position: absolute;
  right: -0.08em; bottom: -0.16em;
  font-size: 13rem;
  line-height: 1;
  opacity: 0.13;
  pointer-events: none;
}

/* === PRODUCTS === */
.rl-hp-products--tint { background: var(--c-white); }
.rl-hp-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-6);
}

/* === ABOUT === */
.rl-hp-about { background: var(--c-white); }
.rl-hp-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-16); align-items: center; }
.rl-hp-about .section-title::after {
  content: '';
  display: block;
  width: 56px; height: 4px;
  margin-top: var(--sp-4);
  background: var(--g-roof);
}
.rl-hp-about__text { margin: var(--sp-6) 0 var(--sp-8); font-size: var(--text-md); line-height: 1.7; color: var(--c-muted); max-width: 58ch; }
.rl-hp-about__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); margin: 0; padding: 0; }
.rl-hp-about__points li {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--c-ivory);
  border: 1px solid var(--c-cream);
  border-radius: var(--r-xl);
  font-weight: 600;
  line-height: 1.35;
  color: var(--c-charcoal);
}
.rl-hp-about__num {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-3xl);
  line-height: 1;
  color: var(--c-accent);
  font-variant-numeric: tabular-nums;
}

/* === BRANDS === */
.rl-hp-brands__list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin: 0; padding: 0; }
.rl-hp-brands__item {
  padding: var(--sp-3) var(--sp-6);
  background: var(--c-white);
  border: 1px solid var(--c-beige);
  border-radius: var(--r-lg);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--text-md);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-sage);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.rl-hp-brands__item:hover { color: var(--c-accent-text); border-color: var(--c-accent); }

/* === CONTACT CTA === */
.rl-hp-cta { padding-bottom: var(--sp-20); }
.rl-hp-cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-10);
  padding: var(--sp-12);
  border-radius: var(--r-2xl);
  overflow: hidden;
  color: var(--c-white);
  background: linear-gradient(120deg, #071A3A 0%, var(--c-dark) 40%, var(--c-brand) 100%);
}
.rl-hp-cta__inner::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #FF0028, #8850FF);
}
.rl-hp-cta__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--c-white);
  text-wrap: balance;
}
.rl-hp-cta__text { margin: var(--sp-3) 0 0; color: var(--c-dark-ink-2); }
.rl-hp-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-6); flex: none; }
.rl-hp-cta__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-2xl);
  letter-spacing: 0.02em;
  color: var(--c-white);
  white-space: nowrap;
}
.rl-hp-cta__phone:hover { color: #B9DAFF; }
.rl-hp-cta__btn { background: var(--c-white); color: var(--c-dark); }
.rl-hp-cta__btn:hover { background: var(--c-sage-bg); color: var(--c-dark); transform: translateY(-2px); }

/* === RESPONSIVE === */
@media (max-width: 1080px) {
  .rl-hp-usp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rl-hp-usp__item:nth-child(3) { border-left: 0; }
  .rl-hp-usp__item:nth-child(n+3) { border-top: 1px solid var(--c-cream); }
}
@media (max-width: 900px) {
  .rl-hp-hero { padding-top: calc(var(--nav-h) + var(--sp-10)); }
  .rl-hp-hero__grid,
  .rl-hp-about__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-10); }
  .rl-hp-hero__roof { width: 120%; opacity: 0.3; }
  .rl-hp-promo__grid { grid-template-columns: minmax(0, 1fr); }
  .rl-hp-head { flex-direction: column; align-items: flex-start; gap: var(--sp-5); }
  .rl-hp-head--center { align-items: center; }
  .rl-hp-cta__inner { flex-direction: column; align-items: flex-start; padding: var(--sp-8); }
}
@media (max-width: 560px) {
  .rl-hp-usp__grid,
  .rl-hp-about__points { grid-template-columns: minmax(0, 1fr); }
  .rl-hp-usp__item { border-left: 0; border-top: 1px solid var(--c-cream); }
  .rl-hp-usp__item:first-child { border-top: 0; }
  .rl-hp-hero__stats { gap: var(--sp-6); }
  .rl-hp-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
  .rl-hp-cat { flex-direction: column; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-4); }
  .rl-hp-promo__card { padding: var(--sp-6); min-height: 220px; }
  .rl-hp-cta__phone { font-size: var(--text-xl); }
}
@media (prefers-reduced-motion: reduce) {
  .rl-hp-cat, .rl-hp-cat::after, .rl-hp-promo__card, .rl-hp-promo__cta i,
  .rl-hp-visit__phone, .rl-hp-cat--photo .rl-hp-cat__media img { transition: none; }
}

/* === GALLERY STRIP (Frontend/_Sections/Gallery/strip.blade.php) ===
   Several images side by side on a scroll-snap track; the partial's script
   rolls it one image at a time. 4 across on desktop, fewer as it narrows. */
.rl-strip { --strip-n: 4; --strip-gap: var(--sp-4); margin: var(--sp-12) 0 var(--sp-16); }
.rl-strip__frame { position: relative; }
.rl-strip__track {
  display: flex;
  gap: var(--strip-gap);
  margin: 0; padding: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--r-xl);
}
.rl-strip__track::-webkit-scrollbar { display: none; }
.rl-strip__track:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 4px; }
.rl-strip__item {
  flex: 0 0 calc((100% - (var(--strip-n) - 1) * var(--strip-gap)) / var(--strip-n));
  scroll-snap-align: start;
}
.rl-strip__link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--c-cream);
  box-shadow: var(--sh-sm);
}
/* !important: Str::image() puts h-auto / img-fluid on the picture and img */
.rl-strip__link picture { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; }
.rl-strip__img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform var(--t-slow); }
.rl-strip__link:hover .rl-strip__img { transform: scale(1.06); }
/* roof-gradient edge on hover, as on the homepage category tiles */
.rl-strip__link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--g-roof);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.rl-strip__link:hover::after,
.rl-strip__link:focus-visible::after { transform: scaleX(1); }

.rl-strip__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--c-white);
  color: var(--c-dark);
  border-radius: var(--r-full);
  box-shadow: var(--sh-md);
  font-size: 1.25rem;
  transform: translateY(-50%);
  transition: background var(--t-fast), color var(--t-fast);
}
.rl-strip__nav:hover { background: var(--c-accent); color: var(--c-white); }
.rl-strip__nav--prev { left: -22px; }
.rl-strip__nav--next { right: -22px; }
.rl-strip--static .rl-strip__nav { display: none; }

@media (max-width: 1080px) { .rl-strip { --strip-n: 3; } }
@media (max-width: 720px)  { .rl-strip { --strip-n: 2; --strip-gap: var(--sp-3); } .rl-strip__nav--prev { left: var(--sp-2); } .rl-strip__nav--next { right: var(--sp-2); } }
@media (max-width: 440px)  { .rl-strip { --strip-n: 1.25; } }
@media (prefers-reduced-motion: reduce) {
  .rl-strip__img, .rl-strip__link::after { transition: none; }
}
.rl-strip__link { cursor: zoom-in; }

/* === LIGHTBOX (native <dialog>, opened from the gallery strip) === */
.rl-lightbox {
  width: 100vw; height: 100vh;
  max-width: none; max-height: none;
  margin: 0; padding: var(--sp-12) var(--sp-16);
  border: 0;
  background: transparent;
  overflow: hidden;
}
.rl-lightbox[open] { display: grid; place-items: center; }
.rl-lightbox::backdrop { background: rgba(4,14,34,0.92); }
.rl-lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 2 * var(--sp-12));
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.rl-lightbox__count {
  position: absolute;
  left: 50%; bottom: var(--sp-4);
  transform: translateX(-50%);
  color: var(--c-dark-ink-2);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.rl-lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.12);
  color: var(--c-white);
  border-radius: var(--r-full);
  font-size: 1.4rem;
  transition: background var(--t-fast);
}
.rl-lightbox__btn:hover,
.rl-lightbox__btn:focus-visible { background: var(--c-accent); }
.rl-lightbox__btn--close { top: var(--sp-4); right: var(--sp-4); }
.rl-lightbox__btn--prev { left: var(--sp-4); top: 50%; transform: translateY(-50%); }
.rl-lightbox__btn--next { right: var(--sp-4); top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .rl-lightbox { padding: var(--sp-16) var(--sp-3); }
  .rl-lightbox__btn--prev { left: var(--sp-2); }
  .rl-lightbox__btn--next { right: var(--sp-2); }
}
