﻿/* ============================================================
   SKT·游柏尧 — 品牌全局样式 V4
   版本：V4（中英双语优化 · 间距重排）
   配色：深茶褐(#3E2723) 朱砂红(#B71C1C) 米白(#FAF7F0) 草木绿(#556B2F)
   字体：中文 Noto Sans SC / 英文 Inter
   特性：中英文双语 · 全端响应式 · 东方向雅美学
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --brown-deep: #3E2723;
  --brown-medium: #5D4037;
  --brown-light: #8D6E63;
  --red-primary: #B71C1C;
  --red-dark: #880E0E;
  --red-glow: rgba(183, 28, 28, 0.08);
  --cream: #FAF7F0;
  --cream-dark: #F0EBE0;
  --green-primary: #556B2F;
  --green-light: #6B8E23;
  --white: #FFFFFF;
  --text-dark: #2C2C2C;
  --text-mid: #6B6B6B;
  --text-light: #999999;
  --border-light: rgba(62, 39, 35, 0.08);
  --shadow: 0 4px 24px rgba(62, 39, 35, 0.06);
  --shadow-hover: 0 8px 40px rgba(62, 39, 35, 0.10);
  --radius: 8px;
  --radius-sm: 4px;
  --transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  --font-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Georgia", serif;
  --nav-height: 72px;
  --section-pad: 100px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-cn);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { font-family: var(--font-en); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-cn);
  font-weight: 600;
  line-height: 1.3;
  color: var(--brown-deep);
}
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3,
html[lang="en"] h4, html[lang="en"] h5, html[lang="en"] h6 {
  font-family: var(--font-en);
  font-weight: 700;
}

/* ---- Section Shared ---- */
section { padding: var(--section-pad) 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.left { text-align: left; }
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red-primary);
  font-weight: 500;
  margin-bottom: 12px;
  position: relative;
}
.section-tag::before, .section-tag::after { content: "—"; margin: 0 8px; opacity: 0.4; }
.section-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--brown-deep);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  font-size: 0.93rem;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
  font-family: inherit;
}
.btn-primary { background: var(--brown-deep); color: var(--cream); }
.btn-primary:hover { background: var(--brown-medium); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(62,39,35,0.20); }
.btn-outline { background: transparent; color: var(--brown-deep); border: 1.5px solid var(--brown-deep); }
.btn-outline:hover { background: var(--brown-deep); color: var(--cream); transform: translateY(-2px); }
.btn-red { background: var(--red-primary); color: var(--cream); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(183,28,28,0.20); }
.btn-full { width: 100%; }
.btn-sm { padding: 8px 20px; font-size: 0.83rem; }

/* ============================
   NAVIGATION
   ============================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,247,240,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(250,247,240,0.98); box-shadow: 0 2px 20px rgba(62,39,35,0.06); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px; background: var(--brown-deep);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--cream); font-weight: 700;
}
.logo-text { font-size: 1.15rem; font-weight: 700; color: var(--brown-deep); letter-spacing: 0.5px; }
.logo-sub { font-size: 0.65rem; color: var(--red-primary); font-weight: 500; letter-spacing: 2px; display: block; margin-top: -2px; }
.nav-menu { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 0.85rem; color: var(--text-mid); font-weight: 500; position: relative; padding: 4px 0; }
.nav-link::after {
  content: ""; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--red-primary); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--brown-deep); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Language Toggle */
