/* ============================================================
   상담안내 페이지 — primelaw.co.kr
   ============================================================ */

body.page-id-18680 {
  background-color: #050E24 !important;
}
.elementor-18680 .e-con,
.elementor-18680 .e-con-inner,
.elementor-18680 .elementor-element,
.elementor-18680 .elementor-widget-wrap,
.elementor-18680 .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.elementor-18680 .elementor-widget-text-editor {
  padding: 0 !important;
}
.elementor-18680 .e-con {
  --padding-top: 0px !important;
  --padding-right: 0px !important;
  --padding-bottom: 0px !important;
  --padding-left: 0px !important;
  gap: 0 !important;
  overflow: hidden !important;
}
.elementor-18680 .elementor-widget-text-editor .elementor-widget-container p {
  margin: 0;
  padding: 0;
}
body.page-id-18680,
body.page-id-18680 .site-main,
body.page-id-18680 .entry-content,
.page-id-18680 .elementor,
.page-id-18680 .elementor-inner,
.page-id-18680 .elementor-section-wrap {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
.page-id-18680 .entry-content > *,
.page-id-18680 .site-main > *,
.elementor-18680 > .elementor-element {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.elementor-18680 {
  gap: 0 !important;
}
.elementor-18680 > .e-con {
  margin: 0 !important;
  gap: 0 !important;
}

.cs-hero,
.cs-types,
.cs-process,
.cs-location,
.cs-final-cta {
  max-width: 100vw;
  overflow-x: hidden;
}

/* ============================================================
   HERO
   ============================================================ */
.cs-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #050E24;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
  padding: 100px 24px 80px;
}
.cs-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(170deg, rgba(5,14,36,0.92) 0%, rgba(10,26,58,0.88) 35%, rgba(5,14,36,0.93) 100%);
  z-index: 0;
}
.cs-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 70% 20%, rgba(212,168,80,0.07) 0%, transparent 100%),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(212,168,80,0.04) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.cs-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,168,80,0.3) 50%, transparent 100%);
}
.cs-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}
.cs-hero-badge {
  display: inline-block;
  background: rgba(212,168,80,0.1);
  color: #D4A850;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 2px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(212,168,80,0.2);
}
.cs-hero h1 {
  color: #fff;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 28px;
  letter-spacing: -0.04em;
}
.cs-hero h1 em {
  font-style: normal;
  color: #D4A850;
}
.cs-hero h1 em::after {
  display: none;
}
.cs-hero .cs-hero-sub {
  color: rgba(255,255,255,0.55);
  font-size: 18px;
  line-height: 1.75;
  margin: 0 !important;
  font-weight: 300;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.cs-title {
  text-align: center !important;
  margin-bottom: 56px;
}
.cs-title * { text-align: center !important; }
.cs-title h2 {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.cs-title .label {
  display: inline-block;
  color: #D4A850;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  padding: 0 20px;
}
.cs-title .label::before,
.cs-title .label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
}
.cs-title .label::before {
  right: 100%;
  background: linear-gradient(to left, #D4A850, transparent);
}
.cs-title .label::after {
  left: 100%;
  background: linear-gradient(to right, #D4A850, transparent);
}
.cs-title h2 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  padding: 0; border: none; background: none;
}
.cs-title h2.dark { color: #fff; }
.cs-title h2.light { color: #0a0a0a; }
.cs-title .desc {
  font-size: 16px;
  line-height: 1.7;
  max-width: 100%;
  margin: 0 auto;
  font-weight: 300;
  text-align: center !important;
  display: block;
}
.cs-title .desc.dark { color: rgba(255,255,255,0.45); }

/* ============================================================
   CONSULTATION TYPES — 4-card grid with icons
   ============================================================ */
.cs-types {
  padding: 100px 24px;
  background: #050E24;
  position: relative;
}
.cs-types::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,80,0.2), transparent);
}
.cs-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.cs-type-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212,168,80,0.15);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  padding: 40px 24px 36px;
  transition: all 0.35s;
  position: relative;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.cs-type-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #D4A850, #b8903a);
  opacity: 0;
  transition: opacity 0.3s;
}
.cs-type-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,168,80,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.09);
}
.cs-type-card:hover::before { opacity: 1; }
.cs-type-card .type-icon {
  width: 100px; height: 100px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212,168,80,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.cs-type-card .type-icon img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cs-type-card .type-label {
  color: #D4A850; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 12px;
}
.cs-type-card h3 {
  color: #fff; font-size: 20px; font-weight: 800;
  margin: 0 0 12px;
}
.cs-type-card p {
  color: rgba(255,255,255,0.5); font-size: 14px;
  line-height: 1.7; margin: 0 0 20px;
}
.cs-type-card .type-cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: #D4A850; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: gap 0.2s;
}
.cs-type-card .type-cta:hover { gap: 10px; }

/* ============================================================
   PROCESS — horizontal timeline
   ============================================================ */
