/* ==========================================================================
   Cartomante — versão estática
   ========================================================================== */

:root {
  --background: #0e0716;
  --card: #170d24;
  --card-soft: #1d1130;
  --border: #2c1c42;
  --foreground: #f4eefb;
  --muted-foreground: #a294b8;
  --primary: #a855f7;
  --primary-strong: #9333ea;
  --primary-foreground: #ffffff;
  --emerald: #34d399;
  --destructive: #f87171;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 860px;
}

.section {
  padding: 96px 0;
}

.section-bordered {
  border-top: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.section-sub {
  max-width: 520px;
  margin: 16px auto 0;
  color: var(--muted-foreground);
}

.text-accent {
  color: var(--primary);
}

/* ---------------------------------------------------------------- navbar -- */

.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(14, 7, 22, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44, 28, 66, 0.7);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--foreground);
}

.logo svg {
  color: var(--primary);
}

.logo-text {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 12px 22px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 30px -12px rgba(168, 85, 247, 0.9);
}

.btn-primary:hover {
  background: var(--primary-strong);
  transform: scale(1.04);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  border-color: rgba(168, 85, 247, 0.45);
  color: var(--primary);
}

.btn-ghost-accent {
  background: transparent;
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--primary);
}

.btn-ghost-accent:hover {
  background: rgba(168, 85, 247, 0.1);
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 16px 34px;
}

.btn-sm {
  font-size: 0.875rem;
  padding: 9px 18px;
}

.btn-block {
  width: 100%;
}

.btn-glow {
  animation: glow-pulse 3.2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 10px 30px -12px rgba(168, 85, 247, 0.75);
  }
  50% {
    box-shadow: 0 14px 44px -10px rgba(168, 85, 247, 1);
  }
}

/* ------------------------------------------------------------------ hero -- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 7, 22, 0.6),
    rgba(14, 7, 22, 0.82) 45%,
    var(--background)
  );
}

.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.2px 1.2px at 32% 62%, rgba(216, 180, 254, 0.5), transparent),
    radial-gradient(1.6px 1.6px at 58% 24%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.2px 1.2px at 74% 71%, rgba(216, 180, 254, 0.45), transparent),
    radial-gradient(1.4px 1.4px at 88% 36%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.2px 1.2px at 21% 84%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.3px 1.3px at 46% 92%, rgba(216, 180, 254, 0.4), transparent),
    radial-gradient(1.1px 1.1px at 66% 48%, rgba(255, 255, 255, 0.35), transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
}

.stars-soft {
  opacity: 0.4;
}

@keyframes twinkle {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 0.9;
  }
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(168, 85, 247, 0.32);
  background: rgba(168, 85, 247, 0.1);
  color: var(--primary);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.875rem;
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
}

.hero-sub {
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 1.0625rem;
  color: var(--muted-foreground);
}

.hero-cta {
  margin-top: 40px;
}

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.stars-row {
  display: inline-flex;
  gap: 3px;
  color: var(--primary);
}

.stars-row svg {
  fill: currentColor;
}

/* ----------------------------------------------------------------- cards -- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 24px 50px -30px rgba(168, 85, 247, 0.55);
}

.card h3 {
  font-size: 1.5rem;
}

.card p {
  margin-top: 12px;
  color: var(--muted-foreground);
}

.icon-badge {
  display: inline-flex;
  padding: 12px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.12);
  color: var(--primary);
  margin-bottom: 16px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.card:hover .icon-badge {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* ------------------------------------------------------------- how it works */

.steps {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step {
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(168, 85, 247, 0.32);
  background: rgba(168, 85, 247, 0.1);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.step h3 {
  font-size: 1.25rem;
}

.step p {
  margin-top: 12px;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------- cartomante cards -- */

.picker-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.picker-card:hover {
  border-color: rgba(168, 85, 247, 0.32);
  box-shadow: 0 24px 50px -30px rgba(168, 85, 247, 0.55);
}

.picker-card[aria-pressed="true"] {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.picker-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
}

.picker-card[aria-pressed="true"] .picker-check {
  display: inline-flex;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(168, 85, 247, 0.32);
  background: rgba(168, 85, 247, 0.1);
}

.avatar-fallback {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.12);
  color: var(--primary);
}

.cm-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 16px 0 0;
}

.cm-specialty {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}

.cm-years {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.cm-bio {
  margin-top: 12px;
  color: var(--muted-foreground);
}

.cm-bio-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--muted-foreground);
}

.status-on {
  color: var(--emerald);
}

.status-on::before {
  background: var(--emerald);
}

.picker-footer {
  margin-top: 48px;
  text-align: center;
}

.picker-hint {
  color: var(--muted-foreground);
}

.picker-chosen {
  margin-bottom: 20px;
  color: var(--muted-foreground);
}

