*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #1A3C2A;
  --primary-light: #2A5C3A;
  --accent: #C8A02A;
  --accent-light: #E8C060;
  --beige: #F5F0E8;
  --cream: #FDFBF7;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --gray-900: #2A2A2A;
  --gray-700: #555555;
  --gray-500: #888888;
  --gray-300: #CCCCCC;
  --gray-100: #F0F0F0;
  --font-title: 'Noto Serif KR', serif;
  --font-body: 'Pretendard', -apple-system, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-900); line-height: 1.7; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* === NAV === */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--gray-100); transition: box-shadow 0.3s; }
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { font-family: var(--font-title); font-size: 20px; font-weight: 600; color: var(--primary); letter-spacing: 2px; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-700); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--primary) !important; color: var(--white) !important; padding: 10px 24px; border-radius: 6px; font-size: 13px; font-weight: 500; }
.nav-cta:hover { background: var(--primary-light) !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .mobile-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-100); box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 16px 40px; }
  .mobile-nav.open { display: block; }
  .mobile-nav .nav-links { display: flex; flex-direction: column; gap: 16px; }
  .mobile-nav .nav-cta { text-align: center; margin-top: 8px; }
}

/* === HERO === */
.hero, .page-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.page-hero { min-height: 50vh; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.35); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,60,42,0.7) 0%, rgba(26,26,26,0.4) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; color: var(--white); padding: 0 40px; max-width: 800px; }
.hero-badge { display: inline-block; padding: 6px 20px; border: 1px solid var(--accent); border-radius: 30px; font-size: 13px; color: var(--accent-light); letter-spacing: 2px; margin-bottom: 28px; }
.hero h1 { font-family: var(--font-title); font-size: clamp(32px, 5vw, 60px); font-weight: 700; line-height: 1.25; margin-bottom: 20px; }
.hero p { font-size: clamp(15px, 2vw, 19px); color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 36px; }
.hero-btn { display: inline-block; padding: 16px 40px; background: var(--accent); color: var(--white); font-weight: 600; font-size: 15px; border-radius: 8px; transition: all 0.3s; }
.hero-btn:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,160,42,0.3); }

/* === SECTION COMMON === */
.section { padding: 80px 40px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-family: var(--font-title); font-size: clamp(24px, 4vw, 38px); font-weight: 700; color: var(--primary); line-height: 1.3; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--gray-700); max-width: 700px; line-height: 1.8; margin-bottom: 48px; }

/* === STATS === */
.stats { background: var(--primary); padding: 48px 40px; }
.stats-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { font-family: var(--font-title); font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--accent); }
.stat-suffix { font-size: 0.5em; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* === ABOUT GRID (INDEX) === */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.about-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: transform 0.3s; }
.about-card:hover { transform: translateY(-4px); }
.about-card-img { height: 220px; overflow: hidden; }
.about-card-img img { width: 100%; height: 100%; object-fit: cover; }
.about-card-body { padding: 24px; }
.about-card-body h3 { font-family: var(--font-title); font-size: 18px; color: var(--primary); margin-bottom: 8px; }
.about-card-body p { font-size: 14px; color: var(--gray-700); line-height: 1.7; }

