/*
Theme Name: Reservanta
Theme URI: https://reservanta.com
Description: The theme for reservanta.com: our own block theme with the brand colours, Inter, a dark hero with the booking-slot pattern, the home page sections as editable patterns, product screenshot frames and the live booking demo.
Author: Reservanta
Author URI: https://reservanta.com
Version: 3.14.1
Requires at least: 6.6
Requires PHP: 8.1
License: Proprietary
Text Domain: reservanta
*/

/*
 * Colours, the font and type sizes live in theme.json. This file lays out the sections the
 * patterns use (class names start with rv-). Dark sections add rv-dark.
 */

:root {
  --rv-violet: #5b4bff;
  --rv-violet-deep: #4a38f0;
  --rv-violet-light: #7b6bff;
  --rv-violet-soft: #eceaff;
  --rv-night: #0e1330;
  --rv-mint: #2ed3a1;
  --rv-ink: #141a2b;
  --rv-muted: #55607a;
  --rv-mist: #f4f5fb;
  --rv-line: #e2e8f0;
  --rv-on-dark: #b9c0e0;
  --rv-radius: 16px;
  --rv-shadow: 0 30px 70px rgba(14, 19, 48, 0.2), 0 6px 16px rgba(14, 19, 48, 0.08);
  --rv-slots: url('assets/images/slots.svg');
}

::selection {
  background: var(--rv-violet-soft);
  color: var(--rv-ink);
}

/* Keyboard users always see where they are. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--rv-violet-light);
  outline-offset: 3px;
}

/* Sections sit edge to edge; their own padding spaces them. */
.wp-site-blocks > *,
main.wp-block-group > * {
  margin-block: 0;
}
h1,
h2 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}

/* ---------- Building blocks ---------- */

.rv-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto !important;
  padding-inline: 24px;
}
.rv-section {
  padding-block: clamp(72px, 10vw, 128px);
}
.rv-mist {
  background: var(--rv-mist);
}
.rv-centre {
  max-width: 820px;
  text-align: center;
}
.rv-centre > *,
.rv-heading-block > *,
.rv-heading-text > *,
.rv-split > * > * {
  margin-block: 0;
}
.rv-centre > * + *,
.rv-heading-block > * + *,
.rv-heading-text > * + * {
  margin-top: 16px;
}

/* A centred heading with an eyebrow and a line of text. */
.rv-heading-block {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 64px) !important;
  text-align: center;
}

/* A heading on the left with a link on the right, above a grid. */
.rv-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.rv-heading-text {
  max-width: 720px;
}
.rv-more {
  margin: 0;
}
.rv-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1.5px solid currentColor;
  font-weight: 600;
  text-decoration: none;
}
.rv-more a::after {
  content: '\2192';
  transition: transform 0.2s ease;
}
.rv-more a:hover::after {
  transform: translateX(3px);
}

