/* Eventro — sidiglobal.online
   Single stylesheet, no build step. Tokens first, then layout, then components. */

:root {
  --ink:        #14121f;
  --ink-soft:   #4c4860;
  --ink-faint:  #7b7690;
  --paper:      #ffffff;
  --paper-alt:  #f6f5fb;
  --line:       #e6e3f0;

  --brand:      #5b3df5;
  --brand-deep: #3a24b8;
  --accent:     #ffb020;

  --night:      #0d0b1f;
  --night-2:    #1b1538;

  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 1px 2px rgba(20,18,31,.05), 0 12px 32px -12px rgba(20,18,31,.18);
  --wrap:       1120px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-deep); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--night); color: #fff; padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; border-radius: 8px; }

:where(a, button, input, textarea):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.55);
}
.brand-name { font-weight: 700; letter-spacing: -0.02em; font-size: 1.15rem; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav a.btn { color: #fff; }

.nav-toggle {
  display: none; width: 42px; height: 38px; border: 1px solid var(--line);
  background: var(--paper); border-radius: 10px; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-full { width: 100%; font-size: 1rem; }
.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(91,61,245,.55), transparent 60%),
    radial-gradient(700px 380px at 90% 0%, rgba(255,176,32,.28), transparent 55%),
    linear-gradient(160deg, var(--night), var(--night-2));
  color: #fff;
  padding: clamp(72px, 12vw, 132px) 0 clamp(64px, 9vw, 104px);
}
.hero-inner { max-width: 860px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  font-weight: 600; color: var(--accent); margin-bottom: 18px;
}
.hero h1 { color: #fff; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.78); max-width: 60ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.stats {
  display: flex; flex-wrap: wrap; gap: 40px;
  margin: 56px 0 0; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.stats div { margin: 0; }
.stats dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); }
.stats dd {
  margin: 6px 0 0; font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.03em;
}
.stats dd span { color: var(--accent); }

/* ---------- sections ---------- */

.section { padding: clamp(64px, 9vw, 104px) 0; }
.section-alt { background: var(--paper-alt); border-block: 1px solid var(--line); }
.section-title { margin-bottom: 8px; }
.section-sub { color: var(--ink-soft); max-width: 58ch; margin-bottom: 44px; }

.grid { display: grid; gap: 22px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(20,18,31,.3); }
.card-icon {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; margin-bottom: 16px; font-size: .9rem;
  background: linear-gradient(135deg, rgba(91,61,245,.14), rgba(255,176,32,.2));
  color: var(--brand-deep);
}
.card p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

.work-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.work {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
  border-left: 4px solid var(--brand);
}
.work-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--brand-deep); background: rgba(91,61,245,.1);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.work p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: step;
}
.steps li {
  border-top: 2px solid var(--line); padding-top: 20px;
}
.step-n {
  display: block; font-size: .85rem; font-weight: 700;
  color: var(--accent); letter-spacing: .1em; margin-bottom: 8px;
}
.steps p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

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

.contact-inner {
  display: grid; gap: 48px;
  grid-template-columns: 1fr 1fr; align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li {
  display: flex; gap: 16px; align-items: baseline;
  border-top: 1px solid var(--line); padding-top: 14px;
}
.contact-list li span:first-child {
  min-width: 68px; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--ink-faint); font-weight: 600;
}

.contact-form {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--ink-soft); margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.field input:focus, .field textarea:focus { border-color: var(--brand); }
.field textarea { resize: vertical; }
.field .invalid { border-color: #d63b3b; }

.form-note { margin: 14px 0 0; font-size: .9rem; min-height: 1.4em; color: var(--ink-soft); }
.form-note.ok  { color: #1c7c4a; }
.form-note.err { color: #c62828; }

/* ---------- footer ---------- */

.site-footer { background: var(--night); color: rgba(255,255,255,.7); padding: 56px 0 28px; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: space-between; align-items: flex-start;
}
.site-footer .brand-name { color: #fff; }
.footer-note { color: rgba(255,255,255,.55); font-size: .92rem; margin: 12px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .93rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; color: rgba(255,255,255,.5);
}
.footer-legal p { margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; inset: 68px 0 auto; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px 24px 22px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { text-align: center; margin-top: 14px; border-bottom: 0; }
  .stats { gap: 28px; }
  .stats div { min-width: 40%; }
}

@media (max-width: 420px) {
  .field-row { grid-template-columns: 1fr; }
}
