/* hego-pages.css — hegoplus 自訂頁面樣式 */

:root {
  --hg: #3DAA3D;
  --hg-dk: #2A7A2A;
  --hg-lt: #E8F5E9;
  --hg-mid: #B2DFBC;
  --hg-gold: #F5C518;
  --hg-bg: #FAFAF7;
  --hg-text: #1E2A1E;
  --hg-muted: #6B7B6B;
  --hg-border: #DCE8DC;
  --hg-serif: 'Noto Serif TC', serif;
  --hg-sans: 'Noto Sans TC', sans-serif;
}

/* ================================================
   RESET — 確保自訂頁面不受主題舊樣式干擾
   ================================================ */
.hego-page * { box-sizing: border-box; }
.hego-page h1, .hego-page h2, .hego-page h3 { line-height: 1.4; }
.hego-page p { margin-bottom: 0; }
.hego-page ul { list-style: none; padding: 0; margin: 0; }
.hego-page a { text-decoration: none; }

/* ================================================
   首頁 HERO
   ================================================ */
.hego-home-page {
  background: var(--hg-bg);
  min-height: 80vh;
}
.hego-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hego-hero-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.hego-tag {
  font-family: var(--hg-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  border: 1.5px solid var(--hg-border);
  color: var(--hg-muted);
  background: transparent;
}
.hego-tag-fill {
  background: var(--hg);
  color: #fff !important;
  border-color: var(--hg) !important;
}
.hego-hero-title {
  font-family: var(--hg-serif) !important;
  font-size: clamp(26px, 3vw, 42px) !important;
  font-weight: 700 !important;
  color: var(--hg-text) !important;
  line-height: 1.45 !important;
  margin: 0 0 4px !important;
}
.hego-hero-title .hego-accent {
  color: var(--hg) !important;
}
.hego-hero-rule {
  width: 56px;
  height: 2px;
  background: var(--hg-border);
  margin: 20px 0;
}
.hego-hero-desc {
  font-family: var(--hg-sans);
  font-size: 15px;
  color: var(--hg-muted);
  line-height: 1.9;
  margin-bottom: 32px !important;
  max-width: 400px;
}
.hego-cta-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: var(--hg-text) !important;
  color: #fff !important;
  font-family: var(--hg-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 13px 28px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: background .2s, transform .2s;
}
.hego-cta-btn:hover {
  background: var(--hg) !important;
  transform: translateY(-1px);
}
.hego-hero-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hego-concept-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  border: 1.5px solid var(--hg-border);
  transition: border-color .2s, box-shadow .2s;
}
.hego-concept-card:hover {
  border-color: var(--hg-mid);
  box-shadow: 0 4px 20px rgba(61,170,61,.1);
}
.hego-concept-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hg-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--hg-dk);
  margin-bottom: 10px;
}
.hego-concept-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hg);
  flex-shrink: 0;
  display: inline-block;
}
.hego-concept-plus {
  font-size: 18px;
  color: var(--hg-gold);
  font-weight: 700;
  line-height: 1;
}
.hego-concept-title {
  font-family: var(--hg-serif) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--hg-text) !important;
  margin-bottom: 8px !important;
}
.hego-concept-card > p {
  font-family: var(--hg-sans);
  font-size: 14px;
  color: var(--hg-muted);
  line-height: 1.8;
  margin: 0 !important;
}

/* ================================================
   關於我們
   ================================================ */
.hego-about-page {
  background: var(--hg-bg);
}

