/* ═══════════════════════════════════════
   SG Corp — Contact Page CSS
══════════════════════════════════════ */

/* ── 히어로 ── */
.sgct-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
/* 배경이미지 있을 때 그라디언트 숨김 */
.sgct-hero[style*="background-image"] .sgct-hero-bg {
  display: none;
}
/* 배경이미지 있을 때 오버레이 */
.sgct-hero[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 60, 0.5);
  z-index: 1;
}
.sgct-hero[style*="background-image"] .sgct-hero-inner {
  position: relative;
  z-index: 2;
}
.sgct-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--subColor1) 0%, var(--mainColor) 60%, var(--subColor3) 100%);
  z-index: 0;
}
.sgct-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,93,206,0.4) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.sgct-hero-inner {
  position: relative;
  z-index: 1;
}
.sgct-hero-sub {
  font-family: var(--engType);
  font-size: 0.85em;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 4px;
  margin-bottom: 14px;
}
.sgct-hero-title {
  font-size: 3.2em;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.sgct-hero-desc {
  font-size: 1.05em;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

/* ── 정보 카드 3개 ── */
.sgct-info-section {
  margin: -40px auto 0;
  position: relative;
  z-index: 10;
  padding-bottom: 0;
}
.sgct-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sgct-info-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid #f0f0f0;
}
.sgct-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,78,162,0.14);
}
.sgct-info-card--accent {
  background: var(--mainColor);
  border-color: var(--mainColor);
}
.sgct-info-card--accent h3,
.sgct-info-card--accent p,
.sgct-info-card--accent a {
  color: #fff !important;
}
.sgct-info-card--accent .sgct-info-icon {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.sgct-info-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eef4ff;
  color: var(--mainColor);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.sgct-info-icon svg {
  width: 28px;
  height: 28px;
}
.sgct-info-card h3 {
  font-size: 0.85em;
  font-weight: 700;
  color: #999;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sgct-info-card p {
  font-size: 1.05em;
  color: #222;
  line-height: 1.6;
}
.sgct-info-card a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
}
.sgct-info-card a:hover {
  color: var(--mainColor);
}

/* ── 메인: 지도 + 폼 ── */
.sgct-main-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 80px;
  align-items: start;
}

/* 지도 */
.sgct-map-head {
  margin-bottom: 20px;
}
.sgct-map-head h2 {
  font-size: 1.5em;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
}
.sgct-map-head p {
  color: #888;
  font-size: 0.92em;
}
.sgct-map-frame {
  border-radius: 16px;
  overflow: hidden;
  height: 340px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.sgct-map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.sgct-transport {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sgct-transport-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #f8f9fb;
  border-radius: 10px;
  border: 1px solid #eee;
}
.sgct-transport-icon {
  font-size: 1.4em;
  flex-shrink: 0;
}
.sgct-transport-item strong {
  display: block;
  font-size: 0.85em;
  font-weight: 700;
  color: var(--mainColor);
  margin-bottom: 2px;
}
.sgct-transport-item span {
  font-size: 0.88em;
  color: #555;
}

/* 문의 폼 */
.sgct-form-head {
  margin-bottom: 28px;
}
.sgct-form-head h2 {
  font-size: 1.5em;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
}
.sgct-form-head p {
  color: #888;
  font-size: 0.92em;
}
.sgct-form-row {
  margin-bottom: 16px;
}
.sgct-form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sgct-field label {
  display: block;
  font-size: 0.85em;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}
.sgct-field label em {
  color: var(--mainColor);
  margin-left: 2px;
}
.sgct-field input,
.sgct-field select,
.sgct-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 0.93em;
  color: #222;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}
.sgct-field input:focus,
.sgct-field select:focus,
.sgct-field textarea:focus {
  border-color: var(--mainColor);
  box-shadow: 0 0 0 3px rgba(0,78,162,0.08);
}
.sgct-field textarea {
  resize: vertical;
  min-height: 120px;
}
.sgct-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88em;
  color: #555;
  cursor: pointer;
  line-height: 1.5;
}
.sgct-agree-label input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--mainColor);
}
.sgct-agree-label a {
  color: var(--mainColor);
}
.sgct-msg-ok {
  background: #f0fff4;
  border: 1px solid #9de;
  color: #1a7a4a;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9em;
  margin-bottom: 14px;
}
.sgct-msg-err {
  background: #fff0f0;
  border: 1px solid #fcc;
  color: #c33;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9em;
  margin-bottom: 14px;
}
.sgct-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--mainColor);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
  font-family: inherit;
}
.sgct-submit:hover {
  background: var(--subColor1);
  transform: translateY(-2px);
}
.sgct-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── 영업시간 배너 ── */
.sgct-hours-section {
  background: var(--subColor1);
  padding: 52px 0;
  margin-top: 0;
}
.sgct-hours-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.sgct-hours-item {
  text-align: center;
  padding: 0 52px;
}
.sgct-hours-label {
  display: block;
  font-size: 0.78em;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sgct-hours-item strong {
  display: block;
  font-size: 1.25em;
  font-weight: 800;
  color: #fff;
  font-family: var(--engType);
}
.sgct-hours-item strong a {
  color: var(--accentColor);
  text-decoration: none;
  font-family: inherit;
}
.sgct-hours-item strong a:hover {
  text-decoration: underline;
}
.sgct-hours-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ── 반응형 ── */
@media(max-width:1024px) {
  .sgct-main-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
@media(max-width:768px) {
  .sgct-hero-title { font-size: 2.2em; }
  .sgct-info-grid { grid-template-columns: 1fr; gap: 14px; }
  .sgct-info-section { margin-top: 32px; }
  .sgct-form-row--half { grid-template-columns: 1fr; }
  .sgct-hours-grid { gap: 24px; }
  .sgct-hours-item { padding: 0 24px; }
  .sgct-hours-divider { display: none; }
  .sgct-main-section { padding-top: 48px; padding-bottom: 60px; }
}
@media(max-width:480px) {
  .sgct-hero { padding: 70px 0 60px; }
  .sgct-hero-title { font-size: 1.8em; }
  .sgct-info-card { padding: 24px 20px; }
}
