/* ============================================================
   LINNO SMARTLIVING — style.css
   配色 / 字体如需微调，改这里顶部的 CSS 变量即可。
   ============================================================ */

:root {
  --pine: #1F332A;        /* 主色：深松绿 */
  --pine-deep: #16241D;   /* 深底 */
  --sand: #EFE8DC;        /* 沙色底 */
  --cream: #FAF7F1;       /* 米白底 */
  --terra: #C2683C;       /* 强调色：陶土橙 */
  --ink: #23201B;         /* 正文 */
  --muted: #6E6A61;       /* 次要文字 */
  --line: rgba(31, 51, 42, 0.14);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
h1 em, h2 em, .logo-word em { font-style: italic; color: var(--terra); }

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}
.kicker-light { color: #D9A06B; }

.section { padding: 104px 0; }
.section-inner { width: min(1180px, 92%); margin: 0 auto; }
.section h2 { font-size: clamp(30px, 4vw, 44px); max-width: 760px; }
.section-sub { color: var(--muted); max-width: 640px; margin-top: 16px; font-size: 17px; }
.footnote { margin-top: 28px; font-size: 13px; color: var(--muted); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--pine); color: #F6F2E9; }
.btn-primary:hover { background: var(--pine-deep); transform: translateY(-2px); }
.btn-ghost { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-ghost:hover { background: rgba(31,51,42,.07); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 247, 241, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1240px, 94%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--pine); color: var(--sand);
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  display: grid; place-items: center;
}
.logo-word { font-weight: 700; letter-spacing: 0.06em; font-size: 15px; color: var(--pine); }
.logo-word em { color: var(--terra); font-weight: 500; }
.main-nav { display: flex; gap: 32px; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--terra); transition: width .2s ease;
}
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-btn {
  border: 1.5px solid var(--line); background: transparent; color: var(--pine);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: var(--font-body); transition: border-color .2s, background .2s;
}
.lang-btn:hover { border-color: var(--pine); background: rgba(31,51,42,.05); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--pine); display: block; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 96px; overflow: hidden; }
.hero-inner {
  width: min(1240px, 94%); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--pine);
  background: #fff; margin-bottom: 26px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }
