:root {
  --bg: #141b24;
  --card: #273444;
  --card-alt: #314255;
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #f6f7fb;
  --muted: #b3b7c0;
  --accent: #d47438;
  --accent-strong: #3d5672;
  --shadow: 0 20px 45px rgba(6, 7, 13, 0.6);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background-color: var(--bg);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% -10%, rgba(61, 86, 114, 0.45), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(212, 116, 56, 0.2), transparent 55%),
    #0f141b;
  color: var(--text);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: 4rem 0 3rem;
  overflow: hidden;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% -10%, rgba(61, 86, 114, 0.6), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(212, 116, 56, 0.35), transparent 55%);
  filter: blur(60px);
  opacity: 0.7;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.25rem;
}

.hero__logo {
  max-width: 240px;
  width: 100%;
  height: auto;
}

.eyebrow {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent-strong);
  margin-bottom: 0.6rem;
}

.hero h1 {
  max-width: 20ch;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin: 0 0 1rem;
}

.lede {
  max-width: 65ch;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero__badges {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.hero__badges div {
  padding: 1rem 1.25rem;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  background: rgba(61, 86, 114, 0.15);
}

.hero__badges span {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.hero__badges strong {
  font-size: 1.05rem;
}

.hero__badges small {
  display: block;
  color: var(--muted);
  margin-top: 0.35rem;
  font-size: 0.85rem;
}

.layout {
  margin-top: 2rem;
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.panel {
  background: var(--card);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.panel--info {
  position: sticky;
  top: 1.5rem;
  align-self: start;
}

.panel__head h2 {
  margin: 0;
}

.panel__head p {
  margin: 0.25rem 0 1.5rem;
  color: var(--muted);
}

.info-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.info-list h3 {
  margin-bottom: 0.4rem;
}

.machine-gallery {
  margin: 2rem 0;
}

.machine-gallery h3 {
  margin-bottom: 1rem;
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.machine-grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
}

.machine-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.machine-grid figcaption {
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.event-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 0;
}

.event-meta div {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 1rem;
  background: var(--card-alt);
}

.event-meta dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.event-meta dd {
  margin: 0.4rem 0 0;
  font-size: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.guest-picker {
  gap: 0.75rem;
}

.guest-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.guest-btn {
  appearance: none;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.guest-btn:hover {
  border-color: rgba(212, 116, 56, 0.7);
}

.guest-btn.is-active {
  background: rgba(212, 116, 56, 0.25);
  border-color: rgba(212, 116, 56, 0.7);
  color: #fff4ec;
}

input,
select,
textarea {
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  font-family: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 116, 56, 0.25);
}

.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.checkbox input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.3rem;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button.cta {
  background: linear-gradient(120deg, #d47438, #f0a36b);
  color: #1a1010;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.95rem 1.5rem;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

button.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 116, 56, 0.35);
}

button.cta:disabled {
  opacity: 0.55;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

button.ghost {
  background: transparent;
  color: #f0a36b;
  border: 1px solid rgba(212, 116, 56, 0.6);
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
}

.form-footnote {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.full-width {
  width: 100%;
}

.confirmation {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(212, 116, 56, 0.4);
  background: rgba(212, 116, 56, 0.08);
}

.confirmation__status {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.confirmation__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 116, 56, 0.2);
  border: 1px solid rgba(212, 116, 56, 0.5);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #f0a36b;
}

.confirmation__eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #f0a36b;
  margin: 0;
}

.confirmation__headline {
  margin: 0.15rem 0 0;
  font-size: 1.4rem;
}

.form-errors {
  margin-top: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 91, 91, 0.5);
  background: rgba(255, 91, 91, 0.08);
  padding: 1rem 1.25rem;
  color: #ffc4c4;
  font-weight: 600;
}

.form-errors.form-errors--warning {
  border-color: rgba(212, 116, 56, 0.55);
  background: rgba(212, 116, 56, 0.12);
  color: #ffd7bf;
}

.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .layout {
    display: flex;
    flex-direction: column;
  }

  .panel--info {
    position: static;
  }

  .panel--form {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
