/* Reservation Help Desk — page styles (built on the NodexTravel design tokens) */

html {
  scroll-behavior: smooth;
}

#stages,
#how-it-works,
#guide,
#checklist,
#faqs,
#call,
.rsh-prose h2 {
  scroll-margin-top: 6.5rem;
}

.rsh-hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-sky);
}

.rsh-hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding-block: 4rem;
}

@media (min-width: 768px) {
  .rsh-hero-grid {
    grid-template-columns: 1.45fr 1fr;
    padding-block: 5.5rem;
  }
}

.rsh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.rsh-breadcrumb a:hover {
  color: var(--primary);
}

.rsh-breadcrumb strong {
  color: var(--foreground);
  font-weight: 600;
}

.rsh-hero-title {
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.rsh-hero-copy {
  margin-top: 1.25rem;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.rsh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.rsh-hero-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.rsh-hero-art {
  position: relative;
  display: none;
  justify-content: center;
}

@media (min-width: 768px) {
  .rsh-hero-art {
    display: flex;
  }
}

.rsh-hero-art::after {
  content: "";
  position: absolute;
  bottom: 1.5rem;
  height: 2.5rem;
  width: 14rem;
  border-radius: 999px;
  background: oklch(56% 0.17 245 / 0.2);
  filter: blur(24px);
}

.rsh-hero-art img {
  position: relative;
  width: 18rem;
  animation: float 6s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .rsh-hero-art img {
    width: 20rem;
  }
}

.rsh-section {
  padding-top: 5rem;
}

@media (min-width: 768px) {
  .rsh-section {
    padding-top: 6.5rem;
  }
}

.rsh-soft {
  background: linear-gradient(180deg, oklch(96.8% 0.018 235), oklch(98.5% 0.007 230));
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .rsh-soft {
    padding-bottom: 6.5rem;
  }
}

.rsh-head {
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.rsh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: var(--primary-soft);
  padding: 0.4rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.rsh-head h2 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.rsh-head p {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.rsh-grid-3 {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .rsh-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.rsh-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--card);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.rsh-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3d-hover);
}

.rsh-card-icon {
  height: 4.5rem;
  width: 4.5rem;
  object-fit: contain;
  filter: var(--shadow-icon);
}

.rsh-card h3 {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--foreground);
}

.rsh-card p {
  margin-top: 0.6rem;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.rsh-textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
}

.rsh-textlink:hover {
  color: var(--cta);
}

.rsh-steps {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .rsh-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .rsh-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.rsh-step {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.rsh-step-num {
  display: inline-flex;
  height: 2.5rem;
  min-width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: var(--gradient-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-primary);
}

.rsh-step h3 {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--foreground);
}

.rsh-step p {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.rsh-article-layout {
  display: grid;
  gap: 3rem;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .rsh-article-layout {
    grid-template-columns: minmax(0, 1fr) 19rem;
    gap: 4rem;
  }
}

.rsh-prose {
  max-width: 48rem;
}

.rsh-prose > h2 {
  margin-top: 2.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--foreground);
}

.rsh-prose > h2:first-child {
  margin-top: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.15;
}

.rsh-prose p {
  margin-top: 0.9rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--muted-foreground);
}

.rsh-prose a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rsh-prose a:hover {
  color: var(--cta);
}

.rsh-prose strong {
  color: var(--foreground);
}

.rsh-prose .rsh-note {
  margin-top: 2rem;
  border-left: 4px solid var(--primary);
  border-radius: 0 1rem 1rem 0;
  background: var(--primary-soft);
  padding: 1.15rem 1.35rem;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--foreground);
}

.rsh-aside {
  align-self: start;
}

@media (min-width: 1024px) {
  .rsh-aside {
    position: sticky;
    top: 7rem;
  }
}

.rsh-side-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--card);
  box-shadow: var(--shadow-3d);
}

.rsh-side-card img {
  display: block;
  height: 11rem;
  width: 100%;
  object-fit: cover;
}

