:root {
  --blue: #006bdd;
  --cyan: #10c8ff;
  --deep: #030a4b;
  --navy: #06145f;
  --ink: #172033;
  --muted: #5d6879;
  --line: #dfe9f7;
  --soft: #f5f9ff;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f3f8ff 0, #fff 520px),
    #fff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto; }

.site-head {
  min-height: clamp(320px, 41.66vw, 680px);
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #030947 url("../image/banner.png") center top / contain no-repeat;
}
.site-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3,10,75,.15) 0%, rgba(3,10,75,.38) 54%, rgba(3,10,75,.88) 100%),
    linear-gradient(90deg, rgba(3,10,75,.58) 0%, rgba(3,10,75,.14) 52%, rgba(3,10,75,.44) 100%);
}
.site-head::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -1px;
  height: 72px;
  background: linear-gradient(180deg, transparent, #f3f8ff 78%);
}
.nav-bar,
.page-hero { position: relative; z-index: 1; }
.nav-bar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 68px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 30;
  width: 100%;
  max-width: none;
  background: rgba(3, 9, 71, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.logo {
  width: 240px;
  height: 40px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.22));
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  position: relative;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.36);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 20px;
  height: 2px;
  margin: 0;
  background: currentColor;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle::before { transform: translate(-50%, calc(-50% - 7px)); }
.menu-toggle::after { transform: translate(-50%, calc(-50% + 7px)); }
body.menu-open .menu-toggle::before { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .menu-toggle span { opacity: 0; }
body.menu-open .menu-toggle::after { transform: translate(-50%, -50%) rotate(-45deg); }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 0;
  font-size: 18px;
  font-weight: 850;
  white-space: nowrap;
}
.nav a {
  height: 80px;
  display: grid;
  place-items: center;
  position: relative;
  color: rgba(255,255,255,.84);
}
.nav a:hover,
.nav a.active { color: #fff; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 21px;
  width: 28px;
  height: 3px;
  border-radius: 99px;
  transform: translateX(-50%);
  background: #fff;
}
.page-hero {
  min-height: clamp(300px, 34vw, 560px);
  display: grid;
  align-items: end;
  padding: 62px 0 92px;
}
.hero-panel {
  width: min(850px, 100%);
  padding-left: 26px;
  border-left: 4px solid var(--cyan);
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 68px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: 0;
}
.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  line-height: 1.85;
}

.summary-strip {
  position: relative;
  z-index: 2;
  margin-top: -58px;
}
.summary-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(0,107,221,.18);
  border: 1px solid rgba(0,107,221,.14);
  border-radius: 8px;
  box-shadow: 0 22px 52px rgba(10, 53, 116, .14);
}
.summary-card div {
  min-height: 104px;
  padding: 24px 28px;
  background: rgba(255,255,255,.96);
}
.summary-card strong {
  display: block;
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
}
.summary-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.section {
  padding: 82px 0;
  position: relative;
  background: #fff;
}
.section.soft {
  background:
    radial-gradient(circle at 86% 12%, rgba(0,107,221,.11), transparent 28%),
    linear-gradient(180deg, #f4f9ff 0%, #fff 100%);
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 66%, rgba(0,107,221,.035) 66.2%, transparent 66.8%);
}
.section > .wrap { position: relative; z-index: 1; }
.title {
  margin: 0 0 30px;
  color: #172033;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 950;
}
.lead {
  max-width: 900px;
  margin: 0;
  color: #334157;
  font-size: 18px;
  line-height: 2;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.card {
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 107, 221, .13);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 72, 142, .10);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 62px rgba(16, 72, 142, .16);
}
.card a { display: block; height: 100%; }
.card-body { padding: 28px 30px 32px; }
.cover {
  width: 100%;
  height: 196px;
  display: block;
  object-fit: cover;
  object-position: center top;
}
.card h2,
.card h3 {
  margin: 0;
  color: #172033;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 950;
}
.card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}
.meta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 0 12px;
  color: #064fc0;
  background: #edf6ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}