/* Hero */
.hego-about-hero {
  background: linear-gradient(150deg, #152215 0%, #1C3A1C 50%, #223A22 100%);
  padding: 88px 48px 72px;
  text-align: center;
}
.hego-about-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.hego-about-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(61,170,61,.2);
  color: #aaddaa;
  font-family: var(--hg-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(61,170,61,.3);
}
.hego-about-h1 {
  font-family: var(--hg-serif) !important;
  font-size: clamp(28px, 4vw, 46px) !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.4 !important;
  margin: 0 0 20px !important;
}
.hego-about-h1 em {
  color: var(--hg-gold) !important;
  font-style: normal !important;
}
.hego-about-hero-desc {
  font-family: var(--hg-sans);
  font-size: 16px;
  color: rgba(255,255,255,.65);
  line-height: 1.9;
  margin: 0 !important;
}

/* Mission bar */
.hego-mission-bar {
  background: var(--hg);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.hego-mission-bar .hego-m-item {
  font-family: var(--hg-serif);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  padding: 0 20px;
}
.hego-mission-bar .hego-m-sep {
  color: rgba(255,255,255,.35);
  font-size: 18px;
}

/* Story section */
.hego-story-section {
  padding: 72px 48px;
  max-width: 1120px;
  margin: 0 auto;
}
.hego-story-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.hego-story-left {
  background: var(--hg-lt);
  border-radius: 20px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hego-logo-vertical {
  width: 180px;
  height: auto;
  display: block;
}
.hego-story-right {
  padding-top: 8px;
}
.hego-story-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.hego-bar-line {
  width: 4px;
  min-height: 32px;
  background: var(--hg);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 4px;
}
.hego-story-heading h2 {
  font-family: var(--hg-serif) !important;
  font-size: clamp(17px, 2vw, 22px) !important;
  font-weight: 700 !important;
  color: var(--hg-text) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.hego-story-sub {
  font-family: var(--hg-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--hg-text);
  margin-bottom: 16px !important;
}
.hego-story-right > p {
  font-family: var(--hg-sans);
  font-size: 15px;
  color: var(--hg-muted);
  line-height: 1.95;
  margin-bottom: 14px !important;
}

/* Values */
.hego-values-section {
  background: #fff;
  padding: 72px 48px;
}
.hego-values-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.hego-sec-label {
  font-family: var(--hg-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--hg);
  text-transform: uppercase;
  margin-bottom: 10px !important;
}
.hego-sec-title {
  font-family: var(--hg-serif) !important;
  font-size: clamp(22px, 2.8vw, 30px) !important;
  font-weight: 700 !important;
  color: var(--hg-text) !important;
  margin-bottom: 40px !important;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--hg-lt);
}
.hego-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hego-value-card {
  background: var(--hg-bg);
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid var(--hg-border);
  border-top: 4px solid var(--hg);
  transition: transform .2s, box-shadow .2s;
}
.hego-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(61,170,61,.12);
}
.hego-value-icon {
  font-size: 34px;
  margin-bottom: 14px;
}
.hego-value-card h3 {
  font-family: var(--hg-serif) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--hg-dk) !important;
  margin-bottom: 10px !important;
}
.hego-value-card > p {
  font-family: var(--hg-sans);
  font-size: 14.5px;
  color: var(--hg-muted);
  line-height: 1.8;
  margin: 0 !important;
}

/* ================================================
   聯絡我們
   ================================================ */
.hego-contact-page {
  background: var(--hg-bg);
}
.hego-contact-hero {
  padding: 80px 48px 60px;
  text-align: center;
  border-bottom: 1px solid var(--hg-border);
  background: var(--hg-bg);
}
.hego-contact-hero h1 {
  font-family: var(--hg-serif) !important;
  font-size: clamp(28px, 4vw, 46px) !important;
  font-weight: 700 !important;
  color: var(--hg-text) !important;
  margin-bottom: 6px !important;
}
.hego-contact-en {
  font-family: var(--hg-sans);
  font-size: 15px;
  color: var(--hg-muted);
  letter-spacing: .12em;
  margin-bottom: 28px !important;
}
.hego-contact-rule {
  width: 44px;
  height: 3px;
  background: var(--hg);
  border-radius: 2px;
  margin: 0 auto 28px;
}
.hego-contact-email {
  display: inline-block;
  font-family: var(--hg-serif) !important;
  font-size: clamp(20px, 3vw, 36px) !important;
  font-weight: 600 !important;
  color: var(--hg) !important;
  margin-bottom: 8px;
  text-decoration: none !important;
  transition: color .2s;
}
.hego-contact-email:hover {
  color: var(--hg-dk) !important;
}
.hego-contact-note {
  font-family: var(--hg-sans);
  font-size: 14px;
  color: var(--hg-muted);
  margin: 0 !important;
}
.hego-contact-body {
  max-width: 860px;
  margin: 60px auto 80px;
  padding: 0 40px;
}
.hego-contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 40px rgba(61,170,61,.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  border: 1px solid var(--hg-border);
}
.hego-col-label {
  font-family: var(--hg-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--hg-muted);
  text-transform: uppercase;
  margin-bottom: 24px !important;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--hg-border);
}
.hego-company-name {
  font-family: var(--hg-serif) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--hg-text) !important;
  margin-bottom: 18px !important;
}
.hego-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--hg-sans);
  font-size: 14px;
  color: var(--hg-muted);
}
.hego-ico {
  font-size: 16px;
  width: 24px;
  flex-shrink: 0;
}
.hego-info-row a {
  color: var(--hg) !important;
  text-decoration: none !important;
}
.hego-info-row a:hover {
  color: var(--hg-dk) !important;
  text-decoration: underline !important;
}

