/* ================================================================
   DATAWEB.CSS
   Rozvaděč online: info strip above the header, logo, and the homepage
   sections (Frontend/Home/Section/*). The file name is historical — the
   site was "Dataweb store" until 2026-11-24 — and the `rl-hp-*` class
   names are not. Colours come from the tokens in new/style.css; nothing
   here hardcodes the palette - the roof-line gradient included (--g-roof,
   --g-roof-v).
   ================================================================ */

/* === 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;
}
/* accent gradient (ex-roof-lines, see --g-roof), 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: var(--c-accent-dark); font-size: 0.8em; }
.rl-topbar a { color: var(--c-dark-ink); transition: color var(--t-fast); }
.rl-topbar a:hover { color: var(--c-accent-dark); }

/*.rl-nav__logo-img { height: 50px; width: auto; }*/
.rl-footer__logo-chip {
  display: inline-flex;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-white);
  border-radius: var(--r-lg);
}
.rl-footer__logo-chip img { height: 44px; width: auto; }
.rl-footer__logo-chip { width: fit-content; align-self: flex-start; }
.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-img { height: 42px; }
}

/* === 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: var(--c-accent-dark);
}
.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(var(--c-accent-rgb), 0.26) 0%, transparent 60%),
    linear-gradient(135deg, var(--c-dark-deep) 0%, var(--c-dark) 45%, var(--c-dark-lift) 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__schema {
  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: var(--c-accent-dark); }
.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(var(--c-accent-rgb), 0.40); }
.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);
}

/* Hero checklist: the three things the planner does, under the lead */
.rl-hp-hero__points { margin: var(--sp-6) 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.rl-hp-hero__points li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--c-dark-ink);
}
.rl-hp-hero__points i {
  flex: none;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: rgba(var(--c-accent-rgb), 0.20);
  color: var(--c-accent-dark);
  font-size: 0.8rem;
}

/* Price card — replaces the shop's opening-hours card. The first question on
   a product page is what it costs, and the figures come from sb_settings. */
.rl-hp-price {
  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-price::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-price__title {
  margin: 0 0 var(--sp-5);
  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-price__list { margin: 0; padding: 0; }
.rl-hp-price__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-cream);
}
.rl-hp-price__row:last-child { border-bottom: 0; }
.rl-hp-price__label { font-size: var(--text-sm); color: var(--c-muted); }
.rl-hp-price__value {
  flex: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--c-charcoal);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rl-hp-price__row--free .rl-hp-price__value { color: var(--c-accent-text); text-transform: uppercase; }
.rl-hp-price__note { margin: var(--sp-4) 0 var(--sp-6); font-size: var(--text-xs); line-height: 1.6; color: var(--c-light); }
.rl-hp-price__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  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-lg);
  letter-spacing: 0.02em;
  transition: background var(--t-fast), transform var(--t-fast);
}
.rl-hp-price__cta:hover { background: var(--c-accent-hov); color: var(--c-white); transform: translateY(-2px); }
/* === 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); }

/* === PRICING === */
.rl-hp-pricing { background: var(--c-white); }
.rl-hp-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
  align-items: stretch;
}
/* Two cards when the access tier is switched off in the administration */
.rl-hp-pricing__grid:has(.rl-hp-plan:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin: 0 auto; }
.rl-hp-plan {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-8);
  background: var(--c-ivory);
  border: 1px solid var(--c-beige);
  border-radius: var(--r-2xl);
}
.rl-hp-plan--featured {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: var(--c-dark-ink);
  box-shadow: var(--sh-lg);
}
.rl-hp-plan__name {
  margin: 0;
  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-plan--featured .rl-hp-plan__name { color: var(--c-accent-dark); }
.rl-hp-plan__price {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-4xl);
  line-height: 1;
  color: var(--c-charcoal);
  font-variant-numeric: tabular-nums;
}
.rl-hp-plan--featured .rl-hp-plan__price { color: var(--c-white); }
.rl-hp-plan__currency { font-size: var(--text-xl); }
.rl-hp-plan__vat { margin: 0; font-size: var(--text-2xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-light); }
.rl-hp-plan__note { margin: 0; font-size: var(--text-sm); line-height: 1.6; color: var(--c-muted); }
.rl-hp-plan--featured .rl-hp-plan__note { color: var(--c-dark-ink-2); }
.rl-hp-plan .btn { margin-top: auto; align-self: flex-start; }
.rl-hp-plan--featured .btn-primary { background: var(--c-white); color: var(--c-dark); }
.rl-hp-plan--featured .btn-primary:hover { background: var(--c-sage-bg); color: var(--c-dark); }
.rl-hp-pricing__note,
.rl-hp-pricing__status {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  max-width: 68ch;
  margin: var(--sp-8) auto 0;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--c-muted);
  text-align: left;
}
.rl-hp-pricing__note i,
.rl-hp-pricing__status i { margin-top: 0.2rem; color: var(--c-accent-text); }
.rl-hp-pricing__status {
  margin-top: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-ivory);
  border-left: 3px solid var(--c-gold);
  border-radius: var(--r-md);
}
.rl-hp-pricing__status i { color: var(--c-gold); }

