@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.35s ease both vt-out; }
::view-transition-new(root) { animation: 0.45s ease both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

@property --rq-x1 { syntax: "<percentage>"; inherits: false; initial-value: 15%; }
@property --rq-y1 { syntax: "<percentage>"; inherits: false; initial-value: 20%; }
@property --rq-x2 { syntax: "<percentage>"; inherits: false; initial-value: 85%; }
@property --rq-y2 { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --rq-x3 { syntax: "<percentage>"; inherits: false; initial-value: 50%; }
@property --rq-y3 { syntax: "<percentage>"; inherits: false; initial-value: 90%; }

:root {
  --rq-bg: #0D1117;
  --rq-surface: #161D27;
  --rq-surface-alt: #1E2735;
  --rq-line: #2C3A4D;
  --rq-tone: #22D3EE;
  --rq-tone-hover: #67E8F9;
  --rq-ink: #E6EDF3;
  --rq-ink-soft: #A9B6C6;
  --rq-gradient: linear-gradient(120deg, #0E7490 0%, #4338CA 100%);
  --rq-badge-a: #22D3EE;
  --rq-badge-b: #A78BFA;
  --rq-badge-c: #FBBF24;
  --rq-badge-d: #34D399;
  --rq-radius: 16px;
  --rq-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6), 0 6px 14px rgba(0, 0, 0, 0.35);
  --rq-section-pad: 10dvh;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--rq-bg);
  color: var(--rq-ink);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: clip;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: var(--rq-tone); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--rq-tone);
  outline-offset: 3px;
}

.rq-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.rq-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--rq-gradient);
  color: #fff;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.rq-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.rq-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.rq-brand svg { width: 36px; height: 36px; flex-shrink: 0; }

.rq-nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.rq-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.rq-burger-bar {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.rq-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--rq-surface);
  padding: 8px 20px 18px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
  z-index: 5;
}

.rq-nav-check:checked ~ .rq-nav { display: flex; }

.rq-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.rq-nav a[aria-current="page"] { color: var(--rq-tone); }

.rq-nav a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 4px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.rq-nav a[aria-current="page"]::after,
.rq-nav a:hover::after { transform: scaleX(1); }

.rq-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--rq-tone);
  transform-origin: left center;
  pointer-events: none;
}

@supports (animation-timeline: scroll()) {
  .rq-progress {
    transform: scaleX(0);
    animation: rq-progress-grow linear both;
    animation-timeline: scroll(root);
  }
}

@keyframes rq-progress-grow { to { transform: scaleX(1); } }

@media (min-width: 880px) {
  .rq-burger { display: none; }
  .rq-nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    box-shadow: none;
    gap: 4px;
  }
  .rq-nav a {
    display: inline-block;
    padding: 8px 12px;
    border-bottom: 0;
  }
  .rq-nav a::after { left: 12px; right: 12px; bottom: 2px; }
}

/* ---------- Hero ---------- */
.rq-hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding: calc(var(--rq-section-pad) * 1.4) 20px calc(var(--rq-section-pad) * 1.1);
  color: #fff;
  background-color: var(--rq-bg);
}

.rq-hero-main {
  background-image: url('img/bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.rq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--rq-x1) var(--rq-y1), rgba(34, 211, 238, 0.35), transparent 45%),
    radial-gradient(circle at var(--rq-x2) var(--rq-y2), rgba(99, 102, 241, 0.35), transparent 50%),
    radial-gradient(circle at var(--rq-x3) var(--rq-y3), rgba(250, 204, 21, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(13, 17, 23, 0.62) 0%, rgba(13, 17, 23, 0.9) 100%);
  animation: rq-mesh 24s ease-in-out infinite alternate;
}

@keyframes rq-mesh {
  0% {
    --rq-x1: 15%; --rq-y1: 20%;
    --rq-x2: 85%; --rq-y2: 30%;
    --rq-x3: 50%; --rq-y3: 90%;
  }
  100% {
    --rq-x1: 60%; --rq-y1: 70%;
    --rq-x2: 20%; --rq-y2: 80%;
    --rq-x3: 80%; --rq-y3: 20%;
  }
}

.rq-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.rq-hero h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.rq-hero-sub {
  font-size: 1.05rem;
  color: #D6DEE8;
  max-width: 680px;
  margin: 0 auto 28px;
}

.rq-eyebrow {
  color: var(--rq-tone);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.rq-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 34px;
}

.rq-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.rq-hero-plain {
  padding-bottom: calc(var(--rq-section-pad) * 0.9);
}

.rq-hero-plain h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; margin-bottom: 16px; }

/* ---------- Marquee ---------- */
.rq-ticker {
  background: var(--rq-surface);
  border-block: 1px solid var(--rq-line);
  overflow: hidden;
  padding: 16px 0;
}

.rq-ticker-track {
  display: flex;
  width: max-content;
  animation: rq-ticker-run 36s linear infinite;
}

.rq-ticker:hover .rq-ticker-track { animation-play-state: paused; }

.rq-ticker-group { display: flex; flex-shrink: 0; }

.rq-ticker-item {
  padding: 0 28px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rq-ink-soft);
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
}

