:root{
  --bg:#FBF5F1;
  --bg-card:#F1ECE6;
  --bg-ticket:#F8F3EC;
  --rosa:#D1447B;
  --rosa-deep:#A82F63;
  --azul:#1E3A6E;
  --azul-bright:#3B62D6;
  --ink:#241B22;
  --ink-soft:#6E6470;
  --border:#EBD9E0;
  --azul-pale:#E4EBFA;
  --azul-pale-border:#CBD9F2;
  --radius:14px;
  --maxw:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Manrope',system-ui,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:'Fraunces',Georgia,serif;
  font-weight:600;
  margin:0;
  color:var(--azul);
  letter-spacing:-0.01em;
}
p{margin:0}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}
.mono{font-family:'IBM Plex Mono',monospace}

.skip-link{position:absolute;left:-999px;top:0;background:var(--azul);color:#fff;padding:10px 16px;z-index:100}
.skip-link:focus{left:12px;top:12px}

/* NAV */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(228,235,250,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--azul-pale-border);
}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:76px}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:34px;height:34px}
.brand span{font-family:'Fraunces',serif;font-weight:600;font-size:20px;color:var(--azul)}
.nav-links{display:flex;align-items:center;gap:32px}
.nav-links a{font-size:15px;font-weight:600;color:var(--azul-bright)}
.nav-links a:hover{color:var(--azul)}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 24px;border-radius:999px;font-weight:600;font-size:15px;
  border:none;cursor:pointer;
}
.btn-primary{background:var(--rosa);color:#fff}
.btn-primary:hover{background:var(--rosa-deep)}
.btn-outline{background:transparent;color:var(--azul);border:1.5px solid var(--azul)}
.btn-outline:hover{background:var(--azul);color:#fff}
.nav .btn{padding:11px 22px;font-size:14px}
.nav-toggle{display:none}

/* HERO */
.hero{padding:88px 0 96px}
.hero .wrap{display:grid;grid-template-columns:1.05fr 0.95fr;gap:56px;align-items:center}
.eyebrow{
  display:inline-block;font-size:13px;font-weight:600;letter-spacing:0.03em;
  color:var(--rosa-deep);background:#FBEAF1;border:1px solid #F3CFDF;
  padding:6px 14px;border-radius:999px;margin-bottom:22px;
}
.hero h1{font-size:44px;line-height:1.12;margin-bottom:20px}
.hero h1 em{font-style:italic;color:var(--rosa)}
.hero p.lead{font-size:18px;color:var(--ink-soft);max-width:480px;margin-bottom:32px}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:28px}
.trust-line{display:flex;gap:22px;flex-wrap:wrap;font-size:13.5px;color:var(--ink-soft)}
.trust-line span{display:flex;align-items:center;gap:7px}
.dot{width:6px;height:6px;border-radius:50%;background:var(--azul-bright);flex:none}

/* TICKET RAIL */
.rail-scene{position:relative;height:400px;display:flex;align-items:flex-start;justify-content:center}
.rail-inner{position:relative;width:480px;height:100%}
.rail{
  position:absolute;top:40px;left:12px;right:12px;height:6px;
  background:var(--azul);border-radius:3px;
}
.rail::before,.rail::after{
  content:'';position:absolute;top:-7px;width:20px;height:20px;border-radius:50%;
  background:var(--azul);
}
.rail::before{left:-10px}
.rail::after{right:-10px}
.clip{
  position:absolute;top:28px;width:28px;height:28px;
  border:4px solid var(--azul);border-radius:50%;background:var(--bg);
}
.ticket{
  position:absolute;width:210px;background:var(--bg-ticket);
  border-radius:2px 2px 10px 10px;
  box-shadow:0 18px 34px -14px rgba(30,58,110,0.35);
  padding:18px 18px 20px;
}
.ticket::before{
  content:'';position:absolute;top:-6px;left:0;right:0;height:12px;
  background-image:radial-gradient(circle at 10px 6px,var(--bg) 6px,transparent 6.5px);
  background-size:20px 12px;background-repeat:repeat-x;
}
.ticket .t-head{font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:0.06em;color:var(--ink-soft);border-bottom:1px dashed var(--border);padding-bottom:10px;margin-bottom:10px}
.ticket .t-line{font-family:'IBM Plex Mono',monospace;font-size:12.5px;display:flex;justify-content:space-between;margin-bottom:6px;color:var(--ink)}
.ticket .t-total{
  margin-top:12px;padding-top:10px;border-top:1px dashed var(--border);
  font-family:'IBM Plex Mono',monospace;font-weight:700;font-size:15px;
  display:flex;justify-content:space-between;color:var(--azul)
}
.ticket .t-qr{
  margin-top:14px;width:34px;height:34px;margin-left:auto;
  background:
    linear-gradient(90deg,var(--ink) 20%,transparent 20% 40%,var(--ink) 40% 55%,transparent 55% 75%,var(--ink) 75%),
    linear-gradient(0deg,var(--ink) 15%,transparent 15% 45%,var(--ink) 45% 60%,transparent 60% 85%,var(--ink) 85%);
  opacity:0.8;
}
.ticket-back{left:14px;top:66px;transform:rotate(-4deg);z-index:1}
.ticket-back .t-total{color:var(--rosa-deep)}
.ticket-front{left:256px;top:80px;transform:rotate(3deg);z-index:2}
.clip-back{left:109px}
.clip-front{left:351px}

@keyframes riseIn{from{opacity:0;transform:translateY(18px) rotate(var(--r,0deg))}to{opacity:1;transform:translateY(0) rotate(var(--r,0deg))}}
.ticket-back{--r:-4deg;animation:riseIn .7s ease-out .1s both}
.ticket-front{--r:3deg;animation:riseIn .7s ease-out .28s both}

/* SECTION SHARED */
section{padding:84px 0}
.section-head{max-width:620px;margin:0 auto 48px;text-align:center}
.section-head .eyebrow{margin-bottom:16px}
.section-head h2{font-size:32px;line-height:1.2;margin-bottom:14px}
.section-head p{color:var(--ink-soft);font-size:16.5px}

/* FEATURES */
.features{background:var(--bg-card);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.feat-card{
  position:relative;background:var(--bg);border:1px solid var(--border);
  border-radius:var(--radius);padding:24px 20px 20px;
}
.feat-card::before{
  content:attr(data-tag);position:absolute;top:-10px;left:18px;
  background:var(--azul);color:#fff;font-family:'IBM Plex Mono',monospace;
  font-size:10px;letter-spacing:0.05em;padding:3px 9px;border-radius:4px;
}
.feat-card h3{font-family:'Manrope',sans-serif;font-size:16px;font-weight:700;color:var(--ink);margin-bottom:8px}
.feat-card p{font-size:14px;color:var(--ink-soft);line-height:1.55}
.feat-more{
  max-width:640px;margin:40px auto 0;text-align:center;
  font-size:16px;color:var(--azul);font-weight:600;line-height:1.55;
}

/* HOW */
.how-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;counter-reset:step}
.how-step{position:relative;padding:28px 24px;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius)}
.how-step .num{
  font-family:'Fraunces',serif;font-size:34px;font-weight:600;color:var(--rosa);
  opacity:0.9;margin-bottom:10px;display:block;
}
.how-step h3{font-family:'Manrope',sans-serif;font-size:17px;font-weight:700;color:var(--ink);margin-bottom:8px}
.how-step p{font-size:14.5px;color:var(--ink-soft)}

