
/* 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: 17.64px;
  --line-height-base: 1.7;
  --color-primary: #2c5530;
  --color-secondary: #f5e6d3;
  --color-accent: #fafafa;
  --color-text: #222;
  --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 */
.wcontainer_9932 {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Header (same as main) */
.mheader_6833 {
  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: 17px 0;
}

.mheader_6833 .wcontainer_9932 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.mmenuItem_4120 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_4120 a:hover {
  color: var(--color-primary);
  background: var(--color-accent);
}

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

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

.mmenuItem_4120.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_4120.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);
  }
}

.pmobileToggle_7568 {
  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) {
  .pmobileToggle_7568 {
    display: none !important;
  }
}

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

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

.psectionTitle_6363 {
  font-size: 37px;
  font-family: 'Nanum Gothic', var(--font-primary);
  font-weight: 700;
  color: #d0d0d0;
  background-color: #2c2e30;
  letter-spacing: 1px;
  padding: var(--spacing-sm) var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  text-align: center;
  display: inline-block;
  width: auto;
}

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

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

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

/* Form Styles */
.kformWrapper_1671 {
  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);
}

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

.winputGroup_3275 {
  position: relative;
}

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

.winput_3240,
.wselect_1229,
.xtextarea_3054 {
  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_3240:hover,
.wselect_1229:hover,
.xtextarea_3054:hover {
  border-color: #d0d0d0;
  background: white;
}

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

.winput_3240::placeholder,
.xtextarea_3054::placeholder {
  color: #999;
  font-size: 15px;
}

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

.wselect_1229 {
  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;
}

.ksubmitBtn_9479 {
  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;
}

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

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

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

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

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

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

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

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

.pfooterCopyright_5386 {
  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_6833 .wcontainer_9932 {
    position: relative;
  }

  .xnav_3533 {
    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;
  }

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

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

  .xnav_3533 .mmenuItem_4120 {
    border-bottom: 1px solid #f0f0f0;
  }

  .xnav_3533 .mmenuItem_4120:last-child {
    border-bottom: none;
  }

  .xnav_3533 .mmenuItem_4120 a {
    display: block;
    padding: 16px 24px;
    width: 100%;
  }

  .pmobileToggle_7568 {
    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;
  }

  .psectionTitle_6363 {
    font-size: 28px;
  }

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

  .winput_3240,
  .wselect_1229,
  .xtextarea_3054 {
    font-size: 16px;
    padding: 12px 16px;
  }

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

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