:root {
  --primary: #311993;
  --primary-dark: #21105f;
  --accent: #ff6c00;
  --green: #168a49;
  --ink: #172033;
  --muted: #667085;
  --line: #e5e7eb;
  --surface: #ffffff;
  --soft: #f6f7fb;
  --trust: #e9f7ef;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 112px; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.rv-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(16px, 5vw, 72px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.rv-brand img { width: 148px; height: auto; }

.rv-menu-toggle {
  display: none;
}

.rv-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 700;
}

.rv-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #344054;
}

.rv-nav a:hover { background: #f2f4f7; color: var(--primary); }
.rv-nav .rv-login { background: var(--primary); color: white; }
.rv-nav .rv-login:hover { background: var(--primary-dark); color: white; }

.rv-hero {
  min-height: 360px;
  display: grid;
  align-items: center;
  padding: 48px clamp(16px, 5vw, 72px) 28px;
  background:
    linear-gradient(90deg, rgba(23,32,51,.86), rgba(49,25,147,.64)),
    url("../img/misiones/misiones.jpeg") center/cover;
  color: white;
}

.rv-hero-inner {
  width: min(1120px, 100%);
  display: grid;
  gap: 18px;
}

.rv-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.rv-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 5.5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.rv-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.45;
}

.rv-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.rv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
}

.rv-btn-primary { background: var(--accent); color: white; }
.rv-btn-light { background: white; color: var(--primary); }
.rv-btn-outline { border-color: rgba(255,255,255,.55); color: white; }

.rv-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.rv-trust-item {
  background: white;
  padding: 14px clamp(14px, 3vw, 26px);
}

.rv-trust-item strong { display: block; color: var(--primary); margin-bottom: 4px; }
.rv-trust-item span { color: var(--muted); font-size: 14px; line-height: 1.4; }

.rv-section {
  padding: 38px clamp(16px, 5vw, 72px);
  scroll-margin-top: 86px;
}
.rv-section-alt { background: white; }

.rv-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 18px;
  max-width: 1180px;
}

.rv-section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: 0;
}

.rv-section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.38;
}

.rv-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rv-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16,24,40,.06);
}

.rv-card-media { aspect-ratio: 16 / 10; background: #d0d5dd; overflow: hidden; }
.rv-card-media img { width: 100%; height: 100%; object-fit: cover; }
.rv-card-body { padding: 18px; display: grid; gap: 12px; }
.rv-card h3 { margin: 0; font-size: 21px; line-height: 1.2; }
.rv-card p { margin: 0; color: var(--muted); line-height: 1.5; }

.rv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #475467;
  font-size: 13px;
}

.rv-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}

.rv-pill-ok { background: var(--trust); color: #05603a; }
.rv-rating { color: #b54708; font-weight: 900; }

.rv-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.rv-card-actions .rv-btn { min-height: 40px; padding: 9px 12px; font-size: 14px; }
.rv-card-actions .rv-btn-primary { background: var(--primary); }
.rv-card-actions .rv-btn-light { background: #f9fafb; border-color: var(--line); color: var(--ink); }

.rv-package-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rv-package-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16,24,40,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rv-package-card:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 25, 147, .28);
  box-shadow: 0 18px 38px rgba(16,24,40,.13);
}

.rv-package-image {
  display: block;
  aspect-ratio: 1.36 / 1;
  overflow: hidden;
  background: #d0d5dd;
}

.rv-package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.rv-package-card:hover .rv-package-image img { transform: scale(1.04); }

.rv-package-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 12px 12px;
}

.rv-package-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rv-package-body h3 {
  margin: 0;
  min-height: 0;
  font-size: 17px;
  line-height: 1.15;
  color: #101828;
}

.rv-package-summary {
  display: -webkit-box;
  margin: 0;
  min-height: 46px;
  overflow: hidden;
  color: #475467;
  font-size: 13px;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.rv-package-info {
  display: grid;
  gap: 5px;
  color: #344054;
  font-size: 12px;
  font-weight: 750;
}

.rv-package-info span {
  min-width: 0;
  padding: 5px 8px;
  border-radius: 7px;
  background: #f8fafc;
  border: 1px solid #eef0f3;
}

.rv-package-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #667085;
  font-size: 12px;
  line-height: 1.1;
}

.rv-package-agency {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.15;
}