.picker-chosen strong {
  color: var(--foreground);
}

.link-accent {
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 500;
}

.link-accent:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------------- pricing -- */

.price-card {
  position: relative;
}

.price-card h3 {
  font-size: 1.25rem;
}

.price-value {
  display: block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.price-note {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.price-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.price-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-list svg {
  color: var(--primary);
  fill: currentColor;
  flex: none;
}

.price-card .btn {
  margin-top: 32px;
}

.price-featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.price-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* -------------------------------------------------------------- feedbacks -- */

.feedback-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
}

.feedback-card p {
  margin-top: 16px;
  color: rgba(244, 238, 251, 0.9);
}

.feedback-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.feedback-author {
  font-weight: 500;
}

.chip {
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.12);
  color: var(--primary);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* -------------------------------------------------------------------- faq -- */

.faq {
  display: grid;
  gap: 16px;
}

.faq details {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 14px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.faq details[open] {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 20px 44px -32px rgba(168, 85, 247, 0.6);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  transition: color 0.25s ease;
}

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

.faq summary:hover {
  color: var(--primary);
}

.faq summary svg {
  flex: none;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq details[open] summary svg {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 24px 24px;
  color: var(--muted-foreground);
}

/* -------------------------------------------------------------- final cta -- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(168, 85, 247, 0.06);
}

.cta-inner {
  position: relative;
  z-index: 10;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.cta p {
  max-width: 540px;
  margin: 24px auto 0;
  font-size: 1.0625rem;
  color: var(--muted-foreground);
}

.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ----------------------------------------------------------------- footer -- */

.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ------------------------------------------------------- cartomantes page -- */

.page {
  padding: 120px 0 80px;
}

.page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}

.page h1 {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-lead {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted-foreground);
}

.filters {
  margin-top: 40px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.search {
  position: relative;
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  pointer-events: none;
}

.search input {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  border-radius: 10px;
  padding: 11px 14px 11px 40px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.search input::placeholder {
  color: var(--muted-foreground);
}

.search input:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.5);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.chip-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted-foreground);
  border-radius: 999px;
  padding: 7px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    background-color 0.25s ease;
}

.chip-btn:hover {
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--primary);
}

.chip-btn[aria-pressed="true"] {
  border-color: var(--primary);
  background: rgba(168, 85, 247, 0.1);
  color: var(--primary);
}

.chip-dot::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--emerald);
  vertical-align: middle;
}

.chip-clear {
  border: 0;
  background: transparent;
  color: var(--muted-foreground);
  font-family: var(--font-body);
  font-size: 0.875rem;
  cursor: pointer;
}

.chip-clear:hover {
  color: var(--primary);
}

.count {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.cm-list {
  display: grid;
  gap: 24px;
  margin-top: 48px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.cm-item {
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.cm-item:hover {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 24px 50px -30px rgba(168, 85, 247, 0.55);
}

.cm-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.cm-item-head .cm-name {
  margin: 0;
  font-size: 1.25rem;
}

.cm-item-meta {
  flex: 1;
  min-width: 130px;
}

.tag-view {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition:
    border-color 0.25s ease,
    color 0.25s ease;
}

.cm-item:hover .tag-view {
  border-color: rgba(168, 85, 247, 0.4);
  color: var(--primary);
}

.state-msg {
  margin-top: 40px;
  color: var(--muted-foreground);
}

/* ------------------------------------------------------------------ modal -- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[data-open="true"] {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(168, 85, 247, 0.22);
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 40px 90px -40px rgba(168, 85, 247, 0.5);
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--muted-foreground);
  border-radius: 999px;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--primary);
  border-color: rgba(168, 85, 247, 0.4);
}

.modal-head {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 40px 32px 8px;
}

.modal-head .avatar,
.modal-head .avatar-fallback {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  border-width: 2px;
}

.modal-head h2 {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  font-size: 2rem;
}

.modal-head .cm-specialty {
  position: relative;
  z-index: 1;
}

.modal-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.modal-status.status-on {
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.1);
  color: var(--emerald);
}

.modal-body {
  padding: 24px 32px 40px;
  display: grid;
  gap: 24px;
}

.bio-box {
  border: 1px solid var(--border);
  background: rgba(14, 7, 22, 0.6);
  border-radius: 14px;
  padding: 20px;
}

.bio-box h3 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.bio-box p {
  color: var(--muted-foreground);
}

.reviews h3 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

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

.review:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.review p {
  margin-top: 8px;
  color: var(--muted-foreground);
}

.review-author {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--foreground);
}

/* ----------------------------------------------------------------- utils -- */

.hidden {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .nav-actions .btn {
    padding: 9px 14px;
    font-size: 0.8125rem;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
