@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  /* Paper: cool sage-grey, not warm cream */
  --paper: #eef1ec;
  --paper-2: #e4e9e1;
  --surface: #ffffff;

  /* Ink: deep forest-navy, not pure black */
  --ink: #142621;
  --muted: #52645c;
  --line: rgba(20, 38, 33, 0.12);

  /* Brand: ledger green */
  --brand: #0c3d2c;
  --brand-2: #17604a;

  /* Accent: customs-stamp ochre */
  --stamp: #c07a2b;
  --stamp-2: #a3611c;

  /* Marketplace tag blue, used sparingly */
  --tag-blue: #2f5fa8;

  --success: #1f7a3e;
  --shadow: 0 24px 60px rgba(12, 40, 30, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(12, 61, 44, 0.06), transparent 40%),
    radial-gradient(circle at 0% 30%, rgba(192, 122, 43, 0.07), transparent 35%);
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
::selection { background: var(--stamp); color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(238, 241, 236, 0.86);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.mark {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: linear-gradient(150deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 22px rgba(12, 61, 44, 0.3);
  position: relative;
}
.mark::after {
  content: ""; position: absolute; inset: 8px;
  border: 1.5px dashed rgba(255,255,255,0.75); border-radius: 7px;
}
.brand h1 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand p { margin: 2px 0 0; color: var(--muted); font-size: 0.85rem; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; color: var(--muted); font-size: 0.94rem; font-weight: 500; }
.nav a { position: relative; padding-bottom: 3px; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--stamp); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 30px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; align-items: stretch; }
.hero-card, .side-card, .section-card, .ticket {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.hero-card { padding: 44px; position: relative; overflow: hidden; }

.stamp-badge {
  position: absolute; top: 28px; right: 30px;
  width: 84px; height: 84px; border-radius: 50%;
  border: 2px dashed var(--stamp);
  display: grid; place-items: center; text-align: center;
  transform: rotate(-12deg);
  color: var(--stamp-2); font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.04em;
  line-height: 1.3;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px;
  border-radius: 999px; background: rgba(12, 61, 44, 0.08); color: var(--brand);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em; font-family: var(--font-mono); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--stamp); }

.hero h2 {
  margin: 20px 0 16px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.3rem, 4vw, 3.9rem); line-height: 1.03; letter-spacing: -0.02em; max-width: 14ch;
}
.hero p.lead { margin: 0; max-width: 60ch; font-size: 1.08rem; line-height: 1.7; color: var(--muted); }