.rq-ticker-item::after {
  content: "•";
  margin-left: 56px;
  color: var(--rq-tone);
}

@keyframes rq-ticker-run {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.rq-section {
  position: relative;
  padding: var(--rq-section-pad) 20px;
  overflow: clip;
}

.rq-bg-section {
  background:
    linear-gradient(180deg, rgba(13, 17, 23, 0.9), rgba(13, 17, 23, 0.95)),
    url('img/bg2.webp') center / cover no-repeat;
}

.rq-wrap {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.rq-h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.rq-lead {
  color: var(--rq-ink-soft);
  max-width: 70ch;
  margin-bottom: 40px;
}

.rq-section p { color: var(--rq-ink-soft); }

/* ---------- Cards ---------- */
.rq-card {
  background: var(--rq-surface);
  border: 1px solid var(--rq-line);
  border-radius: var(--rq-radius);
  padding: 28px;
  box-shadow: var(--rq-shadow);
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.rq-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--rq-ink);
}

.rq-card p { color: var(--rq-ink-soft); }

.rq-icon-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rq-gradient);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: background-color 0.35s ease;
}

.rq-icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rq-scroll-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.rq-scroll-track > .rq-card {
  flex: 0 0 82%;
  scroll-snap-align: center;
}

@media (min-width: 880px) {
  .rq-scroll-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }
  .rq-scroll-track > .rq-card { flex: none; }
}

.rq-feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .rq-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

.rq-feature-card:hover {
  background: var(--rq-gradient);
  border-color: transparent;
}

.rq-feature-card:hover h3 { color: #fff; }
.rq-feature-card:hover p { color: #E0F2FE; }
.rq-feature-card:hover .rq-icon-ring { background: rgba(255, 255, 255, 0.2); }

.rq-principle-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .rq-principle-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Process ---------- */
.rq-process {
  display: grid;
  gap: 32px;
  position: relative;
}

.rq-step {
  position: relative;
  text-align: center;
  padding: 0 10px;
}

.rq-step-dot {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rq-surface-alt);
  border: 2px solid var(--rq-tone);
  color: var(--rq-tone);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
}

.rq-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--rq-ink);
}

@media (min-width: 800px) {
  .rq-process { grid-template-columns: repeat(3, 1fr); }
  .rq-process::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 16.6%;
    right: 16.6%;
    height: 2px;
    background: var(--rq-gradient);
    z-index: 0;
  }
}

/* For about page with four steps */
.rq-process:has(> .rq-step:nth-child(4)) { grid-template-columns: 1fr; }

@media (min-width: 800px) {
  .rq-process:has(> .rq-step:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
  .rq-process:has(> .rq-step:nth-child(4))::before { left: 12.5%; right: 12.5%; }
}

/* ---------- Buttons ---------- */
.rq-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rq-tone);
  color: var(--rq-bg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.rq-cta:hover {
  background: var(--rq-tone-hover);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.18);
}

.rq-cta:active { transform: scale(0.98); }

.rq-cta-strip {
  background: var(--rq-gradient);
  color: #fff;
  border-radius: var(--rq-radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  box-shadow: var(--rq-shadow);
}

.rq-cta-strip h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  max-width: 560px;
}

.rq-btn-dark {
  display: inline-flex;
  background: var(--rq-bg);
  color: #fff;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.rq-btn-dark:hover { background: #1F2937; }

@media (min-width: 800px) {
  .rq-cta-strip {
    flex-direction: row;
    align-items: center;
    padding: 44px 44px;
  }
}

/* ---------- About split ---------- */
.rq-split {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .rq-split { grid-template-columns: 2fr 3fr; }
}

.rq-split h2 { margin-bottom: 18px; }
.rq-split p { margin-bottom: 16px; }

.rq-figure {
  margin: 0;
  border-radius: var(--rq-radius);
  overflow: hidden;
  border: 1px solid var(--rq-line);
  box-shadow: var(--rq-shadow);
}

.rq-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 900px) {
  .rq-figure img { aspect-ratio: 4 / 5; }
}

.rq-tick-list { margin-top: 8px; }

/* ---------- Reserve ---------- */
.rq-reserve-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .rq-reserve-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .rq-reserve-aside { position: sticky; top: 110px; align-self: start; }
}

