:root {
  --brand-red: #b71c1c;
  --brand-red-dark: #8f1313;
  --brand-red-soft: #d32f2f;
  --ink: #17171b;
  --line: #e8e8ee;
  --card: #ffffff;
  --bg: #f7f8fb;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 0% 0%, #fff2f2 0%, var(--bg) 44%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.12;
  border-radius: 999px;
  pointer-events: none;
}

.bg-glow-a {
  width: 360px;
  height: 360px;
  background: #ff6b6b;
  top: -120px;
  left: -80px;
}

.bg-glow-b {
  width: 260px;
  height: 260px;
  background: #5f9cff;
  right: -180px;
  bottom: -180px;
}

.wrap {
  max-width: 1180px;
  width: 92vw;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #b71c1c;
  border-bottom: 1px solid #8f1313;
  overflow-x: clip;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.brand strong {
  display: block;
  font-family: "Sora", sans-serif;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
}

.brand small {
  color: #fff;
  opacity: 0.95;
  font-size: 0.92rem;
}

.menu-btn {
  display: none;
  border: 1px solid #ffffff66;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
  color: #b71c1c;
}

.menu {
  display: flex;
  gap: 18px;
  align-items: center;
  white-space: nowrap;
}

.menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.97rem;
}

.menu a.active,
.menu a:hover {
  opacity: 0.86;
}

.hero {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
}

.hero-copy,
.hero-media,
.content-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 30px #1313190d;
}

.hero-copy {
  padding: 28px;
}

.badge {
  display: inline-flex;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff1f1;
  color: #b71c1c;
  font-weight: 700;
  font-size: 0.82rem;
}

.hero-copy p,
.page-content p,
.page-content li {
  color: #474753;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, #b71c1c, #d32f2f);
  color: #fff;
}

.btn-ghost {
  color: #b71c1c;
  border: 1px solid #e7c8c8;
  background: #fff;
}

.home-banner-slot {
  margin-top: 18px;
  min-height: 120px;
  border: 2px dashed #e6c4c4;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8f8, #fff3f3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #b71c1c;
  text-align: center;
  padding: 12px;
}

.home-banner-slot p {
  margin: 0;
  font-weight: 800;
  font-family: "Sora", sans-serif;
}

.home-banner-slot span {
  margin-top: 6px;
  color: #7a7a86;
  font-size: 0.95rem;
}

.hero-media {
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.hero-media img {
  width: 100%;
  max-width: 540px;
  max-height: none;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  margin: 0 auto;
  display: block;
}

.hero-media .btn {
  align-self: center;
}

.content-card {
  margin-top: 20px;
  margin-bottom: 16px;
  padding: 28px;
}

.page-content h2 {
  margin-top: 0;
  font-family: "Sora", sans-serif;
}

.page-content ul {
  padding-left: 18px;
}

.page-content .highlight {
  border-left: 4px solid #b71c1c;
  padding: 12px 14px;
  background: #fff6f6;
  border-radius: 10px;
  margin: 12px 0;
}

.page-block {
  margin-bottom: 22px;
}

.page-block:last-child {
  margin-bottom: 0;
}

.site-footer {
  background: transparent;
  margin-top: 4px;
  text-align: center;
}

.footer-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0 12px;
  color: #6a6a76;
  font-size: 0.95rem;
}

.footer-wrap p {
  margin: 0;
}

.hero.hidden {
  display: none;
}

@media (max-width: 860px) {
  .menu-btn {
    display: inline-block;
  }

  .nav-wrap {
    flex-wrap: wrap;
    gap: 10px;
  }

  .menu {
    display: none;
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
    background: #b71c1c;
    border-radius: 16px;
    white-space: normal;
    overflow: visible;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    background: #c52a2a;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    opacity: 1;
  }

  .menu a.active,
  .menu a:hover {
    background: #d33a3a;
    opacity: 1;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 1.3rem;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-media,
  .content-card {
    padding: 20px;
  }

  .hero-media img {
    max-width: 100%;
  }

  .content-card {
    margin-bottom: 10px;
  }

  .footer-wrap {
    padding: 6px 0 10px;
  }
}