.lang-toggle {
  display: flex; align-items: center; gap: 2px; margin-left: 4px;
  background: var(--cream-dark); border-radius: 20px; padding: 3px; border: 1px solid var(--border-light);
}
.lang-btn {
  padding: 4px 10px; border: none; background: transparent;
  font-size: 0.78rem; font-weight: 500; color: var(--text-light);
  cursor: pointer; border-radius: 16px; transition: var(--transition); font-family: var(--font-en);
}
.lang-btn.active { background: var(--brown-deep); color: var(--cream); }
.lang-btn:hover:not(.active) { color: var(--brown-deep); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--brown-deep); border-radius: 2px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================
   HERO
   ============================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: var(--nav-height); background: var(--cream);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 15% 50%, rgba(183,28,28,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 85% 30%, rgba(85,107,47,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(62,39,35,0.03) 0%, transparent 50%),
              linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 60px;
  padding: 40px 0 80px;
}
.hero-badge {
  display: inline-block; font-size: 0.72rem; letter-spacing: 5px;
  color: var(--red-primary); font-weight: 500; margin-bottom: 20px;
  border: 1px solid var(--red-primary); padding: 4px 14px; border-radius: 2px; opacity: 0.8;
}
.hero-title { font-size: 4.2rem; font-weight: 800; color: var(--brown-deep); line-height: 1.1; margin-bottom: 8px; letter-spacing: 2px; }
.hero-subtitle { font-size: 1.4rem; color: var(--green-primary); margin-bottom: 16px; font-weight: 400; letter-spacing: 6px; }
.hero-slogan { font-size: 1.1rem; color: var(--brown-medium); margin-bottom: 24px; font-weight: 500; letter-spacing: 1px; border-left: 3px solid var(--red-primary); padding-left: 16px; }
.hero-desc { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Visual - image container */
.hero-visual { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.hero-visual img { width: 100%; max-width: 380px; border-radius: 12px; box-shadow: 0 20px 60px rgba(62,39,35,0.12); }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2; text-align: center; color: var(--text-light);
  font-size: 0.72rem; letter-spacing: 2px; animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================
   STORY
   ============================ */
.story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-portrait {
  position: relative; width: 100%; max-width: 400px; aspect-ratio: 3/4;
  margin: 0 auto; border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(62,39,35,0.10);
}
.story-portrait img { width: 100%; height: 100%; object-fit: cover; }
.story-sigil {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px;
  border: 2px solid var(--red-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--red-primary); font-weight: 700; letter-spacing: 2px; opacity: 0.6;
}
.story-text h3 { font-size: 1.7rem; margin-bottom: 20px; line-height: 1.4; }
.story-text h3 .highlight { color: var(--red-primary); }
.story-text p { color: var(--text-mid); margin-bottom: 14px; line-height: 1.8; font-size: 0.95rem; }
.story-stats { display: flex; gap: 32px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border-light); }
.stat { text-align: center; flex: 1; }
.stat-num { display: block; font-size: 1.6rem; font-weight: 700; color: var(--red-primary); line-height: 1.2; }
.stat-label { font-size: 0.72rem; color: var(--text-light); letter-spacing: 1px; }

/* ============================
   VALUES
   ============================ */
.values { background: var(--cream); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  display: flex; flex-direction: column; background: var(--white);
  padding: 24px 20px 28px; border-radius: var(--radius); text-align: center;
  transition: var(--transition); border: 1px solid var(--border-light);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.value-card img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.value-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.value-card p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; }

/* ============================
   LINEAGE — 家族传承
   ============================ */
.lineage { background: var(--cream); }
.lineage-timeline { max-width: 800px; margin: 0 auto; position: relative; padding-left: 80px; }
.lineage-timeline::before {
  content: ""; position: absolute; left: 35px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--red-primary), var(--brown-light)); opacity: 0.3;
}
.lineage-item {
  position: relative; margin-bottom: 32px; padding: 24px 28px;
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--border-light);
  transition: var(--transition);
}
.lineage-item:hover { box-shadow: var(--shadow-hover); transform: translateX(4px); }
.lineage-year {
  position: absolute; left: -68px; top: 28px; width: 56px; height: 56px;
  border-radius: 50%; background: var(--red-primary); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; line-height: 1.2;
}
.lineage-content h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--brown-deep); }
.lineage-content p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; }
.lineage-item img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; margin-top: 12px; }

/* ============================
   CRAFT — 制作工艺
   ============================ */
.craft { background: var(--white); }
.craft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.craft-card {
  padding: 28px 20px; border-radius: var(--radius); border: 1px solid var(--border-light);
  text-align: center; transition: var(--transition); background: var(--cream); position: relative;
}
.craft-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.craft-step {
  position: absolute; top: 10px; left: 14px;
  font-size: 2.2rem; font-weight: 800; color: rgba(62,39,35,0.06); line-height: 1;
  font-family: var(--font-en);
}
.craft-card h4 { font-size: 1.02rem; margin-bottom: 10px; }
.craft-card p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.65; }
.craft-card img { width: 100%; height: 160px; object-fit: cover; border-radius: 6px; margin-top: 12px; }

