:root {
  --ink: #15130f;
  --panel: #1e1b16;
  --panel-raised: #262219;
  --paper: #f5efe3;
  --paper-dim: #cfc7b4;
  --ember: #f2542d;
  --ember-dim: #c13f1e;
  --herb: #4c7a5c;
  --herb-dim: #3a5d47;
  --gold: #d9a441;
  --stone: #8b8479;
  --line: rgba(245, 239, 227, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius-lg: 22px;
  --radius-md: 14px;
  --ff-display: "Fraunces", serif;
  --ff-body: "Work Sans", sans-serif;
  --ff-mono: "Space Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; letter-spacing: -0.01em; }

section { position: relative; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Navbar ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(21, 19, 15, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(21, 19, 15, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-name {
  font-family: var(--ff-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14.5px;
  color: var(--paper-dim);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover { color: var(--paper); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ember);
  color: var(--paper);
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover { background: var(--ember-dim); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 110;
}

.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  padding: 168px 0 100px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(242, 84, 45, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.06;
  margin: 22px 0 22px;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--ember);
}

.hero-copy p {
  font-size: 17.5px;
  color: var(--paper-dim);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ember);
  color: var(--paper);
}

.btn-primary:hover { background: var(--ember-dim); transform: translateY(-2px); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--paper);
}

.btn-ghost:hover { border-color: var(--paper-dim); transform: translateY(-2px); }

.btn-outline-gold {
  border: 1px solid rgba(217, 164, 65, 0.5);
  color: var(--gold);
}

.btn-outline-gold:hover { background: rgba(217, 164, 65, 0.1); transform: translateY(-2px); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.hero-trust {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.hero-trust div { display: flex; flex-direction: column; }

.hero-trust strong {
  font-family: var(--ff-display);
  font-size: 26px;
  color: var(--paper);
}

.hero-trust span {
  font-size: 12.5px;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Ticket rail (signature element) ---------- */

.ticket-stage {
  position: relative;
  height: 480px;
}

.ticket {
  position: absolute;
  width: 300px;
  left: 50%;
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
  padding: 22px 22px 30px;
  font-family: var(--ff-mono);
  box-shadow: var(--shadow);
  clip-path: polygon(
    0% 0%, 100% 0%, 100% 92%,
    92% 100%, 84% 92%, 76% 100%, 68% 92%, 60% 100%,
    52% 92%, 44% 100%, 36% 92%, 28% 100%, 20% 92%,
    12% 100%, 4% 92%, 0% 100%
  );
  opacity: 0;
  animation: ticketIn 9s ease-in-out infinite;
}

.ticket-1 { top: 0; transform: translateX(-50%) rotate(-4deg); animation-delay: 0s; z-index: 3; }
.ticket-2 { top: 130px; transform: translateX(-50%) rotate(3deg); animation-delay: 1s; z-index: 2; }
.ticket-3 { top: 260px; transform: translateX(-50%) rotate(-2deg); animation-delay: 2s; z-index: 1; }

@keyframes ticketIn {
  0% { opacity: 0; transform: translateX(-50%) translateY(30px) rotate(-4deg); }
  8% { opacity: 1; transform: translateX(-50%) translateY(0) rotate(-4deg); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px) rotate(-4deg); }
}

.ticket-2.ticket { animation-name: ticketIn2; }
@keyframes ticketIn2 {
  0% { opacity: 0; transform: translateX(-50%) translateY(30px) rotate(3deg); }
  8% { opacity: 1; transform: translateX(-50%) translateY(0) rotate(3deg); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px) rotate(3deg); }
}

.ticket-3.ticket { animation-name: ticketIn3; }
@keyframes ticketIn3 {
  0% { opacity: 0; transform: translateX(-50%) translateY(30px) rotate(-2deg); }
  8% { opacity: 1; transform: translateX(-50%) translateY(0) rotate(-2deg); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px) rotate(-2deg); }
}

.ticket-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(21, 19, 15, 0.3);
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ticket-head .status {
  background: var(--herb);
  color: var(--paper);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
}

.ticket-line {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 4px 0;
}

.ticket-line span:first-child { color: rgba(21,19,15,0.6); }

.ticket-total {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(21, 19, 15, 0.3);
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
}

/* ---------- Section headers ---------- */

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-top: 16px;
  line-height: 1.12;
}

.section-head p {
  color: var(--paper-dim);
  font-size: 16.5px;
  margin-top: 16px;
}

/* ---------- About ---------- */

.about {
  padding: 110px 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.about-copy p {
  color: var(--paper-dim);
  margin-bottom: 18px;
  font-size: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-card:hover { transform: translateY(-4px); border-color: rgba(217,164,65,0.4); }

.stat-card strong {
  font-family: var(--ff-display);
  font-size: 34px;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

.stat-card span {
  font-size: 13.5px;
  color: var(--stone);
}

/* ---------- Features ---------- */

.features { padding: 110px 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  opacity: 0;
  transform: translateY(24px);
}

.feature-card.is-visible { animation: riseIn 0.7s ease forwards; }

@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(76, 122, 92, 0.5);
  background: var(--panel-raised);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 122, 92, 0.18);
  color: var(--herb);
  margin-bottom: 20px;
}

.feature-card:nth-child(3n+2) .feature-icon { background: rgba(242, 84, 45, 0.16); color: var(--ember); }
.feature-card:nth-child(3n) .feature-icon { background: rgba(217, 164, 65, 0.18); color: var(--gold); }

.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 { font-size: 19px; margin-bottom: 10px; }

.feature-card p { color: var(--paper-dim); font-size: 14.5px; }

/* ---------- Contact / Book a demo ---------- */

.contact {
  padding: 110px 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: stretch;
}

.contact-card {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-person img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.contact-person strong { display: block; font-size: 18px; font-family: var(--ff-display); }

.contact-person span { font-size: 13px; color: var(--stone); }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

.contact-detail:first-of-type { border-top: none; }

.contact-detail .ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(245, 239, 227, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--paper);
}

.contact-detail .ico svg { width: 17px; height: 17px; }

.contact-detail .txt { display: flex; flex-direction: column; }
.contact-detail .txt small { color: var(--stone); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; }

.contact-buttons {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-whatsapp {
  background: #25d366;
  color: #0b2015;
}

.btn-whatsapp:hover { background: #1fb959; transform: translateY(-2px); }

.btn-email {
  border: 1px solid var(--line);
  color: var(--paper);
}

.btn-email:hover { border-color: var(--paper-dim); transform: translateY(-2px); }

.demo-panel {
  background: var(--panel-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.demo-panel h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.demo-panel > p {
  color: var(--paper-dim);
  margin-bottom: 30px;
  max-width: 460px;
}

.demo-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.demo-option {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.demo-option:hover { transform: translateY(-4px); border-color: rgba(217,164,65,0.4); }

.demo-option .ico-lg {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-option.wa .ico-lg { background: rgba(37, 211, 102, 0.15); color: #25d366; }
.demo-option.em .ico-lg { background: rgba(242, 84, 45, 0.15); color: var(--ember); }

.demo-option .ico-lg svg { width: 24px; height: 24px; }

.demo-option h4 { font-size: 16.5px; }

.demo-option p { font-size: 13.5px; color: var(--stone); flex-grow: 1; }

.demo-option .btn { align-self: flex-start; padding: 11px 20px; font-size: 13.5px; }

.demo-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Footer ---------- */

.footer {
  padding: 50px 0 30px;
  background: var(--ink);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer-brand span { font-family: var(--ff-display); font-size: 17px; }

.footer-links { display: flex; gap: 26px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: var(--stone); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--paper); }

.footer-copy { font-size: 12.5px; color: var(--stone); width: 100%; text-align: center; margin-top: 10px; }

/* ---------- Reveal on scroll ---------- */

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

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ticket-stage { height: 360px; margin-top: 10px; }
  .about-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .demo-options { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--panel);
    padding: 100px 30px 40px;
    gap: 26px;
    box-shadow: -20px 0 50px rgba(0,0,0,0.5);
    z-index: 105;
  }

  .nav-links.is-open .nav-cta { margin-top: 10px; }

  .hero { padding: 130px 0 70px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 26px; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-card, .demo-panel { padding: 26px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 104;
}

.nav-overlay.is-open { display: block; }
