/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #1a1410;
  --brown: #2c1f14;
  --cream: #f5f0e8;
  --warm-white: #faf8f4;
  --accent: #3d2b1f;
  --text: #2c2420;
  --text-light: #7a6a60;
  --border: rgba(44, 31, 20, 0.12);
  --font-serif: 'Playfair Display', 'Noto Serif SC', Georgia, serif;
  --font-sans: 'Inter', 'PingFang SC', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.hidden { display: none !important; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 44px;
  width: auto;
  transition: opacity 0.2s;
}
.nav-logo:hover img { opacity: 0.75; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: opacity 0.2s;
  font-weight: 400;
}
.nav-links a:hover { opacity: 0.5; }
.nav-lang {
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px !important;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s !important;
}
.nav-lang:hover { background: var(--black); color: var(--cream) !important; opacity: 1 !important; }
.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--warm-white);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { text-align: center; }
.mobile-menu li { margin: 24px 0; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  background: var(--warm-white);
  position: relative;
}
.hero-content { max-width: 600px; }
.hero-logo {
  margin: 0 auto 40px;
  width: 220px;
  animation: fadeUp 1s ease both;
}
.hero-logo img {
  width: 100%;
  mix-blend-mode: multiply;
  background: transparent;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 48px;
  line-height: 1.6;
  animation: fadeUp 1s 0.2s ease both;
}
.btn-outline {
  display: inline-block;
  border: 1px solid var(--black);
  padding: 14px 36px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
  animation: fadeUp 1s 0.4s ease both;
}
.btn-outline:hover { background: var(--black); color: var(--cream); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 60px;
  background: var(--black);
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--text-light);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 60px;
  color: var(--black);
}

/* ===== ABOUT ===== */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 28px;
  color: var(--black);
}
.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
}
.about-visual { text-align: center; }
.about-badge {
  width: 180px;
  margin: 0 auto 40px;
  opacity: 0.9;
}
.about-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--black);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

/* ===== MARQUEE ===== */
.divider-marquee {
  background: var(--black);
  padding: 16px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--cream);
  opacity: 0.7;
  text-transform: uppercase;
}

/* ===== PRODUCTS ===== */
.products { background: var(--warm-white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44, 31, 20, 0.1);
}
.product-img-wrap {
  aspect-ratio: 4/3;
  background: var(--cream);
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-light);
}
.product-placeholder svg {
  width: 60px;
  height: 60px;
  opacity: 0.4;
}
.product-placeholder p {
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.5;
}
.product-info { padding: 24px; }
.product-info h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--black);
}
.product-info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}
.products-note {
  margin-top: 40px;
  font-size: 12px;
  color: var(--text-light);
  opacity: 0.6;
  text-align: center;
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  background: var(--brown);
  padding: 120px 0;
}
.philosophy-inner {
  text-align: center;
}
blockquote {
  position: relative;
  display: inline-block;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 120px;
  color: rgba(245, 240, 232, 0.12);
  position: absolute;
  top: -40px;
  left: -20px;
  line-height: 1;
  pointer-events: none;
}
blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 32px);
  color: var(--cream);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
}
blockquote cite {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: rgba(245, 240, 232, 0.5);
  font-style: normal;
}

/* ===== CONTACT ===== */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  gap: 8px;
  transition: box-shadow 0.3s;
}
.contact-item:hover { box-shadow: 0 8px 30px rgba(44,31,20,0.08); }
.contact-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  color: var(--brown);
}
.contact-icon svg { width: 100%; height: 100%; }
.contact-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}
.contact-item a, .contact-item span:last-child {
  font-size: 14px;
  color: var(--text);
}
.contact-item a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  padding: 60px 0 40px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo img {
  height: 56px;
  filter: invert(1) brightness(0.8);
  opacity: 0.6;
}
.footer-copy {
  font-size: 12px;
  color: rgba(245, 240, 232, 0.35);
  letter-spacing: 0.05em;
}
.footer-icp a {
  font-size: 11px;
  color: rgba(245, 240, 232, 0.2);
}
.footer-icp a:hover { color: rgba(245, 240, 232, 0.5); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }

  .products-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .section { padding: 72px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .hero-logo { width: 160px; }
}
