:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --bg-soft: #111827;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --accent-strong: #0ea5e9;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --danger: #f97373;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1f2937 0, #020617 45%);
  color: var(--text-main);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: conic-gradient(
    from 140deg,
    #22c55e,
    #38bdf8,
    #6366f1,
    #22c55e
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #020617;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.7);
}

.logo-text {
  display: inline-flex;
  flex-direction: column;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
}

.logo-text span:last-child {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-strong);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all 0.18s ease-out;
}

.nav-link:hover {
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.85);
}

.nav-link.active {
  color: var(--text-main);
  border-color: rgba(148, 163, 184, 0.9);
  background: radial-gradient(circle at top left, #38bdf8 0, #020617 60%);
}

.nav-cta {
  background: linear-gradient(to right, #22c55e, #38bdf8);
  color: #020617;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.55);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.8);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--text-main);
  border-radius: 999px;
}

.hero {
  padding: 3.5rem 0 3.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.hero-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.btn.primary {
  background: linear-gradient(to right, #22c55e, #38bdf8);
  color: #020617;
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.7);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 52px rgba(56, 189, 248, 0.95);
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.8);
}

.btn.full {
  width: 100%;
}

.hero-meta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.4rem;
  margin-top: 0.9rem;
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.meta-value {
  font-size: 0.9rem;
  color: var(--text-main);
}

.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: 24px;
  padding: 1.6rem 1.5rem 1.7rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.17), transparent 60%),
    linear-gradient(145deg, #020617, #020617, #0f172a);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-card h2 {
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.hero-card p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-card-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
  margin: 0 0 0.65rem;
}

.hero-stats {
  position: absolute;
  inset: auto 0 -1.1rem auto;
  display: flex;
  gap: 0.6rem;
}

.stat {
  min-width: 88px;
  border-radius: 18px;
  padding: 0.7rem 0.9rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.55);
  backdrop-filter: blur(14px);
}

.stat-number {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.section {
  padding: 2.4rem 0;
}

.section.alt {
  background: radial-gradient(circle at top right, #0f172a 0, #020617 55%);
}

.section-header {
  text-align: left;
  margin-bottom: 1.6rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.cards-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem 1.3rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 60%),
    linear-gradient(to bottom right, #020617, #020617, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.85);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-link {
  font-size: 0.85rem;
  color: var(--accent-strong);
}

.card-link::after {
  content: " →";
}

.layout-two {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: flex-start;
}

.highlight-box {
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem 1.3rem;
  background: radial-gradient(circle at top right, #22c55e 0, #020617 55%);
  border: 1px solid rgba(74, 222, 128, 0.6);
  box-shadow: 0 18px 50px rgba(22, 163, 74, 0.9);
}

.highlight-box h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.highlight-box p {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  border: 2px solid #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.page-hero {
  padding: 2.6rem 0 1rem;
}

.page-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-strong);
  margin: 0 0 0.4rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.page-intro {
  margin: 0;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.profile-card {
  min-height: 0;
}

.program-card .small-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.program-card .small-list li {
  margin-bottom: 0.15rem;
}

.schedule-table {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
}

.schedule-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
}

.schedule-head {
  background: rgba(15, 23, 42, 0.95);
  font-weight: 600;
}

.schedule-row:nth-child(even):not(.schedule-head) {
  background: rgba(15, 23, 42, 0.8);
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.event-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    linear-gradient(to right, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.event-date {
  width: 70px;
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.4rem;
  text-align: center;
  background: linear-gradient(to bottom, #38bdf8, #1d4ed8);
  color: #e5f2ff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.8);
}

.event-day {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.event-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.event-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.event-meta {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-main);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.gallery-item {
  margin: 0;
}

.gallery-placeholder {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
}

.gradient-1 {
  background: linear-gradient(135deg, #22c55e, #38bdf8);
}
.gradient-2 {
  background: linear-gradient(135deg, #6366f1, #22c55e);
}
.gradient-3 {
  background: linear-gradient(135deg, #f97316, #22c55e);
}
.gradient-4 {
  background: linear-gradient(135deg, #ec4899, #6366f1);
}
.gradient-5 {
  background: linear-gradient(135deg, #22d3ee, #a855f7);
}
.gradient-6 {
  background: linear-gradient(135deg, #facc15, #38bdf8);
}

.gallery-item figcaption {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form {
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.2rem 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.form-row {
  margin-bottom: 0.7rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

input,
select,
textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.88rem;
  padding: 0.55rem 0.8rem;
  outline: none;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out,
    background-color 0.15s ease-out;
}

textarea {
  border-radius: 18px;
  resize: vertical;
  min-height: 120px;
  padding-top: 0.7rem;
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
}

.form-note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.map-placeholder {
  margin-top: 0.9rem;
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.8);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top, #020617, #020617 60%);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 1.6rem;
  padding: 1.6rem 0 1.2rem;
  font-size: 0.86rem;
}

.footer-grid h3,
.footer-grid h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.25rem;
}

.footer-grid a {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 0.5rem 0 0.8rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-stats {
    position: static;
    margin-top: 0.85rem;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .layout-two {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid,
  .cards-grid.three,
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .main-nav {
    position: absolute;
    inset: 100% 1rem auto 1rem;
    flex-direction: column;
    padding: 0.6rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.8);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.9);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.16s ease-out, transform 0.16s ease-out;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.7rem;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 1.9rem 0;
  }

  .cards-grid,
  .cards-grid.three,
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .event-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

