:root {
  --ink: #152d35;
  --ink-deep: #0d1f25;
  --gold: #fec42d;
  --gold-soft: #fff4d4;
  --green: #2c7a3a;
  --paper: #ffffff;
  --tint: #f5f3ec;
  --text: #1b2a30;
  --muted: #52646a;
  --line: #dfe3df;
  --danger: #b42318;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(13, 31, 37, 0.25);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; color: var(--ink); margin: 0 0 0.5em; font-weight: 600; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 0.6rem; }
.eyebrow.center { text-align: center; }
.eyebrow-spaced { margin-top: 4rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 0.95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.88rem; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd255; color: var(--ink); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--green); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:not(.btn):hover { color: var(--green); }
.nav .nav-receipt { color: var(--green) !important; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform 0.2s; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    transform: translateY(-120%); transition: transform 0.25s ease; box-shadow: var(--shadow);
  }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink-deep); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(13, 31, 37, 0.96) 0%, rgba(21, 45, 53, 0.88) 45%, rgba(21, 45, 53, 0.55) 100%),
    url("../img/hero.webp") center / cover no-repeat;
}
.hero-inner { position: relative; padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); max-width: 900px; margin-left: max(16px, calc((100% - 1180px) / 2)); }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.9rem); letter-spacing: -0.01em; margin-bottom: 0.4em; }
.hero-theme { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: rgba(255, 255, 255, 0.86); max-width: 52ch; }
.hero-theme span { color: var(--gold); font-weight: 700; }
.hero-meta { list-style: none; padding: 0; margin: 1.6rem 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 700; font-size: 1.05rem; }
.hero-meta li { display: flex; align-items: center; gap: 10px; }
.hero-meta svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.countdown { display: flex; gap: 10px; margin-top: 2.4rem; }
.countdown div { min-width: 76px; padding: 12px 10px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
.countdown b { display: block; font: 600 1.9rem/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--ink); color: rgba(255, 255, 255, 0.86); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.grid-2 { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 72px; } }

.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c7a3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.overview-photo { margin: 0; }
.overview-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.overview-photo figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

