/* Cleaned CSS: removed duplicated rules and merged duplicated media queries */
.page-hero {
  background: var(--white);
  border-bottom: 1px solid rgba(224,219,210,.55);
  padding: 60px 24px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: ''; position: absolute;
  width: 420px; height: 420px; left: -140px; top: -100px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(192,57,43,.12), rgba(212,168,83,.10));
  pointer-events: none;
}

.page-hero::after {
  content: ''; position: absolute;
  width: 340px; height: 340px; right: -80px; bottom: -80px; border-radius: 50%;
  background: #eef5f3; pointer-events: none;
}

.page-hero-inner {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -1px; color: #111827; margin-bottom: 0;
}

.page-hero p {
  color: #5f6673; font-size: 16px; line-height: 1.65;
  max-width: 520px; margin: 0 auto;
}

.hero-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 28px; flex-wrap: wrap;
}

.hero-meta-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 16px; color: var(--text-muted);
}

.hero-meta-item svg {
  width: 15px; height: 15px; stroke: var(--red);
}

.page-body {
  max-width: 1200px; margin: 0 auto;
  padding: 52px 24px 88px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.toc {
  position: sticky; top: 78px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.toc-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--text-muted); margin-bottom: 14px;
}

.toc-list {
  display: flex; flex-direction: column; gap: 4px;
}

.toc-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 7px;
  font-size: 16px; font-weight: 500; color: #555;
  transition: background .2s, color .2s;
}

.toc-link:hover {
  background: #fdf0ee; color: var(--red);
}

.toc-link.active {
  background: #fdf0ee; color: var(--red); font-weight: 600;
}

.toc-num {
  width: 22px; height: 22px; border-radius: 5px;
  background: #f3f4f6; color: #888;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s, color .2s;
}

.toc-link:hover .toc-num, .toc-link.active .toc-num {
  background: rgba(192,57,43,.12); color: var(--red);
}

.policy-content {
  display: flex; flex-direction: column; gap: 24px;
}

.policy-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 40px;
  box-shadow: var(--shadow);
  scroll-margin-top: 80px;
}

.policy-section-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}

.section-num {
  width: 36px; height: 36px; border-radius: 9px;
  background: #fdf0ee; color: var(--red);
  font-size: 16px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.policy-section h2 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800; color: #111827; line-height: 1.25;
}

.policy-section p {
  color: #5f6673; font-size: 15px; line-height: 1.8; margin-bottom: 12px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  display: flex; flex-direction: column; gap: 10px; margin-top: 4px;
}

.policy-section ul li {
  display: flex; align-items: flex-start; gap: 12px;
  color: #5f6673; font-size: 15px; line-height: 1.7;
}

.policy-section ul li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); margin-top: 9px; flex-shrink: 0;
}

.policy-divider {
  height: 1px; background: var(--border); margin: 20px 0;
}

.policy-highlight {
  background: #fdf9f0;
  border: 1px solid rgba(212,168,83,.3);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 16px; color: #5f6673; line-height: 1.7;
  margin-top: 14px;
}

.page-body.about-page {
  grid-template-columns: 1fr;
  max-width: 1000px;
}

.about-page .policy-content {
  width: 100%;
}

.about-page .policy-section {
  padding: 38px 42px;
}

.last-updated {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; color: var(--text-muted);
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 18px; width: fit-content;
  margin-bottom: 28px;
}

.last-updated svg {
  width: 15px; height: 15px; stroke: var(--text-muted);
}

footer {
  background: var(--bg-dark); color: #aaa; padding: 48px 24px 24px;
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px;
}

.footer-brand-name {
  font-family: var(--font-display); font-size: 22px; color: var(--white); font-weight: 700; margin-bottom: 10px;
}

.footer-desc {
  font-size: 16px; line-height: 1.7;
}

.footer-col-title {
  font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: 14px;
}

.footer-links {
  display: flex; flex-direction: column; gap: 9px;
}

.footer-links a {
  font-size: 16px; color: #888; transition: color .2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #333; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; flex-wrap: wrap; gap: 12px;
}

.footer-socials {
  display: flex; gap: 12px;
}

.footer-socials a {
  color: #888; transition: color .2s;
}

.footer-socials a:hover {
  color: var(--white);
}

.back-to-top {
  position: fixed; right: 26px; bottom: 26px; width: 52px; height: 52px;
  border: none; border-radius: 999px; background: var(--red); color: var(--white);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg);
  z-index: 1200; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}

.back-to-top.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.back-to-top:hover {
  background: var(--red-dark);
}

.back-to-top svg {
  width: 22px; height: 22px; stroke: currentColor;
}

.info-strip {
  max-width: 1200px; margin: 0 auto;
  padding: 52px 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
  transition: box-shadow .2s, transform .2s;
}

.info-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-2px);
}

.info-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #fdf0ee; color: var(--red);
  display: flex; align-items: center; justify-content: center;
}

.info-card-icon svg {
  width: 22px; height: 22px; stroke: currentColor;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 800; color: #111827; margin-bottom: 2px;
}

.info-card p {
  font-size: 16px; color: var(--text-muted); line-height: 1.65;
}