.rsh-side-body {
  padding: 1.4rem;
}

.rsh-side-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--foreground);
}

.rsh-side-body p {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.rsh-toc {
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--card);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

.rsh-toc h3 {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.rsh-toc ul {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.7rem;
  list-style: none;
}

.rsh-toc a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--foreground);
}

.rsh-toc a:hover {
  color: var(--primary);
}

.rsh-checklist {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.5rem;
  list-style: none;
}

@media (min-width: 768px) {
  .rsh-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.rsh-check {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.rsh-check:hover {
  border-color: oklch(76% 0.09 240);
}

.rsh-check:has(input:checked) {
  border-color: oklch(80% 0.09 240);
  background: var(--primary-soft);
}

.rsh-check input {
  position: relative;
  flex: none;
  height: 1.35rem;
  width: 1.35rem;
  margin-top: 0.15rem;
  appearance: none;
  border: 2px solid oklch(78% 0.05 245);
  border-radius: 0.4rem;
  background: var(--card);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.rsh-check input:checked {
  border-color: var(--primary);
  background: var(--primary);
}

.rsh-check input:checked::after {
  content: "";
  position: absolute;
  left: 0.38rem;
  top: 0.12rem;
  height: 0.65rem;
  width: 0.35rem;
  border: solid var(--primary-foreground);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.rsh-check span {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--foreground);
}

.rsh-checkline {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted-foreground);
}

.rsh-checkline a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rsh-faq {
  display: grid;
  gap: 0.8rem;
  max-width: 52rem;
  margin: 2.5rem auto 0;
}

.rsh-faq-item {
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rsh-faq-item[open] {
  border-color: oklch(80% 0.08 240);
  box-shadow: var(--shadow-3d);
}

.rsh-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--foreground);
  cursor: pointer;
  list-style: none;
}

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

.rsh-faq-item summary svg {
  flex: none;
  height: 1.1rem;
  width: 1.1rem;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
}

.rsh-faq-item[open] summary svg {
  transform: rotate(180deg);
}

.rsh-faq-a {
  padding: 0 1.35rem 1.25rem;
}

.rsh-faq-a p {
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.rsh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: var(--gradient-cta);
  padding: 0.9rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--cta-foreground);
  box-shadow: var(--shadow-cta);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rsh-btn:hover {
  transform: translateY(-2px);
}

.rsh-btn:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-cta-pressed);
}

.rsh-btn svg {
  height: 1.05rem;
  width: 1.05rem;
}

.rsh-btn-ghost {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.rsh-btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.rsh-btn-light {
  background: var(--primary-foreground);
  color: var(--primary);
  box-shadow: 0 6px 0 oklch(42% 0.15 255 / 0.5);
}

.rsh-btn-light:hover {
  color: var(--primary);
}

/* Mobile navigation drawer */
.rsh-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  justify-content: flex-end;
  background: oklch(23% 0.05 255 / 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.rsh-menu[hidden] {
  display: none;
}

.rsh-menu-panel {
  display: flex;
  height: 100%;
  width: min(21rem, 88vw);
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
  background: var(--background);
  padding: 1.5rem;
  box-shadow: -24px 0 60px -20px oklch(23% 0.05 255 / 0.45);
  animation: rsh-slide-in 0.22s ease-out;
}

@keyframes rsh-slide-in {
  from {
    transform: translateX(1.5rem);
    opacity: 0.4;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.rsh-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rsh-menu-head span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--foreground);
}

.rsh-menu-close {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--foreground);
  cursor: pointer;
}

.rsh-menu a.rsh-menu-link {
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}

.rsh-menu a.rsh-menu-link:hover,
.rsh-menu a.rsh-menu-link[aria-current="page"] {
  background: var(--primary-soft);
  color: var(--primary);
}

.rsh-menu .rsh-btn {
  margin-top: 1rem;
  width: 100%;
}

body.rsh-menu-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .rsh-menu {
    display: none !important;
  }
}
