/* ==========================================================================
   Grand Home AP — Clean Korean Industrial Manufacturing Theme
   Directly matched to Sechang Chemical (www.sechang.co.kr) corporate aesthetic:
   - Primary Corporate Brand Color: #CA254D / #A61B34 (Sechang Crimson Red)
   - Secondary & Neutral: #1E293B, #313131, #555555, #919191, #F5F5F5
   - Clean white card UI with border-radius: 0px or subtle 4px
   - Typography: Clean sans-serif (Inter, Noto Sans, Pretendard)
   - Product showcase with image banners, clean labels, hashtags & checkmark specs
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Sechang Exact Brand Colors */
  --sechang-red: #CA254D;
  --sechang-red-dark: #A61B34;
  --sechang-red-light: #FFE6E6;
  --sechang-red-hover: #BF214B;

  /* Neutrals */
  --text-title: #111827;
  --text-body: #313131;
  --text-muted: #66707D;
  --text-light: #919191;
  --bg-page: #FFFFFF;
  --bg-gray: #F8F9FA;
  --bg-gray-alt: #F1F3F5;
  --border-color: #E4E4E4;
  --border-dark: #C2C2C2;
  --footer-bg: #1B1E24;

  /* Layout */
  --max-width: 1200px;
  --header-height: 84px;
}

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

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Malgun Gothic", sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation (Sechang Style: Clean White, Crimson Accents)
   ========================================================================== */
