/* ============================================================
   關於儀禮 /company/ — 改版自 Figma「關於我們」
   Banner + 經營理念 + 核心服務 + 品牌精神
   ============================================================ */

:root {
  --com-brown: #6d4d28;
  --com-text: #434343;
  --com-bg: #fffefc;
}

h1,
h2,
h3 {
  margin: 0;
}

/* ---------- Banner ---------- */
.company-banner {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: #fff;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.company-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 55%, rgba(0, 0, 0, 0) 100%);
}

.company-banner__inner {
  position: relative;
  z-index: 1;
  text-align: left;
}

.company-banner__eyebrow {
  margin: 0 0 40px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}

.company-banner__title {
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(34px, 5vw, 45px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.15;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .4);
}

.company-banner__tagline {
  margin: clamp(56px, 9vw, 120px) 0 0;
  font-family: "Lustria", "Noto Serif TC", serif;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: 0.16em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}

/* ---------- 創立背景 ｜ 經營理念 ---------- */
.company-intro {
  position: relative;
  padding: clamp(72px, 10vw, 120px) 0;
  background-color: var(--com-bg);
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
}

.company-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--com-bg) 30%, rgba(255, 254, 252, .72) 70%, rgba(255, 254, 252, .55) 100%);
}

.company-intro__inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
}

.company-intro__title {
  margin: 0 0 50px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--com-brown);
}

.company-intro__body p {
  margin: 0 0 40px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-align: justify;
  color: var(--com-text);
}

.company-intro__body p:last-child {
  margin-bottom: 0;
}

/* 前兩段為窄欄,讓右側建築背景露出 */
.company-intro__body p:nth-child(1),
.company-intro__body p:nth-child(2) {
  max-width: 480px;
}

/* ---------- 核心服務 ---------- */
.company-services {
  background: var(--com-bg);
  padding: clamp(64px, 9vw, 100px) 0;
}

.company-services__head {
  text-align: center;
  max-width: 902px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}

.company-services__title {
  margin: 0 0 40px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--com-brown);
}

.company-services__lead {
  margin: 0;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--com-text);
}

.company-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  gap: clamp(20px, 3vw, 35px);
}

.company-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  border-radius: 20px;
}

.company-card__icon {
  width: 156px;
  height: 123px;
  margin-bottom: 30px;
  display: grid;
  place-items: center;
}

.company-card__icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.company-card__title {
  margin: 0 0 30px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  color: var(--com-text);
}

.company-card__desc {
  margin: 0 0 30px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: justify;
  color: var(--com-text);
  flex: 1;
}

.company-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px 22px;
  border: 1.5px solid var(--com-brown);
  border-radius: 100px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--com-brown);
  transition: background-color .2s ease, color .2s ease;
}

.company-card__more:hover,
.company-card__more:focus-visible {
  background: var(--com-brown);
  color: #fff;
}

.company-card__arrow {
  font-weight: 400;
}

/* ---------- 品牌溫度及精神 ---------- */
.company-spirit {
  position: relative;
  padding: clamp(72px, 10vw, 110px) 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.company-spirit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 254, 252, .55) 0%, rgba(255, 254, 252, .78) 60%, var(--com-bg) 100%);
}

.company-spirit__inner {
  position: relative;
  z-index: 1;
  max-width: 660px;
  text-align: center;
}

.company-spirit__title {
  margin: 0 0 60px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--com-brown);
}

.company-spirit__text {
  margin: 0 0 60px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(16px, 1.9vw, 22px);
  font-weight: 500;
  line-height: 2;
  color: var(--com-text);
}

.company-spirit__cta {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  border: 1.5px solid var(--com-brown);
  border-radius: 100px;
  font-family: "Noto Serif TC", "Songti TC", serif;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--com-brown);
  transition: background-color .2s ease, color .2s ease;
}

.company-spirit__cta:hover,
.company-spirit__cta:focus-visible {
  background: var(--com-brown);
  color: #fff;
}

/* ---------- 響應式 ---------- */
@media (max-width: 980px) {
  .company-banner {
    min-height: 520px;
  }

  .company-services__grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  }

  .company-intro__body p:nth-child(1),
  .company-intro__body p:nth-child(2) {
    max-width: none;
  }

  .company-intro::before {
    background: linear-gradient(90deg, var(--com-bg) 45%, rgba(255, 254, 252, .8) 100%);
  }
}

@media (max-width: 767px) {
  .company-banner {
    min-height: 440px;
  }

  .company-banner__eyebrow {
    margin-bottom: 24px;
  }

  .company-card__more {
    font-size: 16px;
  }
}
