/* ============================================================
   STEAMラボ広島 - stylesheet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #1e3a5c;
  --primary-dark:  #122440;
  --accent:        #e85d04;
  --accent-hover:  #c94e00;
  --bg:            #dde6f4;
  --bg-alt:        #cfd9ee;
  --white:         #ffffff;
  --text:          #1a1a2e;
  --text-muted:    #6b7280;
  --border:        #d1d9e0;
  --radius:        8px;
  --radius-lg:     14px;
  --shadow:        0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.14);
  --transition:    0.22s ease;
  --header-h:      64px;
  --max-w:         1080px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.bg-white      { background: var(--white); }
.bg-light      { background: var(--bg); }
.bg-primary-dark { background: var(--primary-dark); }

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 12px;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.section-title.light { color: var(--white); }
.section-title.left  { text-align: left; }

.section-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
  line-height: 1.8;
}
.section-lead.light { color: rgba(255,255,255,0.8); }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: -32px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-label-light {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.section-cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 15px 36px; font-size: 1.05rem; }

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover { background: #162e4a; border-color: #162e4a; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

/* ---------- Header ---------- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo img { height: 36px; width: auto; }
.logo-text {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav-desktop {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-desktop a {
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.nav-desktop a:hover { background: var(--bg); color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--bg);
  color: var(--text);
}
.nav-mobile-cta {
  margin-top: 12px;
  text-align: center;
}

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d2137 0%, #1e3a5c 55%, #2d5a8e 100%);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14,33,55,0.85) 0%, rgba(14,33,55,0.5) 60%, rgba(14,33,55,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
  max-width: 760px;
}

.hero-label {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
}

.hero-title {
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.badge-link {
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.badge-link:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
}
.badge-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #93c5fd;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sp-br { display: none; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.feature-card {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.feature-num {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(30,58,92,0.1);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Workshop unified section ---------- */
.ws-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.ws-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  border-left: 4px solid var(--accent);
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
}
.ws-cta {
  margin-top: 1.5rem;
}

/* Results compact list */
.results-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.result-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
}
.result-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1.2;
}
.result-body strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.4;
}
.result-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}


/* ---------- Schedule ---------- */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.schedule-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.schedule-term {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.schedule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.schedule-list li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--bg);
}
.s-month { font-size: 0.85rem; color: var(--text-muted); }
.s-day { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.s-dow {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 100px;
}
.schedule-event {
  margin-top: 12px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  background: #fff8e1;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- Peace ---------- */
.peace-status-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.peace-theme {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  line-height: 1.6;
}
.peace-desc {
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: 40px;
  line-height: 1.8;
}
.peace-robots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.robot-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.robot-icon { font-size: 2.4rem; margin-bottom: 12px; }
.robot-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: block;
}
.robot-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.robot-card p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; }

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
  border-left: 2px solid rgba(255,255,255,0.2);
  padding-left: 24px;
}
.timeline-item {
  position: relative;
  padding-bottom: 28px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--primary-dark);
}
.timeline-marker {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.timeline-body strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}
.timeline-body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.peace-info {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 40px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.peace-info strong { color: var(--white); }

.peace-supporters { margin-bottom: 40px; }
.peace-supporters h3 {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}
.supporters-table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ---------- Overview Table (shared) ---------- */
.overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.overview-table th,
.overview-table td {
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  vertical-align: top;
}
.overview-table th {
  white-space: nowrap;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  width: 120px;
}
.overview-table td { color: rgba(255,255,255,0.85); }

/* White-bg variant (used in overview section) */
.full-table {
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.full-table th,
.full-table td {
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  font-size: 0.9rem;
}
.full-table th {
  background: var(--bg);
  font-weight: 700;
  color: var(--primary);
  width: 140px;
}
.full-table td { color: var(--text); }
.full-table tr:last-child th,
.full-table tr:last-child td { border-bottom: none; }

/* ---------- Results ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.result-card {
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.result-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.result-trophy { font-size: 2.8rem; margin-bottom: 14px; }
.result-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.4; }
.result-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- Related Events ---------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.event-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); }
.event-card p { font-size: 0.9rem; color: var(--text-muted); flex: 1; }
.event-card .btn { align-self: flex-start; }

/* ---------- Workshop ---------- */
.workshop-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
.workshop-text p { margin-bottom: 16px; font-size: 0.95rem; color: var(--text-muted); }
.workshop-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.workshop-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.workshop-list li strong { font-size: 0.95rem; color: var(--primary); }
.workshop-list li span { font-size: 0.88rem; color: var(--text-muted); }
.workshop-join { font-size: 0.9rem; margin-bottom: 20px !important; }

.workshop-qr { text-align: center; flex-shrink: 0; }
.workshop-qr img { width: 140px; height: 140px; border: 1px solid var(--border); border-radius: var(--radius); }
.qr-box {
  width: 140px;
  height: 140px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.qr-caption { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }

/* ---------- 3D Printer Steps ---------- */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 220px;
  flex: 1;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 900;
  flex-shrink: 0;
}
.step-body strong { display: block; font-size: 0.95rem; color: var(--primary); margin-bottom: 6px; }
.step-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--border);
  align-self: center;
  padding-top: 0;
  flex-shrink: 0;
}

