:root {
  --ink: #0B1F3A;
  --ink-2: #13294B;
  --ink-3: #1D3963;
  --amber: #F5A524;
  --amber-d: #D98A0B;
  --teal: #1FB6A6;
  --paper: #F7F4EE;
  --white: #FFFFFF;
  --text: #1B2433;
  --muted: #5B6676;
  --line: #E4DED3;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(11, 31, 58, .35);
  --font-d: "Bricolage Grotesque", system-ui, sans-serif;
  --font-b: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-b);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--amber); color: var(--ink);
  font-weight: 600; text-decoration: none; border: 0; cursor: pointer;
  padding: 14px 24px; border-radius: 999px; font-size: 1rem; font-family: inherit;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 20px -8px rgba(245, 165, 36, .7);
}
.btn:hover { background: #FFB43D; transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: 9px 18px; font-size: .92rem; box-shadow: none; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-d); margin-bottom: 14px;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 31, 58, .86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-family: var(--font-d); font-weight: 700; font-size: 1.15rem; }
.brand em { font-style: normal; font-weight: 500; opacity: .65; margin-left: 6px; font-size: .9rem; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { color: rgba(255,255,255,.78); text-decoration: none; font-size: .95rem; font-weight: 500; }
.menu a:not(.btn):hover { color: var(--white); }
.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 10px 8px; }
.menu-btn span { display: block; height: 2px; background: var(--white); margin: 6px 0; border-radius: 2px; transition: transform .2s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(31, 182, 166, .18), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(245, 165, 36, .14), transparent 60%),
    var(--ink);
  color: var(--white);
  padding: 90px 0 120px;
  margin-top: -70px; padding-top: 160px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; }
.hl { color: var(--amber); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .12em; background: var(--amber); opacity: .35; border-radius: 4px; }
.lede { font-size: 1.15rem; color: rgba(255,255,255,.78); margin: 24px 0 36px; max-width: 34em; }
.lede strong { color: var(--white); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Ticket */
.hero-ticket { position: relative; padding: 40px 10px; }
.ticket {
  display: grid; grid-template-columns: 1fr 120px;
  background: var(--paper); color: var(--ink);
  border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  transform: rotate(-4deg);
  position: relative;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-8px); } }
.ticket-main { padding: 26px 26px 24px; border-right: 2px dashed #CFC6B5; position: relative; }
.ticket-main::before, .ticket-main::after {
  content: ""; position: absolute; right: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink);
}
.ticket-main::before { top: -12px; }
.ticket-main::after { bottom: -12px; }
.ticket-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.tlogo { font-family: var(--font-d); font-weight: 700; font-size: 1.1rem; }
.tlogo b { color: var(--amber-d); margin-left: 3px; }
.tstatus { white-space: nowrap; font-size: .78rem; font-weight: 600; color: #128A7E; background: rgba(31,182,166,.14); padding: 4px 10px; border-radius: 99px; }
.route { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.route small, .tmeta small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.route strong { font-family: var(--font-d); font-size: 1.35rem; }
.route .right { text-align: right; }
.route-line { width: 100%; height: 20px; }
.route-line path { stroke: var(--ink); stroke-width: 2; fill: none; }
.route-line circle { fill: var(--amber); }
.tmeta { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.tmeta b { font-family: var(--font-d); font-size: 1.15rem; }
.ticket-stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; }
.ticket-stub small { font-size: .7rem; color: var(--muted); text-align: center; }
.qr {
  width: 76px; height: 76px; border-radius: 6px;
  background:
    linear-gradient(var(--paper), var(--paper)) 30px 30px / 16px 16px no-repeat,
    repeating-conic-gradient(var(--ink) 0 25%, transparent 0 50%) 0 0 / 15px 15px,
    var(--paper);
  border: 4px solid var(--ink);
}
.float-card {
  position: absolute; background: var(--white); color: var(--ink);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.2;
}
.float-card b { font-family: var(--font-d); font-size: 1.5rem; }
.float-card span { font-size: .8rem; color: var(--muted); }
.fc-1 { top: -4px; right: 0; animation: bob2 5s ease-in-out infinite; }
.fc-2 { bottom: -34px; left: -14px; background: var(--amber); animation: bob2 5s ease-in-out 1.2s infinite; }
.fc-2 span { color: var(--ink); opacity: .75; }
@keyframes bob2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Stats */
.stats { margin-top: -56px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-d); font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .93rem; }

/* Sections */
.section { padding: 110px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--ink); }
.sub { color: var(--muted); font-size: 1.1rem; margin-top: 18px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ficon { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; margin-bottom: 20px; }
.ficon svg { width: 24px; height: 24px; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--ink); }
.feature p { color: var(--muted); font-size: .95rem; }

