/* CST Academy — presentation site. Palette from the logo: black, white, #C80E10. */
:root {
  --black: #000;
  --ink: #0b0b0c;
  --panel: #141416;
  --line: #2a2a2e;
  --white: #fff;
  --muted: #a6a6ae;
  --red: #c80e10;
  --red-hi: #e5484d;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 .6rem; font-weight: 900; font-style: italic; letter-spacing: -.01em; text-transform: uppercase; }
h1 { font-size: clamp(2.3rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); position: relative; padding-left: 1rem; }
h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: .3rem; background: var(--red); transform: skewX(-14deg); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1rem; }
.red { color: var(--red-hi); }


/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(0, 0, 0, .86); backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--red);
}
.nav-brand img { display: block; height: 28px; width: auto; }
.nav-links { display: none; gap: 1.5rem; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .08em; }
.nav-links a:hover { color: var(--white); }
.nav .btn { margin-left: auto; }
@media (min-width: 760px) { .nav-links { display: flex; } .nav .btn { margin-left: 0; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.3rem; border-radius: 10px;
  font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: .92rem;
  border: 2px solid transparent; transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #a50b0d; }
.btn-ghost { border-color: var(--line); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-sm { min-height: 38px; padding: .45rem .9rem; font-size: .8rem; }

/* Hero */
.hero {
  display: grid; gap: 2rem; align-items: center;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1180px; margin: 0 auto;
  background:
    linear-gradient(115deg, transparent 0 62%, rgba(200, 14, 16, .16) 62% 64%, transparent 64% 68%, rgba(200, 14, 16, .1) 68% 69%, transparent 69%);
}
@media (min-width: 900px) { .hero { grid-template-columns: 1.15fr .85fr; } }
.eyebrow { color: var(--red-hi); font-weight: 800; text-transform: uppercase; letter-spacing: .18em; font-size: .85rem; margin-bottom: .8rem; }
.lead { color: #d4d4d8; font-size: 1.12rem; max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-badge { display: flex; justify-content: center; }
.hero-badge img { width: min(440px, 82vw); filter: drop-shadow(0 18px 40px rgba(200, 14, 16, .25)); }

/* Values strip */
.values { background: var(--red); }
.values ul {
  list-style: none; margin: 0 auto; padding: 1.4rem clamp(1rem, 4vw, 2.5rem); max-width: 1180px;
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.values li { display: flex; flex-direction: column; }
.values strong { font-style: italic; text-transform: uppercase; font-weight: 900; font-size: 1.1rem; letter-spacing: .03em; }
.values span { font-size: .92rem; opacity: .92; }

/* Sections */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem); }
.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 1.4rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; right: -30px; top: 0; bottom: 0; width: 60px; background: rgba(200, 14, 16, .14); transform: skewX(-14deg); }
.card-tag { display: inline-block; background: var(--red); color: var(--white); font-weight: 800; font-size: .8rem; padding: .15rem .6rem; border-radius: 6px; letter-spacing: .05em; }
.card p:last-child { color: #d4d4d8; margin: 0; }

.safe { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .safe { grid-template-columns: 1.2fr .8fr; } }
.safe p { color: #d4d4d8; }
.safe-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.safe-list li { background: var(--panel); border-left: 4px solid var(--red); padding: .8rem 1rem; border-radius: 0 10px 10px 0; font-weight: 600; }

.schedule { margin-top: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 560px; }
.schedule-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.2rem; border-top: 1px solid var(--line); font-weight: 700; }
.schedule-row > span:last-child { white-space: nowrap; }
.schedule-row small { display: block; color: var(--muted); font-size: .85rem; font-weight: 600; }
.schedule-row:first-child { border-top: 0; }
.schedule-row.muted { color: var(--muted); }
.note { color: var(--muted); margin-top: 1rem; max-width: 560px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; margin-top: 1.4rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.contact-label { color: var(--red-hi); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; margin: 0; }
.contact-value { font-size: 1.25rem; font-weight: 700; }
.contact-actions { display: grid; gap: .7rem; margin-top: 1.2rem; }
.social-label { margin-top: 1.6rem; }
.social { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .7rem; }
.social .btn { padding-inline: .7rem; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

.footer { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: 2rem 1rem 2.5rem; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.footer { flex-wrap: wrap; text-align: center; }
.footer p { margin: 0; }
.footer-social { display: flex; gap: .4rem; }
.footer-social a { display: inline-flex; padding: .55rem; color: var(--muted); border-radius: 8px; }
.footer-social a:hover { color: var(--white); }
.footer-social svg { width: 22px; height: 22px; fill: currentColor; }
