/* ============================================================
   意柯地板官网 - 纯 CSS 样式表
   复刻 Tailwind + 品牌设计规范
   ============================================================ */

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft Yahei', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-warm);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* 颜色变量 */
:root {
  --bg-warm: #F5EFE3;
  --bg-light-wood: #EDE3CF;
  --text-primary: #241A0E;
  --text-secondary: #6B5B45;
  --accent-brass: #B68A4A;
  --bg-dark: #1D150A;
  --text-on-dark: #F5EFE3;
  --border-subtle: rgba(36, 26, 14, 0.1);
  --border-dark-subtle: rgba(245, 239, 227, 0.15);
}

/* 字体类 */
.font-serif {
  font-family: 'Noto Serif SC', 'Georgia', 'Songti SC', serif;
  font-weight: 900;
}

.font-eyebrow {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-style: italic;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* 布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(29, 21, 10, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .navbar-inner {
    height: 80px;
    padding: 0 24px;
  }
}

.navbar-brand {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 36px;
  color: var(--text-on-dark);
  letter-spacing: 2px;
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1024px) {
  .navbar-nav {
    display: flex;
  }
}

.navbar-nav a {
  font-size: 14px;
  color: rgba(245, 239, 227, 0.9);
  transition: color 0.2s;
}

.navbar-nav a:hover {
  color: var(--accent-brass);
}

.navbar-cta {
  display: none;
}

@media (min-width: 1024px) {
  .navbar-cta {
    display: inline-block;
    padding: 8px 24px;
    background: var(--accent-brass);
    color: var(--bg-dark);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
  }
  .navbar-cta:hover {
    background: rgba(182, 138, 74, 0.9);
  }
}

.navbar-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-on-dark);
}

@media (min-width: 1024px) {
  .navbar-menu-btn {
    display: none;
  }
}

.navbar-mobile {
  display: block;
  border-top: 1px solid var(--border-dark-subtle);
  background: rgba(29, 21, 10, 0.98);
  backdrop-filter: blur(4px);
}

@media (min-width: 1024px) {
  .navbar-mobile {
    display: none;
  }
}

.navbar-mobile nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.navbar-mobile a {
  padding: 12px 0;
  font-size: 16px;
  color: rgba(245, 239, 227, 0.9);
  transition: color 0.2s;
}

.navbar-mobile a:hover {
  color: var(--accent-brass);
}

.navbar-mobile .mobile-cta {
  margin-top: 8px;
  padding: 12px 24px;
  background: var(--accent-brass);
  color: var(--bg-dark);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  transform: scale(1.08);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 21, 10, 0.6);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(29, 21, 10, 0.3), transparent, rgba(29, 21, 10, 0.5));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 16px 96px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transition-delay: 0.3s;
}

.hero-slide.active .hero-text {
  opacity: 1;
  transform: translateY(0);
}

.hero-eyebrow {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-brass);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero-eyebrow {
    font-size: 16px;
    margin-bottom: 24px;
  }
}

.hero-title {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 36px;
  line-height: 1.2;
  color: var(--text-on-dark);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 64px;
  }
}

@media (min-width: 1280px) {
  .hero-title {
    font-size: 72px;
  }
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(245, 239, 227, 0.75);
  max-width: 560px;
  margin: 0 auto 40px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 18px;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 80px;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-primary {
  padding: 14px 32px;
  background: var(--accent-brass);
  color: var(--bg-dark);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  text-align: center;
}

.btn-primary:hover {
  background: rgba(182, 138, 74, 0.9);
}

.btn-outline-light {
  padding: 14px 32px;
  border: 1px solid rgba(245, 239, 227, 0.4);
  background: transparent;
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  text-align: center;
}

.btn-outline-light:hover {
  border-color: var(--text-on-dark);
  background: rgba(245, 239, 227, 0.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  padding-top: 40px;
  border-top: 1px solid rgba(245, 239, 227, 0.15);
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding-top: 40px;
    border-left: 1px solid rgba(245, 239, 227, 0.15);
  }
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .hero-stat {
    padding: 0 16px;
    border-right: 1px solid rgba(245, 239, 227, 0.15);
  }
  .hero-stat:last-child {
    border-right: none;
  }
}

.hero-stat-num {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--text-on-dark);
}

@media (min-width: 768px) {
  .hero-stat-num {
    font-size: 30px;
  }
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(245, 239, 227, 0.6);
  text-align: center;
  max-width: 140px;
}

@media (min-width: 768px) {
  .hero-stat-label {
    font-size: 14px;
  }
}

