/* =========================================================
   Eye 통역 · 메인 사이트 스타일
   - 클래스 접두어: eye-
   - 모바일 우선 (min-width 미디어 쿼리)
   - 최소 폰트: 16px
   ========================================================= */

/* ---------- 1. 변수 ---------- */
:root {
  --eye-bg: linear-gradient(168deg, #FCEDE7 0%, #FBF3EB 30%, #F7F2E7 58%, #EEF1EE 80%, #E7EEF0 100%);
  --eye-shell-bg: #FBF7F0;
  --eye-card-bg: #FFFFFF;
  --eye-card-soft: #FAF6EF;

  --eye-primary: #E89A92;
  --eye-primary-deep: #B5795A;
  --eye-trust: #34507B;
  --eye-line: #06C755;

  --eye-text: #2B2620;
  --eye-text-sub: #5C5346;
  --eye-text-muted: #9A8E7C;
  --eye-border: #ECE2D2;

  --eye-color-coral: #E89A92;
  --eye-color-sky: #BFD8E3;
  --eye-color-mint: #A9C9A4;
  --eye-color-gold: #E9C68C;
  --eye-color-lilac: #C9B6D8;

  --eye-r-sm: 8px;
  --eye-r-md: 11px;
  --eye-r-lg: 14px;
  --eye-r-xl: 16px;
  --eye-r-pill: 999px;
  --eye-shadow: 0 0 0 1px rgba(120,90,60,.04), 0 4px 20px rgba(120,90,60,.10);
}

/* ---------- 2. 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #FBF6EE; }
body {
  font-family: 'Pretendard', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  color: var(--eye-text);
  min-height: 100vh;
  background: var(--eye-bg);
  background-attachment: fixed;
}
.th { font-family: 'Noto Sans Thai', sans-serif; }
a { text-decoration: none; color: inherit; }
::selection { background: #F0CFC9; }
img, svg { display: block; max-width: 100%; }

/* ---------- 3. 앱바 ---------- */
.eye-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251,243,235,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(181,121,90,.12);
}
.eye-bar__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
}
.eye-bar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.eye-bar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.eye-bar__logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.eye-bar__logo-sub {
  font-size: 16px;
  font-weight: 600;
  color: var(--eye-primary-deep);
}
.eye-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eye-bar__nav {
  color: var(--eye-text-sub);
  font-size: 16px;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: 8px;
  display: none;
}
.eye-btn--line {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--eye-line);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: var(--eye-r-pill);
}

/* ---------- 4. 쉘 ---------- */
.eye-shell {
  max-width: 720px;
  margin: 0 auto;
  background: var(--eye-shell-bg);
  min-height: 100vh;
  box-shadow: var(--eye-shadow);
}
.eye-pad { padding-left: 16px; padding-right: 16px; }