.hero h1 { font-size: clamp(42px, 5.4vw, 68px); margin-bottom: 24px; }
.hero-sub { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.hero-visual { position: relative; }
.hero-photo {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(22, 36, 29, 0.45);
  transform: rotate(1.2deg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-card {
  position: absolute; left: -34px; bottom: 34px;
  background: var(--pine); color: var(--sand);
  border-radius: 16px; padding: 18px 24px; max-width: 280px;
  box-shadow: 0 24px 48px -20px rgba(22,36,29,.55);
  display: flex; flex-direction: column; gap: 4px;
}
.hero-card strong { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.05em; }
.hero-card span { font-size: 12.5px; opacity: .8; line-height: 1.5; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid {
  width: min(1180px, 92%); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-n { font-family: var(--font-display); font-size: 40px; color: var(--pine); line-height: 1.05; }
.stat-t { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- About ---------- */
.about { background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.about-visual { position: relative; }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 32px 64px -28px rgba(22,36,29,.4); }
.about-photo img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }
.about-photo-cap { margin-top: 12px; font-size: 13px; color: var(--muted); font-style: italic; }
.about-copy p { color: #4B473F; margin-top: 18px; max-width: 560px; }
.about-copy h2 { margin-bottom: 6px; }

/* ---------- Heritage ---------- */
.heritage { background: var(--cream); }
.heritage-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px;
}
.heritage-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; transition: transform .2s ease, box-shadow .2s ease;
}
.heritage-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(22,36,29,.25); }
.heritage-idx {
  font-family: var(--font-display); font-size: 15px; color: var(--terra);
  letter-spacing: .1em;
}
.heritage-card h3 { font-size: 21px; margin-top: 14px; }
.heritage-field {
  display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--pine);
  border-bottom: 2px solid var(--terra); padding-bottom: 4px;
}
.heritage-desc { margin-top: 14px; font-size: 14.5px; color: var(--muted); }

/* ---------- Products ---------- */
.products { background: #fff; }
.product-line { margin-top: 64px; }
.line-head { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin-bottom: 34px; }
.line-head h3 { font-size: clamp(24px, 3vw, 32px); display: flex; align-items: center; gap: 14px; }
.line-head h3::before {
  content: ""; width: 34px; height: 3px; background: var(--terra); border-radius: 2px; flex: none;
}
.line-head p { color: var(--muted); font-size: 15.5px; }
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.product-grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
.product-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -26px rgba(22,36,29,.3); }
.product-card figure { overflow: hidden; }
.product-card img { width: 100%; aspect-ratio: 1 / 0.92; object-fit: cover; transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.05); }
.product-card h4 { font-family: var(--font-display); font-size: 19px; font-weight: 500; padding: 20px 22px 0; }
.product-card p { padding: 8px 22px 24px; font-size: 14px; color: var(--muted); }
.line-alt { padding: 48px 40px; background: var(--sand); border-radius: 28px; }

/* ---------- Capabilities ---------- */
.capabilities { background: var(--pine-deep); color: var(--sand); }
.capabilities h2 { color: #F2EDDF; max-width: 640px; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.cap-card {
  border: 1px solid rgba(239, 232, 220, 0.16); border-radius: var(--radius);
  padding: 30px 26px; background: rgba(239,232,220,.04);
  transition: background .2s ease, transform .2s ease;
}
.cap-card:hover { background: rgba(239,232,220,.08); transform: translateY(-4px); }
.cap-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(194,104,60,.18); color: #D9A06B;
  display: grid; place-items: center; margin-bottom: 20px;
}
.cap-icon svg { width: 24px; height: 24px; }
.cap-card h3 { font-size: 20px; color: #F2EDDF; }
.cap-card p { margin-top: 10px; font-size: 14.5px; color: rgba(239,232,220,.72); }

/* ---------- Contact ---------- */
.contact { background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-list { list-style: none; margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; padding-left: 18px; border-left: 3px solid var(--terra); }
.ct-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ct-value { font-size: 16.5px; font-weight: 500; color: var(--pine); }
.ct-value a:hover { color: var(--terra); }
.contact-form-wrap {
  background: #fff; border-radius: 24px; padding: 40px;
  box-shadow: 0 32px 64px -30px rgba(22,36,29,.3);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label span { font-size: 13px; font-weight: 600; color: var(--pine); }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px;
  background: var(--cream); outline: none; transition: border-color .2s;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--pine); }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: rgba(239,232,220,.85); }
.footer-inner {
  width: min(1180px, 92%); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
  padding: 72px 0 48px;
}
.logo-light .logo-mark { background: var(--sand); color: var(--pine); }
.logo-light .logo-word { color: var(--sand); }
.footer-brand p { margin-top: 18px; font-size: 14.5px; max-width: 380px; color: rgba(239,232,220,.7); }
.ft-lang { font-size: 12.5px !important; opacity: .55; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: #D9A06B; margin-bottom: 8px; font-weight: 700;
}
.footer-col a:hover { color: var(--terra); }
.footer-col span { font-size: 14px; color: rgba(239,232,220,.75); }
.footer-bar {
  border-top: 1px solid rgba(239,232,220,.14);
  width: min(1180px, 92%); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 22px 0; font-size: 13px; color: rgba(239,232,220,.55);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { left: 16px; }
  .stats-grid, .heritage-grid, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .main-nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 20px 6%; gap: 18px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .stats-grid, .heritage-grid, .cap-grid, .product-grid, .product-grid.grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0; }
  .hero-card { position: static; margin-top: 16px; max-width: none; }
  .contact-form-wrap { padding: 28px 22px; }
  .footer-inner { grid-template-columns: 1fr; }
}
