/* ============================================
   ABOUT PAGE
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.about-sticky { position: static; }
.about-portrait {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}
.about-portrait img {
  width: 100%;
  object-fit: cover; object-position: top;
  aspect-ratio: 3/4;
}
.about-contact-card {
  background-color: #faf8f5;
  border-radius: 12px;
  padding: 20px;
}
.about-contact-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 12px;
  margin-bottom: 12px;
  font-family: 'Noto Sans SC', sans-serif;
}
.about-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.about-contact-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background-color: #fff7ed;
  border-radius: 6px;
  flex-shrink: 0;
}
.about-contact-icon i { color: #f97316; font-size: 14px; }
.about-contact-label { font-size: 12px; color: #9ca3af; }
.about-contact-value { font-size: 12px; font-weight: 500; color: #374151; }
.about-contact-phone {
  margin-top: 8px;
  display: block; text-align: center;
  padding: 10px;
  background-color: #f97316;
  color: #ffffff;
  font-size: 14px; font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.3s;
}
.about-contact-phone:hover { background-color: #ea580c; }

.about-detail h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
  font-family: 'Noto Serif SC', serif;
}
.about-detail .firm-line {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 12px;
}
.about-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.about-tag {
  padding: 4px 12px;
  background-color: #fff7ed;
  color: #ea580c;
  font-size: 12px;
  border-radius: 9999px;
}
.about-tag-gray {
  padding: 4px 12px;
  background-color: #f3f4f6;
  color: #4b5563;
  font-size: 12px;
  border-radius: 9999px;
}

.about-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans SC', sans-serif;
}
.about-section-title::before {
  content: '';
  display: inline-block;
  width: 4px; height: 16px;
  background-color: #f97316;
  border-radius: 9999px;
}
.about-section-body {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.625;
}

.about-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: #faf8f5;
  border-radius: 12px;
  padding: 16px;
}
.about-timeline-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background-color: #ffedd5;
  border-radius: 8px;
  flex-shrink: 0;
}
.about-timeline-icon i { color: #f97316; }
.about-timeline-school {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}
.about-timeline-degree {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.about-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.about-role {
  padding: 8px 16px;
  background-color: #faf8f5;
  color: #374151;
  font-size: 14px;
  border-radius: 12px;
}
.about-honor {
  padding: 8px 16px;
  background-color: #fff7ed;
  color: #ea580c;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid #ffedd5;
}
.about-qual {
  padding: 8px 16px;
  background-color: #f3f4f6;
  color: #374151;
  font-size: 14px;
  border-radius: 12px;
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.service-page-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
.service-page-card:hover { transform: translateY(-4px); }
.service-page-img {
  width: 100%; height: 192px;
  overflow: hidden;
}
.service-page-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform 0.5s;
}
.service-page-card:hover .service-page-img img { transform: scale(1.05); }
.service-page-body { padding: 20px; }
.service-page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.service-page-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background-color: #fff7ed;
  border-radius: 8px;
}
.service-page-icon i { color: #f97316; }
.service-page-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  font-family: 'Noto Sans SC', sans-serif;
}
.service-page-body p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.625;
  margin-bottom: 16px;
}
.service-page-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f97316;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}
.service-page-link:hover { color: #ea580c; }

/* ============================================
   CASES PAGE
   ============================================ */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.case-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  display: block;
}
.case-card:hover { transform: translateY(-4px); }
.case-card-img {
  width: 100%; height: 208px;
  overflow: hidden;
}
.case-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform 0.5s;
}
.case-card:hover .case-card-img img { transform: scale(1.05); }
.case-card-body { padding: 24px; }
.case-card-date { font-size: 12px; color: #9ca3af; margin-bottom: 12px; }
.case-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.3s;
  font-family: 'Noto Sans SC', sans-serif;
}
.case-card:hover h3 { color: #f97316; }
.case-card p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.625;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.case-card-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f97316;
  font-size: 14px;
  font-weight: 500;
}