.flow { margin-top: 80px; }
.flow-title { font-size: 1.5rem; color: var(--ink); margin-bottom: 28px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 24px 0 0; }
.steps li::before { content: ""; position: absolute; top: 21px; left: 52px; right: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 6px, transparent 6px 12px); }
.steps li:last-child::before { display: none; }
.steps span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--amber); color: var(--ink); font-family: var(--font-d); font-weight: 700; margin-bottom: 18px; }
.steps h4 { font-size: 1.1rem; color: var(--ink); margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .93rem; }

/* Dark section */
.dark { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(31,182,166,.16), transparent 65%); }
.dark h2 { color: var(--white); }
.dark .sub { color: rgba(255,255,255,.7); }
.dark .eyebrow { color: var(--amber); }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; position: relative; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: rgba(255,255,255,.88); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(245,165,36,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A524' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Dashboard mock */
.dash { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dash-title { font-size: .85rem; color: rgba(255,255,255,.7); font-weight: 500; }
.dash-body { padding: 20px; display: grid; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: var(--ink-3); border-radius: 12px; padding: 14px; }
.kpi small, .chart small, .bars small { display: block; font-size: .72rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; }
.kpi b { display: block; font-family: var(--font-d); font-size: 1.6rem; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: .78rem; color: rgba(255,255,255,.55); }
.kpi em.up { color: #4FD1C1; }
.chart { background: var(--ink-3); border-radius: 12px; padding: 14px 14px 0; }
.area { width: 100%; height: 120px; display: block; margin-top: 8px; }
.bars { background: var(--ink-3); border-radius: 12px; padding: 14px; display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.8); }
.bar i { height: 8px; border-radius: 6px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, var(--teal), #4FD1C1); border-radius: 6px; transform-origin: left; animation: grow 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.dash-note { font-size: .72rem; color: rgba(255,255,255,.4); padding: 0 20px 14px; text-align: right; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service {
  padding: 34px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.service::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--amber); transform: scaleY(.3); transform-origin: top; transition: transform .3s ease; }
.service:hover::before { transform: scaleY(1); }
.service h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: 10px; }
.service p { color: var(--muted); }

/* About */
.alt { background: #EFEAE0; }
.about { align-items: start; }
.about-copy p { color: var(--muted); font-size: 1.08rem; margin-bottom: 18px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.values div { border-top: 2px solid var(--ink); padding-top: 14px; }
.values b { display: block; font-family: var(--font-d); color: var(--ink); font-size: 1.15rem; }
.values span { font-size: .9rem; color: var(--muted); }

/* Contact */
.contact { padding-bottom: 120px; }
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  background: var(--ink); color: var(--white); border-radius: 28px; padding: 64px;
  position: relative; overflow: hidden;
}
.contact-card::after { content: ""; position: absolute; width: 420px; height: 420px; left: -140px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(245,165,36,.25), transparent 65%); pointer-events: none; }
.contact h2 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.contact .eyebrow { color: var(--amber); }
.contact .sub { color: rgba(255,255,255,.72); }
.contact-line { display: inline-block; margin-top: 28px; font-family: var(--font-d); font-size: 1.3rem; color: var(--amber); text-decoration: none; border-bottom: 2px solid rgba(245,165,36,.4); }
.contact-line:hover { border-color: var(--amber); }
.form { display: grid; gap: 14px; position: relative; z-index: 1; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.8); }
.form input, .form textarea {
  font: inherit; color: var(--white); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 14px; resize: vertical;
}
.form input:focus, .form textarea:focus { border-color: var(--amber); outline: none; background: rgba(255,255,255,.09); }
.form .btn { justify-self: start; margin-top: 6px; }
.form-note { font-size: .8rem; color: rgba(255,255,255,.5); }

/* Footer */
.footer { background: #08172C; color: rgba(255,255,255,.6); padding: 36px 0; font-size: .9rem; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.brand.small { font-size: 1rem; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--white); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .split, .contact-card { grid-template-columns: 1fr; }
  .hero-ticket { max-width: 520px; margin: 0 auto; width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps li:nth-child(2)::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-card { padding: 44px; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .menu {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 10px 20px 24px; border-bottom: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .menu .btn { margin-top: 16px; }
  .brand em { display: none; }
  .section { padding: 80px 0; }
  .feature-grid, .services, .values { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li::before { display: none; }
  .ticket { grid-template-columns: 1fr 96px; }
  .ticket-main { padding: 20px; }
  .qr { width: 60px; height: 60px; }
  .route strong { font-size: 1.1rem; }
  .tlogo { font-size: .95rem; }
  .tstatus { font-size: .7rem; padding: 3px 8px; }
  .fc-2 { bottom: 0; left: 0; }
  .hero-ticket { padding-bottom: 60px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:last-child { grid-column: span 2; }
  .contact-card { padding: 32px 24px; border-radius: 22px; }
  .hero { padding-bottom: 100px; }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