.rv-lead {
  color: var(--rv-muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}
.rv-muted {
  color: var(--rv-muted);
}
.rv-wrap > .rv-note {
  margin: 44px 0 0;
  color: var(--rv-muted);
  font-size: 15px;
  text-align: center;
}

/* One or two words of a heading in the brand gradient: <span class="rv-gradient">…</span> */
.rv-gradient {
  background: linear-gradient(100deg, var(--rv-violet-light), var(--rv-violet-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* The small capitals above a heading: a Paragraph block with the class rv-eyebrow. */
.rv-eyebrow {
  color: var(--rv-violet);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Lists with the logo's mint tick: <ul class="rv-ticks"> */
ul.rv-ticks {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
ul.rv-ticks li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
}
ul.rv-ticks li::before {
  content: '';
  position: absolute;
  top: 0.22em;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--rv-mint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%230e1330' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 19px no-repeat;
}
ul.rv-ticks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
  font-size: 15px;
}
ul.rv-ticks-row li {
  margin: 0;
}

/* Icons in a soft violet tile. */
.rv-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--rv-violet-soft);
  color: var(--rv-violet);
}
.rv-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.wp-block-button__link {
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}
.wp-block-button__link:hover {
  transform: translateY(-1px);
}
.wp-block-button.is-style-outline > .wp-block-button__link {
  border: 1.5px solid #d6d1ff;
  background: #fff;
  color: var(--rv-violet-deep);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
  border-color: var(--rv-violet);
  background: #fff;
  color: var(--rv-violet-deep);
}

/* Mint with dark text: the main button on dark sections. */
.rv-button-mint > .wp-block-button__link,
.rv-dark a.rv-book {
  background: var(--rv-mint);
  box-shadow: 0 10px 30px rgba(46, 211, 161, 0.25);
  color: var(--rv-night);
}
.rv-button-mint > .wp-block-button__link:hover,
.rv-dark a.rv-book:hover {
  background: #5fe0b9;
  color: var(--rv-night);
}

/* See-through with a light edge: the second button on dark sections. */
.wp-block-button.is-style-outline.rv-button-ghost > .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.wp-block-button.is-style-outline.rv-button-ghost > .wp-block-button__link:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ---------- Dark sections ---------- */

.rv-dark {
  background: var(--rv-night);
  color: var(--rv-on-dark);
}
.rv-dark :is(h1, h2, h3, h4) {
  color: #fff;
}
.rv-dark .rv-lead {
  color: var(--rv-on-dark);
}
.rv-dark .rv-eyebrow {
  color: var(--rv-mint);
}
.rv-dark .rv-gradient {
  background-image: linear-gradient(100deg, #a59bff, var(--rv-mint));
}
.rv-dark a:not(.wp-block-button__link, .rv-book) {
  color: #fff;
}

/* ---------- Product screenshots ---------- */

/*
 * A screenshot in a browser frame: an Image block with the class rv-shot. Add rv-shot--dark on
 * dark backgrounds, or use rv-shot rv-shot--phone for a phone screenshot.
 */
.rv-shot {
  position: relative;
  margin: 0;
  padding-top: 30px;
  overflow: hidden;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  background: #fff;
  box-shadow: var(--rv-shadow);
}
.rv-shot::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow:
    14px 0 0 #cbd5e1,
    28px 0 0 #cbd5e1;
}
.rv-shot::after {
  content: '';
  position: absolute;
  top: 30px;
  right: 0;
  left: 0;
  border-top: 1px solid var(--rv-line);
}
.rv-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.rv-shot--dark {
  border-color: rgba(255, 255, 255, 0.12);
  background: #1b2150;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(123, 107, 255, 0.15);
}
.rv-shot--dark::before {
  background: rgba(255, 255, 255, 0.22);
  box-shadow:
    14px 0 0 rgba(255, 255, 255, 0.22),
    28px 0 0 rgba(255, 255, 255, 0.22);
}
.rv-shot--dark::after {
  border-color: rgba(255, 255, 255, 0.1);
}
.rv-shot--phone {
  max-width: 300px;
  margin-inline: auto;
  padding: 10px;
  border: 0;
  border-radius: 42px;
  background: var(--rv-night);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}
.rv-shot--phone::before,
.rv-shot--phone::after {
  display: none;
}
.rv-shot--phone img {
  border-radius: 32px;
}

/* ---------- Header ---------- */

.rv-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/*
 * The frosted bar sits on a layer behind the header: a blur on the header itself would trap the
 * phone menu inside the bar instead of letting it cover the screen.
 */
.rv-site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 15, 38, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

/*
 * Over a dark top section (the home hero and every page band) the bar is see-through, and that
 * section moves up under it, until the page scrolls (assets/js/site.js adds is-scrolled and
 * measures the bar into --rv-header-h). Pages that start white keep the solid bar.
 */
.wp-site-blocks:has(> main > :first-child:is(.rv-dark, .rv-hero))
  > .rv-site-header:not(.is-scrolled)::before {
  border-bottom-color: transparent;
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.wp-site-blocks:has(> main > :first-child:is(.rv-dark, .rv-hero)) > main {
  margin-top: calc(-1 * var(--rv-header-h, 72px));
}
.wp-site-blocks:has(> main > :first-child:is(.rv-dark, .rv-hero)) > main > :first-child {
  padding-top: calc(var(--rv-header-h, 72px) + clamp(56px, 8vw, 104px));
}
.admin-bar .rv-site-header {
  top: 32px;
}
.rv-bar {
  box-sizing: border-box;
  max-width: 1240px;
  margin-inline: auto;
  padding: 14px 24px;
  gap: 24px;
}
.rv-logo {
  margin: 0;
}
.rv-logo a,
.rv-logo img {
  display: block;
}
.rv-logo img {
  width: 158px;
  height: auto;
}
.rv-bar-end {
  gap: 28px;
}
.rv-nav {
  color: #fff;
}
.rv-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.rv-nav a:hover {
  color: #fff;
}
/* The phone menu: dark, like the bar (core paints it white unless told otherwise). */
.rv-site-header
  .rv-nav.wp-block-navigation
  .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--rv-night);
  color: #fff;
}
.rv-site-header .rv-nav .wp-block-navigation__responsive-container.is-menu-open a {
  font-size: 1.375rem;
}
.rv-bar-button .wp-block-button__link {
  padding: 10px 18px;
  font-size: 15px;
  white-space: nowrap;
}

/* ---------- Back to top (functions.php, assets/js/site.js) ---------- */

.rv-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: var(--rv-violet);
  box-shadow: 0 12px 30px rgba(14, 19, 48, 0.3);
  color: #fff;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0s linear 0.25s;
}
.rv-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.rv-to-top:hover {
  background: var(--rv-violet-deep);
}
.rv-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* While the cookie banner is open it has the bottom of the screen to itself. */
body:has(.rv-consent:not([hidden])) .rv-to-top {
  visibility: hidden;
  opacity: 0;
}
@media (max-width: 640px) {
  .rv-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rv-site-header::before,
  .rv-to-top {
    transition: none;
  }
}

/* ---------- Hero ---------- */

.rv-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 72px);
  background:
    radial-gradient(1100px 620px at 82% -12%, rgba(123, 107, 255, 0.5), transparent 62%),
    radial-gradient(760px 520px at -8% 108%, rgba(46, 211, 161, 0.16), transparent 62%),
    linear-gradient(180deg, #0b0f26 0%, #121845 100%);
  color: var(--rv-on-dark);
}