/* === MATERIAL / SHOP === */
.rl-hp-shop__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-16);
  align-items: center;
}
.rl-hp-shop__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-shop__note { margin: var(--sp-6) 0 0; font-size: var(--text-sm); line-height: 1.6; color: var(--c-light); max-width: 58ch; }
.rl-hp-shop__points { display: grid; gap: var(--sp-3); margin: 0; padding: 0; }
.rl-hp-shop__points li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--c-brown);
}
.rl-hp-shop__points i {
  flex: none;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: var(--c-sage-bg);
  color: var(--c-accent-text);
  font-size: 0.7rem;
}

/* === FAQ ON THE HOMEPAGE === */
.rl-hp-faq { background: var(--c-white); }
.rl-hp-faq__inner { max-width: 820px; margin: 0 auto; }
.rl-hp-faq__more { margin: var(--sp-8) 0 0; text-align: center; }
.rl-hp-faq__more a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  color: var(--c-accent-text);
}
.rl-hp-faq__more a:hover { color: var(--c-accent-hov); }
.rl-hp-faq__more i { transition: transform var(--t-base); }
.rl-hp-faq__more a:hover i { transform: translateX(4px); }

/* The /faq page uses the same accordion on the page background */
.rl-faq-page { max-width: 820px; margin: 0 auto; }

/* The design system draws these icon tiles around an <svg>; the homepage
   feeds them Font Awesome <i> elements, which need the size and colour. */
.step-card__icon i,
.feat-item__icon i { font-size: 1.35rem; color: var(--c-olive); }
/* === 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);
}

/* === WHAT YOU GET (Frontend/Home/Section/output.blade.php) ===
   Still named rl-hp-about: same two-column block with numbered points, the
   about-us words replaced by the contents of the document. */
.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;
}

/* === 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, var(--c-dark-deep) 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: var(--g-roof-v);
}
.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: var(--c-dark-ink); }
.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); }
  .rl-hp-pricing__grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .rl-hp-hero { padding-top: calc(var(--nav-h) + var(--sp-10)); }
  .rl-hp-hero__grid,
  .rl-hp-about__grid,
  .rl-hp-shop__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-10); }
  .rl-hp-hero__schema { width: 120%; opacity: 0.3; }
  .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-price { padding: var(--sp-6); }
  .rl-hp-plan { padding: var(--sp-6); }
  .rl-hp-cta__phone { font-size: var(--text-xl); }
}
@media (prefers-reduced-motion: reduce) {
  .rl-hp-price__cta, .rl-hp-faq__more i { 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); }
}

/* === DEMO SHOP NOTICE (Frontend/Basket/demo_notice.blade.php) ===
   checkout summary + order confirmation: showcase shop, payments not refunded */
.rl-demo-notice {
  position: relative;
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6) var(--sp-5) var(--sp-8);
  background: #FFF8E8;
  border: 1px solid #F5D58A;
  border-radius: var(--r-xl);
  color: var(--c-brown);
  line-height: 1.55;
  text-transform: none;  /* modal body is .text-capitalize */
  overflow: hidden;
}
.rl-demo-notice::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--g-roof-v);
}
.rl-demo-notice__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  background: var(--c-gold);
  color: var(--c-charcoal);
  font-size: 1.1rem;
}
.rl-demo-notice__title {
  display: block;
  margin-bottom: var(--sp-1);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--c-charcoal);
}
.rl-demo-notice p { margin: 0 0 var(--sp-2); }
.rl-demo-notice p:last-child { margin-bottom: 0; }
.rl-demo-notice p strong { color: var(--c-charcoal); }
.rl-demo-notice.mt-6 { margin-top: var(--sp-6); }
.modal-body .rl-demo-notice { padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-6); gap: var(--sp-3); font-size: var(--text-sm); }
.modal-body .rl-demo-notice__icon { width: 32px; height: 32px; font-size: 0.9rem; }

/* === CMS PAGES (Frontend/Page/Layouts/default.blade.php) ===
   Header band = homepage hero look. Content components below are plain
   classes an editor can put on CMS HTML: .rl-cms-lead, .rl-cms-cards,
   .rl-cms-checks, .rl-cms-note, .rl-cms-cta. */
.rl-page-hero {
  position: relative;
  overflow: hidden;
  padding: var(--sp-16) 0;
  color: var(--c-dark-ink);
  background:
    radial-gradient(ellipse 60% 90% at 85% 10%, rgba(var(--c-accent-rgb), 0.26) 0%, transparent 60%),
    linear-gradient(135deg, var(--c-dark-deep) 0%, var(--c-dark) 45%, var(--c-dark-lift) 100%);
}
.rl-page-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 90%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  pointer-events: none;
}
.rl-page-hero__schema {
  position: absolute;
  right: -2%; bottom: -30%;
  width: min(52%, 720px);
  height: auto;
  opacity: 0.45;
  pointer-events: none;
}
.rl-page-hero .rl-container { position: relative; }
.rl-page-hero__title {
  margin: var(--sp-4) 0 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--c-white);
  text-wrap: balance;
}
.rl-page-hero__lead {
  max-width: 60ch;
  margin: var(--sp-5) 0 0;
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--c-dark-ink-2);
}