/* Social grid */
.hego-soc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hego-soc-btn {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 10px 16px;
  border-radius: 12px;
  border: 2px solid var(--hg-border) !important;
  background: var(--hg-bg) !important;
  text-decoration: none !important;
  transition: all .2s;
  color: var(--hg-text) !important;
}
.hego-soc-btn:hover {
  border-color: var(--hg) !important;
  background: var(--hg-lt) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(61,170,61,.15);
}
.hego-soc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hego-soc-fb .hego-soc-icon { background: #e8f0fe; }
.hego-soc-ig .hego-soc-icon { background: #fde8f5; }
.hego-soc-th .hego-soc-icon { background: #f0f0f0; }
.hego-soc-name {
  font-family: var(--hg-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--hg-text);
}
.hego-soc-handle {
  font-family: var(--hg-sans);
  font-size: 11px;
  color: var(--hg-muted);
}

/* ================================================
   FOOTER
   ================================================ */
.hego-footer {
  background: #1A2A1A !important;
  padding: 56px 48px 28px !important;
  margin-top: 80px;
  color: #fff;
}
.hego-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.hego-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
.hego-ft-brand-name {
  font-family: var(--hg-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--hg) !important;
  margin-bottom: 2px;
}
.hego-ft-brand-en {
  font-family: var(--hg-sans);
  font-size: 11px;
  font-weight: 600;
  color: var(--hg-gold) !important;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.hego-ft-desc {
  font-family: var(--hg-sans);
  font-size: 13px;
  color: #8AA88A !important;
  line-height: 1.8;
  margin-bottom: 20px !important;
  max-width: 240px;
}
.hego-ft-social {
  display: flex;
  gap: 8px;
}
.hego-ft-soc-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.07) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none !important;
  transition: all .2s;
}
.hego-ft-soc-btn:hover {
  background: var(--hg) !important;
  border-color: var(--hg) !important;
  transform: translateY(-2px);
}
.hego-ft-col-title {
  font-family: var(--hg-sans);
  font-size: 12px;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: .08em;
  margin-bottom: 16px !important;
  text-transform: uppercase;
}
.hego-ft-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hego-ft-links li a {
  font-family: var(--hg-sans);
  font-size: 13px;
  color: #7A9A7A !important;
  text-decoration: none !important;
  transition: color .2s;
}
.hego-ft-links li a:hover {
  color: var(--hg) !important;
}
.hego-ft-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--hg-sans);
  font-size: 12px;
  color: #4A6A4A;
}
.hego-ft-bottom a {
  color: #4A6A4A !important;
  margin-left: 16px;
  text-decoration: none !important;
  transition: color .2s;
}
.hego-ft-bottom a:hover {
  color: var(--hg) !important;
}

/* ================================================
   RWD
   ================================================ */
@media (max-width: 900px) {
  .hego-hero,
  .hego-story-inner,
  .hego-values-grid,
  .hego-contact-card,
  .hego-footer-grid {
    grid-template-columns: 1fr !important;
  }
  .hego-hero,
  .hego-story-section,
  .hego-values-section,
  .hego-contact-body,
  .hego-footer,
  .hego-about-hero {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .hego-soc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