/* The booking-slot pattern, fading out towards the text. */
.rv-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rv-slots) 0 0 / 480px 320px repeat;
  -webkit-mask-image: radial-gradient(1000px 640px at 78% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(1000px 640px at 78% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}
.rv-hero > * {
  position: relative;
}
.rv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}
.rv-hero-text > * {
  margin-block: 0;
}
.rv-hero h1 {
  margin-top: 18px;
  color: #fff;
}
.rv-hero .rv-eyebrow {
  color: var(--rv-mint);
}
.rv-hero .rv-gradient {
  background-image: linear-gradient(100deg, #a59bff 10%, var(--rv-mint));
}
.rv-hero .rv-lead {
  max-width: 560px;
  margin-top: 22px;
  color: var(--rv-on-dark);
}
.rv-hero .wp-block-buttons {
  margin-top: 34px;
}
.rv-hero ul.rv-ticks-row {
  color: var(--rv-on-dark);
}
.rv-hero-shots {
  position: relative;
  padding-bottom: 40px;
}
.rv-hero-shots > * {
  margin: 0;
}
.rv-hero-main {
  width: 112%;
  max-width: none;
}
.rv-hero-phone {
  position: absolute;
  bottom: 0;
  left: -44px;
  width: 31%;
  min-width: 150px;
  max-width: 220px;
}
.rv-venues {
  margin-top: clamp(48px, 7vw, 88px) !important;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.rv-proof {
  margin: 0 0 22px;
  color: var(--rv-on-dark);
  font-size: 1.0625rem;
}
.rv-proof strong {
  color: #fff;
  font-weight: 600;
}
.rv-venues-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}
ul.rv-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
ul.rv-chips li {
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Two columns with numbers (Why Reservanta) ---------- */

.rv-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(36px, 6vw, 96px);
}
.rv-split-main h2 {
  margin-top: 16px;
}
.rv-split-side > * + * {
  margin-top: 18px;
}
.rv-split-side p:not(.rv-lead) {
  color: var(--rv-muted);
}
.rv-split-side .wp-block-buttons {
  margin-top: 30px;
}
.rv-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(32px, 4vw, 48px) !important;
}
.rv-stat {
  margin: 0;
  padding-top: 18px;
  border-top: 2px solid var(--rv-violet-soft);
  color: var(--rv-muted);
  font-size: 15px;
  line-height: 1.45;
}
.rv-stat strong {
  display: block;
  margin-bottom: 6px;
  background: linear-gradient(100deg, var(--rv-violet-light), var(--rv-violet-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* ---------- Band: picture on violet, text on dark ---------- */

.rv-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.rv-band > * {
  margin: 0 !important;
}
.rv-band-picture {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px);
  background:
    radial-gradient(500px 360px at 20% 10%, rgba(255, 255, 255, 0.22), transparent 65%),
    linear-gradient(135deg, var(--rv-violet-light), var(--rv-violet-deep));
}
.rv-band-picture::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rv-slots) 0 0 / 480px 320px repeat;
  opacity: 0.8;
  pointer-events: none;
}
.rv-band-picture .rv-shot {
  position: relative;
  width: 125%;
  max-width: none;
  border: 0;
  border-radius: var(--rv-radius) 0 0 var(--rv-radius);
}
.rv-band-text {
  padding: clamp(56px, 7vw, 104px) clamp(24px, 6vw, 96px);
}
.rv-band-text > * {
  max-width: 540px;
  margin-block: 0;
}
.rv-band-text h2 {
  margin-top: 16px;
}
.rv-reason {
  position: relative;
  margin-top: 30px !important;
  padding-left: 40px;
}
.rv-reason::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--rv-mint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%230e1330' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 22px no-repeat;
}
.rv-reason > * {
  margin: 0;
}
.rv-reason h3 {
  font-size: 1.1875rem;
}
.rv-reason p {
  margin-top: 6px;
}

/* ---------- Cards ---------- */

.rv-features,
.rv-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.rv-feature,
.rv-card {
  padding: 30px;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.rv-feature:hover,
.rv-card:hover {
  transform: translateY(-3px);
  border-color: #d6d1ff;
  box-shadow: 0 18px 40px rgba(14, 19, 48, 0.08);
}
.rv-feature > *,
.rv-card > * {
  margin-block: 0;
}
.rv-feature h3,
.rv-card h3 {
  margin-top: 20px;
  font-size: 1.125rem;
}
.rv-feature p,
.rv-card p {
  margin-top: 8px;
  color: var(--rv-muted);
  font-size: 15.5px;
}
.rv-dark .rv-card {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}
.rv-dark .rv-card:hover {
  border-color: rgba(165, 155, 255, 0.4);
  box-shadow: none;
}
.rv-dark .rv-card p {
  color: var(--rv-on-dark);
}
.rv-dark .rv-icon {
  background: rgba(46, 211, 161, 0.12);
  color: var(--rv-mint);
}

/* ---------- Screenshot cards (See it working) ---------- */

.rv-shot-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.rv-shot-card > * {
  margin-block: 0;
}
.rv-shot-card-picture {
  position: relative;
  height: 280px;
  margin: 0 0 22px !important;
  overflow: hidden;
  border-radius: var(--rv-radius);
  background:
    var(--rv-slots) 0 0 / 480px 320px repeat,
    linear-gradient(140deg, #232a6b, var(--rv-night));
}
.rv-shot-card-picture img {
  position: absolute;
  top: 36px;
  left: 36px;
  width: 170%;
  max-width: none;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}
.rv-shot-card:hover .rv-shot-card-picture img {
  transform: translateY(-6px);
}
.rv-shot-card-phone {
  background:
    var(--rv-slots) 0 0 / 480px 320px repeat,
    linear-gradient(140deg, var(--rv-violet-light), var(--rv-violet-deep));
}
.rv-shot-card-phone img {
  left: 50%;
  width: 52%;
  margin-left: -26%;
  border: 8px solid var(--rv-night);
  border-radius: 30px;
}
.rv-shot-card h3 {
  font-size: 1.1875rem;
}
.rv-shot-card p {
  margin-top: 8px;
  color: var(--rv-muted);
  font-size: 15.5px;
}

/* ---------- Live demo band ---------- */

.rv-demo-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 50% 120%, rgba(123, 107, 255, 0.55), transparent 65%),
    linear-gradient(180deg, #0b0f26 0%, #161d55 100%);
}
.rv-demo-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rv-slots) 0 0 / 480px 320px repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 10%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 10%, #000 100%);
  pointer-events: none;
}
.rv-demo-band > * {
  position: relative;
}
.rv-demo-band a.rv-book {
  margin-top: 34px;
}
.rv-demo-band ul.rv-ticks-row {
  justify-content: center;
}