/* ============================
   HERITAGE
   ============================ */
.heritage {
  background: var(--brown-deep); color: rgba(255,255,255,0.9); position: relative; overflow: hidden;
}
.heritage::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(183,28,28,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(85,107,47,0.06) 0%, transparent 50%);
}
.heritage .container { position: relative; z-index: 1; }
.heritage .section-title, .heritage .section-tag { color: var(--cream); }
.heritage .section-tag::before, .heritage .section-tag::after { color: rgba(255,255,255,0.3); }
.heritage .section-desc { color: rgba(255,255,255,0.6); }
.heritage-content { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.heritage-item {
  display: flex; gap: 16px; padding: 24px;
  border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius);
  background: rgba(255,255,255,0.03); transition: var(--transition);
}
.heritage-item:hover { background: rgba(255,255,255,0.06); transform: translateX(4px); }
.heritage-item-icon { font-size: 1.5rem; flex-shrink: 0; width: 40px; text-align: center; }
.heritage-item-text h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 4px; }
.heritage-item-text p { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.heritage-item img { width: 100%; height: 140px; object-fit: cover; border-radius: 6px; margin-top: 8px; }

/* ============================
   GALLERY
   ============================ */
.gallery-section { background: var(--cream); }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px; padding: 20px 0;
}
.gallery img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 8px; transition: transform 0.4s ease, box-shadow 0.4s ease; cursor: pointer;
}
.gallery img:hover { transform: scale(1.03); box-shadow: 0 8px 30px rgba(62,39,35,0.15); }

/* ============================
   PRODUCTS
   ============================ */
.products { background: var(--white); }
.product-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 22px; border: 1px solid var(--border-light); border-radius: 4px;
  background: var(--white); font-size: 0.85rem; color: var(--text-mid);
  cursor: pointer; transition: var(--transition); font-family: inherit;
}
.filter-btn:hover { border-color: var(--brown-deep); color: var(--brown-deep); }
.filter-btn.active { background: var(--brown-deep); color: var(--cream); border-color: var(--brown-deep); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; transition: var(--transition); border: 1px solid var(--border-light); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.product-img { width: 100%; aspect-ratio: 4/3; position: relative; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 12px; right: 12px; background: var(--red-primary);
  color: var(--white); padding: 3px 10px; border-radius: 2px; font-size: 0.7rem; font-weight: 600; letter-spacing: 1px;
}
.product-body { padding: 20px; }
.product-category { font-size: 0.7rem; color: var(--red-primary); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.product-body h4 { font-size: 1.05rem; margin-bottom: 8px; }
.product-body p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 1.15rem; font-weight: 700; color: var(--brown-deep); }

/* ============================
   MEDIA
   ============================ */
.media { background: var(--cream); }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.media-card { background: var(--white); border-radius: var(--radius); overflow: hidden; transition: var(--transition); border: 1px solid var(--border-light); }
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.media-img { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.media-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.media-card:hover .media-img img { transform: scale(1.05); }
.media-img .img-label {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  font-size: 0.62rem; color: rgba(255,255,255,0.6); letter-spacing: 1px;
  background: rgba(0,0,0,0.3); padding: 2px 10px; border-radius: 2px; white-space: nowrap;
}
.media-body { padding: 20px 24px; }
.media-tag { font-size: 0.68rem; color: var(--red-primary); letter-spacing: 2px; font-weight: 500; margin-bottom: 6px; }
.media-body h4 { font-size: 1rem; margin-bottom: 8px; }
.media-body p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; }

/* ============================
   EXPERIENCE
   ============================ */
.experience { background: var(--white); }
.experience-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.exp-info h3 { font-size: 1.5rem; margin-bottom: 24px; }
.exp-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.exp-item { display: flex; align-items: flex-start; gap: 14px; }
.exp-item-icon {
  width: 40px; height: 40px; flex-shrink: 0; background: var(--red-glow);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.exp-item-text strong { display: block; font-size: 0.85rem; color: var(--text-dark); margin-bottom: 2px; }
.exp-item-text p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.5; }
.exp-info img { width: 100%; border-radius: 8px; margin-top: 12px; }

/* Contact Form */
.contact-form { background: var(--cream); padding: 36px; border-radius: var(--radius); border: 1px solid var(--border-light); }
.contact-form h3 { font-size: 1.2rem; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.82rem; color: var(--text-mid); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border-light); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.92rem; background: var(--white);
  transition: var(--transition); color: var(--text-dark);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brown-deep); box-shadow: 0 0 0 3px rgba(62,39,35,0.06);
}
.form-group textarea { resize: vertical; }

