/* ==========================================================================
   components.css — reusable blocks shared across every page
   (site header/nav, footer, buttons, cards, banner, forms, notices)
   ========================================================================== */

/* Site header & nav ------------------------------------------------------- */

.site-header{
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--sp-2) var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.site-header .brand{
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
}
.site-header .brand img{ height: 46px; width: auto; }
.site-header .brand .locality{
  font-family: var(--font-head);
  font-weight: 600;
  font-style: italic;
  color: var(--teal);
  font-size: var(--fs-lg);
}

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--navy-deep);
}

.site-nav ul{
  list-style: none;
  display: flex;
  gap: var(--sp-3);
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-nav a{
  text-decoration: none;
  color: var(--navy-deep);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover{ border-bottom-color: var(--orange); }
.site-nav a[aria-current="page"]{
  color: var(--purple);
  border-bottom-color: var(--purple);
}

@media (max-width: 820px){
  .nav-toggle{ display: block; }
  .site-nav{
    display: none;
    width: 100%;
    order: 3;
  }
  .site-nav.open{ display: block; }
  .site-nav ul{
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: var(--sp-2);
  }
  .site-nav li{ width: 100%; }
  .site-nav a{
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-header .inner{ flex-wrap: wrap; }
}

/* Buttons ----------------------------------------------------------------- */

.btn{
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  padding: 12px 26px;
  cursor: pointer;
  font-size: var(--fs-sm);
  transition: background-color .15s ease, color .15s ease;
}
.btn-primary{ background: var(--orange); color: #fff; }
.btn-primary:hover{ background: var(--orange-hot); color: #fff; }
.btn-dark{ background: var(--navy-deep); color: #fff; }
.btn-dark:hover{ background: var(--purple); color: #fff; }
.btn-ghost{ border-color: var(--navy-deep); color: var(--navy-deep); background: transparent; }
.btn-ghost:hover{ background: var(--navy-deep); color: #fff; }

/* Conference banner strip ------------------------------------------------- */
/* The bare domain is printed on the seminar flyer, so flyer/QR traffic lands
   on the home page. This strip keeps registration one click away.           */

.conf-banner{
  background: var(--navy-deep);
  color: #fff;
  padding: var(--sp-2) var(--sp-4);
}
.conf-banner .inner{
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  text-align: center;
}
.conf-banner .label{
  background: var(--rainbow);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: .5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.conf-banner p{ margin: 0; font-size: var(--fs-sm); }
.conf-banner .btn{ padding: 8px 20px; }

/* Cards ------------------------------------------------------------------- */

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow);
}
.card h3{ margin-top: 0; }

.grid{ display: grid; gap: var(--sp-3); }
.grid-3{ grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2{ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* Credibility bar --------------------------------------------------------- */

.cred-bar{
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--sp-4) 0;
}
.cred-bar ul{
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  text-align: center;
}
.cred-bar li{
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-deep);
  font-size: var(--fs-sm);
  max-width: 260px;
}
.cred-bar li span{
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted);
  font-size: var(--fs-xs);
}

/* Quote / testimonial ----------------------------------------------------- */

.quote{
  background: var(--surface);
  border-left: 6px solid var(--teal);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.quote blockquote{
  margin: 0 0 var(--sp-2);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--navy-deep);
}
.quote cite{ color: var(--muted); font-size: var(--fs-sm); font-style: normal; }

/* Forms ------------------------------------------------------------------- */

.form-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-5);
  max-width: 560px;
  box-shadow: var(--shadow);
}
.form-card label{ display: block; font-weight: 600; margin: var(--sp-3) 0 var(--sp-1); }
.form-card input,
.form-card select,
.form-card textarea{
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
}
.form-card textarea{ min-height: 130px; resize: vertical; }
.form-card button{
  margin-top: var(--sp-4);
  width: 100%;
  border: none;
}

/* Notices ----------------------------------------------------------------- */

.notice{
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
  margin: var(--sp-3) 0;
}
.notice-info{ background: #f0f7f7; border: 1px solid #b9dfe1; }
.notice-warn{ background: #fff6ea; border: 1px solid #f2c98a; }

/* TODO marker — visible placeholder for content awaiting confirmation.
   Search the codebase for "todo-flag" before launch; none should remain. */
.todo-flag{
  background: #fff3cd;
  border: 1px dashed #c9a227;
  color: #7a5c00;
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* Footer ------------------------------------------------------------------ */

.site-footer{
  background: var(--navy-deep);
  color: #d9d2ee;
  padding: var(--sp-6) 0 var(--sp-4);
  margin-top: var(--sp-6);
}
.site-footer a{ color: #fff; }
.site-footer h4{ color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .5px; }
.site-footer .cols{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: var(--sp-4);
}
.site-footer ul{ list-style: none; margin: 0; padding: 0; }
.site-footer li{ margin-bottom: var(--sp-1); font-size: var(--fs-sm); }
.site-footer .legal{
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  font-size: var(--fs-xs);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  justify-content: space-between;
}
.site-footer .rainbow-rule{
  height: 6px;
  background: var(--rainbow);
  border-radius: 3px;
  margin-bottom: var(--sp-5);
}

/* Lists with brand ticks / numbers ---------------------------------------- */

ul.tick{ list-style: none; padding-left: 0; margin: 0 0 var(--sp-3); }
ul.tick li{
  position: relative;
  padding-left: 26px;
  margin-bottom: var(--sp-1);
  color: var(--muted);
}
ul.tick li::before{
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

ol.numbered{ padding-left: 22px; margin: 0 0 var(--sp-3); color: var(--muted); }
ol.numbered li{ margin-bottom: var(--sp-1); padding-left: 4px; }
ol.numbered li::marker{ color: var(--teal); font-weight: 700; }

/* Portrait images --------------------------------------------------------- */

.portrait-img{
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.portrait-cap{ margin-top: var(--sp-2); text-align: center; }

/* FAQ accordions ---------------------------------------------------------- */

.faq-item{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: var(--sp-2);
  box-shadow: var(--shadow);
}
.faq-item summary{
  cursor: pointer;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-deep);
  list-style: none;
  position: relative;
  padding-right: 52px;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  position: absolute;
  right: var(--sp-4);
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
  color: var(--orange);
  font-weight: 400;
}
.faq-item[open] summary::after{ content: "\2212"; }
.faq-item summary:hover{ color: var(--purple); }
.faq-answer{
  padding: 0 var(--sp-4) var(--sp-3);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.faq-answer > *:first-child{ margin-top: var(--sp-3); }

/* Seminar cards ----------------------------------------------------------- */

.seminar-card.upcoming{ border-top: 6px solid var(--teal); }
.seminar-card .who{
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--sp-1);
}