/* ---------- 3D Printer notice ---------- */
.printer-notice {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 1rem;
}
.printer-notice-text {
  flex: 1;
  min-width: 220px;
}
.printer-notice-text strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}
.printer-notice-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.printer-notice-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .printer-notice { flex-direction: column; }
  .printer-notice-btns { width: 100%; }
}

/* ---------- Overview section ---------- */
.overview-wrap {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
}
.overview-mission { background: var(--bg); border-radius: var(--radius-lg); padding: 32px; }
.overview-mission h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 14px; }
.overview-mission p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.75; }

.org-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.org-links a {
  font-size: 0.85rem;
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 1px;
  transition: color var(--transition);
}
.org-links a:hover { color: var(--accent); border-color: var(--accent); }
.overview-main h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 14px; }

/* ---------- 規約ページ ---------- */
.rules-page-hero {
  background: var(--primary-dark);
  padding: 80px 0 48px;
  margin-top: 64px;
}
.rules-page-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}
.rules-page-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
}
.rules-back {
  max-width: 760px;
  margin: 40px auto 0;
}
nav a.active {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- 規約共通 ---------- */
.rules-body {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.rules-chapter {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}
.rules-chapter h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.rules-article {
  margin-bottom: 20px;
}
.rules-article:last-child { margin-bottom: 0; }
.rules-article h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.rules-article p,
.rules-article ol {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.rules-article ol {
  padding-left: 1.4em;
}
.rules-article ol li { margin-bottom: 4px; }
.rules-addendum {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.rules-addendum h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.rules-addendum p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.rules-sign {
  margin-top: 12px;
  text-align: right;
  font-weight: 700;
  color: var(--text) !important;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  color: var(--text);
  font-family: inherit;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--primary); }
.faq-q[aria-expanded="true"] { color: var(--primary); }
.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform var(--transition);
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-a.open { display: block; }
.faq-a a { color: var(--primary); text-decoration: underline; }
.faq-a a:hover { color: var(--accent); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.contact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.contact-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.contact-card p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-bottom: 20px; line-height: 1.7; }
.contact-btns { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Sponsors ---------- */
.sponsors-group { margin-bottom: 40px; }
.sponsors-group:last-child { margin-bottom: 0; }
.sponsors-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.sponsors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.sponsor-card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sponsor-card--grant {
  border-color: var(--primary);
  border-width: 2px;
}
.sponsor-logo {
  max-width: 200px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---------- Footer ---------- */
#footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 24px;
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { flex: 1; min-width: 180px; }
.footer-logo { height: 32px; width: auto; margin-bottom: 8px; }
.footer-logo-text { font-size: 1rem; font-weight: 900; color: var(--white); margin-bottom: 8px; display: block; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: flex-start;
}
.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }

.footer-docs {
  display: flex;
  gap: 16px;
}
.footer-docs a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color var(--transition);
}
.footer-docs a:hover { color: var(--white); }

.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }

  #header { height: auto; }
  .header-inner { height: var(--header-h); }

  #hero { min-height: 80vh; }

  .overview-wrap { grid-template-columns: 1fr; }
  .workshop-wrap { grid-template-columns: 1fr; }
  .workshop-qr { display: none; }

  .peace-robots { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 56px; }

  .section { padding: 56px 0; }

  .hero-title { letter-spacing: -0.02em; }
  .sp-br { display: inline; }

  .hero-badges { flex-direction: column; }
  .badge { border-radius: var(--radius); }

  .ws-main-grid { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; }

  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .step { max-width: 100%; }

  .results-grid { grid-template-columns: 1fr; }

  .timeline { padding-left: 16px; }

  .contact-card { padding: 24px 20px; }

  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-docs { flex-wrap: wrap; }

  .full-table th { width: 100px; }
}