/* ---------- The booking form shortcode ([reservanta_booking]) ---------- */

.rv-demo {
  padding: clamp(12px, 3vw, 28px);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  background: var(--rv-mist);
}
.rv-demo-note {
  margin: 10px 0 0;
  font-size: 13px;
  opacity: 0.75;
  text-align: center;
}
a.rv-book {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 10px;
  background: var(--rv-violet);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease;
}
a.rv-book:hover {
  transform: translateY(-1px);
  background: var(--rv-violet-deep);
  color: #fff;
}

/* ---------- Three ways (cards like price plans) ---------- */

.rv-ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}
.rv-way {
  position: relative;
  padding: 28px;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  background: #fff;
}
.rv-way > * {
  margin-block: 0;
}
.rv-way--featured {
  border: 2px solid var(--rv-violet);
  box-shadow: 0 24px 60px rgba(91, 75, 255, 0.16);
}
:is(.rv-way, .rv-plan) .rv-badge {
  position: absolute;
  top: -13px;
  right: 22px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--rv-violet);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.rv-way-art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--rv-mist);
}
.rv-way-art .frame {
  fill: #fff;
  stroke: #cbd5e1;
  stroke-width: 1.2;
}
.rv-way-art .frame.front {
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.14));
}
.rv-way-art .bar {
  stroke: var(--rv-line);
  stroke-width: 1.2;
}
.rv-way-art .dot {
  fill: #cbd5e1;
}
.rv-way-art .lines rect {
  fill: var(--rv-line);
}
.rv-way-art .a-lines rect {
  fill: var(--rv-violet);
  opacity: 0.5;
}
.rv-way-art .a-soft {
  fill: var(--rv-violet-soft);
  stroke: var(--rv-violet);
  stroke-width: 1.2;
}
.rv-way-art .a-fill {
  fill: var(--rv-violet);
}
.rv-way-art .a-line {
  fill: none;
  stroke: var(--rv-violet);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rv-way-art .shade {
  fill: rgba(14, 19, 48, 0.32);
}
.rv-way h3 {
  margin-top: 24px;
  font-size: 1.25rem;
}
.rv-way p {
  margin-top: 8px;
  color: var(--rv-muted);
  font-size: 15.5px;
}
.rv-way ul.rv-ticks {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rv-line);
  font-size: 15px;
}

/* Sign in sits apart from the page links in the bar, as on most software sites. */
@media (min-width: 600px) {
  .rv-nav .wp-block-navigation__container > .rv-nav-signin {
    margin-left: 6px;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* ---------- Pricing (patterns/pricing.php, templates/page-pricing.html) ---------- */

.rv-pricing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(123, 107, 255, 0.42), transparent 70%),
    radial-gradient(520px 360px at 100% 100%, rgba(46, 211, 161, 0.12), transparent 70%),
    var(--rv-night);
}
.rv-pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rv-slots) 0 0 / 480px 320px repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 40%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 40%);
  pointer-events: none;
}
.rv-pricing > .rv-wrap {
  position: relative;
}
.rv-pricing h1,
.rv-demo-video h1,
.rv-page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}
.rv-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}
/* The plans are a grid, so WordPress's gap between stacked blocks must not push two of them down. */
.rv-plans > .rv-plan {
  margin: 0;
}
.rv-plan {
  position: relative;
  padding: 32px 28px 30px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(4, 6, 20, 0.35);
  color: var(--rv-ink);
}
.rv-plan > * {
  margin-block: 0;
}
.rv-dark .rv-plan :is(h2, h3) {
  color: var(--rv-ink);
}
.rv-plan--featured {
  box-shadow:
    0 0 0 3px var(--rv-violet-light),
    0 30px 80px rgba(91, 75, 255, 0.45);
}
.rv-plan .rv-plan-name {
  font-size: 1.375rem;
}
.rv-plan .rv-plan-for {
  min-height: 3em;
  margin-top: 6px;
  color: var(--rv-muted);
  font-size: 15px;
  line-height: 1.5;
}
.rv-plan .rv-price {
  margin-top: 22px;
  color: var(--rv-muted);
  font-size: 15px;
}
.rv-price strong {
  margin-right: 6px;
  color: var(--rv-ink);
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.rv-plan .rv-price-year {
  margin-top: 10px;
  color: var(--rv-muted);
  font-size: 14.5px;
}
.rv-price-year strong {
  color: #0b7a59;
  font-weight: 600;
  white-space: nowrap;
}
/* The trial on every plan, as a small mint label above the button. */
.rv-plan .rv-plan-trial {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: 14px;
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  background: #e3f8f0;
  color: #0b7a59;
  font-size: 13.5px;
  font-weight: 600;
}
.rv-plan .rv-plan-trial::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rv-mint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%230e1330' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.rv-plan .wp-block-buttons {
  margin-top: 24px;
}
.rv-plan .wp-block-button {
  width: 100%;
}
.rv-plan .wp-block-button > .wp-block-button__link {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 13px 20px;
  text-align: center;
}
/* The same height as the outline buttons beside it. */
.rv-plan .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
  border: 1.5px solid transparent;
}
.rv-plan .rv-plan-includes {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--rv-line);
  font-size: 15px;
  font-weight: 600;
}
.rv-plan ul.rv-ticks {
  margin-top: 14px;
  font-size: 15px;
}
.rv-plan ul.rv-ticks li {
  margin-bottom: 9px;
}
.rv-plan .rv-plan-soon {
  margin-top: 18px;
  color: var(--rv-violet);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rv-plan ul.rv-soon {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--rv-muted);
  font-size: 14.5px;
}
.rv-plan ul.rv-soon li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 30px;
}
.rv-plan ul.rv-soon li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 6px;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--rv-violet-light);
  border-radius: 50%;
}
.rv-pricing .rv-plans-all-title {
  margin: 64px 0 0;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: center;
}
.rv-pricing ul.rv-plans-all {
  justify-content: center;
  margin-top: 18px;
  color: var(--rv-on-dark);
}
.rv-dark .rv-wrap > .rv-note {
  margin-top: 20px;
  color: #8b93b8;
}