/* ABOUT */
.about-grid{display:grid;grid-template-columns:1.3fr 0.9fr;gap:48px;align-items:start}
.about-grid .eyebrow{margin-bottom:16px}
.about-grid h2{font-size:30px;line-height:1.22;margin-bottom:20px}
.about-grid p{color:var(--ink-soft);font-size:16px;line-height:1.7;margin-bottom:16px}
.about-grid p:last-child{margin-bottom:0}
.about-quote{
  background:var(--bg-ticket);border-left:4px solid var(--rosa);border-radius:2px;
  padding:30px 28px;align-self:center;
}
.about-quote p{
  font-family:'Fraunces',serif;font-style:italic;font-weight:500;
  font-size:19px;line-height:1.5;color:var(--azul);margin:0;
}

/* FAQ */
.faq{max-width:760px;margin:0 auto}
.faq-item{border-bottom:1px solid var(--border)}
.faq-q{
  width:100%;text-align:left;background:none;border:none;cursor:pointer;
  padding:20px 4px;display:flex;justify-content:space-between;align-items:center;
  font-family:'Manrope',sans-serif;font-size:16px;font-weight:700;color:var(--azul);
}
.faq-q .chev{transition:transform .25s ease;color:var(--rosa);font-size:18px}
.faq-item.open .chev{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-a p{padding:0 4px 20px;color:var(--ink-soft);font-size:14.5px;max-width:640px}

/* CTA BAND */
.cta-band{
  background:linear-gradient(120deg,var(--azul) 0%,var(--azul) 45%,var(--rosa-deep) 100%);
  border-radius:24px;padding:56px 48px;
  display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;
}
.cta-band h2{color:#fff;font-size:28px;max-width:440px}
.cta-band p{color:#F3D9E4;margin-top:10px;font-size:15px}
.cta-band .btn-primary{background:var(--bg-ticket);color:var(--azul)}
.cta-band .btn-primary:hover{background:#F4E4EC}

/* FOOTER */
footer{padding:56px 0 40px;border-top:1px solid var(--border)}
.foot-top{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;margin-bottom:32px}
.foot-brand p{color:var(--ink-soft);font-size:14px;max-width:280px;margin-top:12px}
.foot-links{display:flex;gap:56px;flex-wrap:wrap}
.foot-col h4{font-size:13px;text-transform:uppercase;letter-spacing:0.04em;color:var(--ink-soft);margin-bottom:12px;font-weight:700}
.foot-col a{display:block;font-size:14.5px;color:var(--ink);margin-bottom:9px}
.foot-col a:hover{color:var(--rosa)}
.foot-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:13px;color:var(--ink-soft);border-top:1px solid var(--border);padding-top:22px}

@media (max-width:920px){
  .hero .wrap{grid-template-columns:1fr;gap:44px}
  .about-grid{grid-template-columns:1fr;gap:28px}
  .rail-scene{height:340px}
  .feat-grid{grid-template-columns:repeat(2,1fr)}
  .how-steps{grid-template-columns:1fr}
  .nav-links{display:none}
  .hero h1{font-size:34px}
  .cta-band{padding:40px 28px}
}
@media (max-width:600px){
  .feat-grid{grid-template-columns:1fr}
  .foot-links{gap:32px}
  .hero{padding:56px 0 64px}
  section{padding:60px 0}
}
@media (prefers-reduced-motion:reduce){
  .ticket-back,.ticket-front{animation:none}
}
