/* roulang page: index */
:root {
    --primary: #1F4E45;
    --primary-light: #E8F0EC;
    --accent: #B98A44;
    --accent-dark: #9A6F2F;
    --accent-light: #F5E7D3;
    --bg: #F6F2EA;
    --surface: #FFFFFF;
    --ink: #1F2623;
    --muted: #66736E;
    --line: #E6E0D6;
    --footer: #14201D;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
    background-color: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; object-fit: cover; display: block; }
  a { text-decoration: none; color: inherit; }
  button { font-family: inherit; }

  .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
  @media (max-width: 768px) { .container { padding: 0 16px; } }

  /* ===== Dock 导航 ===== */
  .dock-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(20, 32, 29, 0.08);
    transition: box-shadow .3s ease;
  }
  .dock-nav:hover { box-shadow: 0 8px 32px rgba(31,78,69,0.12); }
  .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    padding: 8px 16px;
    border-radius: 999px;
    transition: all .25s ease;
    position: relative;
  }
  .nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
  }
  .nav-link.active {
    color: var(--primary);
    font-weight: 700;
    background: var(--primary-light);
  }
  .nav-cta {
    background: var(--accent);
    color: var(--ink);
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    transition: all .25s ease;
    box-shadow: 0 4px 16px rgba(185,138,68,0.25);
  }
  .nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(154,111,47,0.30);
  }
  .nav-cta:active { transform: translateY(0); }
  .nav-cta:focus { outline: none; box-shadow: 0 0 0 4px rgba(185,138,68,0.35); }

  /* 移动端菜单 */
  .mobile-menu {
    background: var(--surface);
    border-radius: 20px;
    box-shadow: 0 16px 32px rgba(31,78,69,0.15);
    border: 1px solid var(--line);
    overflow: hidden;
    transform-origin: top right;
    animation: menuIn .25s ease;
  }
  @keyframes menuIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .mobile-menu a {
    display: block;
    padding: 14px 20px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #F0EDE6;
    transition: background .2s;
  }
  .mobile-menu a:hover { background: var(--primary-light); color: var(--primary); }
  .mobile-menu a:last-child { border-bottom: none; }

  /* ===== 按钮 ===== */
  .btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    transition: all .3s ease;
    cursor: pointer;
  }
  .btn-hero-gold {
    background: var(--accent);
    color: var(--ink);
    box-shadow: 0 6px 20px rgba(185,138,68,0.35);
  }
  .btn-hero-gold:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(154,111,47,0.40);
  }
  .btn-hero-gold:active { transform: translateY(0); }
  .btn-hero-gold:focus { outline: none; box-shadow: 0 0 0 4px rgba(185,138,68,0.35); }
  .btn-hero-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.7);
  }
  .btn-hero-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    transform: translateY(-2px);
  }
  .btn-hero-ghost:active { transform: translateY(0); }
  .btn-hero-ghost:focus { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,0.25); }

  /* ===== 徽章 ===== */
  .badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: .5px;
  }
  .badge-gold { background: var(--accent-light); color: var(--accent-dark); }
  .badge-white { background: rgba(255,255,255,0.15); color: #fff; }

  /* ===== 指标卡 ===== */
  .metric-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 28px 24px;
    border-top: 2px solid var(--primary);
    box-shadow: 0 2px 12px rgba(31,78,69,0.06);
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
  }
  .metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(31,78,69,0.12);
  }
  .metric-card .icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(31,78,69,0.35);
  }
  .metric-card .num {
    font-family: 'Songti SC', 'STSong', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-top: 12px;
  }
  .metric-card .num-gold { color: var(--accent); }

  /* ===== 服务卡 ===== */
  .service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    transition: all .35s ease;
    position: relative;
  }
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(31,78,69,0.10);
    border-color: rgba(31,78,69,0.2);
  }
  .service-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 16px;
  }
  .service-card .detail-link {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    transition: all .2s;
  }
  .service-card .detail-link:hover { text-decoration: underline; color: var(--accent-dark); }

  /* 大卡 */
  .service-feature {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    transition: all .4s ease;
    position: relative;
  }
  .service-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(31,78,69,0.14);
  }
  .service-feature .bg-img {
    height: 260px;
    background-size: cover;
    background-position: center;
    transition: transform .5s ease;
  }
  .service-feature:hover .bg-img { transform: scale(1.03); }

  /* ===== 分类过滤按钮 ===== */
  .filter-btn {
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    transition: all .25s ease;
  }
  .filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
  }
  .filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }
  .filter-btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(31,78,69,0.2); }

  /* ===== 对比卡 ===== */
  .compare-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  .compare-item:last-child { border-bottom: none; }
  .compare-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-top: 2px;
  }
  .compare-bad {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.7);
  }
  .compare-good {
    background: var(--accent);
    color: #fff;
  }
  .compare-card-good .compare-item { border-bottom-color: #EDE6DB; }
  .vs-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    background: var(--primary);
    color: var(--accent);
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  }
  @media (max-width: 1023px) {
    .vs-badge {
      transform: translate(-50%,-50%) rotate(90deg);
    }
  }

  /* ===== FAQ ===== */
  .faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease;
  }
  .faq-item.open {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(31,78,69,0.08);
  }
  .faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    transition: color .3s;
    user-select: none;
  }
  .faq-item.open .faq-q { color: var(--primary); }
  .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    transition: all .3s ease;
    flex-shrink: 0;
  }
  .faq-item.open .faq-icon {
    transform: rotate(45deg);
    border-color: var(--accent);
    color: var(--accent);
  }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .3s ease;
    padding: 0 22px;
    font-size: 15px;
    line-height: 1.8;
    color: #5A5A5A;
  }
  .faq-item.open .faq-a {
    max-height: 500px;
    padding: 0 22px 20px;
  }

  /* ===== 表单 ===== */
  .booking-input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #E0DBD0;
    border-radius: 14px;
    font-size: 15px;
    background: #FDFCF9;
    color: var(--ink);
    transition: all .3s ease;
  }
  .booking-input::placeholder { color: #9CA3AF; }
  .booking-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(185,138,68,0.25);
  }
  .booking-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231F4E45' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    cursor: pointer;
  }
  .btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: var(--ink);
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
  }
  .btn-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(154,111,47,0.30);
  }
  .btn-submit:active { transform: translateY(1px); }
  .btn-submit:focus { outline: none; box-shadow: 0 0 0 4px rgba(185,138,68,0.35); }

  /* ===== 页脚 ===== */
  .footer-link {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    transition: color .2s;
  }
  .footer-link:hover { color: var(--accent); }
  .footer-nav-title {
    color: rgba(255,255,255,0.95);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
  }

  /* 图片通用 */
  .img-cover { width: 100%; height: 100%; object-fit: cover; }

  /* 动画 */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .fade-up { animation: fadeUp .8s ease both; }
  .delay-1 { animation-delay: .1s; }
  .delay-2 { animation-delay: .2s; }
  .delay-3 { animation-delay: .3s; }

  /* 自定义滚动条 */
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: #F0EDE6; }
  ::-webkit-scrollbar-thumb { background: #B8B0A0; border-radius: 99px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--accent); }