.rv-package-agency a {
  color: var(--primary);
  font-weight: 800;
}

.rv-package-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.rv-package-actions .rv-btn {
  min-height: 32px;
  padding: 6px;
  border-radius: 7px;
  font-size: 13px;
}

.rv-verify-band {
  padding: 22px clamp(16px, 5vw, 72px) 0;
}

.rv-verify-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16,24,40,.06);
}

.rv-verify-inner img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  padding: 5px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white;
}

.rv-verify-inner h2 {
  margin: 7px 0 4px;
  font-size: 22px;
  line-height: 1.15;
}

.rv-verify-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.rv-verify-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 250px;
}

.rv-verify-actions .rv-btn {
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 13px;
}

.rv-social-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 7px;
  background: #f9fafb;
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.rv-search {
  max-width: 1220px;
  margin: -24px auto 0;
  padding: 12px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr) auto;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(16,24,40,.16);
}

.rv-search input,
.rv-search select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
}

.rv-band {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.rv-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.rv-panel h3 { margin: 0 0 10px; font-size: 24px; }
.rv-panel p, .rv-panel li { color: var(--muted); line-height: 1.55; }
.rv-panel ul { padding-left: 20px; margin: 12px 0 0; }

.rv-detail {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 360px;
  gap: 24px;
}

.rv-detail-hero {
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
  background: #d0d5dd;
}

.rv-detail-hero img { width: 100%; height: 100%; object-fit: cover; }

.rv-trip-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px clamp(16px, 5vw, 72px) 26px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
}

.rv-trip-hero-copy {
  display: grid;
  gap: 14px;
}

.rv-trip-hero h1 {
  margin: 0;
  color: #101828;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
}

.rv-trip-hero p {
  margin: 0;
  color: #475467;
  font-size: 17px;
  line-height: 1.45;
}

.rv-trip-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.rv-trip-hero-actions .rv-btn {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 7px;
}

.rv-btn-download {
  background: #101828;
  color: white;
}

.rv-btn-download:hover {
  background: #344054;
}

.rv-btn-download.is-disabled {
  background: #eef0f3;
  color: #667085;
  cursor: not-allowed;
}

.rv-trip-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
  min-height: 360px;
}

.rv-trip-gallery-main,
.rv-trip-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(16,24,40,.08);
}

.rv-trip-gallery-thumbs {
  display: grid;
  gap: 10px;
}

.rv-gallery-thumb {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.rv-gallery-thumb img {
  transition: transform .18s ease, outline-color .18s ease;
}

.rv-gallery-thumb:hover img,
.rv-gallery-thumb.is-active img {
  outline: 3px solid rgba(255,108,0,.9);
  outline-offset: 2px;
  transform: scale(.98);
}

.rv-trip-summary-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 72px) 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rv-trip-summary-strip div {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 22px rgba(16,24,40,.05);
}

.rv-trip-summary-strip strong {
  display: block;
  margin-bottom: 3px;
  color: #667085;
  font-size: 11px;
  text-transform: uppercase;
}

.rv-trip-summary-strip span {
  display: block;
  overflow-wrap: anywhere;
  color: #101828;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
}

.rv-detail-nav {
  position: sticky;
  top: 80px;
  z-index: 12;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px clamp(16px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(246,247,251,.92);
  backdrop-filter: blur(10px);
}

.rv-detail-nav a {
  padding: 8px 12px;
  border-radius: 7px;
  background: white;
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.rv-detail-nav a.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 8px 18px rgba(49,25,147,.22);
}

.rv-wide-detail {
  max-width: 1200px;
  margin: 0 auto;
}

.rv-section-title {
  margin-bottom: 14px;
}

.rv-section-title h2 {
  margin: 8px 0 4px;
  font-size: clamp(25px, 2.8vw, 34px);
  line-height: 1.1;
}

.rv-section-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.rv-fact-grid,
.rv-coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.rv-fact-card,
.rv-coverage-card {
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eef0f3;
}

.rv-fact-card {
  display: grid;
  gap: 7px;
  min-height: 138px;
  align-content: start;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 20px rgba(16,24,40,.045);
}

.rv-fact-card span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: #f3f0ff;
  color: var(--primary);
  font-size: 18px;
}

.rv-fact-card strong,
.rv-coverage-card strong {
  display: block;
  margin-bottom: 0;
  color: #101828;
}

.rv-fact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.28;
}