/* ============================
   FOOTER
   ============================ */
.footer { background: var(--brown-deep); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-logo-text { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; color: var(--cream); }
.footer-logo-sub { font-size: 0.7rem; color: rgba(255,255,255,0.4); letter-spacing: 3px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 320px; }
.footer-links h5 { font-size: 0.85rem; color: var(--cream); margin-bottom: 14px; letter-spacing: 1px; font-weight: 600; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-links a:hover { color: var(--cream); }
.footer-newsletter h5 { font-size: 0.85rem; color: var(--cream); margin-bottom: 10px; letter-spacing: 1px; font-weight: 600; }
.footer-newsletter p { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-bottom: 14px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; padding: 10px 12px; border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); background: rgba(255,255,255,0.06);
  color: var(--cream); font-family: inherit; font-size: 0.82rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-form input:focus { outline: none; border-color: rgba(255,255,255,0.3); }
.newsletter-form button {
  padding: 10px 18px; background: var(--red-primary); color: var(--cream);
  border: none; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer;
  transition: var(--transition); font-family: inherit; font-size: 0.82rem; white-space: nowrap;
}
.newsletter-form button:hover { background: var(--red-dark); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px;
  border-radius: 8px; background: var(--brown-deep); color: var(--cream);
  border: none; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden;
  transition: var(--transition); z-index: 999; display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--brown-medium); transform: translateY(-3px); }

/* ============================
   ANIMATIONS
   ============================ */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================
   RESPONSIVE — TABLET
   ============================ */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .hero-title { font-size: 3.2rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .craft-grid { grid-template-columns: repeat(2, 1fr); }
  .heritage-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================
   RESPONSIVE — MOBILE
   ============================ */
@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .section-title { font-size: 2rem; }
  .section-header { margin-bottom: 40px; }

  .nav-menu {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: rgba(250,247,240,0.98); flex-direction: column;
    padding: 24px; gap: 16px;
    transform: translateY(-100%); opacity: 0;
    transition: var(--transition); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light); align-items: stretch;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .lang-toggle { margin-left: auto; margin-right: 12px; }

  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 40px; padding: 20px 0 60px; }
  .hero-title { font-size: 2.6rem; }
  .hero-slogan { text-align: left; margin-left: auto; margin-right: auto; max-width: 400px; }
  .hero-desc { margin: 0 auto 24px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }

  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-stats { justify-content: center; gap: 16px; flex-wrap: wrap; }
  .story-portrait { max-width: 280px; }

  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .product-filters { gap: 6px; }
  .filter-btn { padding: 6px 14px; font-size: 0.78rem; }
  .media-grid { grid-template-columns: 1fr; }
  .experience-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 24px; }
  .heritage-content { grid-template-columns: 1fr; }
  .craft-grid { grid-template-columns: 1fr; }
  .lineage-timeline { padding-left: 60px; }
  .lineage-year { left: -50px; width: 44px; height: 44px; font-size: 0.6rem; top: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery img { height: 140px; }
}

/* ============================
   RESPONSIVE — SMALL MOBILE
   ============================ */
@media (max-width: 480px) {
  :root { --section-pad: 56px; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; letter-spacing: 4px; }
  .section-title { font-size: 1.7rem; }
  .values-grid { grid-template-columns: 1fr; gap: 14px; }
  .story-stats { gap: 12px; }
  .stat-num { font-size: 1.3rem; }
  .gallery { grid-template-columns: 1fr; gap: 8px; }
  .gallery img { height: 200px; }
  .craft-grid { grid-template-columns: 1fr; }
}

@media print {
  .navbar, .back-to-top, .scroll-indicator { display: none; }
}
