/* ==========================================================================
   Elementor 기본 위젯 페이지 보정 스타일 (테마 1.5.0)

   테마가 'Elementor로 편집 준비'로 페이지를 만들 때는 디자인 마크업 대신
   Elementor 기본 위젯(section 배경 이미지 · heading · text-editor · image · button)을
   씁니다. 이 파일은 그 위젯 출력을 테마 톤(밝은 아이보리 + 로열블루·골드)에
   맞춰 줍니다. 위젯마다 테마 클래스(section, paper-2, hero-copy, hl-card …)가
   css_classes 로 붙어 있어 그 이름을 기준으로 스타일을 잡습니다.
   ========================================================================== */

/* ---------------- 공통 ---------------- */
.qic-el,
.qic-el * { box-sizing: border-box; }

.qic-el .elementor-container { position: relative; }
.qic-el .elementor-widget,
.qic-el .elementor-widget-container { min-width: 0; }
.qic-el .elementor-widget:not(:last-child) { margin-bottom: 0; }
.qic-el .elementor-widget-wrap { align-content: flex-start; }
.qic-el .elementor-column { min-width: 0; }
.qic-el .qic-tx > *:first-child { margin-top: 0; }
.qic-el .qic-tx > *:last-child { margin-bottom: 0; }
.qic-el .elementor-widget-image a { display: block; }
.qic-el .elementor-widget-image img { max-width: 100%; height: auto; }

/* Elementor 가 넣는 기본 글자색·글꼴을 테마 값으로 되돌립니다. */
.qic-el .elementor-heading-title {
  font-family: var(--serif);
  color: inherit;
  margin: 0;
  padding: 0;
}
.qic-el .qic-tx {
  font-family: var(--sans);
  color: inherit;
  line-height: inherit;
}
.qic-el .qic-tx > *:first-child { margin-top: 0; }
.qic-el .qic-tx > *:last-child { margin-bottom: 0; }
.qic-el .qic-tx p { margin: 0 0 1em; color: inherit; font-size: inherit; line-height: inherit; letter-spacing: inherit; }
.qic-el .qic-tx p:last-child { margin-bottom: 0; }
.qic-el .qic-tx a { color: var(--royal); text-decoration: none; }
.qic-el .qic-tx a:hover { text-decoration: underline; }
.qic-el .qic-tx li { list-style: none; }

/* ---------------- 버튼 ---------------- */
.qic-el .qic-btn .elementor-button,
.qic-el .elementor-widget-button .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  height: auto;
  padding: 0 30px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--royal);
  color: #fff;
  box-shadow: none;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.qic-el .qic-btn .elementor-button:hover { transform: translateY(-1px); }