.top-bar {
  background: #F8F9FA;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-bar-links a:hover {
  color: var(--sechang-red);
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

/* Brand Logo (Korean B2B Style) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 36px;
  height: 36px;
  background: var(--sechang-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  border-radius: 2px;
  letter-spacing: -0.5px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.brand-name span {
  color: var(--sechang-red);
}

.brand-sub {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  padding: 10px 0;
  position: relative;
  letter-spacing: -0.2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sechang-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--sechang-red);
}

.btn-header-rfq {
  background: var(--sechang-red);
  color: #FFFFFF;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-header-rfq:hover {
  background: var(--sechang-red-dark);
  color: #FFFFFF;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: 2px;
  cursor: pointer;
  color: #374151;
}

/* ==========================================================================
   Hero Banner (Sechang Style: Clean, Professional Industrial)
   ========================================================================== */
.hero-banner {
  position: relative;
  background: #111827;
  background-image: linear-gradient(rgba(17, 24, 39, 0.78), rgba(17, 24, 39, 0.78)), url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 110px 0 100px;
  border-bottom: 4px solid var(--sechang-red);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sechang-red-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.hero-tag::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--sechang-red);
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: #FFA4B6;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #D1D5DB;
  max-width: 760px;
  margin-bottom: 34px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-sc-primary {
  background: var(--sechang-red);
  color: #FFFFFF;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--sechang-red);
}

.btn-sc-primary:hover {
  background: var(--sechang-red-dark);
  color: #FFFFFF;
}

.btn-sc-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-sc-outline:hover {
  background: #FFFFFF;
  color: #111827;
}

/* ==========================================================================
   Trust / Plant Quick Facts (Sechang Bar)
   ========================================================================== */
.facts-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact-box {
  padding: 24px 20px;
  border-right: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 14px;
}

.fact-box:last-child {
  border-right: none;
}

.fact-icon {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: var(--sechang-red-light);
  color: var(--sechang-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fact-icon svg {
  width: 22px;
  height: 22px;
}

.fact-lbl {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.fact-val {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

/* ==========================================================================
   Section Headers (Sechang Style: Red Uppercase Subtitle + Bold Title)
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-gray {
  background-color: var(--bg-gray);
}

.section-header {
  margin-bottom: 44px;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--sechang-red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.section-heading {
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.65;
}

/* ==========================================================================
   Sechang Corporate Philosophy / Commitment / ESG 3-Card Grid
   ========================================================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.philosophy-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 36px 30px;
  border-top: 4px solid var(--sechang-red);
  transition: all 0.25s ease;
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.philosophy-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--sechang-red);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.philosophy-title {
  font-size: 21px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 14px;
  line-height: 1.3;
}

.philosophy-text {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ==========================================================================
   Product Grid (Sechang Style: Cards with Category, Hashtags & Specs)
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.product-item:hover {
  border-color: var(--sechang-red);
  box-shadow: 0 10px 20px rgba(202, 37, 77, 0.08);
  transform: translateY(-3px);
}

.product-thumb {
  height: 190px;
  background: #F1F3F5;
  position: relative;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.product-cat-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #111827;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-info {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.hashtag {
  font-size: 11.5px;
  color: var(--sechang-red);
  font-weight: 600;
  background: var(--sechang-red-light);
  padding: 2px 7px;
  border-radius: 2px;
}

.product-summary {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-spec-check {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.product-spec-check li {
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.product-spec-check li::before {
  content: '✓';
  color: var(--sechang-red);
  font-weight: 700;
}

.btn-inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFFFFF;
  color: var(--sechang-red);
  border: 1px solid var(--sechang-red);
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 2px;
  width: 100%;
}

.btn-inquire:hover {
  background: var(--sechang-red);
  color: #FFFFFF;
}

/* ==========================================================================
   Category Filter Tabs
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #4B5563;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #F8F9FA;
  color: var(--sechang-red);
  border-color: var(--sechang-red);
}

.filter-btn.active {
  background: var(--sechang-red);
  color: #FFFFFF;
  border-color: var(--sechang-red);
}

/* ==========================================================================
   Specification Table (Sechang Technical Table)
   ========================================================================== */
.tech-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-color);
  background: #FFFFFF;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.tech-table th {
  background: #F8F9FA;
  color: #111827;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

.tech-table th:last-child {
  border-right: none;
}

.tech-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  color: var(--text-body);
}

.tech-table td:last-child {
  border-right: none;
}

.tech-table tr:hover {
  background: #FDF4F6;
}

/* ==========================================================================
   Certifications & Quality Bar
   ========================================================================== */
.cert-bar {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 30px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cert-badge {
  width: 46px;
  height: 46px;
  border-radius: 2px;
  background: var(--sechang-red-light);
  border: 1px solid #FFA4B6;
  color: var(--sechang-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
}

.cert-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.cert-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Contact / RFQ Form (Sechang Corporate Inquiry Page)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 36px 30px;
}

.contact-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.contact-point:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-point-icon {
  width: 40px;
  height: 40px;
  background: var(--sechang-red-light);
  color: var(--sechang-red);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
}

.contact-point-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.contact-point-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-point-text a {
  color: var(--sechang-red);
  font-weight: 600;
}

.form-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 36px 32px;
}

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

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

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-label span {
  color: var(--sechang-red);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  background: #FFFFFF;
  color: var(--text-body);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--sechang-red);
  box-shadow: 0 0 0 3px rgba(202, 37, 77, 0.1);
}

.btn-submit {
  background: var(--sechang-red);
  color: #FFFFFF;
  border: none;
  border-radius: 2px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-submit:hover {
  background: var(--sechang-red-dark);
}

/* ==========================================================================
   Footer (Sechang Corporate Footer: Dark, Deep Gray #1B1E24)
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  color: #9CA3AF;
  font-size: 13px;
  padding: 50px 0 30px;
  border-top: 4px solid var(--sechang-red);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2D333F;
  padding-bottom: 22px;
  margin-bottom: 28px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #D1D5DB;
  font-weight: 500;
  font-size: 13.5px;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

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

.footer-company h4 {
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.footer-company p {
  line-height: 1.8;
  color: #9CA3AF;
}

.footer-company strong {
  color: #FFFFFF;
}

.footer-contact {
  border-left: 1px solid #2D333F;
  padding-left: 30px;
  line-height: 1.8;
}

.footer-contact h5 {
  color: #FFFFFF;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #2D333F;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6B7280;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-mid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .nav-menu, .btn-header-rfq {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

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

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

  .hero-title {
    font-size: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    gap: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
}