/* === TRUST (BEIGE BG) === */
.trust { background: var(--beige); padding: 80px 40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { background: var(--white); padding: 32px 24px; border-radius: 12px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.trust-icon { font-size: 32px; margin-bottom: 12px; }
.trust-item h4 { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.trust-item p { font-size: 13px; color: var(--gray-500); }

/* === PRODUCTS GRID === */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.product-img { height: 220px; background: var(--beige); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 24px; }
.product-info h4 { font-family: var(--font-title); font-size: 18px; color: var(--primary); margin-bottom: 8px; }
.product-info p { font-size: 14px; color: var(--gray-700); line-height: 1.7; }
.product-tag { display: inline-block; padding: 4px 12px; background: var(--beige); color: var(--primary); font-size: 12px; font-weight: 500; border-radius: 4px; margin-top: 12px; }

/* === CTA SECTION === */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); padding: 80px 40px; text-align: center; }
.cta-btn-solid { display: inline-block; padding: 16px 40px; background: var(--accent); color: var(--white); font-weight: 600; font-size: 15px; border-radius: 8px; transition: all 0.3s; }
.cta-btn-solid:hover { background: var(--accent-light); transform: translateY(-2px); }
.cta-btn-outline { display: inline-block; padding: 14px 36px; border: 2px solid rgba(255,255,255,0.5); color: var(--white); font-weight: 600; font-size: 15px; border-radius: 8px; transition: all 0.3s; }
.cta-btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* === LINK BUTTON === */
.link-btn { display: inline-block; padding: 12px 32px; border: 2px solid var(--primary); color: var(--primary); font-weight: 600; font-size: 14px; border-radius: 8px; transition: all 0.3s; }
.link-btn:hover { background: var(--primary); color: var(--white); }

/* === ABOUT PAGE === */
.about-grid-full { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-large { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.1); }
.about-img-large img { width: 100%; height: 400px; object-fit: cover; }
.about-text-full p { font-size: 15px; color: var(--gray-700); margin-bottom: 16px; line-height: 1.8; }
.info-table { margin-top: 32px; border-top: 1px solid var(--gray-100); }
.info-row { display: flex; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.info-label { width: 120px; font-size: 14px; font-weight: 600; color: var(--gray-500); flex-shrink: 0; }
.info-value { font-size: 14px; color: var(--gray-900); }

/* === CEO === */
.ceo-section { max-width: 800px; margin: 0 auto; text-align: center; }
.ceo-text { margin-top: 32px; }
.ceo-text p { font-size: 17px; color: var(--gray-700); line-height: 1.9; margin-bottom: 16px; }
.ceo-sign { margin-top: 24px; font-family: var(--font-title); font-size: 16px; color: var(--primary); }

/* === TIMELINE === */
.timeline { max-width: 700px; margin: 0 auto; }
.timeline-item { display: flex; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
.timeline-year { font-family: var(--font-title); font-size: 20px; font-weight: 700; color: var(--accent); width: 60px; flex-shrink: 0; }
.timeline-desc { font-size: 15px; color: var(--gray-700); }

/* === PRODUCTS PAGE DETAIL === */
.product-detail-grid { display: flex; flex-direction: column; gap: 60px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.product-detail.reverse { direction: rtl; }
.product-detail.reverse > * { direction: ltr; }
.product-detail-img { border-radius: 16px; overflow: hidden; height: 300px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-body h3 { font-family: var(--font-title); font-size: 22px; color: var(--primary); margin-bottom: 12px; }
.product-detail-body p { font-size: 15px; color: var(--gray-700); line-height: 1.8; margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.spec-table td { padding: 10px 16px; font-size: 14px; border-bottom: 1px solid var(--gray-100); }
.spec-table td:first-child { font-weight: 600; color: var(--gray-500); width: 100px; }

/* === PROCESS === */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-step { background: var(--white); padding: 32px 24px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.process-num { font-family: var(--font-title); font-size: 32px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.process-step h4 { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* === STORY PAGE === */
.story-cards { display: flex; flex-direction: column; gap: 32px; }
.story-card { background: var(--white); border-radius: 16px; padding: 40px; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.story-card-num { font-family: var(--font-title); font-size: 48px; font-weight: 700; color: var(--accent); opacity: 0.3; margin-bottom: -16px; }
.story-card h3 { font-family: var(--font-title); font-size: 24px; color: var(--primary); margin-bottom: 4px; }
.story-card-tag { font-size: 13px; color: var(--accent); font-weight: 600; letter-spacing: 1px; margin-bottom: 16px; }
.story-card p { font-size: 15px; color: var(--gray-700); line-height: 1.8; }
.story-card-info { display: flex; gap: 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-100); flex-wrap: wrap; }
.story-card-info span { font-size: 13px; color: var(--gray-500); }

/* === NUTRITION === */
.nutrition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.nutrition-item { text-align: center; padding: 32px 20px; background: var(--beige); border-radius: 12px; }
.nutrition-num { font-family: var(--font-title); font-size: 28px; font-weight: 700; color: var(--primary); }
.nutrition-label { font-size: 14px; font-weight: 600; color: var(--gray-700); margin-top: 4px; }
.nutrition-item p { font-size: 13px; color: var(--gray-500); margin-top: 8px; }

/* === MARKET === */
.market-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.market-item { background: var(--white); padding: 32px; border-radius: 12px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.market-num { font-family: var(--font-title); font-size: 36px; font-weight: 700; color: var(--accent); }
.market-label { font-size: 14px; font-weight: 600; color: var(--gray-900); margin-top: 4px; }
.market-item p { font-size: 13px; color: var(--gray-500); margin-top: 8px; }

/* === VALUE === */
.value-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-block { padding: 32px; border-left: 4px solid var(--accent); }
.value-block h3 { font-family: var(--font-title); font-size: 18px; color: var(--primary); margin-bottom: 12px; line-height: 1.4; }
.value-block p { font-size: 14px; color: var(--gray-700); line-height: 1.8; }

/* === FACILITY === */
.facility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.facility-img { border-radius: 12px; overflow: hidden; height: 300px; }
.facility-img img { width: 100%; height: 100%; object-fit: cover; }

/* === HYGIENE === */
.hygiene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hygiene-item { background: var(--white); padding: 32px 24px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.hygiene-icon { font-size: 36px; margin-bottom: 12px; }
.hygiene-item h4 { font-size: 15px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.hygiene-item p { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* === CERT === */
.cert-grid { display: flex; justify-content: center; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.cert-item { text-align: center; }
.cert-badge { font-family: var(--font-title); font-size: 28px; font-weight: 700; color: var(--primary); padding: 20px 32px; border: 2px solid var(--accent); border-radius: 12px; }
.cert-item p { font-size: 13px; color: var(--gray-500); margin-top: 12px; line-height: 1.6; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.required { color: #e53e3e; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--gray-300); border-radius: 8px;
  font-size: 14px; font-family: var(--font-body); transition: border-color 0.2s; background: var(--white);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary);
}
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit-btn { width: 100%; padding: 16px; background: var(--primary); color: var(--white); font-size: 16px; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s; }
.submit-btn:hover { background: var(--primary-light); }

.contact-info-card { background: var(--beige); padding: 32px; border-radius: 16px; margin-bottom: 24px; }
.contact-info-card h3 { font-family: var(--font-title); font-size: 20px; color: var(--primary); margin-bottom: 4px; }
.contact-info-card > p { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }
.contact-info-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.ci-label { font-size: 13px; color: var(--gray-500); }
.ci-value { font-size: 14px; font-weight: 500; color: var(--gray-900); }
.info-list { list-style: none; }
.info-list li { padding: 8px 0; font-size: 14px; color: var(--gray-700); padding-left: 20px; position: relative; }
.info-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* === MODAL === */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; display: flex; align-items: center; justify-content: center; }
.modal-content { background: var(--white); padding: 48px; border-radius: 16px; text-align: center; max-width: 400px; }
.modal-check { width: 56px; height: 56px; background: var(--primary); color: var(--white); border-radius: 50%; font-size: 28px; line-height: 56px; margin: 0 auto 20px; }
.modal-content h3 { font-family: var(--font-title); font-size: 20px; color: var(--primary); margin-bottom: 8px; }
.modal-content p { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }
.modal-btn { padding: 12px 32px; background: var(--primary); color: var(--white); border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }

/* === FOOTER === */
.footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 32px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: var(--font-title); font-size: 16px; color: var(--white); letter-spacing: 2px; }
.footer-copy { font-size: 13px; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .about-grid-full, .product-detail, .contact-grid { grid-template-columns: 1fr; }
  .product-detail.reverse { direction: ltr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .nutrition-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: 1fr; }
  .value-blocks { grid-template-columns: 1fr; }
  .hygiene-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 20px; }
  .trust { padding: 60px 20px; }
}
@media (max-width: 600px) {
  .products-grid, .trust-grid, .stats-grid, .hygiene-grid, .nutrition-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 16px; }
  .trust { padding: 48px 16px; }
  .nav-inner { padding: 0 16px; }
  .story-card { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
