
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font-primary: 'Spoqa Han Sans Neo', 'Noto Sans KR', sans-serif;
  --font-size-base: 17px;
  --line-height-base: 1.7;
  --color-primary: #4a4a4a;
  --color-secondary: #e8e8e8;
  --color-accent: #ffffff;
  --color-text: #2d2d2d;
  --max-width: 1200px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 72px;
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --title-size: 36px;
  --content-padding: 60px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background: var(--color-accent);
  min-height: 100vh;
}

/* Container */
.kcontainer_3209 {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Header (same as main) */
.mheader_2157 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 19px 0;
}

.mheader_2157 .kcontainer_3209 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mlogo_2377 a {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.wnav_8522 > ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
}

.mmenuItem_5189 a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
}

.mmenuItem_5189 a:hover {
  color: var(--color-primary);
  background: var(--color-accent);
}

/* Dropdown Menu Styles */
.mmenuItem_5189.has-dropdown {
  position: relative;
}

.parent-menu .arrow {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.3s;
}

.mmenuItem_5189.has-dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none !important;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 200px;
  z-index: 1000;
  border-radius: var(--border-radius);
  overflow: hidden;
}

/* Desktop: Show on hover */
@media (min-width: 769px) {
  .mmenuItem_5189.has-dropdown:hover .dropdown-menu {
    display: block !important;
  }
}

.dropdown-menu.active {
  display: block !important;
  animation: fadeInDown 0.3s;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
  border-radius: 0;
}

.dropdown-menu li a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.xmobileToggle_8361 {
  display: none !important;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  align-items: center;
}

/* Desktop: Always hide mobile toggle */
@media (min-width: 769px) {
  .xmobileToggle_8361 {
    display: none !important;
  }
}

.xmobileToggle_8361 span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-primary);
}

/* Section - Random padding and title size for sub-pages */
.wsection_6758 {
  padding: 48px 0;
  min-height: calc(100vh - 200px);
}

.wsectionTitle_7268 {
  font-size: 43px;
  font-family: 'Malgun Gothic', var(--font-primary);
  font-weight: 700;
  color: #999999;
  background-color: #f8f8f8;
  letter-spacing: 4px;
  padding: var(--spacing-sm) var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  text-align: center;
  display: inline-block;
  width: auto;
}

.ksectionContent_8534 {
  max-width: 800px;
  margin: 0 auto;
}

.ksectionImage_9670 {
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.ksectionImage_9670 img {
  width: 100%;
  height: auto;
  display: block;
}

/* Form Styles */
.pformWrapper_951 {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
}

.kform_72 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kinputGroup_8436 {
  position: relative;
}

.kinputGroup_8436 label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 15px;
  letter-spacing: -0.2px;
}

.winput_3379,
.wselect_283,
.xtextarea_4123 {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 16px;
  transition: all 0.3s ease;
  background: #fafafa;
  color: #333;
}

.winput_3379:hover,
.wselect_283:hover,
.xtextarea_4123:hover {
  border-color: #d0d0d0;
  background: white;
}

.winput_3379:focus,
.wselect_283:focus,
.xtextarea_4123:focus {
  outline: none;
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.08);
}

.winput_3379::placeholder,
.xtextarea_4123::placeholder {
  color: #999;
  font-size: 15px;
}

.xtextarea_4123 {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.wselect_283 {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 45px;
}

.msubmitBtn_3662 {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  letter-spacing: 0.5px;
  margin-top: 12px;
}

.msubmitBtn_3662:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.msubmitBtn_3662:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Footer (same as main) */
.wfooter_2469 {
  background: var(--color-primary);
  color: white;
  padding: var(--spacing-lg) 0 var(--spacing-md);
  margin-top: auto;
}

.wfooter_2469 h3,
.wfooter_2469 h4 {
  margin-bottom: var(--spacing-sm);
}

.krow_7582 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.wfooterLinks_7901 {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.wfooterLinks_7901 a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.wfooterLinks_7901 a:hover {
  color: var(--color-secondary);
}

.pfooterCopyright_9252 {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 14px;
  opacity: 0.8;
}

/* Layout A - Classic Vertical */
.subpage-layout-a .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
}

.subpage-layout-a .subpage-hero {
  animation: fadeInUp 0.6s ease-out;
}

/* Layout B - Split Layout */
.subpage-layout-b .split-layout {
  animation: fadeIn 0.8s ease-out;
}

.subpage-layout-b .alt-section {
  animation: fadeInUp 0.6s ease-out;
}

/* Layout C - Card Centered */
.subpage-layout-c .premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15) !important;
}

.subpage-layout-c .hero-card {
  animation: fadeIn 0.8s ease-out;
}

.subpage-layout-c .card-grid {
  animation: fadeInUp 0.8s ease-out 0.2s;
  animation-fill-mode: both;
}

/* Additional Visual Enhancements */
.content-section h2,
.split-content h2,
.content-card h2 {
  position: relative;
  padding-bottom: 16px;
}

.content-section h2::after,
.split-content h2::after,
.content-card h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.key-points li {
  transition: all 0.3s ease;
}

.key-points li:hover {
  padding-left: 8px;
  color: var(--color-primary) !important;
}

/* Card Hover Effects */
.feature-card,
.premium-card {
  cursor: default;
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.feature-card:hover::before,
.premium-card:hover::before {
  left: 100%;
}

/* Responsive Adjustments for Subpages */
@media (max-width: 768px) {
  .subpage-layout-b .split-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .subpage-hero h1 {
    font-size: 32px !important;
  }

  .subpage-hero .subtitle {
    font-size: 16px !important;
  }

  .feature-grid,
  .card-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-card {
    padding: 80px 32px !important;
  }

  .hero-card h1 {
    font-size: 36px !important;
  }

  .hero-card p {
    font-size: 18px !important;
  }

  .alt-section {
    padding: 32px 24px !important;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .mheader_2157 .kcontainer_3209 {
    position: relative;
  }

  .wnav_8522 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 999;
  }

  .wnav_8522.active {
    display: block !important;
    animation: slideDown 0.3s ease-out;
  }

  .wnav_8522 > ul {
    flex-direction: column;
    gap: 0;
    padding: var(--spacing-sm) 0;
  }

  .wnav_8522 .mmenuItem_5189 {
    border-bottom: 1px solid #f0f0f0;
  }

  .wnav_8522 .mmenuItem_5189:last-child {
    border-bottom: none;
  }

  .wnav_8522 .mmenuItem_5189 a {
    display: block;
    padding: 16px 24px;
    width: 100%;
  }

  .xmobileToggle_8361 {
    display: flex !important;
    position: absolute !important;
    top: 20px;
    right: 20px;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }

  /* Layout C: Hide phone contact on mobile (shown in header is enough) */
  .phone-contact-center {
    display: none !important;
  }

  .wsectionTitle_7268 {
    font-size: 28px;
  }

  .pformWrapper_951 {
    padding: var(--spacing-md);
  }

  .winput_3379,
  .wselect_283,
  .xtextarea_4123 {
    font-size: 16px;
    padding: 12px 16px;
  }

  .msubmitBtn_3662 {
    padding: 16px 32px;
    font-size: 17px;
    width: 100%;
  }

  .kinputGroup_8436 label {
    font-size: 14px;
  }
}