/* ---------- Request a demo (patterns/demo-video.php, demo-call.php) ---------- */

.rv-demo-video {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(123, 107, 255, 0.42), transparent 70%),
    var(--rv-night);
}
.rv-demo-video > .rv-wrap {
  position: relative;
}
.rv-demo-video .rv-video {
  max-width: 1040px;
  margin-inline: auto;
}
.rv-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  background: var(--rv-night);
}
.rv-call {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
}
.rv-call > * {
  margin-block: 0;
}
.rv-call-text > * {
  margin-block: 0;
}
.rv-call-text > * + * {
  margin-top: 16px;
}
.rv-call-text ol.rv-call-steps {
  margin-top: 32px;
  padding: 0;
  list-style: none;
  counter-reset: rv-call;
}
.rv-call-steps li {
  position: relative;
  padding: 0 0 24px 58px;
  color: var(--rv-muted);
  counter-increment: rv-call;
}
.rv-call-steps li::before {
  content: counter(rv-call);
  position: absolute;
  top: -4px;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rv-violet-soft);
  color: var(--rv-violet);
  font-weight: 700;
}
.rv-call-steps strong {
  display: block;
  margin-bottom: 2px;
  color: var(--rv-ink);
  font-size: 1.0625rem;
}
.rv-call-form {
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--rv-line);
  border-radius: 20px;
  background: var(--rv-mist);
}
.rv-call-form > * {
  margin-block: 0;
}
.rv-call-form > * + * {
  margin-top: 18px;
}
.rv-call-form .rv-call-form-title {
  font-size: 1.5rem;
}
.rv-setup-video .rv-video {
  max-width: 960px;
  margin-inline: auto;
}

/* The booking form sits straight in the card, without the demo's own grey box around it. */
.rv-call-form .rv-demo {
  padding: 0;
  border: 0;
  background: none;
}
.rv-call-form .rv-call-other {
  color: var(--rv-muted);
  font-size: 15px;
}

/* ---------- Features and How it works (page-features.html, page-how-it-works.html) ---------- */

.rv-page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(123, 107, 255, 0.42), transparent 70%),
    radial-gradient(520px 360px at 100% 100%, rgba(46, 211, 161, 0.12), transparent 70%),
    var(--rv-night);
}
.rv-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rv-slots) 0 0 / 480px 320px repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  pointer-events: none;
}
.rv-page-hero > .rv-wrap {
  position: relative;
}
.rv-page-hero .rv-heading-block {
  margin-bottom: 0 !important;
}
.rv-page-hero .wp-block-buttons {
  justify-content: center;
  margin-top: 32px !important;
}
.rv-rows {
  display: grid;
  gap: clamp(72px, 10vw, 128px);
}
.rv-rows > * {
  margin-block: 0;
}
.rv-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.rv-row > * {
  margin-block: 0;
}
.rv-row--flip > .rv-row-text {
  order: 2;
}
.rv-row-text > * {
  margin-block: 0;
}
.rv-row-text > * + * {
  margin-top: 16px;
}
.rv-row-text p:not(.rv-eyebrow) {
  color: var(--rv-muted);
  font-size: 1.0625rem;
}
.rv-row-text ul.rv-ticks {
  margin-top: 24px;
}
.rv-row .rv-row-picture img {
  display: block;
  width: 100%;
  height: auto;
}
.rv-row .rv-row-phone {
  width: 100%;
  max-width: 320px;
  justify-self: center;
}
.rv-row-card {
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--rv-line);
  border-radius: 20px;
  background: var(--rv-mist);
}
.rv-row-card > * {
  margin-block: 0;
}
.rv-row-card ul.rv-ticks {
  margin-top: 18px;
}
.rv-cards.rv-cards--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rv-steps-more {
  margin-top: clamp(40px, 5vw, 56px) !important;
  text-align: center;
}

/* ---------- Privacy policy and terms (patterns/legal-*.php) ---------- */

