/* Public / guest marketing & inquiry pages */
:root {
  --g-bg: #f1f5f9;
  --g-surface: #ffffff;
  --g-text: #0f172a;
  --g-muted: #64748b;
  --g-border: #e2e8f0;
  --g-primary: #1d4ed8;
  --g-primary-soft: #eff6ff;
  --g-hero: #0b1224;
  --g-radius: 14px;
  --g-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --g-font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.guest-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--g-font);
  color: var(--g-text);
  background: var(--g-bg);
}

.guest-skip {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--g-primary);
  color: #fff;
  border-radius: 8px;
  z-index: 100;
}
.guest-skip:focus {
  left: 0.5rem;
}

.guest-container {
  width: min(1160px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.guest-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--g-border);
}
.guest-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.guest-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--g-text);
}
.guest-brand:hover {
  text-decoration: none;
}
.guest-brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--g-primary), #0ea5e9);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.guest-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.guest-brand__name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.guest-brand__tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--g-muted);
}

.guest-nav-toggle {
  display: none;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--g-border);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.guest-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}
.guest-nav a {
  text-decoration: none;
  color: var(--g-text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  transition: background 0.12s ease;
}
.guest-nav a:hover {
  background: var(--g-primary-soft);
  text-decoration: none;
}
.guest-nav a.is-active {
  background: #e0e7ff;
  color: #3730a3;
}
.guest-nav__cta {
  background: linear-gradient(135deg, var(--g-primary), #2563eb) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}
.guest-nav__cta:hover {
  filter: brightness(1.05);
}
.guest-nav__highlight {
  border: 1px solid var(--g-border);
  font-weight: 600 !important;
}

@media (max-width: 900px) {
  .guest-nav-toggle {
    display: inline-flex;
  }
  .guest-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--g-border);
    box-shadow: var(--g-shadow);
  }
  .guest-nav.is-open {
    display: flex;
  }
  .guest-header__inner {
    position: relative;
    flex-wrap: wrap;
  }
}

/* Main */
.guest-main {
  flex: 1;
  padding-bottom: 2.5rem;
}
.guest-main--flush {
  padding-bottom: 0;
}

/* Page hero (inner pages) */
.guest-page-hero {
  background: linear-gradient(120deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  color: #e2e8f0;
  padding: 2.75rem 0 2.25rem;
  margin-bottom: 2rem;
}
.guest-page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: -0.02em;
}
.guest-page-hero p {
  margin: 0;
  max-width: 62ch;
  color: #94a3b8;
  font-size: 1.05rem;
}

.guest-section {
  margin-bottom: 2.5rem;
}
.guest-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}
.guest-section p.lead {
  margin: 0 0 1.25rem;
  color: var(--g-muted);
  max-width: 68ch;
}

/* Cards & grids */
.guest-card {
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}
.guest-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.guest-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .guest-grid-2,
  .guest-grid-3 {
    grid-template-columns: 1fr;
  }
}

.guest-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  .guest-kpi {
    grid-template-columns: repeat(2, 1fr);
  }
}
.guest-kpi__item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 1rem;
}
.guest-kpi__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
}
.guest-kpi__value {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 0.35rem;
  color: #f8fafc;
}

/* Landing hero */
.guest-hero {
  background: radial-gradient(1000px 480px at 12% -8%, rgba(37, 99, 235, 0.35), transparent),
    radial-gradient(800px 400px at 92% 4%, rgba(14, 165, 233, 0.22), transparent),
    linear-gradient(180deg, var(--g-hero), #0f172a 55%, #0b1224);
  color: #e2e8f0;
  padding: 4rem 0 3.5rem;
}
.guest-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 960px) {
  .guest-hero__grid {
    grid-template-columns: 1fr;
  }
}
.guest-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.guest-hero .lead {
  font-size: 1.08rem;
  color: #cbd5e1;
  max-width: 52ch;
  margin-bottom: 1.5rem;
}
.guest-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.guest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.12s ease;
}
.guest-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.guest-btn--primary {
  background: linear-gradient(135deg, var(--g-primary), #2563eb);
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.35);
}
.guest-btn--ghost {
  background: transparent;
  border-color: rgba(226, 232, 240, 0.35);
  color: #e2e8f0;
}
.guest-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.guest-pill {
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.guest-hero-panel {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--g-radius);
  padding: 1.35rem;
  box-shadow: var(--g-shadow);
}
.guest-hero-panel h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #f8fafc;
}