.info-card a {
  color: var(--red); font-weight: 600; font-size: 16px;
}

.contact-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 40px 24px 88px;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-info {
  padding: 52px 48px;
  background: #f2f5f8;
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800;
  color: #111827; line-height: 1.2;
}

.contact-info > p {
  color: #5f6673; font-size: 15px; line-height: 1.8; margin-top: -16px;
}

.contact-items {
  display: flex; flex-direction: column; gap: 18px;
}

.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
}

.contact-item-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--red);
}

.contact-item-icon svg {
  width: 18px; height: 18px; stroke: currentColor;
}

.contact-item-body strong {
  display: block; font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 2px;
}

.contact-item-body span {
  font-size: 16px; color: var(--text-muted);
}

.contact-form-side {
  padding: 52px 48px;
  background: #eef2f5;
  display: flex; flex-direction: column; justify-content: center;
}

.contact-form-side h3 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800;
  color: #111827; margin-bottom: 8px;
}

.contact-form-side .form-subtitle {
  font-size: 16px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.6;
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px;
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block; font-size: 16px; font-weight: 600;
  color: #374151; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 15px;
  font-size: 16px; color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #aab0bb;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,.08);
}

.form-textarea {
  resize: vertical; min-height: 120px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}

.form-submit {
  width: 100%; padding: 14px;
  border: none; border-radius: 8px;
  background: #1a2438; color: var(--white);
  font-size: 16px; font-weight: 700;
  cursor: pointer; margin-top: 6px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s, transform .15s;
}

.form-submit:hover {
  background: #0f1724; transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit svg {
  width: 16px; height: 16px; stroke: currentColor;
}

.form-note {
  font-size: 16px; color: #9aa3af; margin-top: 12px; text-align: center; line-height: 1.6;
}

.form-success {
  display: none; text-align: center; padding: 40px 20px;
  flex-direction: column; align-items: center; gap: 16px;
}

.form-success.show {
  display: flex;
}

.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #e8f5e9; color: #2e7d32;
  display: flex; align-items: center; justify-content: center;
}

.success-icon svg {
  width: 30px; height: 30px; stroke: currentColor;
}

.form-success h4 {
  font-size: 20px; font-weight: 800; color: #111827;
}

.form-success p {
  font-size: 16px; color: var(--text-muted); max-width: 280px; line-height: 1.7;
}

.site-header {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  width: 100% !important; z-index: 2000 !important;
  background: var(--white) !important;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 10px rgba(0,0,0,.08) !important;
}

.site-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px !important; min-height: 58px !important;
}

.header-logo {
  font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--red);
}

.main-nav {
  display: flex; gap: 6px; margin-left: auto;
}

.main-nav a {
  font-size: 16px; font-weight: 500; padding: 6px 12px; border-radius: 5px;
  color: var(--text-muted); transition: color .2s, background .2s;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--red); background: #fdf0ee;
}

.mobile-nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--white); align-items: center;
  justify-content: center; flex-direction: column; gap: 5px;
  cursor: pointer; color: var(--red); margin-left: auto;
}

.mobile-nav-toggle span {
  width: 18px; height: 2px; border-radius: 999px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.mobile-nav-backdrop {
  display: none;
}

@media (max-width: 600px) {

  .about-page .policy-section {
    padding: 28px 22px;
  }

  .page-hero {
    padding: 44px 20px 36px;
  }

  .policy-section {
    padding: 26px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important; gap: 28px; margin-bottom: 34px;
  }

  .footer-bottom {
    flex-direction: column; align-items: flex-start; gap: 14px;
  }

  .back-to-top {
    right: 18px; bottom: 18px; width: 48px; height: 48px;
  }

  .contact-info {
    padding: 36px 24px;
  }

  .contact-form-side {
    padding: 36px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 900px) {

  .site-header-inner {
    padding: 0 16px !important;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none !important; position: absolute; top: calc(100% + 8px); right: 16px;
    width: min(292px, calc(100vw - 32px)); flex-direction: column; align-items: stretch;
    gap: 4px; padding: 10px; background: var(--white); border: 1px solid var(--border);
    border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 2001 !important;
  }

  .site-header.nav-open .main-nav {
    display: flex !important;
  }

  .main-nav a {
    width: 100%; padding: 11px 14px; font-size: 15px; border-radius: 9px; color: #374151;
  }

  .main-nav a:hover, .main-nav a.active {
    background: #f3f4f6; color: var(--red);
  }

  .site-header.nav-open .mobile-nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .mobile-nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav-backdrop {
    display: none; position: fixed !important; inset: 58px 0 0 !important; background: transparent; z-index: 1999 !important;
  }

  .site-header.nav-open + .mobile-nav-backdrop {
    display: block;
  }

  .page-body {
    grid-template-columns: 1fr; padding: 40px 20px 72px; gap: 28px;
  }

  .toc {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-strip {
    grid-template-columns: 1fr; padding: 40px 20px 0;
  }

  .contact-split {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    padding: 28px 20px 72px;
  }

}

@media (min-width: 901px) {

  .mobile-nav-toggle, .mobile-nav-backdrop {
    display: none !important;
  }

}