.hero-arrow-prev,
.hero-arrow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245, 239, 227, 0.3);
  background: rgba(29, 21, 10, 0.2);
  backdrop-filter: blur(4px);
  color: rgba(245, 239, 227, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.hero-arrow-prev {
  left: 16px;
}

.hero-arrow-next {
  right: 16px;
}

@media (min-width: 768px) {
  .hero-arrow-prev {
    left: 32px;
    width: 48px;
    height: 48px;
  }
  .hero-arrow-next {
    right: 32px;
    width: 48px;
    height: 48px;
  }
}

.hero-arrow-prev:hover,
.hero-arrow-next:hover {
  border-color: rgba(245, 239, 227, 0.6);
  background: rgba(29, 21, 10, 0.4);
  color: var(--text-on-dark);
}

.hero-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 239, 227, 0.4);
  transition: all 0.3s;
}

.hero-dot.active {
  width: 32px;
  background: var(--accent-brass);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(245, 239, 227, 0.5);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ========== Section 通用 ========== */
.section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 112px 0;
  }
}

.section-light {
  background: var(--bg-warm);
}

.section-white {
  background: #fff;
}

.section-wood {
  background: var(--bg-light-wood);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

/* ========== Tree Ring Title ========== */
.section-title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .section-title {
    margin-bottom: 64px;
  }
}

.section-title.center {
  align-items: center;
  text-align: center;
}

.tree-ring-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tree-ring {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.tree-ring::before,
.tree-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent-brass);
}

.tree-ring::before {
  inset: 0;
}

.tree-ring::after {
  width: 14px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-title h2 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-dark .section-title h2 {
  color: var(--text-on-dark);
}

@media (min-width: 768px) {
  .section-title h2 {
    font-size: 36px;
  }
}

@media (min-width: 1024px) {
  .section-title h2 {
    font-size: 48px;
  }
}

.section-title p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 672px;
}

.section-dark .section-title p {
  color: rgba(245, 239, 227, 0.7);
}

.section-title.center p {
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-title p {
    font-size: 18px;
  }
}

/* ========== Brand Story Section ========== */
.brand-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .brand-story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.brand-text p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .brand-text p {
    font-size: 16px;
  }
}

.brand-selling-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .brand-selling-points {
    gap: 24px;
  }
}

.selling-point {
  padding: 20px;
  background: var(--bg-warm);
  border-left: 3px solid var(--accent-brass);
}

.selling-point h4 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.selling-point p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.brand-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .brand-image-wrap {
    aspect-ratio: auto;
    height: 520px;
  }
}

.brand-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 16px 20px;
  background: var(--accent-brass);
  color: var(--bg-dark);
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 16px;
  writing-mode: vertical-rl;
  letter-spacing: 4px;
}

/* ========== Products Section ========== */
.products-tabs {
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .products-tabs {
    margin-bottom: 48px;
  }
}

.products-tabs-scroll {
  display: flex;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.products-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.products-tab-list {
  display: flex;
  gap: 24px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .products-tab-list {
    gap: 40px;
  }
}

.product-tab {
  position: relative;
  padding-bottom: 8px;
  font-family: 'Noto Serif SC', serif;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-secondary);
  transition: color 0.2s;
  background: none;
  border: none;
}

@media (min-width: 768px) {
  .product-tab {
    font-size: 18px;
  }
}

.product-tab:hover {
  color: var(--text-primary);
}

.product-tab.active {
  color: var(--accent-brass);
}

.product-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-brass);
}

.series-header {
  margin-bottom: 40px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .series-header {
    padding: 32px;
    margin-bottom: 48px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}

.series-header-text {
  flex: 1;
}

.series-header h3 {
  font-family: 'Noto Serif SC', serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .series-header h3 {
    font-size: 30px;
  }
}

.series-header p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 672px;
  text-align: left;
}

@media (min-width: 768px) {
  .series-header p {
    font-size: 16px;
  }
}

.series-cover {
  width: 100%;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .series-cover {
    width: 256px;
    height: 128px;
    margin-top: 0;
  }
}

.series-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  text-align: left;
  transition: all 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.product-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  flex-shrink: 0;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.product-card-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-spec {
  font-size: 12px;
  line-height: 1;
  color: rgba(107, 91, 69, 0.7);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 16px;
}

.product-card-en {
  margin-top: auto;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-strip {
  margin-top: auto;
  width: 100%;
  height: 12px;
  flex-shrink: 0;
}

.product-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 0;
  text-align: center;
}

.product-empty::before {
  content: '';
  width: 64px;
  height: 1px;
  background: rgba(182, 138, 74, 0.4);
  margin-bottom: 16px;
}

.product-empty p {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  color: var(--text-secondary);
}

.product-empty span {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(107, 91, 69, 0.7);
}

/* ========== Craft Section ========== */
.craft-section {
  position: relative;
  overflow: hidden;
}

.craft-bg {
  position: absolute;
  inset: 0;
}

.craft-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.craft-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-dark), rgba(29, 21, 10, 0.8), rgba(29, 21, 10, 0.6));
}

