/* PrivaTicket — Public marketing & legal site */

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-soft-2: #f1f5f9;
  --brand: #f59e0b;
  --brand-dark: #b45309;
  --brand-ink: #1f2937;
  --radius: 14px;
  --max: 1080px;
  --max-narrow: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand-dark); }

img { max-width: 100%; height: auto; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.99); }
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--muted); }
.btn--light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn--light:hover { background: rgba(255,255,255,0.2); }

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand__dot { color: var(--brand); }
.brand__by {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav__links a:not(.btn) {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
}
.site-nav__links a:not(.btn):hover { color: var(--ink); }

@media (max-width: 720px) {
  .site-nav__links .nav-hide { display: none; }
}

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

.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(245, 158, 11, 0.16), transparent 60%),
    linear-gradient(180deg, #0f172a 0%, #131f37 100%);
  color: #e2e8f0;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 78px 0 86px;
  max-width: 760px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero__title {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #fff;
}
.hero__title em { color: var(--brand); font-style: normal; }
.hero__subtitle {
  margin: 0 0 30px;
  font-size: 1.12rem;
  color: #cbd5e1;
  max-width: 620px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note {
  margin: 24px 0 0;
  font-size: 0.86rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Sections ---------- */

.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 640px; margin: 0 0 46px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin: 0 0 12px;
}
.section__title {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
}
.section__lead {
  margin: 0;
  font-size: 1.06rem;
  color: var(--ink-3);
}

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

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.feature {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.feature:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  border-color: var(--line-2);
}
.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--brand-dark);
  margin-bottom: 16px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature__title { margin: 0 0 6px; font-size: 1.06rem; font-weight: 700; color: var(--ink); }
.feature__text { margin: 0; font-size: 0.95rem; color: var(--ink-3); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-top: 8px; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}
.step__title { margin: 0 0 6px; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.step__text { margin: 0; font-size: 0.94rem; color: var(--ink-3); }

/* ---------- Trust / payment band ---------- */

.trust {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) { .trust { grid-template-columns: 1fr; gap: 28px; } }

.trust__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.trust__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--ink-2); }
.trust__check {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust__check svg { width: 13px; height: 13px; }

.trust__card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}
.trust__card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.trust__card-row:last-child { border-bottom: none; }
.trust__card-row > span { color: var(--muted); }
.trust__card-row strong { color: var(--ink); font-weight: 600; }
.badge-stripe {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 8px;
  background: #635bff;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

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

.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .about__grid { grid-template-columns: 1fr; gap: 26px; } }
.about p { color: var(--ink-3); margin: 0 0 14px; font-size: 1rem; }

.id-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.id-card h3 { margin: 0 0 14px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.id-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 0.92rem; }
.id-card dt { color: var(--muted); }
.id-card dd { margin: 0; color: var(--ink-2); font-weight: 500; }

.cta-band {
  text-align: center;
  background: linear-gradient(180deg, #0f172a 0%, #131f37 100%);
  color: #fff;
  border-radius: 18px;
  padding: 54px 28px;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; }
.cta-band p { margin: 0 0 24px; color: #cbd5e1; font-size: 1.05rem; }

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

.site-footer {
  background: #0b1220;
  color: #94a3b8;
  padding: 56px 0 28px;
  font-size: 0.92rem;
}
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr; gap: 26px; } }
.footer__brand { font-weight: 800; font-size: 1.15rem; color: #fff; letter-spacing: -0.02em; }
.footer__about { margin: 12px 0 0; max-width: 360px; line-height: 1.6; }
.footer__col h4 { margin: 0 0 14px; color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__legal {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 0.84rem;
  color: #64748b;
}

/* ---------- Legal / long-form pages ---------- */

.legal {
  padding: 56px 0 72px;
}
.legal__back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 22px;
}
.legal__back:hover { color: var(--ink); }
.legal h1 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--ink);
}
.legal__updated { color: var(--muted); font-size: 0.9rem; margin: 0 0 36px; }
.legal h2 {
  font-size: 1.25rem;
  margin: 38px 0 12px;
  padding-top: 8px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 1.3em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--brand-dark); }
.legal strong { color: var(--ink); }
.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 0.95rem;
}
.legal th, .legal td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.legal th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.legal__box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 0 0 22px;
}
.legal__box p:last-child { margin-bottom: 0; }

/* ---------- Contact page & form ---------- */

.page-contact { padding: 56px 0 72px; }
.page-contact__title {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  letter-spacing: -0.02em;
  margin: 4px 0 10px;
  color: var(--ink);
}
.page-contact__lead { margin: 0 0 28px; font-size: 1.05rem; color: var(--ink-3); max-width: 560px; }
.page-contact__alt { margin: 22px 0 0; font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

.form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

.form__field { margin-bottom: 16px; }
.form__field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.form__field .req { color: var(--brand-dark); }
.form__field input,
.form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form__field textarea { resize: vertical; min-height: 130px; }
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.form__submit { width: 100%; justify-content: center; margin-top: 6px; padding: 14px 22px; }

.cf-turnstile { margin: 4px 0 16px; }

/* Honeypot — visually hidden, off-screen, never focusable for humans. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  border-radius: 10px;
  padding: 14px 18px;
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-alert ul { margin: 8px 0 0; padding-left: 1.2em; }
.form-alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}
.form-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}
