/* GFK / gosubio brand design system
   Source: GoSubio_brand design handoff (madechiel.co.kr-inspired editorial style)
   Shared across brand.gosubio.com hub + all brand landing pages. */

@font-face { font-family: 'NotoSansKR'; src: url('../fonts/NOTOSANSKR-VF.TTF'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'NanumSquare'; src: url('../fonts/NANUMSQUAREL.TTF'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'NanumSquare'; src: url('../fonts/NANUMSQUARER.TTF'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'NanumSquare'; src: url('../fonts/NANUMSQUAREB.TTF'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'NanumSquare'; src: url('../fonts/NANUMSQUAREEB.TTF'); font-weight: 800; font-display: swap; }

:root {
  --g-green: #0f6a3f;
  --g-green-dark: #073d24;
  --g-mint: #34bd80;
  --g-mint-soft: #7ddaae;
  --g-mint-tint: #e8f8f1;
  --g-dark: #231714;
  --g-darker: #1a1210;
  --g-brown: #5a3f35;
  --g-text: #474747;
  --g-muted: #808080;
  --g-border: #d6d6d6;
  --g-border-soft: #ebebeb;
  --g-bg-soft: #f7f7f7;
  --g-white: #ffffff;
  --g-hero-grad: linear-gradient(135deg, #231714 0%, #1a2e1c 55%, #073d24 100%);
  --g-cta-grad: linear-gradient(135deg, #073d24 0%, #0f6a3f 100%);
  --g-font-display: 'NanumSquare', sans-serif;
  --g-font-body: 'NotoSansKR', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--g-font-body); color: var(--g-dark); background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--g-green); text-decoration: none; }
a:hover { color: #0a5230; }
img { max-width: 100%; display: block; }
.g-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* header */
.g-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--g-border-soft);
}
.g-header .g-wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.g-header.g-header-brand .g-wrap { height: 68px; }
.g-header-left { display: flex; align-items: center; gap: 14px; }
.g-header-left img.g-logo { height: 30px; display: block; }
.g-header-brand .g-header-left img.g-logo { height: 22px; }
.g-header-divider { width: 1px; height: 22px; background: var(--g-border); }
.g-header-brand .g-header-divider { height: 18px; }
.g-header-label { font-family: var(--g-font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; color: var(--g-brown); }
.g-header-wordmark { font-family: var(--g-font-display); font-weight: 800; font-size: 18px; color: var(--g-dark); }
.g-nav { display: flex; align-items: center; gap: 28px; }
.g-nav a.g-navlink { font-size: 14px; font-weight: 600; color: var(--g-dark); }
.g-pill-btn {
  display: inline-flex; align-items: center; background: var(--g-green); color: #fff !important;
  font-size: 14px; font-weight: 700; padding: 11px 22px; border-radius: 7px;
  box-shadow: 0 4px 18px rgba(15,106,63,0.20); white-space: nowrap;
}
.g-pill-btn:hover { background: #0a5230; color: #fff !important; }
.g-nav .g-pill-btn { padding: 10px 20px; }
.g-outline-btn {
  display: inline-flex; align-items: center; background: transparent; color: var(--g-dark) !important;
  font-size: 14px; font-weight: 700; padding: 9px 19px; border-radius: 7px; border: 1.5px solid var(--g-border);
  white-space: nowrap;
}
.g-outline-btn:hover { border-color: var(--g-green); color: var(--g-green) !important; }

/* hero */
.g-hero {
  background: var(--g-hero-grad); color: #fff; position: relative; overflow: hidden;
}
.g-hero-dots {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(15,106,63,0.18) 1px, transparent 1px);
  background-size: 34px 34px;
}
.g-eyebrow-pill {
  display: inline-flex; background: rgba(52,189,128,0.16); color: var(--g-mint-soft);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
}
.g-hero h1 {
  font-family: var(--g-font-display); font-weight: 800; letter-spacing: -0.02em; margin: 24px 0 18px; line-height: 1.14;
}
.g-hero h1 .accent { color: var(--g-mint); }
.g-hero p.g-lead { font-size: 17px; color: rgba(255,255,255,0.72); line-height: 1.7; margin: 0 0 32px; }
.g-hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.g-hero-stats .stat-n { font-family: var(--g-font-display); font-weight: 800; font-size: 26px; }
.g-hero-stats .stat-l { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 4px; }
.g-hero-media {
  position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  aspect-ratio: 4/3; background: rgba(255,255,255,0.06);
}
.g-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.g-hero-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center;
  color: rgba(255,255,255,0.4); font-size: 14px; padding: 24px; border: 1px dashed rgba(255,255,255,0.25);
}
.g-watermark {
  font-family: var(--g-font-display); font-weight: 800; font-size: min(14vw, 168px); line-height: 1;
  color: rgba(255,255,255,0.05); white-space: nowrap; letter-spacing: -0.02em; overflow: hidden;
}

/* section labels */
.g-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g-green); margin-bottom: 10px; }
.g-h2 { font-family: var(--g-font-display); font-weight: 800; color: var(--g-dark); margin: 0; }

/* why cards */
.g-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g-why-card {
  background: #fff; border: 1px solid var(--g-border-soft); border-radius: 12px; padding: 28px;
  box-shadow: 0 4px 14px rgba(35,23,20,0.08);
}
.g-why-mark {
  width: 44px; height: 44px; border-radius: 10px; background: var(--g-mint-tint);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: var(--g-green);
  margin-bottom: 16px;
}
.g-why-title { font-size: 16px; font-weight: 700; color: var(--g-dark); margin-bottom: 8px; }
.g-why-desc { font-size: 14px; color: var(--g-text); line-height: 1.65; }

/* tabs */
.g-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.g-tab-btn {
  background: #fff; color: var(--g-dark); border: 1.5px solid var(--g-border); border-radius: 999px;
  padding: 10px 22px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: var(--g-font-body);
}
.g-tab-btn.active { background: var(--g-green); color: #fff; border-color: var(--g-green); }

/* product cards (landing-page style) */
.g-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.g-product-card { border: 1px solid var(--g-border-soft); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(35,23,20,0.07); background: #fff; }
.g-product-card .g-pc-media { aspect-ratio: 4/3; background: var(--g-bg-soft); display: flex; align-items: center; justify-content: center; }
.g-product-card .g-pc-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.g-product-card .g-pc-media.g-placeholder { color: #b7b7b7; font-size: 13px; text-align: center; padding: 20px; }
.g-product-card .g-pc-media.g-placeholder img { object-fit: cover; padding: 0; }
.g-product-card .g-pc-body { padding: 20px; }
.g-product-card .g-pc-name { font-size: 16px; font-weight: 700; color: var(--g-dark); margin-bottom: 6px; }
.g-product-card .g-pc-desc { font-size: 13px; color: var(--g-text); line-height: 1.6; margin-bottom: 14px; }
.g-product-card .g-pc-link { font-size: 13px; font-weight: 700; color: var(--g-green); }

/* stats strip */
.g-stats-strip { background: var(--g-dark); color: #fff; padding: 72px 32px; }
.g-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.g-stats-grid .stat-n { font-family: var(--g-font-display); font-weight: 800; font-size: 32px; color: var(--g-mint); }
.g-stats-grid .stat-l { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; }

/* contact CTA band */
.g-cta-band { background: var(--g-cta-grad); padding: 64px 32px; color: #fff; }
.g-cta-band .g-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.g-cta-band h2 { font-family: var(--g-font-display); font-weight: 800; margin: 0 0 8px; }
.g-cta-band p { font-size: 15px; color: rgba(255,255,255,0.82); margin: 0; }
.g-cta-white-btn {
  display: inline-flex; align-items: center; background: #fff; color: var(--g-green) !important;
  font-size: 15px; font-weight: 700; padding: 15px 30px; border-radius: 8px; white-space: nowrap;
}
.g-cta-white-btn:hover { background: #f1f1f1; }

/* footer */
.g-footer { background: var(--g-darker); color: rgba(255,255,255,0.55); padding: 40px 32px; }
.g-footer .g-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.g-footer img.g-logo-white { height: 26px; margin-bottom: 12px; display: block; opacity: 0.92; }
.g-footer-links { display: flex; gap: 22px; font-size: 13px; flex-wrap: wrap; }
.g-footer-brand { padding: 32px; text-align: center; font-size: 12px; }
.g-footer-brand img.g-logo-white { height: 20px; margin: 0 auto 14px; opacity: 0.9; }

/* product spec modal */
.g-product-card { cursor: pointer; transition: box-shadow 0.15s, transform 0.15s; }
.g-product-card:hover { box-shadow: 0 8px 22px rgba(35,23,20,0.14); transform: translateY(-2px); }
.g-pc-link { cursor: pointer; background: none; border: none; padding: 0; font-family: var(--g-font-body); }

.g-modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(26,18,16,0.6); z-index: 999;
  align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto;
}
.g-modal-overlay.open { display: flex; }
.g-modal {
  background: #fff; border-radius: 16px; max-width: 980px; width: 100%; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}
.g-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,0.55); color: #fff; border: none; font-size: 18px; cursor: pointer; line-height: 1;
}
.g-modal-close:hover { background: rgba(0,0,0,0.75); }
.g-modal-gallery { background: var(--g-bg-soft); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.g-modal-main-img { aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--g-border-soft); }
.g-modal-main-img img { width: 100%; height: 100%; object-fit: contain; }
.g-modal-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.g-modal-thumbs img {
  width: 56px; height: 56px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; background: #fff;
}
.g-modal-thumbs img.active { border-color: var(--g-green); }
.g-modal-body { padding: 32px 28px; max-height: 90vh; overflow-y: auto; }
.g-modal-name { font-family: var(--g-font-display); font-weight: 800; font-size: 22px; color: var(--g-dark); margin-bottom: 6px; }
.g-modal-desc { font-size: 13.5px; color: var(--g-text); line-height: 1.6; margin-bottom: 22px; }
.g-modal-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--g-green);
  margin: 22px 0 10px;
}
.g-spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.g-spec-table tr { border-bottom: 1px solid var(--g-border-soft); }
.g-spec-table tr:last-child { border-bottom: none; }
.g-spec-table td { padding: 8px 4px; vertical-align: top; }
.g-spec-table td:first-child { color: var(--g-muted); width: 42%; font-weight: 600; }
.g-spec-table td:last-child { color: var(--g-dark); }
.g-modal-note { font-size: 11.5px; color: var(--g-muted); margin-top: 8px; line-height: 1.5; }
.g-modal-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.g-modal-copy-btn, .g-modal-contact-btn {
  font-size: 13px; font-weight: 700; padding: 11px 18px; border-radius: 8px; cursor: pointer; border: 1.5px solid var(--g-border);
  background: #fff; color: var(--g-dark);
}
.g-modal-contact-btn { background: var(--g-green); color: #fff !important; border-color: var(--g-green); text-decoration: none; display: inline-flex; align-items: center; }
.g-modal-copy-btn:hover { border-color: var(--g-green); color: var(--g-green); }

@media (max-width: 760px) {
  .g-modal { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .g-modal-body { max-height: none; }
}

/* video teaser (click-to-play, poster-first) */
.g-video-teaser {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; background: #000;
  cursor: pointer; box-shadow: 0 10px 32px rgba(35,23,20,0.18);
}
.g-video-teaser img.g-video-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-video-teaser video { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,0.94);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.15s;
}
.g-video-teaser:hover .g-video-play-btn { transform: translate(-50%, -50%) scale(1.08); }
.g-video-play-btn::after {
  content: ''; width: 0; height: 0; margin-left: 5px;
  border-top: 13px solid transparent; border-bottom: 13px solid transparent; border-left: 21px solid var(--g-green);
}
.g-video-teaser .g-video-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px;
  background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent); color: #fff; font-size: 13px; font-weight: 600;
}
.g-video-teaser.playing .g-video-play-btn,
.g-video-teaser.playing .g-video-caption,
.g-video-teaser.playing img.g-video-poster { display: none; }
.g-video-teaser video { display: none; }
.g-video-teaser.playing video { display: block; }

@media (max-width: 900px) {
  .g-why-grid { grid-template-columns: 1fr; }
  .g-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 760px) {
  .g-nav .g-navlink { display: none; }
  .g-wrap { padding: 0 20px; }
}