.two-col {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: start;
}
.panel {
  padding: 36px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(0, 107, 221, .13);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 72, 142, .10);
}
.list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.list li {
  padding: 20px 22px;
  background: linear-gradient(180deg, #fff, #f9fcff);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.list strong {
  display: block;
  margin-bottom: 8px;
  color: #172033;
  font-size: 18px;
}
.list span {
  color: var(--muted);
  line-height: 1.85;
}
.timeline {
  display: grid;
  gap: 24px;
}
.day {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  padding: 32px;
  background: #fff;
  border: 1px solid rgba(0, 107, 221, .13);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 72, 142, .10);
}
.day-date {
  display: grid;
  place-items: center;
  min-height: 96px;
  color: #fff;
  background: linear-gradient(135deg, #0036a3, #0078ff);
  border-radius: 8px;
  font-size: 24px;
  font-weight: 950;
}
.day h2 {
  margin: 0 0 16px;
  color: #172033;
  font-size: 25px;
}
.day p,
.day li {
  color: #4a5567;
  font-size: 16px;
  line-height: 1.9;
}
.day ul { margin: 0; padding-left: 20px; }
.guest-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.guest {
  padding: 0 0 26px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(0,107,221,.12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 72, 142, .09);
  transition: transform .22s ease;
}
.guest:hover { transform: translateY(-5px); }
.guest-photo {
  width: 100%;
  aspect-ratio: 304 / 310;
  border-radius: 70px 8px 8px 8px;
  background: #edf4ff url("../assets/design-guest.png") center / cover no-repeat;
  box-shadow: 0 0 0 1px #d9e8ff inset;
}
.guest h3 { margin: 18px 0 7px; font-size: 18px; }
.guest p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer {
  padding: 70px 0 28px;
  color: #fff;
  background: var(--deep);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.footer h2,
.footer h3,
.footer p { margin: 0; }
.footer-brand h2 {
  font-size: 26px;
  line-height: 1.35;
  font-weight: 950;
}
.footer-brand > p {
  margin-top: 16px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  font-weight: 800;
}
.footer-copy {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}
.footer h3 {
  margin-bottom: 22px;
  font-size: 20px;
  font-weight: 950;
}
.footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 36px;
}
.footer-contact p {
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.8;
}
.floating-qr {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  width: 138px;
  padding: 10px 10px 12px;
  background: #fff;
  border: 1px solid rgba(0, 80, 180, .18);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(4, 34, 91, .22);
  text-align: center;
}
.floating-qr img {
  width: 100%;
  display: block;
  border-radius: 4px;
}
.floating-qr span {
  display: block;
  margin-top: 8px;
  color: #1e2a3d;
  font-size: 13px;
  font-weight: 850;
}
@media (max-width: 1100px) {
  .nav-bar { gap: 24px; }
  .nav { gap: 18px; font-size: 16px; }
  .footer-main { gap: 36px; }
  .footer-links { gap: 36px; }
}
@media (max-width: 980px) {
  body { background: #f4f8ff; }
  .nav-bar {
    width: 100%;
    height: 64px;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    padding: 0 16px;
    border-radius: 0;
    background: rgba(3, 9, 71, .94);
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 12px 32px rgba(0, 18, 76, .24);
  }
  .logo { width: 240px; height: 36px; }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 76px;
    z-index: 31;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-left: 0;
    padding: 10px;
    max-height: calc(100vh - 92px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    background: rgba(3, 9, 71, .98);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(0, 18, 76, .32);
    transition: opacity .22s ease, transform .22s ease;
  }
  body.menu-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav a {
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    background: transparent;
    color: rgba(255,255,255,.88);
    font-size: 14px;
    justify-content: start;
  }
  .nav a.active {
    color: #052064;
    background: #fff;
    box-shadow: none;
  }
  .nav a.active::after { display: none; }
  .site-head {
    min-height: 318px;
    background:
      radial-gradient(circle at 82% 10%, rgba(16,200,255,.18), transparent 30%),
      linear-gradient(180deg, #03166c 0%, #030947 72%, #f4f8ff 100%);
  }
  .site-head::before {
    background:
      linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px) 0 0 / 26px 26px,
      linear-gradient(180deg, rgba(3,10,75,.05), rgba(3,10,75,.72));
  }
  .site-head::after { height: 42px; background: linear-gradient(180deg, transparent, #f4f8ff 78%); }
  .page-hero {
    min-height: 258px;
    align-items: end;
    padding: 96px 0 44px;
  }
  .hero-panel {
    width: 100%;
    padding: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
  .page-hero h1 { font-size: 34px; letter-spacing: -.02em; }
  .page-hero p { margin-top: 10px; font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.82); }
  .summary-strip { margin-top: -22px; }
  .summary-card, .grid, .two-col, .guest-list { grid-template-columns: 1fr; }
  .summary-card {
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(15, 68, 132, .12);
  }
  .summary-card div { min-height: auto; padding: 16px 20px; }
  .day { grid-template-columns: 1fr; gap: 18px; }
  .floating-qr { display: none; }
  .footer { text-align: center; }
  .footer-main, .footer-links { grid-template-columns: 1fr; }
  .footer-links { grid-column: auto; gap: 16px; }
  .footer-col {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
  }
  .footer-qr { justify-self: center; }
  .qr { margin: 0 auto; }
}
@media (max-width: 640px) {
  .site-head { min-height: 300px; }
  .nav-bar { height: 60px; min-height: 60px; border-radius: 0; }
  .logo { width: 240px; height: 34px; }
  .nav { top: 72px; }
  .page-hero { min-height: 240px; padding: 82px 0 38px; }
  .page-hero h1 { font-size: 31px; }
  .page-hero p { max-width: 300px; font-size: 14px; }
  .summary-strip { margin-top: -16px; }
  .section { padding: 46px 0; }
  .title { margin-bottom: 22px; font-size: 27px; letter-spacing: -.02em; }
  .lead { font-size: 15px; line-height: 1.9; }
  .panel, .day, .card-body { padding: 22px; }
  .card, .panel, .day, .guest { border-radius: 18px; }
  .guest-photo { border-radius: 52px 16px 16px 16px; }
  .footer { padding: 44px 0 34px; text-align: center; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand h2 { font-size: 22px; }
  .footer-copy { margin-top: 28px; }
}