.craft-content {
  position: relative;
  z-index: 10;
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .craft-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .craft-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.craft-card {
  padding: 24px;
  border: 1px solid rgba(245, 239, 227, 0.1);
  background: rgba(29, 21, 10, 0.5);
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .craft-card {
    padding: 32px;
  }
}

.craft-card:hover {
  border-color: rgba(182, 138, 74, 0.4);
  background: rgba(29, 21, 10, 0.8);
}

.craft-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 1px solid rgba(182, 138, 74, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-brass);
  transition: all 0.3s;
}

.craft-card:hover .craft-icon {
  border-color: var(--accent-brass);
  background: rgba(182, 138, 74, 0.1);
}

.craft-card h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}

.craft-card p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 239, 227, 0.6);
}

/* ========== Cases Section ========== */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.case-card:hover img {
  transform: scale(1.08);
}

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 21, 10, 0.8) 0%, transparent 60%);
  transition: opacity 0.3s;
}

.case-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: var(--text-on-dark);
}

.case-category {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-brass);
  margin-bottom: 8px;
}

.case-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: bold;
}

/* ========== Service Section ========== */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.service-item {
  position: relative;
  padding-left: 48px;
}

.service-num {
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Noto Serif SC', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--accent-brass);
  line-height: 1;
  opacity: 0.3;
}

.service-item h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ========== Contact Section ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.contact-info h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--accent-brass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-brass);
  font-size: 16px;
}

.contact-detail-text h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-detail-text p {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-form {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .contact-form {
    padding: 40px;
  }
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-warm);
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-brass);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

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

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-submit {
  width: 100%;
  padding: 14px 32px;
  background: var(--accent-brass);
  color: var(--bg-dark);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.form-submit:hover {
  background: rgba(182, 138, 74, 0.9);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-success {
  padding: 16px;
  background: rgba(130, 184, 112, 0.1);
  border: 1px solid rgba(130, 184, 112, 0.3);
  color: #4a7c3e;
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 64px 0 32px;
}

@media (min-width: 768px) {
  .footer {
    padding: 80px 0 40px;
  }
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
  }
}

.footer-brand h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(245, 239, 227, 0.6);
  max-width: 400px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text-on-dark);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(245, 239, 227, 0.6);
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent-brass);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(245, 239, 227, 0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(245, 239, 227, 0.5);
}

/* ========== Product Detail Modal ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(29, 21, 10, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: #fff;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-primary);
  z-index: 10;
  transition: background 0.2s;
}

.modal-close:hover {
  background: #fff;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr 1fr;
  }
}

.modal-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 32px;
}

@media (min-width: 768px) {
  .modal-info {
    padding: 40px;
  }
}

.modal-info h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.modal-info .modal-en {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.modal-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-warm);
}

.modal-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-spec-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.modal-spec-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.modal-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.modal-tip {
  padding: 16px;
  background: rgba(182, 138, 74, 0.1);
  border-left: 3px solid var(--accent-brass);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ========== Admin Styles ========== */
.admin-page {
  min-height: 100vh;
  background: var(--bg-warm);
}

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-dark), #2a1f10);
  padding: 20px;
}

.admin-login-box {
  width: 100%;
  max-width: 400px;
  padding: 40px;
  background: #fff;
}

.admin-login-box h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.admin-login-box .subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 50;
}

.admin-sidebar h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  font-weight: 900;
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--border-dark-subtle);
  margin-bottom: 16px;
}

.admin-nav a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: rgba(245, 239, 227, 0.8);
  transition: all 0.2s;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(182, 138, 74, 0.15);
  color: var(--accent-brass);
}

.admin-main {
  flex: 1;
  margin-left: 220px;
  padding: 32px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-header h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--text-primary);
}

.admin-logout {
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.admin-logout:hover {
  color: var(--accent-brass);
}

.admin-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  padding: 24px;
  margin-bottom: 20px;
}

.admin-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.admin-table th {
  background: var(--bg-warm);
  font-weight: 600;
  color: var(--text-primary);
}

.admin-table td {
  color: var(--text-secondary);
}

.admin-btn {
  padding: 6px 16px;
  font-size: 13px;
  background: var(--accent-brass);
  color: var(--bg-dark);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.admin-btn:hover {
  background: rgba(182, 138, 74, 0.9);
}

.admin-btn.danger {
  background: #c53030;
  color: #fff;
}

.admin-btn.danger:hover {
  background: #9b2c2c;
}

.admin-btn.secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.admin-btn.secondary:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

.admin-form-row {
  display: flex;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.admin-form-row .form-group {
  margin-bottom: 0;
  flex: 1;
  min-width: 200px;
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  border-radius: 12px;
}

.badge-pending {
  background: rgba(182, 138, 74, 0.2);
  color: var(--accent-brass);
}

.badge-done {
  background: rgba(130, 184, 112, 0.2);
  color: #4a7c3e;
}

.checkbox-col {
  width: 40px;
}

.batch-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ========== Utility ========== */
.hidden {
  display: none !important;
}

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