.rv-included-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.rv-compact-details {
  margin-top: 16px;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.rv-compact-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.rv-compact-details summary::-webkit-details-marker {
  display: none;
}

.rv-compact-details summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  font-weight: 900;
}

.rv-compact-details[open] summary::after {
  content: "−";
}

.rv-compact-details summary span {
  display: block;
  color: #101828;
  font-size: 17px;
  font-weight: 900;
}

.rv-compact-details summary small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.rv-mini-list {
  padding: 14px;
  border-radius: 8px;
  background: #fbfcff;
  border: 1px solid #eef0f3;
}

.rv-mini-list h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.15;
}

.rv-clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.35;
}

.rv-clean-list li + li {
  margin-top: 7px;
}

.rv-clean-list li {
  position: relative;
  padding-left: 20px;
}

.rv-clean-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.rv-program-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rv-program-card {
  padding: 18px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(16,24,40,.07);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.rv-program-card:hover,
.rv-program-card.is-emphasized {
  transform: translateY(-3px);
  border-color: rgba(49,25,147,.28);
  box-shadow: 0 18px 38px rgba(16,24,40,.12);
}

.rv-program-card h3 {
  margin: 0 0 10px;
  color: #101828;
  font-size: 20px;
  line-height: 1.18;
}

.rv-program-card ul {
  margin: 0;
  padding-left: 18px;
  color: #475467;
  line-height: 1.42;
}

.rv-program-card li + li {
  margin-top: 7px;
}

.rv-program-card p {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: #667085;
  font-size: 13px;
  line-height: 1.4;
}

.rv-booking-card .rv-card-actions {
  display: grid;
}

.rv-qr-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.rv-qr-card img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.rv-qr-card h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.rv-qr-card p {
  margin: 0;
  line-height: 1.35;
}

.rv-coverage-grid {
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rv-coverage-card {
  min-height: 168px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 18px 14px;
  text-align: center;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-color: #e8edf5;
  box-shadow: 0 12px 28px rgba(16,24,40,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rv-coverage-card:hover {
  transform: translateY(-3px);
  border-color: rgba(22,138,73,.22);
  box-shadow: 0 18px 34px rgba(16,24,40,.1);
}

.rv-coverage-card span {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #ecfdf3 0%, #dff8e9 100%);
  color: #05603a;
  font-size: 23px;
  box-shadow: inset 0 0 0 1px rgba(22,138,73,.08);
}

.rv-coverage-card strong {
  color: #101828;
  font-size: 13px;
  line-height: 1.22;
  letter-spacing: 0;
}

.rv-budget-steps {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  counter-reset: budget;
}

.rv-budget-steps li {
  counter-increment: budget;
  min-height: 54px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px;
  border-radius: 8px;
  border: 1px solid #eef0f3;
  background: #f8fafc;
  color: #344054;
  line-height: 1.3;
}

.rv-budget-steps li::before {
  content: counter(budget);
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.rv-review-help {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef0f3;
}

.rv-review-help strong {
  display: block;
  margin-bottom: 6px;
  color: #101828;
}

.rv-review-help p {
  margin: 0 0 12px;
  line-height: 1.4;
}

.rv-trip-next {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 72px) 42px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rv-trip-next-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.rv-trip-next .rv-btn {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 14px;
}

.rv-file-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  line-height: 1.35;
}

.rv-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.rv-review {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.rv-review:first-child { border-top: 0; padding-top: 0; }
.rv-review p { margin: 6px 0 0; color: var(--muted); line-height: 1.5; }

.rv-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding: 36px clamp(16px, 5vw, 72px);
  background: #111827;
  color: #d0d5dd;
}

.rv-footer img { width: 148px; margin-bottom: 12px; filter: brightness(1.2); }
.rv-footer p { color: #98a2b3; max-width: 560px; }
.rv-footer a { display: block; color: #f2f4f7; margin-top: 8px; }

.rv-admin-login {
  max-width: 520px;
  margin: 0 auto;
}

.rv-admin-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.rv-admin-layout h2,
.rv-admin-login h1 {
  margin: 0 0 14px;
  color: #101828;
}

.rv-admin-form {
  display: grid;
  gap: 12px;
}

.rv-admin-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

.rv-admin-form input,
.rv-admin-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  color: #101828;
  background: white;
  font: inherit;
}

.rv-admin-form textarea {
  resize: vertical;
  line-height: 1.45;
}

.rv-admin-form input:focus,
.rv-admin-form textarea:focus {
  outline: 3px solid rgba(49,25,147,.15);
  border-color: var(--primary);
}

.rv-admin-list {
  display: grid;
  gap: 14px;
}

.rv-admin-agency-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(16,24,40,.07);
}

.rv-admin-agency-card img {
  width: 132px;
  height: 96px;
  object-fit: contain;
  padding: 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef0f3;
}

.rv-admin-agency-card h3 {
  margin: 8px 0 6px;
  font-size: 22px;
}

.rv-admin-agency-card p {
  margin: 0 0 8px;
  color: #667085;
  line-height: 1.45;
}

.rv-admin-agency-card blockquote {
  margin: 10px 0;
  padding: 10px 12px;
  border-left: 4px solid var(--accent);
  background: #fff7ed;
  color: #5f370e;
  border-radius: 0 8px 8px 0;
}

.rv-btn-danger {
  background: #b42318;
  color: white;
}

.rv-btn-danger:hover { background: #912018; }

.rv-form-error,
.rv-form-success {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 800;
}

.rv-form-error {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}

.rv-form-success {
  background: #ecfdf3;
  color: #05603a;
  border: 1px solid #abefc6;
}

.rv-agency-review {
  margin: 0;
  padding: 10px 12px;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: #fff7ed;
  color: #5f370e;
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .rv-topbar {
    min-height: 58px;
    align-items: center;
    padding: 8px 14px;
  }

  .rv-brand img { width: 118px; }

  .rv-menu-toggle {
    width: 42px;
    height: 38px;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(16,24,40,.08);
    cursor: pointer;
  }

  .rv-menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: var(--primary);
    transition: transform .18s ease, opacity .18s ease, background .18s ease;
  }

  .rv-menu-toggle strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .rv-menu-toggle[aria-expanded="true"] {
    background: var(--primary);
    border-color: var(--primary);
  }

  .rv-menu-toggle[aria-expanded="true"] span {
    background: #fff;
  }

  .rv-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .rv-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .rv-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .rv-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    width: min(84vw, 280px);
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 42px rgba(16,24,40,.18);
  }

  .rv-nav.is-open {
    display: grid;
  }

  .rv-nav a {
    width: 100%;
    padding: 11px 12px;
    border-radius: 8px;
  }

  .rv-nav .rv-login {
    text-align: center;
  }

  .rv-search { grid-template-columns: 1fr; margin-top: 0; border-radius: 0; }
  .rv-trust-strip { grid-template-columns: 1fr 1fr; }
  .rv-section-head { align-items: flex-start; flex-direction: column; }
  .rv-grid, .rv-band, .rv-detail, .rv-footer, .rv-admin-layout { grid-template-columns: 1fr; }
  .rv-trip-hero, .rv-program-grid, .rv-included-panel { grid-template-columns: 1fr; }
  .rv-trip-summary-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-trip-gallery { grid-template-columns: 1fr; min-height: 0; }
  .rv-trip-gallery-main { aspect-ratio: 16 / 10; }
  .rv-trip-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .rv-trip-gallery-thumbs img { aspect-ratio: 1 / 1; }
  .rv-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-verify-inner { grid-template-columns: 72px minmax(0, 1fr); }
  .rv-verify-inner img { width: 72px; height: 72px; }
  .rv-verify-actions { grid-column: 1 / -1; min-width: 0; }
  .rv-sidebar { position: static; }
}

@media (max-width: 560px) {
  .rv-trust-strip { grid-template-columns: 1fr; }
  .rv-hero { min-height: 70vh; }
  .rv-package-grid { grid-template-columns: 1fr; }
  .rv-fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-coverage-grid { grid-template-columns: 1fr; }
  .rv-trip-summary-strip, .rv-budget-steps { grid-template-columns: 1fr; }
  .rv-trip-next { align-items: stretch; }
  .rv-trip-next,
  .rv-trip-next-controls { display: grid; }
  .rv-detail-nav { top: 0; }
  .rv-verify-inner { grid-template-columns: 1fr; }
  .rv-verify-actions { grid-template-columns: 1fr 1fr; }
  .rv-admin-agency-card { grid-template-columns: 1fr; }
  .rv-admin-agency-card img { width: 100%; height: 110px; }
}
