/* ══════════════════════════════════════════════
   INNER PAGES SHARED STYLES
   (about / services / contact 공통)
══════════════════════════════════════════════ */

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
  padding: 100px 0 64px;
  margin-top: 64px;
}
.page-hero-breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; font-weight: 700; color: #60a5fa;
  margin-bottom: 20px;
}
.page-hero-breadcrumb a { color: #93c5fd; transition: color 0.2s; }
.page-hero-breadcrumb a:hover { color: #fff; }
.page-hero-breadcrumb .sep { color: #475569; }
.page-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px; font-weight: 900; color: #fff;
  letter-spacing: -2px; margin-bottom: 14px;
}
.page-hero-desc { font-size: 16px; color: #93c5fd; font-weight: 500; }

/* ══════════════════════════════════════════════
   ABOUT 페이지
══════════════════════════════════════════════ */

/* 회사 소개 */
.greeting { padding: 80px 0; background: #fff; }
.greeting-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.greeting-desc {
  font-size: 15px; color: #475569; font-weight: 500;
  line-height: 1.9; margin-top: 16px;
}
.greeting-info {
  margin-top: 32px; padding: 24px 28px;
  background: #f8faff; border-radius: 14px;
  border-left: 4px solid #1d4ed8;
  display: flex; flex-direction: column; gap: 12px;
}
.info-item { display: flex; gap: 20px; align-items: center; font-size: 14px; }
.info-label { font-weight: 700; color: #1d4ed8; min-width: 90px; }
.info-value { font-weight: 500; color: #1e293b; }
.greeting-image img {
  border-radius: 20px; width: 100%; height: 440px; object-fit: cover;
  box-shadow: 0 20px 60px rgba(29,78,216,0.12);
}

/* 이레종합관리 강점 */
.strengths { padding: 80px 0; background: #f8faff; }
.strength-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.strength-card {
  background: #fff; border-radius: 20px; padding: 40px 32px;
  border: 1px solid #e2e8f0; transition: all 0.25s;
  position: relative; overflow: hidden;
}
.strength-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, #1d4ed8, #60a5fa);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.strength-card:hover::before { transform: scaleX(1); }
.strength-card:hover { box-shadow: 0 12px 40px rgba(29,78,216,0.1); transform: translateY(-6px); }
.strength-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 52px; font-weight: 900; color: #5b93dd;
  line-height: 1; margin-bottom: 20px;
}
.strength-card h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 14px; }
.strength-card p { font-size: 14px; color: #64748b; font-weight: 500; line-height: 1.8; }

/* 7가지 약속 */
.promises { padding: 80px 0; background: #0f172a; }
.promises .section-label { color: #60a5fa; }
.promises .section-title { color: #fff; }
.promises .section-desc { color: #64748b; }
.promise-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 16px;
  max-width: 900px; margin: 0 auto;
}
.promise-item {
  background: #1e293b; border-radius: 16px; padding: 24px 28px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: all 0.2s;
}
.promise-item:hover { background: #1d4ed8; transform: translateY(-3px); }
.promise-item:nth-child(7) { grid-column: span 2; max-width: 435px; margin: 0 auto; width: 100%; }
.promise-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px; font-weight: 900; color: #1d4ed8;
  flex-shrink: 0; line-height: 1; transition: color 0.2s;
}
.promise-item:hover .promise-num { color: #93c5fd; }
.promise-item p { font-size: 14px; font-weight: 500; color: #94a3b8; line-height: 1.7; transition: color 0.2s; }
.promise-item:hover p { color: #fff; }

/* 비교 섹션 */
.comparison { padding: 80px 0; background: #fff; }
.compare-grid {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 32px; align-items: center;
}
.compare-card { border-radius: 20px; padding: 40px 36px; }
.compare-old { background: #fef2f2; border: 2px solid #fca5a5; }
.compare-new { background: #eff6ff; border: 4px solid #1e68c5; }
.compare-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.compare-old h3 { color: #dc2626; }
.compare-new h3 { color: #1d4ed8; }
.compare-card ul { display: flex; flex-direction: column; gap: 14px; }
.compare-card ul li {
  font-size: 14px; font-weight: 500; color: #475569;
  padding-left: 22px; position: relative; line-height: 1.6;
}
.compare-card ul li::before { content: '✗'; position: absolute; left: 0; }
.compare-old ul li::before { color: #ef4444; content: '✗'; }
.compare-new ul li::before { color: #1d4ed8; content: '✓'; }
.compare-vs {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px; font-weight: 900; color: #cbd5e1;
  text-align: center; background: #f1f5f9; border-radius: 50%;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* 비전 */
.vision { padding: 80px 0; background: #f8faff; text-align: center; }
.vision-desc {
  font-size: 16px; color: #475569; font-weight: 500;
  line-height: 1.9; margin: 20px auto; max-width: 640px;
}
.vision-quote {
  font-size: 18px; font-weight: 700; color: #1d4ed8;
  line-height: 1.9; margin: 40px auto 0;
  padding: 32px 40px; background: #fff;
  border-radius: 20px; border-left: 5px solid #1d4ed8;
  max-width: 700px; text-align: left;
  box-shadow: 0 4px 24px rgba(29,78,216,0.08);
}

/* ══════════════════════════════════════════════
   SERVICES 페이지
══════════════════════════════════════════════ */

/* 서비스 개요 */
.services-overview { padding: 80px 0; background: #fff; }
.overview-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.overview-features { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.overview-feature {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 20px; background: #f8faff;
  border-radius: 14px; border: 1px solid #e2e8f0;
  transition: all 0.2s;
}
.overview-feature:hover { border-color: #bfdbfe; background: #eff6ff; }
.feature-icon { font-size: 26px; flex-shrink: 0; }
.feature-text h4 { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.feature-text p { font-size: 13px; color: #64748b; font-weight: 500; line-height: 1.6; }
.overview-image img {
  border-radius: 20px; width: 100%; height: 440px; object-fit: cover;
  box-shadow: 0 20px 60px rgba(29,78,216,0.12);
}

/* 서비스 상세 카드 */
.service-detail { padding: 80px 0; background: #f8faff; }
.service-detail-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.service-detail-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid #e2e8f0; transition: all 0.25s;
}
.service-detail-card:hover { box-shadow: 0 16px 48px rgba(29,78,216,0.12); transform: translateY(-6px); }
.sdc-top {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  padding: 32px 28px; text-align: center;
}
.sdc-icon { font-size: 48px; margin-bottom: 14px; }
.sdc-title { font-size: 18px; font-weight: 700; color: #fff; }
.sdc-body { padding: 28px; }
.sdc-body p { font-size: 13px; color: #64748b; font-weight: 500; line-height: 1.8; margin-bottom: 20px; }
.sdc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sdc-tag {
  font-size: 12px; font-weight: 700; color: #1d4ed8;
  padding: 5px 12px; background: #eff6ff; border-radius: 20px;
}

/* BIM 시스템 */
.bim-section { padding: 80px 0; background: #fff; }
.bim-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.bim-badge {
  display: inline-block; background: #1d4ed8; color: #fff;
  padding: 6px 16px; border-radius: 20px; font-size: 12px;
  font-weight: 700; letter-spacing: 1px; margin-bottom: 18px;
}
.bim-points { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.bim-point { display: flex; gap: 18px; align-items: flex-start; }
.bim-dot {
  width: 10px; height: 10px; background: #1d4ed8; border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
}
.bim-point p { font-size: 14px; font-weight: 500; color: #475569; line-height: 1.8; }
.bim-image img {
  border-radius: 20px; width: 100%; height: 400px; object-fit: cover;
  box-shadow: 0 20px 60px rgba(29,78,216,0.12);
}

/* 24 FULL CARE */
.fullcare-section { padding: 80px 0; background: #0f172a; }
.fullcare-section .section-label { color: #60a5fa; }
.fullcare-section .section-title { color: #fff; }
.fullcare-section .section-desc { color: #64748b; }
.fullcare-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 16px; }
.fullcare-card {
  background: #1e293b; border-radius: 18px; padding: 32px 20px;
  text-align: center; transition: all 0.25s;
}
.fullcare-card:hover { background: #1d4ed8; transform: translateY(-4px); }
.fullcare-icon { font-size: 40px; margin-bottom: 16px; }
.fullcare-card h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.fullcare-card p { font-size: 13px; color: #94a3b8; font-weight: 500; line-height: 1.7; transition: color 0.2s; }
.fullcare-card:hover p { color: #bfdbfe; }

/* ══════════════════════════════════════════════
   CONTACT 페이지
══════════════════════════════════════════════ */

/* 연락처 정보 */
.contact-info-section { padding: 64px 0; background: #fff; }
.contact-info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.contact-info-card {
  text-align: center; padding: 40px 28px;
  background: #f8faff; border-radius: 20px;
  border: 1px solid #e2e8f0; transition: all 0.2s;
}
.contact-info-card:hover { border-color: #bfdbfe; box-shadow: 0 8px 32px rgba(29,78,216,0.08); }
.contact-info-icon { font-size: 40px; margin-bottom: 18px; }
.contact-info-card h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin-bottom: 14px; }
.contact-info-card p, .contact-info-card a {
  font-size: 14px; font-weight: 500; color: #475569;
  display: block; line-height: 1.9;
}
.contact-info-card a:hover { color: #1d4ed8; }

/* 문의 폼 */
.inquiry-section { padding: 0 0 80px; background: #fff; }
.inquiry-inner {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 48px; align-items: start;
}
.inquiry-form-wrapper {
  background: #f8faff; border-radius: 24px; padding: 44px;
  border: 1px solid #e2e8f0;
}
.form-title { font-size: 22px; font-weight: 700; color: #0f172a; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 8px; }
.form-label .required { color: #ef4444; margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid #e2e8f0; border-radius: 10px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px; font-weight: 500; color: #1e293b;
  background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 10px;
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0;
  cursor: pointer; accent-color: #1d4ed8;
}
.form-check label {
  font-size: 12px; color: #64748b; font-weight: 500;
  line-height: 1.6; cursor: pointer;
}
.form-submit {
  width: 100%; padding: 15px; background: #1d4ed8; color: #fff;
  border: none; border-radius: 10px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background 0.2s; margin-top: 12px;
}
.form-submit:hover { background: #1e40af; }
.form-success {
  display: none; text-align: center; padding: 48px 20px;
}
.form-success-icon { font-size: 56px; margin-bottom: 20px; }
.form-success h3 { font-size: 22px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.form-success p { font-size: 15px; color: #64748b; font-weight: 500; line-height: 1.7; }

/* 문의 안내 사이드바 */
.inquiry-info-wrapper { padding-top: 4px; }
.inquiry-info-title { font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 20px; }
.inquiry-info-card {
  background: #f8faff; border-radius: 16px; padding: 24px 28px;
  border: 1px solid #e2e8f0; margin-bottom: 16px;
}
.inquiry-info-card h4 { font-size: 15px; font-weight: 700; color: #1d4ed8; margin-bottom: 10px; }
.inquiry-info-card p { font-size: 14px; color: #475569; font-weight: 500; line-height: 1.7; }
.inquiry-hours {
  background: #0f172a; border-radius: 16px; padding: 28px;
  margin-top: 16px;
}
.inquiry-hours h4 { font-size: 15px; font-weight: 700; color: #60a5fa; margin-bottom: 16px; }
.hours-row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid #1e293b;
}
.hours-row:last-child { border-bottom: none; }
.hours-label { font-size: 13px; color: #94a3b8; font-weight: 500; }
.hours-value { font-size: 13px; color: #fff; font-weight: 700; }

/* 폼 알림 메시지 */
.form-alert {
  padding: 14px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 700; margin-bottom: 20px;
}
.form-alert-error {
  background: #fef2f2; color: #dc2626; border: 1.5px solid #fca5a5;
}

/* ══════════════════════════════════════════════
   내부 페이지 반응형 (모바일 768px 이하)
══════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── PAGE HERO ── */
  .page-hero { padding: 72px 0 40px; }
  .page-hero-title { font-size: 28px; letter-spacing: -1px; }
  .page-hero-desc { font-size: 14px; }
  .page-hero-breadcrumb { font-size: 12px; margin-bottom: 12px; }

  /* ── ABOUT: 회사소개 ── */
  .greeting { padding: 48px 0; }
  .greeting-inner { grid-template-columns: 1fr; gap: 28px; }
  .greeting-image { order: -1; }
  .greeting-image img { height: 220px; }
  .greeting-desc { font-size: 14px; }
  .greeting-info { padding: 16px 18px; gap: 10px; }
  .info-item { gap: 12px; font-size: 13px; }
  .info-label { min-width: 70px; }

  /* ── ABOUT: 강점 ── */
  .strengths { padding: 48px 0; }
  .strength-grid { grid-template-columns: 1fr; gap: 16px; }
  .strength-card { padding: 28px 22px; }
  .strength-num { font-size: 40px; margin-bottom: 14px; }
  .strength-card h3 { font-size: 16px; }
  .strength-card p { font-size: 13px; }

  /* ── ABOUT: 7가지 약속 ── */
  .promises { padding: 48px 0; }
  .promise-grid { grid-template-columns: 1fr; gap: 10px; max-width: 100%; }
  .promise-item { padding: 16px 18px; gap: 14px; }
  .promise-item:nth-child(7) { grid-column: span 1; max-width: 100%; margin: 0; }
  .promise-num { font-size: 24px; }
  .promise-item p { font-size: 13px; }

  /* ── ABOUT: 비교 ── */
  .comparison { padding: 48px 0; }
  .compare-grid { grid-template-columns: 1fr; gap: 16px; }
  .compare-vs { display: none; }
  .compare-card { padding: 24px 20px; }
  .compare-card h3 { font-size: 16px; margin-bottom: 16px; }
  .compare-card ul li { font-size: 13px; }

  /* ── ABOUT: 비전 ── */
  .vision { padding: 48px 0; }
  .vision-desc { font-size: 14px; }
  .vision-quote { padding: 20px 22px; font-size: 15px; margin-top: 24px; line-height: 1.7; }

  /* ── SERVICES: 개요 ── */
  .services-overview { padding: 48px 0; }
  .overview-inner { grid-template-columns: 1fr; gap: 28px; }
  .overview-image { order: -1; }
  .overview-image img { height: 220px; }
  .overview-features { gap: 10px; margin-top: 20px; }
  .overview-feature { padding: 12px 14px; gap: 14px; }
  .feature-icon { font-size: 22px; }
  .feature-text h4 { font-size: 13px; }
  .feature-text p { font-size: 12px; }

  /* ── SERVICES: 상세 카드 ── */
  .service-detail { padding: 48px 0; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 16px; }
  .sdc-top { padding: 24px 20px; }
  .sdc-icon { font-size: 36px; margin-bottom: 10px; }
  .sdc-title { font-size: 16px; }
  .sdc-body { padding: 20px; }
  .sdc-body p { font-size: 13px; margin-bottom: 14px; }
  .sdc-tags { gap: 6px; }
  .sdc-tag { font-size: 11px; padding: 4px 10px; }

  /* ── SERVICES: BIM ── */
  .bim-section { padding: 48px 0; }
  .bim-inner { grid-template-columns: 1fr; gap: 28px; }
  .bim-image { order: -1; }
  .bim-image img { height: 220px; }
  .bim-point p { font-size: 13px; }

  /* ── SERVICES: 24 FULL CARE ── */
  .fullcare-section { padding: 48px 0; }
  .fullcare-section .section-desc br { display: none; }
  .fullcare-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fullcare-card { padding: 22px 14px; border-radius: 14px; }
  .fullcare-icon { font-size: 32px; margin-bottom: 12px; }
  .fullcare-card h4 { font-size: 13px; margin-bottom: 8px; }
  .fullcare-card p { font-size: 12px; }

  /* ── CONTACT: 연락처 ── */
  .contact-info-section { padding: 40px 0; }
  .contact-info-grid { grid-template-columns: 1fr; gap: 14px; }
  .contact-info-card { padding: 28px 20px; }
  .contact-info-icon { font-size: 32px; margin-bottom: 12px; }
  .contact-info-card h3 { font-size: 15px; }
  .contact-info-card p, .contact-info-card a { font-size: 13px; }

  /* ── CONTACT: 문의 폼 ── */
  .inquiry-section { padding: 0 0 48px; }
  .inquiry-inner { grid-template-columns: 1fr; gap: 24px; }
  .inquiry-form-wrapper { padding: 24px 18px; border-radius: 16px; }
  .form-title { font-size: 18px; margin-bottom: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .form-input, .form-select, .form-textarea { padding: 12px 14px; font-size: 13px; }
  .form-check label { font-size: 11px; }

  /* ── CONTACT: 안내 사이드바 ── */
  .inquiry-info-card { padding: 20px 18px; }
  .inquiry-hours { padding: 20px 18px; }
}

/* ── 소형 폰 (480px 이하) ── */
@media (max-width: 480px) {
  .page-hero-title { font-size: 24px; }
  .fullcare-grid { grid-template-columns: 1fr; }
  .compare-card { padding: 20px 16px; }
  .inquiry-form-wrapper { padding: 20px 14px; }
}