.rl-page-body { padding: var(--sp-16) 0 var(--sp-20); background: var(--c-white); }
.rl-page-body .rl-cms-content + .rl-cms-content,
.rl-page-body__image { margin-top: var(--sp-10); }
.rl-page-body__image img { border-radius: var(--r-xl); }

/* typography (direct children only: .rl-manual and tables keep their own look) */
.rl-cms-content > p,
.rl-cms-content > ul:not([class]),
.rl-cms-content > ol:not([class]) { max-width: 72ch; line-height: 1.7; color: var(--c-brown); }
.rl-cms-content > h2 {
  margin: var(--sp-16) 0 var(--sp-8);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(var(--text-2xl), 3.4vw, var(--text-3xl));
  line-height: 1.1;
  color: var(--c-charcoal);
}
.rl-cms-content > h2::after {
  content: '';
  display: block;
  width: 56px; height: 4px;
  margin-top: var(--sp-4);
  background: var(--g-roof);
}
.rl-cms-content > :first-child { margin-top: 0; }
.rl-cms-content > h3 { margin: var(--sp-8) 0 var(--sp-3); font-family: var(--font-serif); font-weight: 700; font-size: var(--text-xl); color: var(--c-charcoal); }
.rl-cms-content a:not(.btn) { color: var(--c-accent-text); font-weight: 600; }

.rl-cms-content > .rl-cms-lead {
  max-width: 64ch;
  font-size: clamp(var(--text-md), 1.8vw, var(--text-xl));
  line-height: 1.6;
  color: var(--c-charcoal);
}

/* numbered cards, like the homepage "about" points; first <strong> = card title */
.rl-cms-cards {
  counter-reset: rl-card;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  margin: 0; padding: 0;
  list-style: none;
}
.rl-cms-cards li {
  counter-increment: rl-card;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-6);
  background: var(--c-ivory);
  border: 1px solid var(--c-cream);
  border-radius: var(--r-xl);
  line-height: 1.55;
  color: var(--c-muted);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base), background var(--t-base);
}
.rl-cms-cards li::before {
  content: counter(rl-card, decimal-leading-zero);
  margin-bottom: var(--sp-2);
  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;
}
.rl-cms-cards li::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-cms-cards li:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--c-beige); background: var(--c-white); }
.rl-cms-cards li:hover::after { transform: scaleX(1); }
.rl-cms-cards strong { display: block; font-family: var(--font-serif); font-size: var(--text-lg); line-height: 1.2; color: var(--c-charcoal); }

/* check list, two columns */
.rl-cms-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5) var(--sp-10);
  margin: 0; padding: 0;
  list-style: none;
}
.rl-cms-checks li { position: relative; padding-left: var(--sp-10); line-height: 1.55; color: var(--c-muted); }
.rl-cms-checks li::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 26px; height: 26px;
  border-radius: var(--r-full);
  background: var(--c-sage-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A64B0A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.rl-cms-checks strong { display: block; color: var(--c-charcoal); }

/* callout with the roof-gradient edge */
.rl-cms-content > .rl-cms-note {
  position: relative;
  max-width: none;
  margin: var(--sp-12) 0 0;
  padding: var(--sp-5) var(--sp-6) var(--sp-5) var(--sp-8);
  background: var(--c-ivory);
  border: 1px solid var(--c-cream);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.rl-cms-note::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--g-roof-v);
}

/* closing call-to-action box, as the homepage contact CTA */
.rl-cms-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-3) var(--sp-10);
  margin-top: var(--sp-16);
  padding: var(--sp-12);
  border-radius: var(--r-2xl);
  overflow: hidden;
  color: var(--c-white);
  background: linear-gradient(120deg, var(--c-dark-deep) 0%, var(--c-dark) 40%, var(--c-brand) 100%);
}
.rl-cms-cta::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--g-roof-v);
}
.rl-cms-cta h2 {
  grid-column: 1;
  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-cms-cta p { grid-column: 1; margin: 0; color: var(--c-dark-ink-2); }
.rl-cms-cta p:has(.btn) { grid-column: 2; grid-row: 1 / span 2; }
.rl-cms-cta .btn { background: var(--c-white); color: var(--c-dark); border-color: var(--c-white); }
.rl-cms-cta .btn:hover { background: var(--c-sage-bg); color: var(--c-dark); transform: translateY(-2px); }

@media (max-width: 900px) {
  .rl-page-hero { padding: var(--sp-12) 0; }
  .rl-page-hero__schema { width: 90%; opacity: 0.25; }
  .rl-page-body { padding: var(--sp-12) 0 var(--sp-16); }
  .rl-cms-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rl-cms-cta { grid-template-columns: minmax(0, 1fr); padding: var(--sp-8); }
  .rl-cms-cta p:has(.btn) { grid-column: 1; grid-row: auto; margin-top: var(--sp-3); }
}
@media (max-width: 560px) {
  .rl-cms-checks,
  .rl-cms-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .rl-cms-cards li, .rl-cms-cards li::after { transition: none; }
}
