/* Reservi Landing */

:root {
  --rv-bg: #070b14;
  --rv-bg-2: #0f172a;
  --rv-surface: rgba(255, 255, 255, 0.04);
  --rv-border: rgba(148, 163, 184, 0.18);
  --rv-text: #e8eef9;
  --rv-muted: #94a3b8;
  --rv-navy: #1e3a5f;
  --rv-purple: #7c3aed;
  --rv-purple-2: #a78bfa;
  --rv-sky: #38bdf8;
  --rv-ok: #34d399;
  --rv-err: #fb7185;
  --rv-radius: 14px;
  --rv-font: "Outfit", system-ui, sans-serif;
  --rv-display: "Nunito", "Outfit", system-ui, sans-serif;
  --rv-max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body.reservi-body {
  margin: 0;
  font-family: var(--rv-font);
  color: var(--rv-text);
  background: var(--rv-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rv-purple-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.rv-wrap {
  width: min(100% - 2.5rem, var(--rv-max));
  margin-inline: auto;
}

/* Buttons */
.rv-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--rv-font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  text-decoration: none;
  line-height: 1.2;
}

.rv-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.rv-btn--whatsapp {
  color: #fff;
  background: linear-gradient(135deg, #128c7e, #25d366);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.rv-btn--whatsapp:hover {
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.38);
}

.rv-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #6d28d9, var(--rv-purple) 45%, #4f46e5);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.35);
}

.rv-btn--primary:hover {
  box-shadow: 0 14px 34px rgba(124, 58, 237, 0.45);
}

.rv-btn--secondary {
  color: var(--rv-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rv-border);
}

.rv-btn--ghost {
  color: var(--rv-text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.rv-btn--lg {
  padding: 0.95rem 1.55rem;
  font-size: 1.02rem;
}

.rv-btn--block {
  width: 100%;
}

.rv-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* Nav */
.rv-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.rv-nav.is-scrolled {
  border-bottom-color: var(--rv-border);
  background: rgba(7, 11, 20, 0.9);
}

.rv-nav__inner {
  width: min(100% - 2rem, var(--rv-max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.rv-nav__brand img {
  height: 36px;
  width: auto;
}

.rv-nav__links {
  display: flex;
  gap: 1.35rem;
}

.rv-nav__links a {
  color: var(--rv-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.rv-nav__links a:hover {
  color: #fff;
  text-decoration: none;
}

.rv-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.rv-nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rv-border);
  border-radius: 10px;
  background: transparent;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.rv-nav__burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.rv-nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.75rem 1.25rem 1.25rem;
  border-top: 1px solid var(--rv-border);
  background: rgba(7, 11, 20, 0.98);
}

.rv-nav__mobile a {
  color: var(--rv-text);
  font-weight: 500;
}

@media (max-width: 860px) {
  .rv-nav__links,
  .rv-nav__actions {
    display: none;
  }

  .rv-nav__burger {
    display: flex;
  }

  .rv-nav__mobile:not([hidden]) {
    display: flex;
  }
}

/* Hero — one composition, brand first */
.rv-hero {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  overflow: hidden;
  padding: 3.5rem 0 4.5rem;
  display: flex;
  align-items: center;
}

.rv-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 15% 20%, rgba(124, 58, 237, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 15%, rgba(56, 189, 248, 0.16), transparent 50%),
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(30, 58, 95, 0.55), transparent 60%),
    linear-gradient(180deg, #070b14 0%, #0b1324 55%, #070b14 100%);
  z-index: 0;
}

.rv-hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.5;
  z-index: 0;
  animation: rv-mesh 18s linear infinite;
}

@keyframes rv-mesh {
  from { transform: translateY(0); }
  to { transform: translateY(56px); }
}

.rv-hero__layout {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--rv-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.rv-hero__content {
  position: relative;
  z-index: 3;
  max-width: 640px;
  animation: rv-rise 0.9s ease both;
}

.rv-hero__logo {
  width: min(280px, 72vw);
  height: auto;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 8px 24px rgba(124, 58, 237, 0.25));
}

.rv-hero__tagline {
  margin: 0 0 1.35rem;
  font-family: var(--rv-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rv-purple-2);
}

.rv-hero__headline {
  margin: 0 0 1rem;
  font-family: var(--rv-display);
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
}

.rv-hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: var(--rv-muted);
  max-width: 38rem;
}

.rv-hero__cta {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rv-hero__visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  justify-self: end;
  animation: rv-float 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes rv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes rv-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.rv-hero__panel {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.75));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.rv-hero__panel-bar {
  display: flex;
  gap: 6px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rv-hero__panel-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.45);
}

.rv-hero__panel-bar span:first-child { background: #fb7185; }
.rv-hero__panel-bar span:nth-child(2) { background: #fbbf24; }
.rv-hero__panel-bar span:nth-child(3) { background: #34d399; }

.rv-hero__panel-body {
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.rv-hero__row {
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.35), rgba(56, 189, 248, 0.12));
}

.rv-hero__row--b {
  width: 78%;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.25), rgba(124, 58, 237, 0.1));
}

.rv-hero__row--c {
  width: 62%;
  background: rgba(255, 255, 255, 0.06);
}

.rv-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.rv-hero__chips span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 960px) {
  .rv-hero__layout {
    grid-template-columns: 1fr;
  }

  .rv-hero__visual {
    display: none;
  }

  .rv-hero {
    min-height: auto;
    padding: 3rem 0 3.5rem;
  }
}

/* Sections */
.rv-section {
  padding: 5rem 0;
}

.rv-section--alt {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.65), rgba(7, 11, 20, 0.2));
  border-block: 1px solid var(--rv-border);
}