.rv-legal-hero {
  padding-block: clamp(56px, 8vw, 96px);
}
.rv-legal-hero .rv-legal-updated {
  margin-top: 14px;
  color: #8b93b8;
  font-size: 15px;
}
.rv-legal-section {
  padding-top: clamp(48px, 6vw, 72px);
}
.rv-legal {
  max-width: 820px;
  font-size: 1.0625rem;
}
.rv-legal > * {
  margin-block: 0;
}
.rv-legal > * + * {
  margin-top: 16px;
}
.rv-legal h2 {
  margin-top: 48px;
  scroll-margin-top: 100px;
  font-size: 1.5rem;
}
.rv-legal h3 {
  margin-top: 28px;
  font-size: 1.125rem;
}
.rv-legal p,
.rv-legal li {
  color: #2d3448;
}
.rv-legal ul:not(.rv-legal-toc ul) li {
  margin-bottom: 8px;
}
.rv-legal .rv-lead {
  color: var(--rv-muted);
}
.rv-legal-toc {
  margin-top: 32px !important;
  padding: 24px 28px;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  background: var(--rv-mist);
}
.rv-legal-toc > * {
  margin-block: 0;
}
.rv-legal-toc .rv-legal-toc-title {
  color: var(--rv-ink);
  font-size: 15px;
  font-weight: 600;
}
.rv-legal-toc ul {
  columns: 2;
  column-gap: 32px;
  margin-top: 12px;
  padding-left: 18px;
  font-size: 15px;
}
.rv-legal-toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}
.rv-legal-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.rv-legal-table th,
.rv-legal-table td {
  padding: 10px 12px;
  border: 1px solid var(--rv-line);
  text-align: left;
  vertical-align: top;
}
.rv-legal-table th {
  background: var(--rv-mist);
  color: var(--rv-ink);
}
.rv-legal code {
  font-size: 0.9em;
}

/* ---------- Cookie banner (inc/privacy.php, assets/js/consent.js) ---------- */

.rv-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 2147482000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.rv-consent[hidden] {
  display: none;
}
.rv-consent-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  max-width: 980px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: var(--rv-night);
  box-shadow: 0 24px 60px rgba(4, 6, 20, 0.45);
  color: var(--rv-on-dark);
  font-size: 15px;
  line-height: 1.55;
  pointer-events: auto;
  transform: translateY(16px);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.rv-consent.is-open .rv-consent-card {
  transform: none;
  opacity: 1;
}
.rv-consent-text {
  flex: 1 1 420px;
  margin: 0;
}
.rv-consent-text strong {
  color: #fff;
}
.rv-consent-text a {
  color: #fff;
}
.rv-consent-buttons {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}
.rv-consent-button {
  min-width: 112px;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--rv-night);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.rv-consent-button:hover {
  background: #e9ecf7;
}
.rv-consent-accept {
  background: var(--rv-mint);
}
.rv-consent-accept:hover {
  background: #5fe0b9;
}
@media (max-width: 640px) {
  .rv-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
  .rv-consent-buttons {
    width: 100%;
  }
  .rv-consent-button {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rv-consent-card {
    transition: none;
  }
}

/* The venue types under the hero: three of them link to their own pages. */
ul.rv-chips li a {
  color: inherit;
  text-decoration: none;
}
ul.rv-chips li:has(a):hover {
  border-color: rgba(255, 255, 255, 0.45);
}
.rv-page-hero .rv-heading-block .wp-block-buttons {
  justify-content: center;
}

/* ---------- Booking form styles (patterns/booking-styles.php) ---------- */

.rv-styles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(32px, 4vw, 48px) 28px;
}
.wp-block-group.rv-styles > *,
.rv-style > * {
  margin-block: 0;
}
.rv-style h3 {
  margin-top: 22px;
  font-size: 1.25rem;
}
.rv-style p {
  margin-top: 6px;
  color: var(--rv-muted);
}
.rv-style-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.rv-styles-make {
  max-width: 820px;
  margin: clamp(64px, 8vw, 96px) auto 0 !important;
  text-align: center;
}
.rv-styles-make > * {
  margin-block: 0;
}
.rv-styles-make > * + * {
  margin-top: 14px;
}
.rv-styles-make ul.rv-styles-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 24px;
  margin-top: 28px;
  text-align: left;
}
@media (max-width: 900px) {
  .rv-styles {
    grid-template-columns: minmax(0, 1fr);
  }
  .rv-styles-make ul.rv-styles-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .rv-styles-make ul.rv-styles-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Website guides and help centre (patterns/website-guides.php, help.php) ---------- */

.rv-legal .wp-block-code {
  margin: 0;
  padding: 14px 16px;
  overflow-x: auto;
  border: 1px solid var(--rv-line);
  border-radius: 12px;
  background: var(--rv-mist);
  font-size: 13.5px;
  line-height: 1.6;
}
.rv-legal .wp-block-code code {
  white-space: pre;
}
.rv-legal .rv-faq {
  display: block;
  margin-top: 8px;
}
.rv-guides .rv-faq {
  margin-top: 48px !important;
}
.rv-legal .rv-faq .wp-block-details:first-child {
  padding-top: 16px;
}
.rv-guide > * {
  margin-block: 0;
}
.rv-guide > * + * {
  margin-top: 10px;
}
.rv-guide ol {
  padding-left: 22px;
}
.rv-guide li {
  margin-bottom: 6px;
  color: #2d3448;
}
.rv-guide .rv-guide-note,
.rv-guide-help {
  color: var(--rv-muted);
  font-size: 15px;
}
.rv-help-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.rv-help-topics li a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--rv-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14.5px;
  text-decoration: none;
}
.rv-help-contact {
  margin-top: 56px !important;
  padding: 28px;
  border-radius: 18px;
  background: var(--rv-mist);
}
.rv-help-contact > * {
  margin-block: 0;
}
.rv-help-contact > * + * {
  margin-top: 12px;
}
.rv-help-contact h2 {
  margin-top: 0;
}