.rq-reserve-aside h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; margin-bottom: 18px; }
.rq-trust { margin-bottom: 14px; }

.rq-form {
  background: var(--rq-surface);
  border: 1px solid var(--rq-line);
  border-radius: var(--rq-radius);
  padding: 30px 24px;
  display: grid;
  gap: 18px;
  box-shadow: var(--rq-shadow);
}

.rq-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--rq-ink);
}

.rq-form input[type="text"],
.rq-form input[type="tel"],
.rq-form textarea {
  font: inherit;
  color: var(--rq-ink);
  background: var(--rq-bg);
  border: 1px solid #3A4A60;
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}

.rq-form input::placeholder,
.rq-form textarea::placeholder { color: #8594A8; }

.rq-form input:focus,
.rq-form textarea:focus {
  outline: 3px solid var(--rq-tone);
  outline-offset: 1px;
}

.rq-check {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400 !important;
  color: var(--rq-ink-soft) !important;
}

.rq-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--rq-tone);
}

.rq-check a { color: var(--rq-tone); }

.rq-submit { justify-self: start; }

.rq-num-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.rq-num-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--rq-ink-soft);
}

.rq-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--rq-bg);
  flex-shrink: 0;
}

.rq-num-a { background: var(--rq-badge-a); }
.rq-num-b { background: var(--rq-badge-b); }
.rq-num-c { background: var(--rq-badge-c); }
.rq-num-d { background: var(--rq-badge-d); }

.rq-faq { display: grid; gap: 12px; }

.rq-faq details {
  background: var(--rq-surface);
  border: 1px solid var(--rq-line);
  border-radius: 12px;
  padding: 16px 20px;
}

.rq-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--rq-ink);
  list-style: none;
}

.rq-faq summary::-webkit-details-marker { display: none; }

.rq-faq details p { margin-top: 10px; }

/* ---------- Legal and thank ---------- */
.rq-legal-page { min-height: 100vh; }

.rq-legal {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--rq-section-pad) 20px;
}

.rq-legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--rq-ink);
}

.rq-legal h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin: 36px 0 14px;
  color: var(--rq-ink);
}

.rq-legal p {
  color: var(--rq-ink-soft);
  margin-bottom: 16px;
}

.rq-thank-wrap {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 60px 20px;
  background: url('img/bg3.webp') center / cover no-repeat;
}

.rq-thank-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.78), rgba(13, 17, 23, 0.94));
}

.rq-thank-box {
  max-width: 620px;
  text-align: center;
  background: var(--rq-surface);
  border: 1px solid var(--rq-line);
  padding: 40px 28px;
  border-radius: var(--rq-radius);
  box-shadow: var(--rq-shadow);
}

.rq-thank-box h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.rq-thank-box .rq-lead { margin: 0 auto 28px; }

/* ---------- Cookie banner ---------- */
.rq-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 720px;
  margin: 0 auto;
  z-index: 9999;
  background: var(--rq-surface-alt);
  border: 1px solid var(--rq-line);
  border-radius: var(--rq-radius);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--rq-shadow);
}

.rq-cookie[hidden] { display: none; }
.rq-cookie p { color: var(--rq-ink); font-size: 0.95rem; flex: 1 1 260px; }
.rq-cookie a { color: var(--rq-tone); }

.rq-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.rq-cookie button {
  font: inherit;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--rq-tone);
}

#accept-cookie { background: var(--rq-tone); color: var(--rq-bg); }
#decline-cookie { background: transparent; color: var(--rq-ink); }
#accept-cookie:hover { background: var(--rq-tone-hover); }
#decline-cookie:hover { background: rgba(255, 255, 255, 0.06); }

/* ---------- Footer ---------- */
.rq-footer {
  background: #080B10;
  border-top: 1px solid var(--rq-line);
  padding: 40px 20px 28px;
  color: var(--rq-ink-soft);
}

.rq-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  justify-items: start;
}

.rq-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.rq-footer-links a { color: var(--rq-tone); }
.rq-disclaimer { font-size: 0.92rem; max-width: 70ch; }
.rq-copy { font-size: 0.9rem; }

/* ---------- Scroll-driven and view-driven reveal (opacity only) ---------- */
@supports (animation-timeline: view()) {
  .rq-reveal {
    animation: rq-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }
}

@keyframes rq-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- JS stagger (only when html has .js) ---------- */
html.js .rq-stagger {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .rq-stagger.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html { view-transition-name: none; }
}

@media (max-width: 420px) {
  .rq-hero { padding-left: 16px; padding-right: 16px; }
  .rq-cta-strip { padding: 28px 20px; }
  .rq-card { padding: 22px; }
  .rq-form { padding: 24px 18px; }
}