.manifest-strip {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px;
  border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
}
.manifest-item {
  flex: 1 1 160px; padding: 14px 18px 14px 0; border-right: 1px dashed var(--line);
}
.manifest-item:last-child { border-right: none; }
.manifest-item .k { display: block; font-family: var(--font-mono); font-size: 1.15rem; font-weight: 600; color: var(--brand); }
.manifest-item .v { display: block; color: var(--muted); font-size: 0.86rem; margin-top: 2px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border-radius: 12px; font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease; cursor: pointer; font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(150deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 14px 26px rgba(12, 61, 44, 0.28); }
.btn.secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn.stamp { background: linear-gradient(150deg, var(--stamp), var(--stamp-2)); color: #fff; box-shadow: 0 14px 26px rgba(192, 122, 43, 0.3); }
.btn.whatsapp { background: linear-gradient(150deg, #1f9d55, #17c964); color: #fff; box-shadow: 0 14px 26px rgba(23,201,100,0.28); }

.side-card { padding: 26px; background: linear-gradient(175deg, #ffffff, var(--paper-2)); display: flex; flex-direction: column; }
.side-card h3, .section-head h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.side-card p, .section-head p { color: var(--muted); line-height: 1.6; margin: 0; }
.market-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.market-tag {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; padding: 7px 11px; border-radius: 8px;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--ink);
}
.side-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; flex: 1; }
.side-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
.side-list li::before { content: "—"; color: var(--stamp); font-weight: 700; flex: none; }

section { padding: 26px 0; }
.section-card { padding: 32px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.section-head p { max-width: 58ch; }
.kicker { display: block; font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--stamp-2); margin-bottom: 8px; font-weight: 600; }
.section-head h3 { font-size: 1.7rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(12,40,30,0.10); }
.service-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem;
  background: rgba(12, 61, 44, 0.08); margin-bottom: 14px;
}
.service-card h4 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* ---------- Pricing tickets ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ticket {
  padding: 24px; position: relative; display: flex; flex-direction: column; gap: 12px;
}
.ticket.highlight { border-color: rgba(12,61,44,0.3); box-shadow: 0 24px 60px rgba(12,40,30,0.16); }
.ticket-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ticket h4 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.ticket .badge { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--stamp-2); background: rgba(192,122,43,0.1); padding: 5px 9px; border-radius: 7px; white-space: nowrap; }
.ticket p.desc { color: var(--muted); font-size: 0.93rem; line-height: 1.55; margin: 0; flex: 1; }
.ticket-perf { border-top: 1px dashed var(--line); position: relative; margin: 4px 0; }
.price-row { display: flex; align-items: baseline; gap: 6px; }
.price-row .amount { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 600; color: var(--brand); }
.price-row .period { color: var(--muted); font-size: 0.88rem; }
.ticket .plan-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px;
  font-weight: 700; font-size: 0.92rem; color: var(--ink); transition: background 0.15s ease;
}
.ticket .plan-link:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.pricing-note { margin-top: 18px; color: var(--muted); font-size: 0.92rem; text-align: center; }
.pricing-note a { color: var(--brand); font-weight: 700; text-decoration: underline; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-item { padding: 4px 18px 4px 0; position: relative; }
.process-item:not(:last-child)::after {
  content: ""; position: absolute; top: 20px; right: -8px; width: 16px; border-top: 1px dashed var(--line);
}
.process-num {
  font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem; color: var(--stamp-2);
  display: inline-block; margin-bottom: 10px;
}
.process-item h4 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.process-item p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* ---------- Compliance ---------- */
.compliance { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.notice { background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.notice h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 10px; }
.notice p { color: var(--muted); line-height: 1.6; margin: 0 0 10px; }
.checklist { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.checklist li { display: flex; gap: 10px; color: var(--muted); line-height: 1.4; font-size: 0.94rem; }
.checklist li::before { content: "✓"; color: var(--brand); font-weight: 900; flex: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: 16px; align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.contact-card h4 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.contact-card > p { color: var(--muted); margin: 0 0 6px; }
.contact-lines { display: grid; gap: 12px; margin-top: 14px; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px dashed var(--line); color: var(--muted); }
.contact-line:first-child { border-top: 0; padding-top: 0; }
.contact-line strong { display: block; color: var(--ink); margin-bottom: 3px; font-size: 0.92rem; }
.icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(12, 61, 44, 0.08); display: grid; place-items: center; color: var(--brand); flex: none; font-weight: 800; font-family: var(--font-mono); font-size: 0.9rem; }

.form { display: grid; gap: 13px; }
.field { display: grid; gap: 7px; }
label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
input, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px;
  font: inherit; background: var(--paper); color: var(--ink); outline: none;
}
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12,61,44,0.12); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 0; }
.form-status { font-size: 0.88rem; font-weight: 700; min-height: 1.2em; }
.form-status.ok { color: var(--success); }

/* ---------- Footer ---------- */
.footer { margin-top: 30px; border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-inner { padding: 30px 0 36px; display: grid; gap: 20px; }
.footer-top { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: start; }
.footer-brand { display: grid; gap: 10px; }
.footer-brand p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 68ch; font-size: 0.94rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; color: var(--muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.footer-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 15px; display: block;
  transition: border-color .15s ease, transform .15s ease;
}
.footer-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.footer-card h4 { margin: 0 0 6px; font-size: 0.94rem; font-weight: 700; }
.footer-card p { margin: 0; color: var(--muted); line-height: 1.5; font-size: 0.87rem; }
.legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 0.86rem; font-family: var(--font-mono); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(150deg, #1f9d55, #17c964);
  display: grid; place-items: center; box-shadow: 0 14px 30px rgba(23,201,100,0.35);
  color: #fff; font-weight: 900; font-size: 1.3rem;
}
.wa-float:hover { transform: translateY(-2px); }

/* ---------- Legal / prose pages ---------- */
.legal-page { padding: 44px 0 60px; }
.legal-card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 44px; max-width: 840px; margin: 0 auto; }
.legal-card h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.02em; margin: 14px 0 6px; }
.legal-updated { font-family: var(--font-mono); color: var(--muted); font-size: 0.85rem; margin: 0 0 30px; }
.legal-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin: 30px 0 10px; color: var(--brand); }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.75; font-size: 1rem; }
.legal-card ul { margin: 0 0 10px; padding-left: 20px; }
.legal-card a.inline-link { color: var(--brand); font-weight: 700; text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--brand); font-weight: 700; font-size: 0.94rem; }
.back-link:hover { text-decoration: underline; }

@media (max-width: 1040px) {
  .hero-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .process-item::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 14px; }
}
@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .nav { justify-content: flex-start; }
  .hero { padding-top: 34px; }
  .hero-card, .section-card, .legal-card { padding: 22px; }
  .stamp-badge { display: none; }
  .services-grid, .pricing-grid, .process-grid, .footer-grid, .compliance { grid-template-columns: 1fr; }
  .manifest-item { flex: 1 1 45%; }
  .section-head { align-items: flex-start; }
  .footer-links { justify-content: flex-start; }