.cards-5 { display: grid; gap: 16px; margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); }
.card-num { font: 600 0.9rem var(--font-display); color: var(--green); }
.card h3 { margin-top: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* People */
.hosts { display: grid; gap: 20px; margin-top: 1.6rem; }
@media (min-width: 760px) { .hosts { grid-template-columns: 1fr 1fr; } }
.host { display: flex; gap: 20px; align-items: center; padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.host img { width: 120px; height: 150px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.host .role { display: inline-block; background: var(--gold); color: var(--ink); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.host h3 { margin-bottom: 4px; }
.host p { margin: 0; font-size: 0.92rem; }

.people { display: grid; gap: 20px; margin-top: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.person {
  text-align: left; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 0; overflow: hidden; cursor: pointer; color: inherit; font: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.person:hover { transform: translateY(-3px); border-color: var(--gold); }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.person div { padding: 16px 18px 20px; }
.person h3 { font-size: 1.08rem; margin-bottom: 6px; }
.person p { font-size: 0.88rem; margin: 0 0 10px; color: rgba(255, 255, 255, 0.75); }
.person .more { font-size: 0.82rem; font-weight: 700; color: var(--gold); }

/* Agenda */
.notice { display: inline-block; background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 10px 16px; border-radius: 6px; font-size: 0.95rem; }
.tabs { display: flex; gap: 8px; overflow-x: auto; margin: 1.6rem 0 1.4rem; padding-bottom: 4px; scrollbar-width: thin; }
.tab {
  flex: 0 0 auto; min-height: 56px; padding: 8px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; text-align: left; font: inherit; color: var(--ink);
}
.tab b { display: block; font-size: 0.95rem; }
.tab small { color: var(--muted); font-size: 0.8rem; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab[aria-selected="true"] small { color: rgba(255, 255, 255, 0.75); }
.day-theme { font-size: 1.5rem; margin-bottom: 1rem; }
.sessions { display: grid; gap: 12px; }
.session { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.session time { font: 600 1.25rem var(--font-display); color: var(--green); }
.session .type { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.session h3 { font-size: 1.1rem; margin: 4px 0 0; }
.session .note { margin: 8px 0 0; font-size: 0.9rem; color: var(--muted); }

/* Fees */
.fees { display: grid; gap: 20px; margin-top: 2rem; }
@media (min-width: 900px) { .fees { grid-template-columns: 1fr 1fr; } }
.fee-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.fee-card header { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.price { font: 600 2.4rem/1.1 var(--font-display); color: var(--ink); margin: 6px 0 0; }
.price small { font: 500 0.9rem var(--font-body); color: var(--muted); }
.fee-sub { color: var(--muted); font-size: 0.92rem; margin: 0; }
.steps { padding-left: 1.2rem; margin: 0; display: grid; gap: 10px; }
.steps li::marker { color: var(--green); font-weight: 800; }
.fee-card .btn { align-self: flex-start; margin-top: auto; }
.bank { margin: 0; display: grid; }
.bank div { display: grid; grid-template-columns: 1fr; padding: 9px 0; border-bottom: 1px dashed var(--line); }
@media (min-width: 520px) { .bank div { grid-template-columns: 190px 1fr; gap: 12px; } }
.bank dt { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.bank dd { margin: 0; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.copy { font: 700 0.75rem var(--font-body); border: 1px solid var(--line); background: var(--tint); border-radius: 6px; padding: 4px 10px; min-height: 30px; cursor: pointer; color: var(--ink); }
.copy.done { background: var(--green); color: #fff; border-color: var(--green); }

/* Forms */
.preview-note { background: #fff1f0; color: var(--danger); border-radius: 8px; padding: 8px 14px; font-size: 0.9rem; font-weight: 600; }
.form { display: grid; gap: 18px; margin-top: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
legend { font: 600 1.15rem var(--font-display); color: var(--ink); margin-bottom: 4px; padding: 0; }
.hint { margin: -6px 0 0; font-size: 0.88rem; color: var(--muted); }
.form label { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.form label small { font-weight: 500; color: var(--muted); }
.row-2, .row-3 { display: grid; gap: 14px; }
@media (min-width: 680px) { .row-2 { grid-template-columns: 1fr 1fr; } .row-3 { grid-template-columns: repeat(3, 1fr); } }
input, select {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c9d0cc; border-radius: 10px;
  font: 500 1rem var(--font-body); color: var(--text); background: #fff;
}
input:focus, select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(44, 122, 58, 0.18); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); }
input[type="file"] { padding: 10px; background: var(--tint); }
.choice { display: grid; gap: 10px; }
@media (min-width: 680px) { .choice { grid-template-columns: 1fr 1fr; } }
.form .choice label, .form .consent { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.choice label { border: 1px solid #c9d0cc; border-radius: 10px; padding: 14px; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--green); background: #f0f8f1; }
.choice input, .consent input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--green); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-weight: 600; margin: 0; }

.success { margin-top: 1.6rem; background: #fff; border: 2px solid var(--green); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
.success:focus { outline: none; }
.success h3 { font-size: 1.5rem; }
.reg-id { font-family: var(--font-display); font-size: 1.15em; color: var(--green); }
.success-steps div { display: flex; gap: 14px; align-items: flex-start; background: var(--tint); border-radius: 10px; padding: 14px; margin-bottom: 18px; }
.success-steps span { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 800; }
.success-steps p { margin: 0; }

/* Gallery */
.gallery { display: grid; gap: 10px; margin-top: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--tint); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.35s ease; }
.gallery button:hover img { transform: scale(1.04); }

/* FAQ */
.faq { margin-top: 1.6rem; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--green); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }

/* Partners */
.partners-section { padding: 56px 0; }
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; margin-top: 1.2rem; }
.partners img { max-height: 80px; width: auto; }

/* Footer */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, 0.75); padding: 56px 0 24px; font-size: 0.95rem; }
.site-footer a { color: var(--gold); }
.site-footer img { height: 52px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px; margin-bottom: 14px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-h { color: #fff; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 32px; padding-top: 18px; font-size: 0.85rem; }

/* Payment reminder banner */
.pay-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; margin-inline: auto; max-width: 760px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 14px 16px 14px 20px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.45);
  animation: rise 0.4s ease both;
}
.pay-banner p { margin: 0; flex: 1 1 280px; font-size: 0.95rem; }
.pay-banner b { color: var(--gold); }
.pay-banner div { display: flex; align-items: center; gap: 6px; }
.pay-banner-close { background: none; border: 0; color: #fff; font-size: 1.6rem; width: 44px; height: 44px; cursor: pointer; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }

/* Dialogs */
.modal { border: 0; border-radius: 18px; padding: 0; width: min(860px, 100% - 32px); max-height: calc(100dvh - 48px); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(13, 31, 37, 0.72); }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; cursor: pointer; box-shadow: var(--shadow); }
.bio { display: grid; }
@media (min-width: 700px) { .bio { grid-template-columns: 300px 1fr; } }
.bio img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; object-position: top; }
.bio > div { padding: 32px 28px; }
.bio-title { color: var(--green); font-weight: 700; }
.bio-text { color: var(--muted); }
.lightbox { background: transparent; box-shadow: none; width: min(1100px, 100% - 32px); overflow: visible; }
.lightbox img { width: 100%; border-radius: 12px; max-height: calc(100dvh - 80px); object-fit: contain; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.9); font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