.cs-process {
  padding: 100px 24px;
  background: #F7F7F4;
  position: relative;
}
.cs-process::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}
.cs-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.cs-step-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, #D4A850, rgba(212,168,80,0.3));
  z-index: 0;
}
.cs-step-card {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}
.cs-step-card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #D4A850, #c49a42);
  color: #050E24;
  font-size: 18px;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(212,168,80,0.3), 0 0 0 8px rgba(212,168,80,0.08);
}
.cs-step-card .step-label {
  color: #D4A850; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 10px;
}
.cs-step-card h3 {
  font-size: 18px; font-weight: 800; color: #0a0a0a;
  margin: 0 0 10px;
}
.cs-step-card p {
  font-size: 14px; color: #666; line-height: 1.7; margin: 0;
}

/* ============================================================
   LOCATION — reused from firm page
   ============================================================ */
.cs-location {
  padding: 100px 24px;
  background: #fff;
  position: relative;
}
.cs-location::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}
.cs-loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}
.cs-loc-card {
  background: #F7F7F4;
  border-radius: 4px;
  padding: 40px 36px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.cs-loc-card h3 {
  font-size: 20px; font-weight: 800; color: #0a0a0a;
  margin: 0 0 6px; text-align: left !important;
}
.cs-loc-card h3 span {
  font-size: 12px; font-weight: 600; color: #D4A850;
  margin-left: 8px; letter-spacing: 1px;
}
.cs-loc-card .loc-info {
  list-style: none; padding: 0; margin: 20px 0 0;
}
.cs-loc-card .loc-info li {
  color: #555; font-size: 14px; line-height: 1.7;
  padding: 6px 0 6px 24px; position: relative;
  text-align: left !important;
}
.cs-loc-card .loc-info li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 5px; height: 1px; background: #D4A850;
}
.cs-loc-card .loc-info li strong {
  color: #0a0a0a; font-weight: 600; display: inline-block;
  min-width: 50px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cs-final-cta {
  padding: 100px 24px;
  background: linear-gradient(170deg, #050E24 0%, #0a1a3a 35%, #0d0820 70%, #050E24 100%);
  text-align: center;
  position: relative;
}
.cs-final-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,80,0.2), transparent);
}
.cs-final-cta .cta-label {
  display: inline-block;
  color: #D4A850;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cs-final-cta h2 {
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 14px;
  padding: 0; border: none; background: none;
}
.cs-final-cta h2 em { font-style: normal; color: #D4A850; }
.cs-final-cta .sub {
  color: rgba(255,255,255,0.45);
  font-size: 16px;
  margin: 0 0 40px;
  line-height: 1.7;
  font-weight: 300;
}
.cs-final-cta .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cs-final-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #D4A850, #c49a42);
  color: #050E24;
  padding: 18px 44px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(212,168,80,0.25);
}
.cs-final-cta .btn-primary:hover {
  background: linear-gradient(135deg, #e0b960, #D4A850);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,168,80,0.35);
}
.cs-final-cta .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #D4A850;
  padding: 18px 44px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border: 1px solid rgba(212,168,80,0.3);
  transition: all 0.3s;
}
.cs-final-cta .btn-secondary:hover {
  background: rgba(212,168,80,0.08);
  border-color: rgba(212,168,80,0.6);
}
.cs-final-cta .cta-note {
  color: rgba(255,255,255,0.25);
  font-size: 12px;
  margin-top: 24px;
  letter-spacing: 1px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .cs-hero { padding: 72px 20px 56px; }
  .cs-hero h1 { font-size: 30px; }
  .cs-hero .cs-hero-sub { font-size: 15px; }
  .cs-types { padding: 72px 20px; }
  .cs-type-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cs-type-card { padding: 28px 16px 28px; }
  .cs-type-card .type-icon { width: 80px; height: 80px; }
  .cs-type-card h3 { font-size: 17px; }
  .cs-process { padding: 72px 20px; }
  .cs-step-grid { grid-template-columns: 1fr; gap: 40px; }
  .cs-step-grid::before { display: none; }
  .cs-location { padding: 72px 20px; }
  .cs-loc-grid { grid-template-columns: 1fr; max-width: 440px; }
  .cs-title h2 { font-size: 26px; }
  .cs-title .label::before,
  .cs-title .label::after { display: none; }
  .cs-final-cta { padding: 72px 20px; }
  .cs-final-cta h2 { font-size: 24px; line-height: 1.4; }
  .cs-final-cta .sub { font-size: 14px; margin-bottom: 36px !important; }
  .cs-final-cta .cta-buttons { flex-direction: column; gap: 12px; }
  .cs-final-cta .btn-primary,
  .cs-final-cta .btn-secondary { width: 100%; justify-content: center; padding: 18px 20px; font-size: 16px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .cs-hero h1 { font-size: 40px; }
  .cs-type-grid { grid-template-columns: 1fr 1fr; }
  .cs-step-grid { grid-template-columns: repeat(3, 1fr); }
}