/* ---------- 5. 커버 ---------- */
.eye-cover {
  height: 168px;
  background: linear-gradient(120deg, #F4D9D2 0%, #EFE2D2 50%, #CFE0E8 100%);
  position: relative;
  overflow: hidden;
}
.eye-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 6. 프로필 헤더 ---------- */
.eye-profile-header {
  background: var(--eye-card-bg);
  padding-bottom: 20px;
}
.eye-avatar-wrap {
  width: 122px;
  height: 122px;
  margin: -62px auto 0;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
  box-shadow: 0 4px 16px rgba(80,60,40,.18);
  position: relative;
  z-index: 1;
}
.eye-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #F4D9D2, #EFE2D2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  color: var(--eye-primary-deep);
}
.eye-avatar-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.eye-profile-name {
  font-size: 29px;
  font-weight: 800;
  margin-top: 12px;
  letter-spacing: -.01em;
  text-align: center;
}
.eye-profile-name small {
  font-size: 17px;
  color: var(--eye-text-muted);
  font-weight: 600;
}
.eye-profile-tagline {
  font-size: 17px;
  font-weight: 600;
  color: var(--eye-primary-deep);
  margin-top: 5px;
  text-align: center;
}
.eye-profile-tagline-th {
  font-size: 16px;
  color: var(--eye-text-muted);
  font-weight: 500;
  margin-top: 2px;
  text-align: center;
}
.eye-profile-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--eye-text-sub);
  margin-top: 14px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eye-profile-desc-th {
  font-size: 16px;
  line-height: 1.6;
  color: var(--eye-text-muted);
  margin-top: 6px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- 7. 연락 버튼 그리드 ---------- */
.eye-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.eye-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: var(--eye-r-md);
  font-size: 16px;
  font-weight: 700;
}
.eye-contact-btn--line { background: var(--eye-line); color: #fff; box-shadow: 0 3px 10px rgba(6,199,85,.26); }
.eye-contact-btn--phone { background: #E6EEF1; color: #5B7E8C; }
.eye-contact-btn--sms { background: #F6EEE6; color: var(--eye-primary-deep); }
.eye-contact-btn--email { background: #F1EFE9; color: #6B6255; }

/* ---------- 8. 피드 섹션 ---------- */
.eye-feed {
  padding-top: 14px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---------- 9. 카드 공통 ---------- */
.eye-card {
  background: var(--eye-card-bg);
  border-radius: var(--eye-r-lg);
  padding: 18px;
  box-shadow: 0 1px 4px rgba(80,60,40,.08);
}
.eye-card__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
.eye-card__title { font-size: 19px; font-weight: 700; }
.eye-card__title-th { font-size: 14px; color: var(--eye-text-muted); }

/* ---------- 10. 서비스 그리드 ---------- */
.eye-svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}
.eye-svc-item {
  background: var(--eye-card-soft);
  border-radius: var(--eye-r-md);
  padding: 13px 15px;
}
.eye-svc-item__name { font-size: 17px; font-weight: 600; }
.eye-svc-item__name-th { font-size: 16px; color: var(--eye-text-muted); margin-top: 2px; }

/* ---------- 11. 소개 강조 카드 ---------- */
.eye-intro-card {
  background: #FCEEEA;
  border-radius: var(--eye-r-lg);
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(80,60,40,.06);
}
.eye-intro-card__title { font-size: 20px; font-weight: 700; color: var(--eye-primary-deep); }
.eye-intro-card__sub { font-size: 16px; color: #C09384; margin-top: 6px; line-height: 1.6; }

/* ---------- 12. 활동 그리드 ---------- */
.eye-act-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}
.eye-act-card {
  background: var(--eye-card-soft);
  border-radius: var(--eye-r-md);
  padding: 14px 16px;
  border-left: 4px solid var(--eye-primary);
}
.eye-act-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.eye-act-card__date { font-size: 16px; color: var(--eye-primary-deep); font-weight: 700; }
.eye-act-card__color-tag {
  font-size: 16px;
  color: var(--eye-text-muted);
  background: #fff;
  border: 1px solid var(--eye-border);
  padding: 2px 8px;
  border-radius: var(--eye-r-pill);
}
.eye-act-card__title { font-size: 17px; margin-top: 5px; font-weight: 500; }
.eye-act-card__title-th { font-size: 16px; color: var(--eye-text-muted); margin-top: 2px; }

/* ---------- 13. CTA 섹션 ---------- */
.eye-cta {
  background: #2B2620;
  border-radius: var(--eye-r-xl);
  padding: 30px 22px;
  text-align: center;
}
.eye-cta__title { font-size: 22px; font-weight: 700; color: #fff; line-height: 1.45; }
.eye-cta__sub { font-size: 16px; color: #C2B6A4; margin-top: 9px; line-height: 1.6; }
.eye-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--eye-line);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 15px;
  border-radius: var(--eye-r-md);
  margin-top: 18px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 14px rgba(6,199,85,.3);
}

/* ---------- 14. 푸터 ---------- */
.eye-footer {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 14px 6px;
  text-align: center;
}
.eye-footer__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 16px;
  color: var(--eye-text-muted);
  flex-wrap: wrap;
  font-style: normal;
}
.eye-footer__links a { font-weight: 600; }
.eye-footer__links span { color: #DDD2C2; }
.eye-footer__copy { margin-top: 12px; font-size: 16px; color: #C2B6A4; }

/* ---------- 15. 반응형 ---------- */
@media (min-width: 540px) {
  .eye-pad { padding-left: 20px; padding-right: 20px; }
  .eye-footer { padding-left: 20px; padding-right: 20px; }
  .eye-cover { height: 230px; }
  .eye-bar__nav { display: inline-flex; }
  .eye-contact-grid { grid-template-columns: repeat(4, 1fr); }
  .eye-svc-grid { grid-template-columns: 1fr 1fr; }
  .eye-act-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
  .eye-form__row { grid-template-columns: 1fr; }
}
@media (max-width: 319px) {
  html { font-size: 14px; }
}

/* ---------- 16. FAQ ---------- */
.eye-faq-item {
  border-bottom: 1px solid var(--eye-border);
  padding: 14px 0;
}
.eye-faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.eye-faq-item:first-child { padding-top: 0; }
.eye-faq-q { font-size: 17px; font-weight: 600; color: var(--eye-text); margin-bottom: 3px; }
.eye-faq-q-th { font-size: 15px; font-weight: 400; color: var(--eye-text-muted); margin-bottom: 8px; }
.eye-faq-a { font-size: 16px; line-height: 1.65; color: var(--eye-text-sub); margin-bottom: 3px; }
.eye-faq-a-th { font-size: 15px; line-height: 1.6; color: var(--eye-text-muted); }

/* ---------- 17. 빵 부스러기 (헤더 브랜드 영역에 통합) ---------- */
.eye-bar__breadcrumb { min-width: 0; }
.eye-breadcrumb {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0 2px;
  font-size: 13px;
  color: var(--eye-text-muted);
  margin: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
}
.eye-breadcrumb li { display: flex; align-items: center; min-width: 0; }
.eye-breadcrumb a { color: var(--eye-trust); font-weight: 500; flex-shrink: 0; }
.eye-breadcrumb__sep { margin: 0 4px; color: #D4C8B8; flex-shrink: 0; }
.eye-breadcrumb__current { font-weight: 500; color: var(--eye-text-sub); overflow: hidden; text-overflow: ellipsis; }

/* ---------- 17. 서비스 페이지 공통 ---------- */
.eye-svc-hero {
  position: relative;
  height: 220px;
  background: linear-gradient(120deg,#F4D9D2 0%,#EFE2D2 50%,#CFE0E8 100%);
  overflow: hidden;
}
.eye-svc-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eye-svc-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(251,243,235,.05) 0%,rgba(251,243,235,.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 20px 28px;
}
.eye-svc-hero__badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--eye-primary-deep);
  background: rgba(251,247,240,.92);
  border-radius: var(--eye-r-pill);
  padding: 4px 12px;
  width: fit-content;
  margin-bottom: 8px;
}
.eye-svc-hero__title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--eye-text);
  letter-spacing: -.01em;
}
.eye-svc-hero__sub { font-size: 15px; color: var(--eye-text-sub); margin-top: 5px; font-weight: 400; }

.eye-svc-feed {
  padding-top: 14px;
  padding-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eye-svc-sec-head { margin-bottom: 14px; }
.eye-svc-sec-head h2 { font-size: 19px; font-weight: 700; line-height: 1.35; }
.eye-svc-sec-head__th { display: block; font-size: 14px; color: var(--eye-text-muted); margin-top: 2px; }
.eye-svc-intro { font-size: 16px; line-height: 1.75; color: var(--eye-text-sub); }
.eye-svc-intro-th { font-size: 15px; line-height: 1.7; color: var(--eye-text-muted); margin-top: 6px; }

.eye-svc-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eye-svc-feature-item { background: var(--eye-card-soft); border-radius: var(--eye-r-md); padding: 14px; }
.eye-svc-feature-item__icon { font-size: 22px; margin-bottom: 7px; }
.eye-svc-feature-item__title { font-size: 15px; font-weight: 700; color: var(--eye-text); }
.eye-svc-feature-item__title-th { display: block; font-size: 13px; color: var(--eye-text-muted); margin-top: 2px; }
.eye-svc-feature-item__desc { font-size: 14px; color: var(--eye-text-sub); line-height: 1.55; margin-top: 5px; }
.eye-svc-feature-item__desc-th { font-size: 12px; color: var(--eye-text-muted); line-height: 1.5; margin-top: 3px; }

.eye-svc-timeline { display: flex; flex-direction: column; }
.eye-svc-timeline-item { display: flex; gap: 14px; position: relative; }
.eye-svc-timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 30px;
  bottom: -12px;
  width: 2px;
  background: var(--eye-border);
}
.eye-svc-timeline-item + .eye-svc-timeline-item { padding-top: 16px; }
.eye-svc-timeline__dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--eye-primary); color: #fff;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.eye-svc-timeline__body { flex: 1; padding-top: 4px; }
.eye-svc-timeline__title { font-size: 16px; font-weight: 700; }
.eye-svc-timeline__desc { font-size: 15px; color: var(--eye-text-sub); margin-top: 3px; line-height: 1.55; }
.eye-svc-timeline__desc-th { font-size: 14px; color: var(--eye-text-muted); margin-top: 2px; }

.eye-svc-adv-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.eye-svc-adv-item { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; color: var(--eye-text-sub); line-height: 1.6; }
.eye-svc-adv-item__icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.eye-svc-adv-item__th { font-size: 14px; color: var(--eye-text-muted); margin-top: 2px; }

.eye-link { color: var(--eye-trust); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(52,80,123,.3); }
.eye-link:hover { text-decoration-color: var(--eye-trust); }

a.eye-svc-item { display: block; transition: box-shadow .15s, transform .1s; }
a.eye-svc-item:hover { box-shadow: 0 2px 8px rgba(52,80,123,.12); transform: translateY(-1px); }
a.eye-svc-item .eye-svc-item__name { color: var(--eye-trust); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(52,80,123,.25); }

.eye-svc-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.eye-svc-related-item {
  background: var(--eye-card-soft);
  border-radius: var(--eye-r-md);
  padding: 13px 15px;
  display: flex; flex-direction: column; gap: 3px;
  transition: box-shadow .15s;
}
.eye-svc-related-item:hover { box-shadow: 0 2px 8px rgba(52,80,123,.10); }
.eye-svc-related-item__name { font-size: 15px; font-weight: 600; color: var(--eye-trust); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(52,80,123,.25); }
.eye-svc-related-item__th { font-size: 13px; color: var(--eye-text-muted); }

@media (min-width: 540px) {
  .eye-svc-hero { height: 280px; }
  .eye-svc-hero__title { font-size: 28px; }
}

/* ---------- 18. 프로필 히어로 (커버+프로필 통합) ---------- */
.eye-profile-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F9EDE8 0%, #EDD8C8 50%, #C8DDE8 100%);
}
.eye-profile-hero__bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.eye-profile-hero__mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FBF3EB 28%, rgba(251,243,235,.88) 46%, rgba(251,243,235,.1) 70%);
}
.eye-profile-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 20px;
}
.eye-avatar-card {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  background: rgba(251,247,240,.92);
  border: 1.5px dashed #D4C8B8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.eye-avatar-card img { width: 100%; height: 100%; object-fit: contain; }
.eye-profile-hero__text { flex: 1; min-width: 0; }

.eye-profile-hero .eye-profile-name { font-size: 21px; text-align: left; margin-top: 0; }
.eye-profile-hero .eye-profile-tagline { font-size: 15px; text-align: left; margin-top: 4px; }
.eye-profile-hero .eye-profile-tagline-th { font-size: 14px; text-align: left; margin-top: 2px; }

.eye-profile-body {
  background: var(--eye-card-bg);
  padding-top: 18px;
  padding-bottom: 22px;
}
.eye-profile-body .eye-profile-desc { text-align: left; margin-left: 0; margin-right: 0; max-width: none; margin-top: 0; }
.eye-profile-body .eye-profile-desc-th { text-align: left; margin-left: 0; margin-right: 0; max-width: none; margin-top: 6px; }
.eye-profile-body .eye-contact-grid { max-width: none; margin-left: 0; margin-right: 0; }

@media (min-width: 540px) {
  .eye-avatar-card { width: 90px; height: 90px; }
  .eye-profile-hero .eye-profile-name { font-size: 24px; }
}

/* ---------- 유틸리티 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
