/* ===== 服務三欄 ===== */
.services {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.section-label-en {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.section-label-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.section-label-num {
  font-family: var(--display);
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}

.section-heading {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 56px;
  max-width: 700px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}

.service-item {
  padding: 40px 36px 40px 0;
  border-bottom: 1px solid var(--ink);
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background 0.3s;
}

.service-item:hover {
  background: var(--paper-deep);
}

.service-item:last-child { border-right: none; padding-right: 0; }
.service-item:not(:first-child) { padding-left: 36px; }

.service-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}

.service-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.4;
}

.service-desc {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}

.service-list li {
  font-size: 14px;
  color: var(--ink-mute);
  padding: 6px 0;
  border-bottom: 1px dashed var(--rule-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-list li::before {
  content: "·";
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}

.service-link {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}

.service-link:hover { color: var(--accent-deep); }

.service-link::after {
  content: " →";
  transition: transform 0.3s;
  display: inline-block;
}

.service-link:hover::after { transform: translateX(4px); }

/* ===== 最新文章 ===== */
.articles {
  background: var(--paper-deep);
  padding: 100px 0;
}

.articles-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.articles-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
}

.article-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
  transition: transform 0.4s;
}

.article-card:hover { transform: translateY(-4px); }
.article-card.featured { grid-row: span 1; }

.article-cat {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.article-card.featured .article-title {
  font-size: 32px;
  line-height: 1.3;
}

.article-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 16px;
  transition: color 0.3s;
}

.article-card:hover .article-title { color: var(--accent); }

.article-card.featured .article-excerpt {
  font-size: 16px;
  -webkit-line-clamp: 4;
}

.article-excerpt {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-mute);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
}

.article-meta span::before {
  content: "·";
  margin-right: 8px;
  color: var(--accent);
}

.article-meta span:first-child::before { display: none; }

.articles-foot {
  margin-top: 64px;
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}

.browse-all {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  letter-spacing: 0.05em;
}

.browse-all em {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  margin-left: 6px;
}

/* ===== 分類導覽 ===== */
.categories {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
}

.cat-item {
  display: block;
  padding: 32px 24px;
  border: 1px solid var(--rule);
  border-right: none;
  transition: all 0.3s;
  cursor: pointer;
  background: var(--paper);
  text-decoration: none;
  color: inherit;
}

.cat-item:last-child { border-right: 1px solid var(--rule); }

.cat-item:hover {
  background: var(--paper-warm);
}

.cat-item:hover .cat-name::after {
  content: " →";
  color: var(--accent);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
}

.cat-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.cat-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.cat-count {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink-mute);
  font-size: 14px;
  margin-bottom: 18px;
}

.cat-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ===== 關於這裡 ===== */
.about {
  background: var(--ink);
  color: var(--paper);
  padding: 120px 0;
}

.about-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px;
}

.about-label {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent-soft);
  font-size: 15px;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent-soft);
}

.about-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.65;
  color: var(--paper);
  margin-bottom: 48px;
}

.about-text strong {
  color: var(--accent-soft);
  font-weight: 600;
}

.about-sign {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 241, 232, 0.2);
}

.about-sign-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--paper);
}

.about-sign-title {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: rgba(245, 241, 232, 0.6);
}

/* ===== 服務區域 ===== */
.area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

.area-text-block h3 {
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.area-text-block h3::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--accent);
}

.area-text-block p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.area-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.area-list li {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  padding: 6px 14px;
  background: var(--paper-deep);
  letter-spacing: 0.05em;
}

.area-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mute);
  line-height: 1.7;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

/* ===== 聯絡 ===== */
.contact {
  background: var(--paper-warm);
  padding: 120px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.contact-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.contact-label {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 0.15em;
  margin-bottom: 28px;
}

.contact-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 24px;
}

.contact-sub {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.85;
  max-width: 600px;
  margin: 0 auto 48px;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}

.contact-method {
  padding: 28px 48px;
  border: 1px solid var(--ink);
  border-right: none;
  background: var(--paper);
  transition: all 0.3s;
  text-align: center;
}

.contact-method:last-child { border-right: 1px solid var(--ink); }
.contact-method:hover { background: var(--ink); color: var(--paper); }
.contact-method:hover .contact-method-label { color: var(--accent-soft); }

.contact-method-label {
  font-family: var(--display);
  font-style: italic;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  transition: color 0.3s;
}

.contact-method-value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.contact-hours {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}

.contact-map {
  margin-top: 40px;
  width: 100%;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 280px;
}

.contact-map-link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--ink-mute);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-mute);
  transition: color 0.2s, border-color 0.2s;
}

.contact-map-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ===== 頁尾 ===== */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 0 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--paper);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.footer-tagline {
  font-family: var(--display);
  font-style: italic;
  color: rgba(245, 241, 232, 0.6);
  font-size: 15px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.footer-info {
  font-size: 14px;
  color: rgba(245, 241, 232, 0.7);
  line-height: 1.85;
}

.footer-col h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--paper);
  margin-bottom: 18px;
  letter-spacing: 0.1em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  font-size: 14px;
  color: rgba(245, 241, 232, 0.7);
  padding: 4px 0;
  transition: color 0.3s;
}

.footer-col li:hover { color: var(--accent-soft); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 40px 0;
  border-top: 1px solid rgba(245, 241, 232, 0.15);
  display: flex;
  justify-content: space-between;
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: rgba(245, 241, 232, 0.5);
  letter-spacing: 0.1em;
}

/* ===== 響應式（非首屏）===== */
@media (max-width: 960px) {
  .services, .categories, .area, .articles-inner, .contact-inner, .about-inner, .footer-inner, .footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .services-grid, .articles-grid, .cat-grid, .area-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    border-right: none;
    padding-left: 0 !important;
    padding-right: 0;
  }

  .cat-item { border-right: 1px solid var(--rule); border-bottom: none; }
  .cat-item:last-child { border-bottom: 1px solid var(--rule); }

  .article-card.featured .article-title { font-size: 24px; }

  .about-text { font-size: 22px; }
  .contact-title { font-size: 32px; }
  .contact-methods { flex-direction: column; }
  .contact-method { border-right: 1px solid var(--ink); border-bottom: none; }
  .contact-method:last-child { border-bottom: 1px solid var(--ink); }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .footer { padding: 36px 0 20px; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .footer-tagline { display: none; }
  .footer-info { font-size: 13px; line-height: 1.6; }
  .footer-col h4 { margin-bottom: 10px; }
  .footer-col li { padding: 3px 0; }
  .footer-bottom { padding: 16px 24px 0; font-size: 13px; }
}