/* ---------- Live demos (patterns/demos.php) ---------- */

.rv-demo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.rv-demo-card {
  display: flex;
  flex-direction: column;
  padding: 0 28px 28px;
  overflow: hidden;
  border: 1px solid var(--rv-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(14, 19, 48, 0.06);
}
.rv-demo-card > * {
  margin-block: 0;
}
.rv-demo-card > * + * {
  margin-top: 12px;
}
.rv-demo-art {
  display: grid;
  place-items: center;
  height: 150px;
  margin: 0 -28px 12px !important;
  color: #fff;
}
.rv-demo-art svg {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rv-demo-art--vr {
  background:
    var(--rv-slots) 0 0 / 240px 160px repeat,
    linear-gradient(135deg, #4a38f0, #0e1330);
}
.rv-demo-art--escape {
  background:
    var(--rv-slots) 0 0 / 240px 160px repeat,
    linear-gradient(135deg, #0b7a59, #0e1330);
}
.rv-demo-art--party {
  background:
    var(--rv-slots) 0 0 / 240px 160px repeat,
    linear-gradient(135deg, #d6336c, #0e1330);
}
.rv-demo-card .rv-demo-name {
  font-size: 1.375rem;
}
.rv-demo-card p:not(.rv-eyebrow):not(.rv-demo-page) {
  color: var(--rv-muted);
}
.rv-demo-card ul.rv-ticks {
  flex: 1;
  margin-top: 16px;
  font-size: 15px;
}
.rv-demo-card a.rv-book {
  align-self: flex-start;
  margin-top: 8px;
}
.rv-demo-card .rv-demo-page {
  font-size: 14.5px;
}
.rv-demo-staff {
  max-width: 680px;
  margin: clamp(48px, 6vw, 72px) auto 0 !important;
  text-align: center;
}
.rv-demo-staff > * {
  margin-block: 0;
}
.rv-demo-staff > * + * {
  margin-top: 12px;
}
.rv-demo-staff p {
  color: var(--rv-muted);
}
.rv-demo-staff .wp-block-buttons {
  justify-content: center;
  margin-top: 20px !important;
}

/*
 * Cards laid out in a grid line up: WordPress puts a gap above every block after the first in
 * a group, which in a grid pushed all but the first card down.
 */
.wp-block-group:is(
    .rv-features,
    .rv-cards,
    .rv-ways,
    .rv-shot-cards,
    .rv-steps,
    .rv-demo-cards,
    .rv-stats,
    .rv-plans
  )
  > * {
  margin-block: 0;
}

/* ---------- Steps ---------- */

.rv-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  counter-reset: rv-step;
}
.rv-step {
  position: relative;
  counter-increment: rv-step;
}
.rv-step > * {
  margin-block: 0;
}
.rv-step::before {
  content: counter(rv-step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rv-violet-light), var(--rv-violet-deep));
  box-shadow:
    0 0 0 6px var(--rv-mist),
    0 10px 24px rgba(91, 75, 255, 0.3);
  color: #fff;
  font-weight: 700;
}

/* The line joining the numbers. */
.rv-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  right: -28px;
  left: 48px;
  border-top: 2px dashed #cfc9ff;
}
.rv-step h3 {
  font-size: 1.125rem;
}
.rv-step p {
  margin-top: 8px;
  color: var(--rv-muted);
  font-size: 15.5px;
}

/* ---------- Safe by design ---------- */

.rv-night {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 420px at 100% 0%, rgba(123, 107, 255, 0.28), transparent 65%),
    var(--rv-night);
}

/* ---------- Questions ---------- */

.rv-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}
.rv-faq-intro {
  position: sticky;
  top: 110px;
}
.rv-faq-intro > * {
  margin-block: 0;
}
.rv-faq-intro > * + * {
  margin-top: 16px;
}
.rv-faq-intro .wp-block-buttons {
  margin-top: 28px;
}
.rv-faq-list > * {
  margin-block: 0;
}
.rv-faq .wp-block-details {
  padding: 22px 0;
  border-bottom: 1px solid var(--rv-line);
}
.rv-faq .wp-block-details:first-child {
  padding-top: 0;
}
.rv-faq summary {
  position: relative;
  padding-right: 40px;
  list-style: none;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
}
.rv-faq summary::-webkit-details-marker {
  display: none;
}
.rv-faq summary::after {
  content: '+';
  position: absolute;
  top: -4px;
  right: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--rv-violet-soft);
  color: var(--rv-violet);
  font-size: 20px;
  font-weight: 500;
  transition: transform 0.2s ease;
}
.rv-faq details[open] summary::after {
  transform: rotate(45deg);
}
.rv-faq details p {
  margin: 12px 0 0;
  color: var(--rv-muted);
}

/* ---------- Call to action ---------- */

