:root {
  --ink: #0b2131;
  --muted: #647684;
  --deep: #06273a;
  --ocean: #0a6e88;
  --teal: #0e9b95;
  --cyan: #dff7f8;
  --line: #d7e3e8;
  --soft: #f4f8f9;
  --panel: #ffffff;
  --shadow: 0 22px 60px rgba(6, 39, 58, 0.14);
  font-family: "Inter", "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
  padding: 0 clamp(20px, 5vw, 76px);
  border-bottom: 1px solid rgba(215, 227, 232, 0.88);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.fact-grid,
.actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  background: var(--deep);
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ocean);
}

.header-action,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.header-action,
.primary-button {
  color: #fff;
  border: 0;
  background: var(--ocean);
}

.header-action:hover,
.primary-button:hover {
  background: #075a70;
}

.ghost-button {
  color: var(--deep);
  border: 1px solid var(--line);
  background: #fff;
}

.hero {
  min-height: calc(100vh - 74px);
  padding: clamp(30px, 5vw, 68px) clamp(20px, 5vw, 76px) 46px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 42%, rgba(255,255,255,.56) 100%),
    url("./assets/marine-hero.png") center / cover no-repeat;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 530px);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-copy {
  padding-top: clamp(8px, 5vw, 54px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

.theme {
  margin-bottom: 18px;
  color: var(--ocean);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 850;
  line-height: 1.35;
}

.intro {
  max-width: 690px;
  margin-bottom: 28px;
  color: #425867;
  font-size: 18px;
  line-height: 1.72;
}

.fact-grid {
  flex-wrap: wrap;
  gap: 12px;
}

.fact-grid div {
  min-width: 190px;
  padding: 15px 17px;
  border: 1px solid rgba(215, 227, 232, .92);
  border-radius: 8px;
  background: rgba(255,255,255,.8);
}

.fact-grid span,
label span,
.card-head p {
  color: var(--muted);
  font-size: 13px;
}

.fact-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
}

.register-card {
  border: 1px solid rgba(215, 227, 232, .98);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
}

.hidden-field {
  display: none;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.card-head h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

.card-head p {
  margin-bottom: 0;
  line-height: 1.5;
}

.card-head > span {
  min-width: max-content;
  border-radius: 999px;
  padding: 6px 10px;
  color: #08715d;
  background: #e5f6f2;
  font-size: 12px;
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}

textarea {
  resize: vertical;
  line-height: 1.55;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px rgba(10, 110, 136, .14);
}

.field-error {
  border-color: #c53d3d;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.actions {
  gap: 10px;
  margin-bottom: 16px;
}

.confirmation {
  border: 1px solid #bee2dc;
  border-radius: 8px;
  padding: 14px;
  color: #1f554f;
  background: #eef9f7;
  font-size: 14px;
}

.confirmation p {
  margin: 5px 0 0;
}

.section {
  padding: clamp(56px, 7vw, 94px) clamp(20px, 5vw, 76px);
}

.section-title {
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-title h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.section-title p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.about,
.fees {
  background: var(--soft);
}

.about-grid,
.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.about-grid article,
.notice-grid article,
.topic-list article,
.venue-card,
.timeline div,
.payment-card,
.fee-table-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.about-grid article,
.notice-grid article {
  padding: 24px;
}

.about-grid h3,
.notice-grid h3,
.payment-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.about-grid p,
.notice-grid p,
.venue-card p,
.payment-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.topic-list article {
  min-height: 156px;
  padding: 22px;
}

.topic-list span {
  display: block;
  margin-bottom: 24px;
  color: var(--ocean);
  font-size: 26px;
  font-weight: 900;
}

.topic-list p {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.55;
}

.schedule-board {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.venue-card {
  padding: 28px;
  background: linear-gradient(140deg, #fff, #edf9fa);
}

.venue-card span {
  color: var(--ocean);
  font-weight: 850;
}

.venue-card strong {
  display: block;
  margin: 12px 0 16px;
  font-size: 28px;
  line-height: 1.3;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 22px 24px;
  align-items: center;
}

.timeline time {
  color: var(--ocean);
  font-size: 22px;
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
  color: #334b5a;
  font-size: 17px;
  font-weight: 750;
}

.fee-panel {
  display: grid;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

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

.fee-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  min-height: 154px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(6, 39, 58, 0.05);
}

.fee-card.highlighted {
  border-color: rgba(14, 155, 149, 0.35);
  background: linear-gradient(145deg, #ffffff, #effafa);
}

.fee-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--deep);
  font-size: 20px;
  font-weight: 900;
}

.fee-card strong {
  display: block;
  color: var(--ocean);
  font-size: 30px;
  line-height: 1.1;
}

.fee-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.payment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: stretch;
  padding: 24px;
}

.payment-status {
  margin-bottom: 12px !important;
  color: var(--deep) !important;
  font-size: 22px;
  font-weight: 900;
}

.payment-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--ocean);
  font-weight: 850;
}

.payment-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.payment-details div {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
}

.payment-details dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.payment-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.payment-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.qr-payment {
  display: grid;
  justify-items: center;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 14px;
  border: 1px dashed #9fc4cf;
  border-radius: 8px;
  background: #f7fcfd;
  text-align: center;
}

.qr-payment p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.5;
}

.qr-payment small {
  color: var(--muted);
  font-weight: 650;
}

.fake-qr {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  width: 92px;
  height: 92px;
  padding: 8px;
  border: 6px solid #fff;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.fake-qr span {
  border-radius: 1px;
  background: var(--deep);
}

.fake-qr span:nth-child(2n),
.fake-qr span:nth-child(5n),
.fake-qr span:nth-child(11),
.fake-qr span:nth-child(17),
.fake-qr span:nth-child(23) {
  background: #fff;
}

.payment-note {
  padding: 12px;
  border-radius: 8px;
  color: #355567 !important;
  background: #eef7f8;
  font-size: 13px;
}

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

.site-footer {
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 76px);
  color: #e7f3f6;
  background: var(--deep);
}

.site-footer p {
  margin: 8px 0 0;
  color: #a8bdc8;
}

.site-footer a {
  min-width: max-content;
  color: #fff;
  font-weight: 850;
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .hero-inner,
  .schedule-board,
  .about-grid,
  .notice-grid {
    grid-template-columns: 1fr;
  }

  .fee-cards,
  .payment-card,
  .payment-details {
    grid-template-columns: 1fr;
  }

  .register-card {
    max-width: 680px;
  }

  .topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand span:last-child {
    max-width: 210px;
    white-space: normal;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding-top: 24px;
  }

  .form-grid,
  .topic-list,
  .timeline div {
    grid-template-columns: 1fr;
  }

  .card-head,
  .actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .fact-grid div {
    width: 100%;
  }

  .fee-card {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 14px;
  }

  .fee-card strong {
    font-size: 26px;
  }
}