.qic-el .qic-btn-primary .elementor-button {
  background: linear-gradient(118deg, #2a51ad 0%, var(--royal) 58%, #16336f 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 32px -20px rgba(28, 57, 133, 0.85);
}
.qic-el .qic-btn-primary .elementor-button:hover {
  background: linear-gradient(118deg, #3560c2 0%, #24479a 60%, #16336f 100%);
  box-shadow: 0 20px 40px -20px rgba(28, 57, 133, 0.9);
}
.qic-el .qic-btn-outline .elementor-button {
  background: #fff;
  border-color: rgba(28, 57, 133, 0.24);
  color: var(--royal);
  box-shadow: none;
}
.qic-el .qic-btn-outline .elementor-button:hover {
  background: var(--royal-soft);
  border-color: var(--royal);
  color: var(--royal);
}
.qic-el .qic-btn-dark .elementor-button { background: var(--ink); border-color: var(--ink); color: #fff; }
.qic-el .qic-btn-dark .elementor-button:hover { background: var(--royal); border-color: var(--royal); }
.qic-el .qic-btn-ghost .elementor-button { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.qic-el .qic-btn-naver .elementor-button { background: #03c75a; border-color: #03c75a; color: #fff; }
.qic-el .qic-btn-naver .elementor-button:hover { background: #02b150; border-color: #02b150; }
.qic-el .qic-btn-kakao .elementor-button { background: #fee500; border-color: #fee500; color: #191919; }
.qic-el .qic-btn-kakao .elementor-button:hover { background: #f2d900; border-color: #f2d900; }
.qic-el .qic-btn-tel .elementor-button { font-family: var(--serif); font-size: 17px; letter-spacing: 0.02em; }

/* ---------------- 히어로 ---------------- */
.qic-el.hero { color: var(--ink); }
.qic-el.hero .elementor-container { width: 100%; }
.qic-el.hero .elementor-column,
.qic-el.hero .elementor-widget-wrap { width: 100%; }
.qic-el.hero h1.elementor-heading-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 20px;
}
.qic-el.hero h1.elementor-heading-title em { font-style: normal; color: var(--royal); }

.qic-el .hero-eyebrow .elementor-heading-title {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.qic-el .hero-copy > .elementor-container { width: 100%; }
.qic-el .hero-copy .qic-tx p { color: #46566b; font-size: 16px; line-height: 1.85; }
.qic-el .hero-actions { width: 100%; }
.qic-el .hero-actions .elementor-button-wrapper { display: inline-block; }

.qic-el .hero-facts > .elementor-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}
.qic-el .hero-facts .elementor-column { width: 33.333% !important; }
.qic-el .hero-facts .elementor-column { padding: 0 26px; }
.qic-el .hero-facts .elementor-column:first-child { padding-left: 0; }
.qic-el .hero-facts .elementor-column + .elementor-column { border-left: 1px solid rgba(28, 57, 133, 0.12); }
.qic-el .hero-facts .elementor-widget-container { padding: 0; }
.qic-el .hero-facts .hero-fact-label .elementor-heading-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin: 0 0 4px;
}
.qic-el .hero-facts .hero-fact-value {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}
.qic-el .hero-facts .hero-fact-value small {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--muted);
  margin-left: 2px;
}

/* ---------------- 서브페이지 히어로 ---------------- */
.qic-el.page-hero { color: var(--ink); }
.qic-el.page-hero .elementor-container { width: 100%; }
.qic-el.page-hero h1.elementor-heading-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px;
}
.qic-el.page-hero .qic-tx p { max-width: 640px; color: #4b5a6d; font-size: 15.5px; line-height: 1.85; }
.qic-el.page-hero .en .elementor-heading-title {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 8px;
}
.qic-el.page-hero .breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 12px; letter-spacing: 0.06em; color: var(--muted-2); margin: 0 0 14px; }
.qic-el.page-hero .breadcrumb a { color: var(--royal); }
.qic-el.page-hero .breadcrumb span { color: rgba(28, 57, 133, 0.28); }
.qic-el.page-hero .sub-nav { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 34px; border-top: 1px solid rgba(28, 57, 133, 0.14); }
.qic-el.page-hero .sub-nav a { padding: 14px 22px 13px; font-size: 13.5px; color: #4a586b; border-bottom: 2px solid transparent; }
.qic-el.page-hero .sub-nav a:hover { color: var(--royal); }
.qic-el.page-hero .sub-nav a[aria-current="page"] { color: var(--royal); border-bottom-color: var(--gold-2); }

/* ---------------- 섹션 머리 ---------------- */
.qic-el .section-head { max-width: 780px; margin-bottom: 40px; }
.qic-el .section-head > .elementor-container,
.qic-el .quick-head > .elementor-container { width: 100%; display: block; }
.qic-el .section-head .eyebrow .elementor-heading-title,
.qic-el .quick-head .eyebrow .elementor-heading-title {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.qic-el .quick-head .eyebrow .elementor-heading-title { color: var(--coral); margin-bottom: 10px; }
.qic-el.ink .section-head .eyebrow .elementor-heading-title { color: var(--gold-2); }

.qic-el .section-head h2.elementor-heading-title,
.qic-el .quick-head h2.elementor-heading-title {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px;
}
.qic-el .quick-head h2.elementor-heading-title { font-size: clamp(24px, 2.8vw, 33px); line-height: 1.4; margin-bottom: 12px; }
.qic-el.ink .section-head h2.elementor-heading-title { color: #fff; }

.qic-el .section-head .qic-tx p { color: var(--muted); font-size: 15.5px; line-height: 1.9; }
.qic-el.ink .section-head .qic-tx p { color: rgba(255, 255, 255, 0.74); }
.qic-el .quick-head .qic-tx p { color: var(--muted); font-size: 14.5px; line-height: 1.85; max-width: 34ch; }
.qic-el .quick-call { margin-top: 16px; font-size: 10.5px; letter-spacing: 0.18em; color: var(--muted-2); }
.qic-el .quick-call a { font-family: var(--serif); font-size: 22px; letter-spacing: 0.02em; color: var(--royal); text-decoration: none; }

/* 머리 + 버튼 한 줄 */
.qic-el .head-row > .elementor-container { width: 100%; align-items: flex-end; }
.qic-el .head-row .section-head { margin-bottom: 0; max-width: 780px; }
.qic-el .head-row .head-actions .elementor-widget-button { display: flex; justify-content: flex-end; }
.qic-el .head-row .head-actions .elementor-button-wrapper { text-align: right; }

/* ---------------- 퀵 등록 ---------------- */
.qic-el .quick-grid > .elementor-container { width: 100%; align-items: center; }
.qic-el .quick-grid .quick-form-cell { display: flex; align-items: center; }
.qic-el .quick-form-cell .qic-form-w { width: 100%; }

/* ---------------- 하이라이트 카드 ---------------- */
.qic-el .hl-grid > .elementor-container { width: 100%; align-items: stretch; }
.qic-el .hl-grid .elementor-column { display: flex; }
.qic-el .hl-grid .hl-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  width: 100%;
}
.qic-el .hl-grid .hl-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.qic-el .hl-card .elementor-widget-image img { width: 100%; aspect-ratio: 9 / 6.2; object-fit: cover; }
.qic-el .hl-card .hl-media { margin-bottom: 0; }
.qic-el .hl-card .hl-chip {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  margin: 0;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--royal);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px -14px rgba(23, 33, 46, 0.7);
}
.qic-el .hl-card h3.elementor-heading-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}
.qic-el .hl-card .qic-tx p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.qic-el .hl-card { padding: 0 0 4px; }
.qic-el .hl-card .elementor-widget-heading,
.qic-el .hl-card .elementor-widget-text-editor { padding: 0 22px; }
.qic-el .hl-card .hl-chip { padding: 7px 15px; }
.qic-el .hl-card .elementor-widget-heading.hl-chip { padding: 7px 15px; }

/* ---------------- 그림 ---------------- */
.qic-el .figure-full { position: relative; }
.qic-el .figure-full img,
.qic-el .banner-figure img,
.qic-el .split-media img,
.qic-el .figure-cell img { width: 100%; height: auto; }
.qic-el .figure-full,
.qic-el .split-media,
.qic-el .figure-cell { background: var(--paper-3); overflow: hidden; border-radius: 18px; }
.qic-el .banner-figure {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-top: 34px;
}
.qic-el.ink .banner-figure { border-color: rgba(255, 255, 255, 0.28); }
.qic-el .fig-cap .qic-tx,
.qic-el .fig-cap { font-size: 12px; color: var(--muted-2); }
.qic-el .fig-cap { display: block; padding: 11px 2px 0; }
.qic-el .fig-cap .qic-tx { display: flex; justify-content: space-between; gap: 16px; line-height: 1.6; }
.qic-el.ink .fig-cap .qic-tx { color: rgba(255, 255, 255, 0.6); }
.qic-el .figure-cell { padding: 0; }

/* ---------------- 지표·스펙 ---------------- */
.qic-el .fact-grid > .elementor-container { width: 100%; align-items: stretch; gap: 1px; background: var(--line-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qic-el .fact-grid .elementor-column { background: var(--paper); padding: 26px 24px 24px; }
.qic-el.section.paper-2 .fact-grid .elementor-column { background: #fffdf8; }
.qic-el .fact-grid .fact-label .elementor-heading-title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin: 0 0 8px;
}
.qic-el .fact-grid .qic-tx { font-family: var(--serif); font-size: clamp(18px, 1.9vw, 23px); line-height: 1.45; letter-spacing: -0.015em; color: var(--ink); }
.qic-el .fact-grid .qic-tx small { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-top: 5px; letter-spacing: 0; }

.qic-el .spec > .elementor-container { width: 100%; align-items: flex-start; }
.qic-el .spec .elementor-column:first-child { border-right: 1px solid var(--line-soft); padding-right: 28px; }
.qic-el .spec .spec-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  line-height: 1.7;
}
.qic-el .spec .spec-item dt { color: var(--muted-2); font-size: 13.5px; }
.qic-el .spec .spec-item dd { color: var(--ink-2); margin: 0; }
.qic-el .spec .spec-item dd b { font-weight: 600; color: var(--ink); }

/* ---------------- 조건 카드 (로열 밴드) ---------------- */
.qic-el.ink .condition-grid > .elementor-container { width: 100%; align-items: stretch; gap: 1px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.14); }
.qic-el .condition-grid > .elementor-container { width: 100%; align-items: stretch; gap: 1px; }
.qic-el .condition-grid .elementor-column { padding: 30px 24px 28px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 16px; }
.qic-el .condition-grid .num .elementor-heading-title {
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-2);
  margin: 0 0 14px;
}
.qic-el .condition-grid h3.elementor-heading-title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: #fff; margin: 0 0 8px; line-height: 1.45; }
.qic-el .condition-grid .qic-tx p { font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.7); }
.qic-el .condition-note .qic-tx p { margin-top: 18px; font-size: 12px; color: rgba(255, 255, 255, 0.52); }

/* ---------------- 두 단(글 + 사진) ---------------- */
.qic-el .split > .elementor-container { width: 100%; align-items: center; }
.qic-el .split .split-body h3.elementor-heading-title {
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 14px;
}
.qic-el .split-body .qic-tx p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.qic-el .split-body .elementor-widget-button { margin-top: 20px; }
.qic-el .split .split-media { margin-bottom: 0; }
.qic-el .split .split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- 안내 상자 ---------------- */
.qic-el .notice-box { margin-top: 32px; padding: 24px 26px; background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: 12px; }
.qic-el .notice-box > .elementor-container { width: 100%; display: block; }
.qic-el .notice-box h3.elementor-heading-title {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 8px;
}
.qic-el .notice-box .qic-tx { font-size: 12.5px; line-height: 1.85; color: var(--muted); }
.qic-el .notice-box .qic-tx ul { margin: 0; padding: 0; }
.qic-el .notice-box .qic-tx li { position: relative; padding-left: 10px; margin-top: 5px; }
.qic-el .notice-box .qic-tx li::before { content: "·"; position: absolute; left: 0; }

/* ---------------- 표 ---------------- */
.qic-el .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.qic-el .qic-tx .data-table { min-width: 640px; font-size: 14px; }
.qic-el .qic-tx .table-note { margin-top: 12px; font-size: 12px; color: var(--muted-2); line-height: 1.7; }
.qic-el .qic-tx .timeline li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.qic-el .qic-tx .timeline .date { font-family: var(--serif); font-size: 16px; color: var(--ink); min-width: 108px; }
.qic-el .qic-tx .timeline .tag { font-size: 11.5px; color: var(--gold); border: 1px solid rgba(150, 116, 60, 0.35); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.qic-el .qic-tx .finish-list h4 { font-size: 14px; font-weight: 600; margin: 18px 0 8px; color: var(--ink); }
.qic-el .qic-tx .finish-list ul { display: flex; flex-wrap: wrap; gap: 6px; }
.qic-el .qic-tx .finish-list li { font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.qic-el .qic-tx .consult-line { margin-top: 16px; font-size: 12.5px; color: var(--muted-2); }

/* ---------------- FAQ ---------------- */
.qic-el .faq > .elementor-container { width: 100%; display: block; }
.qic-el .faq { border-top: 1px solid var(--line); }
.qic-el .faq .qic-tx { border-bottom: 1px solid rgba(28, 57, 133, 0.1); }
.qic-el .faq details { border: 0; }
.qic-el .faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 2px; position: relative; font-size: 15.5px; font-weight: 500; line-height: 1.7; color: var(--ink); }
.qic-el .faq summary::-webkit-details-marker { display: none; }
.qic-el .faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.qic-el .faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qic-el .faq .answer { padding: 0 44px 20px 2px; color: var(--muted); font-size: 14.5px; line-height: 1.9; }

/* ---------------- 커넥트 카드 ---------------- */
.qic-el .connect-grid > .elementor-container { width: 100%; align-items: stretch; }
.qic-el .connect { border-radius: 16px; overflow: hidden; min-height: 300px; display: flex; align-items: stretch; }
/* 컬럼 배경 이미지는 Elementor 가 안쪽 .elementor-widget-wrap 에 그립니다. */
.qic-el .connect > .elementor-widget-wrap {
  min-height: 300px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-content: flex-end;
}
.qic-el .connect .num .elementor-heading-title { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: 0.24em; color: var(--gold-2); margin: 0 0 6px; }
.qic-el .connect h3.elementor-heading-title { font-family: var(--serif); font-size: 23px; font-weight: 600; color: #fff; margin: 0 0 6px; }
.qic-el .connect h3.elementor-heading-title a { color: #fff; }
.qic-el .connect .qic-tx p { font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, 0.78); }

/* ---------------- 어메니티 ---------------- */
.qic-el .amenity-head-block > .elementor-container { width: 100%; display: block; }
.qic-el .amenity-head-block { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 44px; }
.qic-el .amenity-head-block:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.qic-el .amenity-head-block h3.elementor-heading-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.qic-el .amenity-head-block .floor .elementor-heading-title { font-size: 11px; letter-spacing: 0.2em; color: var(--gold); margin: 0 0 6px; }
.qic-el .amenity-head-block .qic-tx p { font-size: 13.5px; color: var(--muted-2); }
.qic-el .amenity-grid > .elementor-container { width: 100%; align-items: flex-start; }
.qic-el .amenity-grid .elementor-column { padding: 0; }
.qic-el .amenity-grid .elementor-widget-image { border-radius: 16px; overflow: hidden; }
.qic-el .amenity-grid h4.elementor-heading-title { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink); margin: 12px 0 3px; }
.qic-el .amenity-grid .qic-tx p { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ---------------- 관심고객 등록 ---------------- */
.qic-el .register-grid > .elementor-container { width: 100%; align-items: flex-start; }
.qic-el .form-card { background: #fff; border: 1px solid var(--card-border); border-radius: 20px; box-shadow: var(--shadow-card); padding: 32px 30px 30px; }
.qic-el .form-card > .elementor-container { width: 100%; display: block; }
.qic-el .contact-card { border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; margin-bottom: 16px; background: #fff; }
.qic-el .contact-card > .elementor-container { width: 100%; display: block; }
.qic-el .contact-card .label .elementor-heading-title { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.qic-el .contact-card .big .elementor-heading-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 32px); letter-spacing: 0.02em; color: var(--ink); margin: 0 0 6px; }
.qic-el .contact-card .big .elementor-heading-title a { color: var(--ink); }
.qic-el .contact-card .qic-tx p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.qic-el .contact-card .contact-list { border-top: 1px solid var(--line-soft); margin-top: 16px; padding-top: 12px; }
.qic-el .contact-card .contact-list dl { margin: 0; }
.qic-el .contact-card .contact-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 13.5px; }
.qic-el .contact-card .contact-list dt { color: var(--muted-2); }
.qic-el .contact-card .contact-list dd { color: var(--ink-2); text-align: right; margin: 0; }
.qic-el .map-actions > .elementor-container { width: 100%; gap: 10px; }
.qic-el .map-actions .elementor-button { width: 100%; }

/* 관심고객 폼 (쇼트코드) */
.qic-el .qic-form-w .form-card,
.qic-el .qic-form-w .quick-form { border: 0; box-shadow: none; padding: 0; background: transparent; }
.qic-el .qic-form-w .quick-form { border: 1px solid var(--card-border); border-top: 3px solid var(--gold); border-radius: 20px; box-shadow: var(--shadow-card); padding: 24px 24px 18px; background: #fff; }
.qic-el .qic-form-w .form-title,
.qic-el .qic-form-w h2 { font-family: var(--serif); }

/* 평면 탭 (쇼트코드) */
.qic-el .qic-plans-w .type-tabs { margin-bottom: 26px; }

/* ---------------- CTA 밴드 ---------------- */
.qic-el.cta-band h2.elementor-heading-title { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.qic-el.cta-band .qic-tx p { font-size: 14px; color: var(--muted); }
.qic-el.cta-band { border-top: 1px solid var(--line-soft); }
.qic-el .cta-grid > .elementor-container { width: 100%; align-items: center; }
.qic-el .actions .elementor-widget-button { display: inline-block; vertical-align: top; margin: 0 8px 8px 0; }
.qic-el .actions .elementor-widget-button .elementor-button-wrapper { display: inline-block; }

/* ---------------- 좁은 화면 ---------------- */
@media (max-width: 960px) {
  .qic-el .hero-facts > .elementor-container { flex-wrap: wrap; }
  .qic-el .hero-facts .elementor-column { width: 100% !important; }
  .qic-el .hero-facts .elementor-column { padding: 10px 0; border-left: 0; border-top: 1px solid rgba(28, 57, 133, 0.1); }
  .qic-el .hero-facts .elementor-column:first-child { border-top: 0; }
  .qic-el .head-row .head-actions .elementor-widget-button { justify-content: flex-start; }
  .qic-el .spec .elementor-column:first-child { border-right: 0; padding-right: 0; }
  .qic-el .connect { min-height: 240px; }
  .qic-el .split > .elementor-container { gap: 28px; }
}


/* ---------------- 그리드 간격 ---------------- */
.qic-el .hl-grid > .elementor-container { gap: 22px; }
.qic-el .figure-grid > .elementor-container { gap: 26px; }
.qic-el .amenity-grid > .elementor-container { gap: 24px; }
.qic-el .connect-grid > .elementor-container { gap: 16px; }
.qic-el .split > .elementor-container { gap: 56px; }
.qic-el .register-grid > .elementor-container { gap: 56px; }
.qic-el .quick-grid > .elementor-container { gap: 44px; }
.qic-el .head-row > .elementor-container { gap: 32px; }
.qic-el .map-actions > .elementor-container { gap: 10px; }
.qic-el .cta-grid > .elementor-container { gap: 40px; }
.qic-el .condition-grid > .elementor-container { gap: 1px; }
.qic-el .fact-grid > .elementor-container { gap: 1px; }

/* 위젯 사이 기본 여백 (Elementor 는 0 으로 두고 테마가 조절) */
.qic-el .elementor-widget-heading + .elementor-widget-heading { margin-top: 0; }
.qic-el .section-head .elementor-widget-text-editor { margin-top: 4px; }

/* 위젯 클래스가 붙는 자리(Elementor 위젯 래퍼) 보정 */
.qic-el .elementor-widget.hero-eyebrow { display: block; }
.qic-el .elementor-widget.hl-chip { position: absolute; }
.qic-el .qic-btn .elementor-button-wrapper { display: inline-block; }


/* ---------------- 그리드 클래스 충돌 정리 ----------------
   hl-grid·split·quick-grid 같은 테마 클래스는 display:grid 입니다.
   Elementor 안쪽 섹션에 그대로 붙으면 섹션 자체가 그리드가 되어
   컬럼 묶음이 한 칸에 갇히므로, 바깥은 블록으로 두고
   안쪽 .elementor-container 를 플렉스로 배치합니다. */
.qic-el .hl-grid,
.qic-el .fact-grid,
.qic-el .condition-grid,
.qic-el .connect-grid,
.qic-el .figure-grid,
.qic-el .amenity-grid,
.qic-el .spec,
.qic-el .split,
.qic-el .register-grid,
.qic-el .quick-grid,
.qic-el .head-row,
.qic-el .map-actions,
.qic-el .cta-grid,
.qic-el .actions { display: block; }

.qic-el .hl-grid > .elementor-container,
.qic-el .fact-grid > .elementor-container,
.qic-el .condition-grid > .elementor-container,
.qic-el .connect-grid > .elementor-container,
.qic-el .figure-grid > .elementor-container,
.qic-el .amenity-grid > .elementor-container,
.qic-el .spec > .elementor-container,
.qic-el .split > .elementor-container,
.qic-el .register-grid > .elementor-container,
.qic-el .quick-grid > .elementor-container,
.qic-el .head-row > .elementor-container,
.qic-el .map-actions > .elementor-container,
.qic-el .cta-grid > .elementor-container,
.qic-el .actions > .elementor-container { display: flex; flex-wrap: nowrap; align-items: flex-start; width: 100%; max-width: none; }

.qic-el .hl-grid > .elementor-container,
.qic-el .fact-grid > .elementor-container,
.qic-el .condition-grid > .elementor-container,
.qic-el .connect-grid > .elementor-container,
.qic-el .figure-grid > .elementor-container,
.qic-el .amenity-grid > .elementor-container { align-items: stretch; }

.qic-el .hl-grid .elementor-column { width: 33.333% !important; }
.qic-el .figure-grid .elementor-column,
.qic-el .amenity-grid .elementor-column { flex: 1 1 0; width: auto !important; }
.qic-el .fact-grid .elementor-column,
.qic-el .condition-grid .elementor-column { flex: 1 1 0; width: auto !important; }
.qic-el .connect-grid > .elementor-container { flex-wrap: wrap; }
.qic-el .connect-grid .elementor-column { flex: 0 0 calc(50% - 8px); width: calc(50% - 8px) !important; }
.qic-el .split .elementor-column:first-child { flex: 0 0 52%; }
.qic-el .split .elementor-column:last-child { flex: 0 0 48%; }
.qic-el .split.reverse .elementor-column:first-child { flex: 0 0 48%; }
.qic-el .split.reverse .elementor-column:last-child { flex: 0 0 52%; }
.qic-el .spec .elementor-column { flex: 1 1 0; width: auto !important; }
.qic-el .register-grid .elementor-column:first-child { flex: 0 0 52%; }
.qic-el .register-grid .elementor-column:last-child { flex: 0 0 48%; }
.qic-el .quick-grid .elementor-column:first-child { flex: 0 0 41%; }
.qic-el .quick-grid .elementor-column:last-child { flex: 1 1 auto; }
.qic-el .head-row .elementor-column:first-child { flex: 1 1 auto; }
.qic-el .head-row .elementor-column:last-child { flex: 0 0 auto; }
.qic-el .cta-grid .elementor-column:first-child { flex: 1 1 auto; }
.qic-el .cta-grid .elementor-column:last-child { flex: 0 0 auto; }
.qic-el .map-actions .elementor-column { flex: 1 1 0; }
.qic-el .actions .elementor-column { flex: 1 1 auto; }

/* ---------------- 좁은 화면: 테마와 같은 지점에서 한 단으로 ---------------- */
@media (max-width: 1080px) {
  .qic-el .split > .elementor-container,
  .qic-el .register-grid > .elementor-container,
  .qic-el .connect-grid > .elementor-container,
  .qic-el .spec > .elementor-container,
  .qic-el .fact-grid > .elementor-container,
  .qic-el .condition-grid > .elementor-container { flex-wrap: wrap; }
  .qic-el .split .elementor-column,
  .qic-el .register-grid .elementor-column,
  .qic-el .spec .elementor-column,
  .qic-el .connect-grid .elementor-column { flex: 0 0 100% !important; width: 100% !important; }
  .qic-el .connect-grid .elementor-column { min-height: 240px; }
  .qic-el .spec .elementor-column:first-child { border-right: 0; padding-right: 0; }
  .qic-el .fact-grid .elementor-column,
  .qic-el .condition-grid .elementor-column { flex: 0 0 calc(50% - 1px) !important; width: calc(50% - 1px) !important; }
  .qic-el .split .split-media-col { order: 2; }
}

@media (max-width: 960px) {
  .qic-el .quick-grid > .elementor-container,
  .qic-el .head-row > .elementor-container,
  .qic-el .figure-grid > .elementor-container,
  .qic-el .amenity-grid > .elementor-container,
  .qic-el .hl-grid > .elementor-container,
  .qic-el .cta-grid > .elementor-container { flex-wrap: wrap; }
  .qic-el .quick-grid .elementor-column,
  .qic-el .head-row .elementor-column,
  .qic-el .figure-grid .elementor-column,
  .qic-el .amenity-grid .elementor-column,
  .qic-el .hl-grid .elementor-column,
  .qic-el .cta-grid .elementor-column { flex: 0 0 100% !important; width: 100% !important; }
  .qic-el .hl-grid > .elementor-container { gap: 16px; }
  .qic-el .quick-grid > .elementor-container { gap: 26px; }
  .qic-el .head-row .head-actions .elementor-widget-button { justify-content: flex-start; }
  .qic-el.cta-band .cta-grid > .elementor-container { align-items: flex-start; }
}

@media (max-width: 560px) {
  .qic-el .fact-grid .elementor-column,
  .qic-el .condition-grid .elementor-column { flex: 0 0 100% !important; width: 100% !important; }
  .qic-el .spec .spec-item { grid-template-columns: 104px 1fr; }
}

/* 제목에 section-head 클래스가 직접 붙은 경우(관심고객 등록) */
.qic-el h2.elementor-heading-title.section-head {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: none;
}

/* 퀵 등록 폼: 좁은 화면에서 항목이 뭉개지지 않도록 */
@media (max-width: 960px) {
  .qic-el .quick-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .qic-el .quick-fields { grid-template-columns: 1fr; }
}
