/* =========================
   CYRTIX PUBLIC SITE
========================= */

:root {
    --cyrtix-blue: #0A1A3F;
    --electric-cyan: #00E0FF;
    --silver-slate: #C7D0D9;
    --cyrtix-crimson: #D20D6F;

    --steel-gray: #1F2937;
    --soft-white: #F9FAFB;
}

/* =========================
   BASE
========================= */

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system,
                 BlinkMacSystemFont, "Segoe UI",
                 Roboto, Arial, sans-serif;
    background-color: var(--soft-white);
    color: var(--steel-gray);
    line-height: 1.65;
}

.cx-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}



/* =========================
   HEADER
========================= */
/* ===============================
   PUBLIC HEADER (CYRTIX)
================================ */

.cx-public-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(
    to right,
    var(--cx-blue-900),
    var(--carbon-black)
  );
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--cx-shadow-sm);
}

.cx-header-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--cx-space-6);
  height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* BRAND */
.cx-brand {
  display: flex;
  align-items: center;
  gap: var(--cx-space-4);
  text-decoration: none;
}

.cx-brand-logo {
  border-radius: var(--cx-radius-sm);
}

.cx-brand-name {
  font-size: var(--cx-text-lg);
  font-weight: 700;
  color: var(--soft-white);
  letter-spacing: 0.04em;
}

.cx-brand-tag {
  font-size: var(--cx-text-xs);
  color: var(--cx-slate-300);
  margin-top: 2px;
}

/* NAV */
.cx-nav {
  display: flex;
  align-items: center;
  gap: var(--cx-space-6);
}

.cx-nav-link {
  font-size: var(--cx-text-sm);
  font-weight: 500;
  color: var(--cx-slate-300);
  text-decoration: none;
  position: relative;
  transition: color var(--cx-duration-fast) var(--cx-ease-standard);
}

.cx-nav-link:hover {
  color: var(--soft-white);
}

.cx-nav-accent {
  color: var(--electric-cyan);
}

.cx-nav-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.25);
}

/* ACTIONS */
.cx-header-actions {
  display: flex;
  gap: var(--cx-space-4);
}

/* BUTTONS (Public Variant) */
.cx-btn {
  font-size: var(--cx-text-sm);
  padding: 8px 16px;
  border-radius: var(--cx-radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--cx-duration-fast) var(--cx-ease-standard);
}

.cx-btn--primary {
  background: var(--cx-crimson-500);
  color: var(--soft-white);
}

.cx-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--cx-shadow-md);
}

.cx-btn--outline {
  border: 1px solid var(--cx-slate-300);
  color: var(--soft-white);
}

.cx-btn--ghost {
  color: var(--cx-slate-300);
}


/* =========================
   MAIN
========================= */

.site-main h1,
.site-main h2,
.site-main h3 {
    color: var(--cyrtix-blue);
    font-weight: 600;
}

.site-main p {
    max-width: 75ch;
}

/* =========================
   FOOTER
========================= */

/* ======================================
   PUBLIC FOOTER — CYRTIX
====================================== */

.cx-public-footer {
  background: var(--cx-steel-900);
  color: var(--cx-slate-300);
  margin-top: var(--cx-space-12);
}

/* GRID */
.cx-footer-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--cx-space-12) var(--cx-space-6);
}

.cx-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--cx-space-8);
}

/* BRAND */
.cx-footer-brand-head {
  display: flex;
  align-items: center;
  gap: var(--cx-space-4);
  margin-bottom: var(--cx-space-4);
}

.cx-footer-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--cx-radius-sm);
}

.cx-footer-brand-name {
  color: var(--soft-white);
  font-size: var(--cx-text-lg);
  margin: 0;
}

.cx-footer-brand-tagline {
  font-size: var(--cx-text-xs);
  color: var(--cx-slate-300);
}

.cx-footer-desc {
  font-size: var(--cx-text-sm);
  line-height: var(--cx-leading-relaxed);
  max-width: 420px;
}

/* SOCIAL */
.cx-footer-socials {
  display: flex;
  gap: var(--cx-space-4);
  margin-top: var(--cx-space-4);
}

.cx-footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: var(--soft-white);
  font-weight: 600;
  text-decoration: none;
}

/* COLUMNS */
.cx-footer-title {
  font-size: var(--cx-text-sm);
  font-weight: 600;
  color: var(--soft-white);
  margin-bottom: var(--cx-space-4);
}

.cx-footer-col a {
  display: block;
  font-size: var(--cx-text-sm);
  color: var(--cx-slate-300);
  text-decoration: none;
  margin-bottom: var(--cx-space-2);
}

.cx-footer-col a:hover {
  color: var(--electric-cyan);
}

.cx-footer-contact p {
  font-size: var(--cx-text-sm);
  margin-bottom: var(--cx-space-2);
}

.cx-footer-hours {
  color: var(--cx-slate-500);
}

/* BOTTOM */
.cx-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.cx-footer-bottom-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--cx-space-4) var(--cx-space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--cx-text-xs);
}

.cx-footer-note {
  color: var(--cx-slate-500);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cx-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .cx-footer-grid {
    grid-template-columns: 1fr;
  }

  .cx-footer-bottom-shell {
    flex-direction: column;
    gap: var(--cx-space-2);
    text-align: center;
  }
}

/* =========================
   CONTENT SECTIONS
========================= */

.site-main section {
    margin-bottom: 3rem;
}

.site-main section:last-child {
    margin-bottom: 0;
}

.site-main h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.site-main h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.site-main h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.site-main p {
    margin-bottom: 1rem;
}

/* =========================
   LISTS (ACADEMIC STYLE)
========================= */

.site-main ul {
    margin: 1rem 0 1.5rem 1.2rem;
    padding: 0;
}

.site-main li {
    margin-bottom: 0.6rem;
    max-width: 75ch;
}

/* =========================
   LINKS (INSTITUTIONAL)
========================= */

.site-main a {
    color: var(--cyrtix-blue);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-main a:hover {
    color: var(--electric-cyan);
    text-decoration-color: var(--electric-cyan);
}

/* =========================
   EMPHASIS (SAFE)
========================= */

.site-main strong {
    font-weight: 600;
    color: var(--cyrtix-blue);
}