.rv-cta-section {
  padding-block: clamp(32px, 5vw, 64px) clamp(72px, 9vw, 112px);
}
.rv-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 6vw, 72px);
  border-radius: 28px;
  background:
    radial-gradient(600px 360px at 100% 0%, rgba(123, 107, 255, 0.55), transparent 65%),
    radial-gradient(420px 300px at 0% 100%, rgba(46, 211, 161, 0.18), transparent 65%),
    var(--rv-night);
}
.rv-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rv-slots) 0 0 / 480px 320px repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
  pointer-events: none;
}
.rv-cta > * {
  position: relative;
  margin: 0 !important;
}
.rv-cta-text {
  max-width: 600px;
}
.rv-cta-text > * {
  margin-block: 0;
}
.rv-cta-text p {
  margin-top: 12px;
  font-size: 1.125rem;
}

/* ---------- Footer ---------- */

.rv-footer {
  padding-block: 72px 28px;
  background: var(--rv-night);
  color: #aab2d1;
  font-size: 15px;
}
.rv-footer h3 {
  margin: 4px 0 14px;
  color: #fff;
  font-size: 15px;
}
.rv-footer .rv-logo img {
  width: 172px;
}
.rv-footer-text {
  max-width: 340px;
  margin-top: 18px;
}
.rv-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rv-footer-links li {
  margin-bottom: 9px;
}
.rv-footer a {
  color: #cdd3ec;
  text-decoration: none;
}
.rv-footer a:hover {
  color: #fff;
}
.rv-footer-legal {
  margin-top: 56px !important;
  padding-top: 22px;
  background: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)) 24px 0 /
    calc(100% - 48px) 1px no-repeat;
  font-size: 14px;
}

/* ---------- Other pages ---------- */

.rv-page {
  padding-block: clamp(48px, 7vw, 88px);
}
.rv-page-title {
  font-size: var(--wp--preset--font-size--x-large);
}
.rv-page > .wp-block-post-content {
  margin-top: 28px;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1080px) {
  .rv-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  .rv-hero .rv-lead {
    margin-inline: auto;
  }
  .rv-hero .wp-block-buttons,
  .rv-hero ul.rv-ticks-row {
    justify-content: center;
  }
  .rv-hero-shots {
    width: 100%;
    max-width: 760px;
    margin-inline: auto !important;
  }
  .rv-hero-main {
    width: 100%;
  }
  .rv-hero-phone {
    right: -12px;
    left: auto;
  }
  .rv-band {
    grid-template-columns: minmax(0, 1fr);
  }
  .rv-band-picture .rv-shot {
    width: 110%;
  }
  .rv-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
  .rv-step:nth-child(2)::after {
    display: none;
  }
}
@media (max-width: 900px) {
  .rv-split,
  .rv-faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .rv-faq-intro {
    position: static;
  }
  .rv-features,
  .rv-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rv-ways,
  .rv-shot-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
  .rv-ways > .rv-way--featured {
    margin-top: 8px;
  }
  .rv-plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
  }
  .rv-plan .rv-plan-for {
    min-height: 0;
  }
  .rv-demo-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
    margin-inline: auto;
  }
  .rv-call {
    grid-template-columns: minmax(0, 1fr);
  }
  .rv-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .rv-row--flip > .rv-row-text {
    order: 0;
  }
}
@media (max-width: 640px) {
  .rv-cards.rv-cards--two {
    grid-template-columns: minmax(0, 1fr);
  }
  .rv-legal-toc ul {
    columns: 1;
  }
  .rv-legal-table {
    overflow-x: auto;
  }
}
@media (max-width: 782px) {
  .admin-bar .rv-site-header {
    top: 46px;
  }
}
@media (max-width: 640px) {
  .rv-logo img {
    width: 132px;
  }
  .rv-bar-end {
    gap: 14px;
  }
  .rv-bar-button .wp-block-button__link {
    padding: 8px 14px;
    font-size: 14px;
  }
  .rv-features,
  .rv-cards,
  .rv-steps,
  .rv-stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .rv-step::after {
    display: none;
  }
  .rv-stats {
    gap: 4px;
  }
  .rv-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
  }
  .rv-stat strong {
    flex: 0 0 56px;
    margin: 0;
    font-size: 2.75rem;
  }
  .rv-hero-phone {
    right: -4px;
    width: 34%;
    min-width: 0;
  }
  .rv-shot-card-picture {
    height: 230px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wp-block-button__link,
  .rv-feature,
  .rv-card,
  .rv-shot-card-picture img,
  a.rv-book,
  .rv-more a::after,
  .rv-faq summary::after {
    transition: none;
  }
  .wp-block-button__link:hover,
  .rv-feature:hover,
  .rv-card:hover,
  .rv-shot-card:hover .rv-shot-card-picture img,
  a.rv-book:hover {
    transform: none;
  }
}

/* ---------- Contact (patterns/contact.php) and the demo call by email ---------- */

/* Not links as a whole: they stay still under the pointer. */
.rv-contact-cards .rv-card:hover {
  transform: none;
  border-color: var(--rv-line);
  box-shadow: none;
}
.rv-contact-cards .rv-card h3 {
  margin-top: 0;
}
.rv-contact-email {
  font-size: 1.125rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.rv-contact-note {
  max-width: 760px;
  margin: clamp(32px, 4vw, 48px) auto 0 !important;
  color: var(--rv-muted);
  text-align: center;
}
.rv-call-email > * {
  margin-block: 0;
}
.rv-call-email > * + * {
  margin-top: 14px;
}
.rv-call-email a {
  overflow-wrap: anywhere;
}
/* Asking by email already covers any time, so "Need another time?" goes. */
.rv-call-form:has(.rv-call-email) > .rv-call-other {
  display: none;
}