.cases-disclaimer {
  max-width: 1024px;
  margin-left: auto; margin-right: auto;
  padding: 0 16px;
}
.cases-disclaimer-box {
  background-color: #f9fafb;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.625;
}
.cases-disclaimer-box i { color: #f97316; margin-right: 4px; }

/* ============================================
   NEWS PAGE
   ============================================ */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card {
  background-color: #faf8f5;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}
.contact-card-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background-color: #f97316;
  border-radius: 12px;
  margin: 0 auto 16px;
}
.contact-card-icon i { color: #ffffff; font-size: 24px; }
.contact-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  font-family: 'Noto Sans SC', sans-serif;
}
.contact-card a, .contact-card .value {
  color: #f97316;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s;
}
.contact-card a:hover { color: #ea580c; }
.contact-card .hint {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.contact-info-card {
  background-color: #faf8f5;
  border-radius: 16px;
  padding: 24px;
}
.contact-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.contact-info-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background-color: #fff7ed;
  border-radius: 8px;
}
.contact-info-icon i { color: #f97316; }
.contact-info-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  font-family: 'Noto Sans SC', sans-serif;
}
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #4b5563;
}
.contact-info-row .label { color: #9ca3af; flex-shrink: 0; }

.contact-work-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
}
.contact-work-row .day { color: #6b7280; }
.contact-work-row .time { font-weight: 500; color: #111827; }
.contact-work-note {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 16px;
  line-height: 1.625;
}

.contact-exec-bar {
  background-color: #111827;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.contact-exec-bar h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  font-family: 'Noto Serif SC', serif;
}
.contact-exec-bar .sub {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}
.contact-exec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.contact-exec-tags span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   DETAIL PAGE
   ============================================ */
.detail-header-img {
  width: 100%;
  height: 260px;
  overflow: hidden;
}
.detail-header-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 24px;
}
.detail-breadcrumb a { color: #9ca3af; transition: color 0.3s; }
.detail-breadcrumb a:hover { color: #f97316; }

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.detail-meta-tag {
  padding: 4px 12px;
  background-color: #fff7ed;
  color: #f97316;
  font-size: 12px;
  border-radius: 9999px;
}
.detail-meta-date { font-size: 12px; color: #9ca3af; }

.detail-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 32px;
  font-family: 'Noto Serif SC', serif;
}

.detail-body {
  color: #4b5563;
  line-height: 1.9;
  font-size: 14px;
}
.detail-body p {
  margin-bottom: 12px;
  line-height: 1.9;
  color: #4b5563;
  font-size: 14px;
}
.detail-body h2 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-top: 24px;
  margin-bottom: 12px;
  font-family: 'Noto Serif SC', serif;
}
.detail-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-top: 20px;
  margin-bottom: 8px;
  font-family: 'Noto Serif SC', serif;
}
.detail-body strong {
  font-weight: 600;
  color: #111827;
}
.detail-body ul { margin-bottom: 12px; }
.detail-body li {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.625;
  margin-left: 16px;
  list-style-type: disc;
}

.detail-disclaimer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #f3f4f6;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.625;
}
.detail-disclaimer i { color: #f97316; margin-right: 4px; }

.detail-share-box {
  margin-top: 32px;
  background-color: #faf8f5;
  border-radius: 12px;
  padding: 20px;
}
.detail-share-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.detail-share-header i { color: #f97316; }
.detail-share-header span {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
}
.detail-share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: #ffffff;
  font-size: 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: opacity 0.3s;
  border: none;
}
.share-btn:hover { opacity: 0.9; }
.share-btn i { font-size: 14px; }
.share-btn-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: #e5e7eb;
  color: #374151;
  font-size: 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background-color 0.3s;
  border: none;
}
.share-btn-copy:hover { background-color: #d1d5db; }

.share-toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #111827;
  color: #ffffff;
  font-size: 12px;
  padding: 10px 16px;
  border-radius: 9999px;
  z-index: 50;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* ============================================
   404 PAGE
   ============================================ */
.not-found {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 0 16px;
}
.not-found-bg {
  position: absolute;
  bottom: 0;
  font-size: 9rem;
  font-weight: 900;
  color: #f9fafb;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}
.not-found-content { position: relative; z-index: 10; }
.not-found-content h1 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 24px;
  font-family: 'Noto Sans SC', sans-serif;
}
.not-found-content .path {
  margin-top: 8px;
  font-size: 16px;
  color: #9ca3af;
  font-family: ui-monospace, monospace;
}
.not-found-content .hint {
  margin-top: 16px;
  font-size: 18px;
  color: #6b7280;
}

/* ============================================
   RESPONSIVE: md (768px+)
   ============================================ */
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 2fr 3fr; }
  .about-sticky { position: sticky; top: 96px; }
  .services-page-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-exec-bar { flex-direction: row; align-items: center; }
  .detail-header-img { height: 360px; }
  .detail-title { font-size: 30px; }
  .not-found-bg { font-size: 12rem; }
  .not-found-content h1 { font-size: 24px; }
}

/* ============================================
   RESPONSIVE: lg (1024px+)
   ============================================ */
@media (min-width: 1024px) {
  .services-page-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(4, 1fr); }
}