.rv-section--compact {
  padding: 3rem 0 4.5rem;
}

.rv-section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.rv-section__head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--rv-display);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.rv-section__head p {
  margin: 0;
  color: var(--rv-muted);
  font-size: 1.05rem;
}

.rv-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.rv-feature {
  padding: 1.35rem 1.25rem;
  border-radius: var(--rv-radius);
  border: 1px solid var(--rv-border);
  background: var(--rv-surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.rv-feature:hover {
  border-color: rgba(124, 58, 237, 0.45);
  transform: translateY(-3px);
}

.rv-feature h3 {
  margin: 0 0 0.45rem;
  font-family: var(--rv-display);
  font-size: 1.1rem;
  color: #fff;
}

.rv-feature p {
  margin: 0;
  color: var(--rv-muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .rv-features {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px) and (max-width: 1024px) {
  .rv-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Steps */
.rv-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}

.rv-steps li {
  padding: 1.5rem 1.25rem;
  border-radius: var(--rv-radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--rv-border);
}

.rv-steps__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.2);
  color: var(--rv-purple-2);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.rv-steps h3 {
  margin: 0 0 0.4rem;
  font-family: var(--rv-display);
  color: #fff;
  font-size: 1.1rem;
}

.rv-steps p {
  margin: 0;
  color: var(--rv-muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .rv-steps {
    grid-template-columns: 1fr;
  }
}

/* Plans — cards only for interaction */
.rv-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}

.rv-plan {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.6rem 1.35rem;
  border-radius: 18px;
  border: 1px solid var(--rv-border);
  background: rgba(255, 255, 255, 0.03);
}

.rv-plan--highlight {
  border-color: rgba(124, 58, 237, 0.55);
  background:
    linear-gradient(165deg, rgba(124, 58, 237, 0.18), rgba(15, 23, 42, 0.4));
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.15);
}

.rv-plan__badge {
  margin: 0;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rv-purple);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
}

.rv-plan h3 {
  margin: 0;
  font-family: var(--rv-display);
  font-size: 1.35rem;
  color: #fff;
}

.rv-plan__price {
  margin: 0;
  color: var(--rv-text);
}

.rv-plan__price strong {
  font-size: 2rem;
  font-family: var(--rv-display);
  font-weight: 800;
}

.rv-plan__price span {
  color: var(--rv-muted);
  font-size: 0.95rem;
  margin-left: 0.15rem;
}

.rv-plan__desc {
  margin: 0;
  color: var(--rv-muted);
  font-size: 0.95rem;
}

.rv-plan ul {
  margin: 0 0 0.5rem;
  padding: 0 0 0 1.1rem;
  color: var(--rv-muted);
  flex: 1;
}

.rv-plan li {
  margin-bottom: 0.35rem;
}

.rv-plan .rv-btn {
  margin-top: auto;
}

@media (max-width: 900px) {
  .rv-plans {
    grid-template-columns: 1fr;
  }
}

/* CTA band */
.rv-cta {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse 70% 120% at 50% 0%, rgba(124, 58, 237, 0.28), transparent 60%),
    linear-gradient(180deg, #0b1324, #070b14);
  border-top: 1px solid var(--rv-border);
}

.rv-cta__inner {
  text-align: center;
  max-width: 36rem;
}

.rv-cta h2 {
  margin: 0 0 0.65rem;
  font-family: var(--rv-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  color: #fff;
}

.rv-cta p {
  margin: 0 0 1.35rem;
  color: var(--rv-muted);
}

.rv-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.rv-privacy {
  max-width: 42rem;
  color: var(--rv-muted);
  font-size: 0.95rem;
}

.rv-privacy h2 {
  margin: 0 0 0.65rem;
  font-family: var(--rv-display);
  color: #fff;
  font-size: 1.25rem;
}

/* Footer */
.rv-footer {
  border-top: 1px solid var(--rv-border);
  padding: 3rem 0 1.5rem;
  background: #050810;
}

.rv-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.rv-footer__logo {
  width: 130px;
  margin-bottom: 0.65rem;
}

.rv-footer__tag {
  margin: 0;
  color: var(--rv-muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rv-footer__title {
  margin: 0 0 0.65rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.rv-footer a {
  display: block;
  color: var(--rv-muted);
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.rv-footer__copy {
  border-top: 1px solid var(--rv-border);
  padding-top: 1.15rem;
}

.rv-footer__copy p {
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .rv-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Modal */
.rv-modal[hidden] {
  display: none !important;
}

.rv-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.rv-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(4px);
}

.rv-modal__dialog {
  position: relative;
  width: min(100%, 480px);
  max-height: min(92vh, 760px);
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, #111827, #0b1220);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  padding: 1.5rem 1.35rem 1.4rem;
  animation: rv-rise 0.28s ease both;
}

.rv-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  color: var(--rv-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.rv-modal__head h2 {
  margin: 0 0 0.4rem;
  font-family: var(--rv-display);
  font-size: 1.35rem;
  color: #fff;
  padding-right: 1.5rem;
}

.rv-modal__head p {
  margin: 0 0 1.15rem;
  color: var(--rv-muted);
  font-size: 0.92rem;
}

.rv-form fieldset {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}

.rv-form legend {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rv-purple-2);
  margin-bottom: 0.65rem;
}

.rv-form label {
  display: block;
  margin-bottom: 0.75rem;
}

.rv-form label > span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.rv-form input[type="text"],
.rv-form input[type="email"],
.rv-form input[type="password"] {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  outline: none;
}

.rv-form input:focus {
  border-color: rgba(124, 58, 237, 0.7);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.rv-form small {
  display: block;
  margin-top: 0.25rem;
  color: #64748b;
  font-size: 0.78rem;
}

.rv-form__checks {
  display: grid;
  gap: 0.65rem;
  margin: 0.5rem 0 1rem;
}

.rv-check {
  display: flex !important;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--rv-muted);
  margin: 0 !important;
}

.rv-check input {
  margin-top: 0.2rem;
  accent-color: var(--rv-purple);
}

.rv-form__feedback {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.rv-form__feedback.is-error {
  background: rgba(251, 113, 133, 0.12);
  color: #fecdd3;
  border: 1px solid rgba(251, 113, 133, 0.35);
}

.rv-form__feedback.is-ok {
  background: rgba(52, 211, 153, 0.12);
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.rv-form__success {
  text-align: center;
  padding: 1rem 0 0.25rem;
}

.rv-form__success h3 {
  margin: 0 0 0.5rem;
  font-family: var(--rv-display);
  color: var(--rv-ok);
}

.rv-form__success p {
  margin: 0 0 1.15rem;
  color: var(--rv-muted);
}

/* Generic page */
.rv-page {
  padding: 3rem 0 4rem;
}

.rv-page h1 {
  font-family: var(--rv-display);
  color: #fff;
}

.rv-content {
  color: var(--rv-muted);
}

body.rv-modal-open {
  overflow: hidden;
}

/* Floating WhatsApp */
.rv-wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem 0.75rem 0.85rem;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.92rem;
  background: linear-gradient(135deg, #128c7e, #25d366);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: rv-wa-pulse 2.8s ease-in-out infinite;
}

.rv-wa-float:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.5);
}

.rv-wa-float svg {
  flex-shrink: 0;
}

@keyframes rv-wa-pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55), 0 0 0 10px rgba(37, 211, 102, 0.12); }
}

@media (max-width: 520px) {
  .rv-wa-float span {
    display: none;
  }

  .rv-wa-float {
    padding: 0.85rem;
    border-radius: 999px;
  }
}