/* Feature strip */
.guest-strip {
  padding: 3.25rem 0;
  background: var(--g-bg);
}
.guest-strip h2 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
}
.guest-strip .sub {
  color: var(--g-muted);
  margin-bottom: 2rem;
  max-width: 60ch;
}
.guest-feature {
  background: var(--g-surface);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  padding: 1.4rem;
  height: 100%;
}
.guest-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.guest-feature p {
  margin: 0;
  color: var(--g-muted);
  font-size: 0.95rem;
}
.guest-feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--g-primary-soft);
  color: var(--g-primary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

/* Announcements */
.guest-announce {
  padding: 2.5rem 0;
  background: #fff;
  border-block: 1px solid var(--g-border);
}
.guest-announce h2 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
}
.guest-announce__list {
  display: grid;
  gap: 0.85rem;
}
.guest-announce__item {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--g-border);
  background: #f8fafc;
}
.guest-announce__item strong {
  display: block;
  margin-bottom: 0.35rem;
}
.guest-announce__item p {
  margin: 0;
  color: var(--g-muted);
  font-size: 0.92rem;
}

.guest-cta {
  background: linear-gradient(100deg, #1e3a8a, #0f172a);
  color: #f8fafc;
  padding: 2.75rem 0;
  text-align: center;
}
.guest-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.55rem;
}
.guest-cta p {
  margin: 0 0 1.25rem;
  color: #cbd5e1;
}

/* Split layout (contact etc.) */
.guest-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 900px) {
  .guest-split {
    grid-template-columns: 1fr;
  }
}

/* Forms in guest */
.guest-form .form-group {
  margin-bottom: 1rem;
}
.guest-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.guest-form .form-control,
.guest-form select.form-control,
.guest-form textarea.form-control {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--g-border);
  font: inherit;
  background: #fff;
}
.guest-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}
.guest-form .form-control:focus {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  border-color: var(--g-primary);
}

/* Status pills */
.guest-status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}
.guest-status--open {
  background: #fef9c3;
  color: #854d0e;
}
.guest-status--in_review {
  background: #dbeafe;
  color: #1e40af;
}
.guest-status--closed {
  background: #dcfce7;
  color: #166534;
}
.guest-status--withdrawn {
  background: #f1f5f9;
  color: #475569;
}

/* FAQ */
.guest-faq details {
  border: 1px solid var(--g-border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  background: var(--g-surface);
}
.guest-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.guest-faq summary::-webkit-details-marker {
  display: none;
}
.guest-faq details[open] summary {
  margin-bottom: 0.5rem;
}
.guest-faq p {
  margin: 0;
  color: var(--g-muted);
  font-size: 0.95rem;
}

/* Footer */
.guest-footer {
  background: #fff;
  border-top: 1px solid var(--g-border);
  padding: 2.5rem 0 0;
  margin-top: auto;
}
.guest-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 1.5rem;
  padding-bottom: 2rem;
}
@media (max-width: 900px) {
  .guest-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .guest-footer__grid {
    grid-template-columns: 1fr;
  }
}
.guest-footer__brand {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.guest-footer__muted {
  color: var(--g-muted);
  font-size: 0.9rem;
}
.guest-footer__heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g-muted);
  margin-bottom: 0.65rem;
}
.guest-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}
.guest-footer__links li {
  margin-bottom: 0.4rem;
}
.guest-footer__links a {
  color: var(--g-text);
  text-decoration: none;
}
.guest-footer__links a:hover {
  text-decoration: underline;
}
.guest-footer__addr {
  color: var(--g-muted);
  white-space: pre-line;
}
.guest-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--g-border);
  font-size: 0.85rem;
  color: var(--g-muted);
}

/* Auth pages on guest chrome */
.guest-auth-wrap {
  padding: 2.5rem 0 3rem;
}
.guest-auth-wrap .auth-shell {
  min-height: auto;
  background: transparent;
  padding: 0;
}
.guest-auth-wrap .card {
  box-shadow: var(--g-shadow);
}

/* Utility */
.guest-muted {
  color: var(--g-muted);
  font-size: 0.92rem;
}
.guest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.guest-code {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  background: #f1f5f9;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--g-border);
  word-break: break-all;
}
