/* ============================================
   同守堂(河南)健康养生有限公司 — 企业备案站
   主题：墨绿·印泥红·宣纸米黄（老字号药堂）
   ============================================ */

:root {
  --c-bg: #f6f1e7;
  --c-bg-soft: #efe6d4;
  --c-ink: #1b241f;
  --c-ink-soft: #5d5b50;
  --c-line: #e0d6c0;
  --c-green: #20412f;
  --c-green-deep: #152b1f;
  --c-green-soft: #335544;
  --c-seal: #9e2b25;
  --c-seal-soft: #b8423b;
  --c-gold: #b08d4f;
  --c-gold-soft: #c9a96a;
  --c-cream: #f0e7d4;
  --shadow-1: 0 4px 14px rgba(33, 65, 47, .07);
  --shadow-2: 0 14px 40px rgba(33, 65, 47, .12);
  --shadow-3: 0 24px 60px rgba(33, 65, 47, .18);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Serif SC', 'Cormorant Garamond', 'PingFang SC', 'Microsoft Yahei', serif;
  font-weight: 400;
  background: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ============= 按钮 ============= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px; border-radius: 999px;
  font-family: 'Noto Sans SC', sans-serif; font-weight: 500; font-size: 15px; letter-spacing: .04em;
  border: 1px solid transparent; transition: all .35s var(--ease); cursor: pointer;
}
.btn-primary { background: var(--c-green); color: var(--c-cream); box-shadow: 0 10px 24px rgba(33,65,47,.25); }
.btn-primary:hover { background: var(--c-green-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn-ghost:hover { border-color: var(--c-green); color: var(--c-green); }
.btn-block { width: 100%; justify-content: center; }

/* ============= 导航 ============= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246, 241, 231, .78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: all .35s var(--ease);
}
.nav.is-scrolled { background: rgba(246, 241, 231, .95); border-bottom-color: var(--c-line); box-shadow: var(--shadow-1); }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 15px 28px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-seal {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--c-seal); color: #f6f1e7; font-family: 'Noto Serif SC', serif; font-weight: 700; font-size: 22px;
  border-radius: 8px; position: relative; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.brand-seal::after { content: ''; position: absolute; inset: 3px; border: 1px solid rgba(246,241,231,.35); border-radius: 5px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: 'Noto Serif SC', serif; font-size: 18px; font-weight: 600; color: var(--c-ink); }
.brand-sub { font-family: 'Cormorant Garamond', serif; font-size: 11px; letter-spacing: .14em; color: var(--c-ink-soft); text-transform: uppercase; }
.menu { display: flex; gap: 32px; }
.menu a { font-family: 'Noto Sans SC', sans-serif; font-size: 14px; letter-spacing: .06em; color: var(--c-ink); position: relative; transition: color .3s var(--ease); }
.menu a::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 0; height: 1px; background: var(--c-seal); transition: all .35s var(--ease); transform: translateX(-50%); }
.menu a:hover { color: var(--c-green); }
.menu a:hover::after { width: 22px; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; background: var(--c-green); color: var(--c-cream); border-radius: 999px; font-family: 'Noto Sans SC', sans-serif; font-size: 13px; font-weight: 500; transition: all .3s var(--ease); }
.nav-cta:hover { background: var(--c-green-deep); transform: translateY(-1px); }
.hamburger { display: none; width: 36px; height: 36px; background: transparent; border: 0; padding: 0; position: relative; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--c-ink); position: absolute; left: 7px; transition: all .3s var(--ease); }
.hamburger span:nth-child(1) { top: 12px; } .hamburger span:nth-child(2) { top: 17px; } .hamburger span:nth-child(3) { top: 22px; }
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg); top: 17px; }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg); top: 17px; }

/* ============= 首屏 ============= */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 28px 80px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at top right, rgba(176,141,79,.22) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(33,65,47,.5) 0%, transparent 60%),
    linear-gradient(135deg, #efe5d2 0%, #f6f1e7 42%, #ece1cb 100%);
}
.hero-pattern {
  position: absolute; inset: 0; z-index: -1; opacity: .05;
  background-image:
    repeating-linear-gradient(45deg, var(--c-green) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, var(--c-green) 0 1px, transparent 1px 22px);
}
.hero-content { max-width: var(--container); margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-eyebrow { font-family: 'Cormorant Garamond', serif; font-size: 14px; letter-spacing: .3em; color: var(--c-seal); margin: 0 0 22px; text-transform: uppercase; }
.hero-title { font-family: 'Noto Serif SC', serif; font-weight: 600; font-size: clamp(46px, 8vw, 96px); line-height: 1.05; margin: 0 0 26px; letter-spacing: .04em; color: var(--c-green-deep); }
.hero-title small { display: block; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: .34em; font-weight: 500; letter-spacing: .12em; color: var(--c-gold); margin-top: 14px; }
.hero-desc { font-family: 'Noto Sans SC', sans-serif; font-size: 16px; line-height: 1.95; color: var(--c-ink-soft); max-width: 640px; margin: 0 0 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-meta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.meta-item { display: flex; flex-direction: column; line-height: 1.4; }
.meta-item strong { font-family: 'Cormorant Garamond', serif; font-size: 26px; color: var(--c-green); font-weight: 600; }
.meta-item span { font-family: 'Noto Sans SC', sans-serif; font-size: 12px; color: var(--c-ink-soft); letter-spacing: .08em; }
.meta-divider { width: 1px; height: 32px; background: var(--c-line); }
.scroll-down { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--c-ink-soft); border-radius: 14px; opacity: .5; }
.scroll-down span { display: block; width: 3px; height: 8px; background: var(--c-ink-soft); border-radius: 2px; margin: 6px auto 0; animation: scrollDot 1.6s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ============= 通用 ============= */
.section { padding: 105px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.kicker { font-family: 'Cormorant Garamond', serif; font-size: 13px; letter-spacing: .36em; color: var(--c-seal); text-transform: uppercase; margin: 0 0 16px; }
.section-title { font-family: 'Noto Serif SC', serif; font-weight: 500; font-size: clamp(30px, 4.5vw, 48px); line-height: 1.3; margin: 0 0 16px; letter-spacing: .04em; color: var(--c-ink); }
.section-desc { font-family: 'Noto Sans SC', sans-serif; font-size: 15px; color: var(--c-ink-soft); margin: 0; line-height: 1.9; }

/* ============= 公司简介 ============= */
.about { background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-soft) 100%); }
.about-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.about-text .section-title { text-align: left; }
.about-text p { font-family: 'Noto Sans SC', sans-serif; font-size: 15px; color: var(--c-ink-soft); margin: 0 0 16px; line-height: 1.95; }
.about-list { margin-top: 22px; padding: 22px 26px; background: var(--c-white, #fff); border-left: 3px solid var(--c-seal); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow-1); }
.about-list li { font-family: 'Noto Sans SC', sans-serif; font-size: 14px; color: var(--c-ink-soft); padding: 6px 0; }
.about-list li span { color: var(--c-seal); margin-right: 8px; font-weight: 700; }
.about-card-inner { background: var(--c-green); color: var(--c-cream); padding: 42px 34px; border-radius: var(--radius-lg); position: sticky; top: 100px; background-image: radial-gradient(ellipse at top right, rgba(176,141,79,.22), transparent 60%); }
.about-card-inner h3 { font-family: 'Noto Serif SC', serif; font-weight: 500; font-size: 24px; margin: 0 0 12px; letter-spacing: .06em; }
.about-card-inner > p { font-family: 'Noto Sans SC', sans-serif; font-size: 14px; color: rgba(240,231,212,.78); margin: 0 0 22px; }
.contact-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); gap: 14px; }
.contact-row .label { font-family: 'Noto Sans SC', sans-serif; font-size: 13px; color: rgba(240,231,212,.6); letter-spacing: .05em; }
.contact-row .value { font-family: 'Noto Serif SC', serif; font-size: 15px; color: var(--c-cream); text-align: right; }
.about-card-inner .btn { margin-top: 26px; background: var(--c-seal); color: #fff; font-weight: 600; }
.about-card-inner .btn:hover { background: var(--c-seal-soft); }

/* ============= 经营范围 ============= */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.biz-card { background: var(--c-white, #fff); padding: 34px 30px; border-radius: var(--radius-lg); border: 1px solid var(--c-line); transition: all .4s var(--ease); }
.biz-card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-3); }
.biz-icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--c-bg-soft); color: var(--c-green); font-family: 'Noto Serif SC', serif; font-size: 24px; font-weight: 600; border-radius: 14px; margin-bottom: 20px; transition: all .35s var(--ease); }
.biz-card:hover .biz-icon { background: var(--c-green); color: var(--c-gold); }
.biz-card h3 { font-family: 'Noto Serif SC', serif; font-weight: 500; font-size: 19px; margin: 0 0 10px; letter-spacing: .04em; }
.biz-card p { font-family: 'Noto Sans SC', sans-serif; font-size: 13.5px; color: var(--c-ink-soft); line-height: 1.85; margin: 0; }

/* ============= 资质公示 ============= */
.qualification { background: var(--c-green); color: var(--c-cream); }
.qualification .kicker { color: var(--c-gold-soft); }
.qualification .section-title { color: var(--c-cream); }
.qual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.qual-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 34px 36px; backdrop-filter: blur(8px); }
.qual-card h4 { font-family: 'Noto Serif SC', serif; font-weight: 500; font-size: 20px; margin: 0 0 22px; letter-spacing: .06em; color: var(--c-gold-soft); }
.qual-card dl { margin: 0; }
.qual-card dl > div { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.qual-card dl > div:last-child { border-bottom: 0; }
.qual-card dt { flex: 0 0 130px; font-family: 'Noto Sans SC', sans-serif; font-size: 13px; color: rgba(240,231,212,.6); letter-spacing: .04em; }
.qual-card dd { margin: 0; font-family: 'Noto Sans SC', sans-serif; font-size: 14.5px; color: var(--c-cream); line-height: 1.6; }
.qual-card dd.placeholder { color: var(--c-gold-soft); font-style: italic; }
.qual-note { margin-top: 30px; font-family: 'Noto Sans SC', sans-serif; font-size: 12.5px; color: rgba(240,231,212,.6); line-height: 1.9; text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }

/* ============= 联系 ============= */
.contact { background: var(--c-bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: start; }
.contact-form { background: var(--c-white, #fff); padding: 38px; border-radius: var(--radius-lg); border: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form span { font-family: 'Noto Sans SC', sans-serif; font-size: 13px; color: var(--c-ink-soft); letter-spacing: .04em; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: 'Noto Sans SC', sans-serif; font-size: 14px; padding: 12px 14px; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: 10px; color: var(--c-ink); resize: vertical; transition: all .25s var(--ease);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; border-color: var(--c-green); background: #fff; box-shadow: 0 0 0 4px rgba(33,65,47,.08); }
.contact-form .form-tip { font-family: 'Noto Sans SC', sans-serif; font-size: 12px; color: var(--c-ink-soft); text-align: center; margin: 4px 0 0; }
.contact-info { padding: 18px 0; }
.contact-info h4 { font-family: 'Noto Serif SC', serif; font-weight: 500; font-size: 22px; margin: 0 0 22px; letter-spacing: .06em; }
.info-row { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px dashed var(--c-line); }
.info-row:last-child { border-bottom: 0; }
.info-icon { width: 42px; height: 42px; display: grid; place-items: center; background: var(--c-bg); border-radius: 12px; font-family: 'Noto Serif SC', serif; font-size: 18px; font-weight: 600; color: var(--c-seal); flex-shrink: 0; }
.info-label { font-family: 'Noto Sans SC', sans-serif; font-size: 12px; letter-spacing: .1em; color: var(--c-ink-soft); text-transform: uppercase; margin-bottom: 4px; }
.info-value { font-family: 'Noto Serif SC', serif; font-size: 15px; color: var(--c-ink); display: block; line-height: 1.6; }
a.info-value:hover { color: var(--c-green); }

/* ============= 页脚 ============= */
.footer { background: var(--c-green-deep); color: rgba(240,231,212,.75); }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; padding-top: 64px; padding-bottom: 46px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-name { color: var(--c-cream); font-size: 20px; }
.footer-brand .brand-sub { color: rgba(240,231,212,.6); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-cols h5 { font-family: 'Noto Serif SC', serif; font-size: 15px; font-weight: 500; color: var(--c-cream); margin: 0 0 14px; letter-spacing: .1em; }
.footer-cols p { font-family: 'Noto Sans SC', sans-serif; font-size: 13px; line-height: 1.9; margin: 0; }
.footer-cols a:hover { color: var(--c-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-family: 'Noto Sans SC', sans-serif; font-size: 12px; color: rgba(240,231,212,.45); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom .beian { color: rgba(240,231,212,.55); }

/* ============= 浮动 ============= */
.float-cta { position: fixed; right: 28px; bottom: 28px; z-index: 99; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; background: var(--c-seal); color: #fff; font-family: 'Noto Sans SC', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .05em; border-radius: 999px; box-shadow: 0 12px 30px rgba(158,43,37,.45); transition: all .3s var(--ease); animation: floatPulse 2.4s var(--ease) infinite; }
.float-cta:hover { transform: translateY(-3px); }
@keyframes floatPulse { 0%,100% { box-shadow: 0 12px 30px rgba(158,43,37,.45), 0 0 0 0 rgba(158,43,37,.35); } 50% { box-shadow: 0 12px 30px rgba(158,43,37,.45), 0 0 0 12px rgba(158,43,37,0); } }

/* ============= 入场动画 ============= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============= 响应式 ============= */
@media (max-width: 980px) {
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .qual-grid { grid-template-columns: 1fr; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-card-inner { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .menu { display: none; }
  .menu.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--c-bg); flex-direction: column; padding: 30px; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-2); }
  .menu.is-open a { padding: 12px 0; font-size: 16px; }
  .hamburger { display: block; }
  .nav-cta { display: none; }
  .hero { padding: 100px 20px 80px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-meta { gap: 16px; }
  .container { padding: 0 20px; }
  .biz-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .qual-card { padding: 26px 22px; }
  .qual-card dl > div { flex-direction: column; gap: 4px; }
  .qual-card dt { flex: none; }
  .float-cta span { display: none; }
  .float-cta { padding: 14px; }
}
