/* ==========================================================================
   Landing Corporate - style.css
   Converted from React/Tailwind (Figma Make) to vanilla CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --primary: #01a081;
  --primary-dark: #018c71;
  --primary-light: #d1f5ee;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-tertiary: #9ca3af;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-dark: #0e0e0e;
  --border: #ededed;
  --max-width: 1280px;
  --section-py: 80px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* Inner container — 1280px centered */
.inner {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Fade-up Animation
   -------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   4. Section Common
   -------------------------------------------------------------------------- */
.section-label {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #000;
  line-height: 1.3;
  margin-bottom: 24px;
  font-weight: 700;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 672px;
  margin: 0 auto;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.site-header.mobile-open {
  background: rgba(255, 255, 255, 0.97);
}

.header-px {
  padding-left: 24px;
  padding-right: 24px;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s ease;
  position: relative;
}

.site-header.scrolled .header-inner {
  height: 55px;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-badge {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 20px;
  color: #fff;
  transition: color 0.3s ease;
}

.site-header.scrolled .logo-text,
.site-header.mobile-open .logo-text {
  color: var(--primary);
}

/* Desktop GNB — 중앙 정렬 */
.header-nav {
  display: none;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-size: 15px;
  color: #fff;
  transition: color 0.3s ease;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.nav-link:hover {
  color: var(--primary);
}

.site-header.scrolled .nav-link {
  color: #000;
}

/* CTA Button */
.header-cta {
  display: none;
}

.btn-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  display: inline-block;
}

.btn-cta:hover {
  background: #fff;
  color: var(--primary);
}

.site-header.scrolled .btn-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.site-header.scrolled .hamburger-line,
.site-header.mobile-open .hamburger-line {
  background: #111827;
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 400px;
}

.mobile-menu-inner {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: block;
  width: 100%;
  text-align: left;
  color: #374151;
  padding: 10px 0;
  font-size: 15px;
  transition: color 0.3s ease;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.btn-mobile-cta {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 8px;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-mobile-cta:hover {
  background: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.section-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 24px;
  padding-right: 24px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-title {
  color: #fff;
  margin-bottom: 16px;
  max-width: 768px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
}

.hero-title-accent {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 18px;
  color: #e5e7eb;
  margin-bottom: 32px;
  max-width: 672px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-hero {
  background: var(--primary);
  color: #fff;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-hero:hover {
  background: var(--primary-dark);
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #fff;
  animation: bounce 1.5s infinite;
  background: none;
  border: none;
  cursor: pointer;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

/* --------------------------------------------------------------------------
   7. Company Intro
   -------------------------------------------------------------------------- */
.section-intro {
  padding: var(--section-py) 24px;
  background: var(--bg-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.intro-label {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 16px;
}

.intro-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #000;
  line-height: 1.35;
  margin-bottom: 24px;
  font-weight: 700;
}

.intro-title-accent {
  color: var(--primary);
}

.intro-desc {
  color: #000;
  line-height: 1.8;
  font-size: 16px;
  margin: 0;
}

.intro-image-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.intro-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   8. Services Slider
   -------------------------------------------------------------------------- */
.section-services {
  padding: var(--section-py) 24px;
  background: var(--bg-light);
  overflow: clip;
}

@media (max-width: 767px) {
  .section-services {
    overflow-x: clip;
    overflow-y: visible;
  }
}

.services-swiper-wrap {
  position: relative;
  padding: 0;
}

@media (min-width: 768px) {
  .services-swiper-wrap {
    padding: 0 56px;
  }
}

.services-swiper {
  overflow: visible;
}

@media (min-width: 768px) {
  .services-swiper {
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .services-swiper .swiper-slide {
    max-width: 280px;
  }
  .footer-tel {
    font-size: 24px;
  }
  .logo-img {
    height: 36px;
  }
  .header-inner {
    height: 65px;
  }
}

.service-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-card-image {
  position: relative;
  height: 224px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.service-card-body {
  padding: 24px;
}

.service-card-title {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Swiper Navigation Buttons */
.swiper-btn-prev,
.swiper-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-white);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.swiper-btn-prev {
  left: 0;
}

.swiper-btn-next {
  right: 0;
}

.swiper-btn-prev:hover,
.swiper-btn-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.swiper-btn-prev:hover svg,
.swiper-btn-next:hover svg {
  stroke: #fff;
}

.swiper-btn-prev svg,
.swiper-btn-next svg {
  stroke: #374151;
  fill: none;
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   9. Stripe Banner
   -------------------------------------------------------------------------- */
.section-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  inset: 0;
}

.banner-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.banner-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
}

.banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.banner-title {
  color: #fff;
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.banner-desc {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  font-size: 14px;
}

.banner-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.btn-banner-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--primary);
  padding: 0 32px;
  height: 44px;
  border-radius: 300px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-banner-primary:hover {
  background: #f3f4f6;
}

.btn-banner-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  color: #fff;
  padding: 0 32px;
  height: 44px;
  border-radius: 300px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-banner-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   10. Key Features
   -------------------------------------------------------------------------- */
.section-features {
  padding: var(--section-py) 24px;
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.feature-card {
  position: relative;
  background: var(--bg-light);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: var(--primary);
}

.feature-badge {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-badge {
  background: #fff;
  color: var(--primary);
}

.feature-icon {
  margin-bottom: 24px;
  margin-top: 16px;
}

.feature-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.3s ease;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card:hover .feature-icon svg {
  stroke: #fff;
}

.feature-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-title {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
  color: #fff;
}

.feature-desc {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-desc {
  color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   11. Portfolio Grid
   -------------------------------------------------------------------------- */
.section-portfolio {
  padding: var(--section-py) 24px;
  background: var(--bg-light);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.portfolio-card {
  position: relative;
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.portfolio-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.portfolio-card-image {
  position: relative;
  height: 256px;
  overflow: hidden;
}

.portfolio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-card-image img {
  transform: scale(1.1);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

.portfolio-card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-card-icon {
  opacity: 1;
}

.portfolio-icon-circle {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-icon-circle svg {
  stroke: #fff;
  fill: none;
  width: 28px;
  height: 28px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-card-body {
  padding: 24px;
}

.portfolio-card-category {
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.portfolio-card-title {
  font-size: 20px;
  margin-top: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.portfolio-card:hover .portfolio-card-title {
  color: var(--primary);
}

.portfolio-card-client {
  color: var(--text-secondary);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   12. FAQ Section
   -------------------------------------------------------------------------- */
.section-faq {
  padding: var(--section-py) 24px;
  background: var(--bg-white);
}

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

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  gap: 16px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question.open {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-question.open .faq-icon {
  transform: rotate(180deg);
}

.faq-icon svg {
  stroke: currentColor;
  fill: none;
  width: 16px;
  height: 16px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}

.faq-answer.open {
  max-height: 400px;
  padding-bottom: 24px;
}

.faq-answer-inner {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   13. Contact Form
   -------------------------------------------------------------------------- */
.section-contact {
  padding: var(--section-py) 24px;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-side-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

.contact-side-desc {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
  font-size: 15px;
}

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

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  stroke: #fff;
  fill: none;
  width: 20px;
  height: 20px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail-label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 17px;
  color: var(--text-primary);
}

.contact-hours {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.contact-hours h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--bg-white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(1, 160, 129, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}

.form-textarea {
  height: 150px;
  border-radius: 10px;
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 16px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--primary-dark);
}

.btn-submit svg {
  stroke: #fff;
  fill: none;
  width: 18px;
  height: 18px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Form Message */
.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.form-message.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-message.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark);
  color: #d1d5db;
  padding-left: 24px;
  padding-right: 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #1f2937;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-link {
  color: #fff;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.btn-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  transition: color 0.3s ease, border-color 0.3s ease;
  background: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.btn-top:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-top svg {
  stroke: currentColor;
  fill: none;
  width: 20px;
  height: 20px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-company-name {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-company-sub {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 24px;
}

.footer-company-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-company-info p {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact-side {
  /* default: left on mobile */
}

.footer-contact-label {
  font-size: 14px;
  color: #fff;
  margin-bottom: 8px;
}

.footer-tel {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.footer-hours p {
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #1f2937;
}

.footer-copyright {
  font-size: 14px;
  color: #9ca3af;
}

/* --------------------------------------------------------------------------
   15. Responsive — Tablet (768px+)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  /* — 공통 패딩 48px — */
  .header-px,
  .hero-content,
  .section-intro,
  .section-services,
  .section-features,
  .section-portfolio,
  .section-faq,
  .section-contact,
  .banner-content,
  .site-footer { padding-left: 48px; padding-right: 48px; }

  /* 헤더 */
  .header-cta { display: block; }
  .header-nav { display: flex; }
  .hamburger { display: none; }

  /* 히어로 */
  .hero-title { font-size: 58px; margin-bottom: 24px; }
  .hero-subtitle { font-size: 20px; }

  /* 배너 */
  .section-banner { height: 500px; }
  .banner-title { font-size: 38px; margin-bottom: 24px; }
  .banner-desc { font-size: 16px; margin-bottom: 32px; }
  .banner-buttons { flex-direction: row; }

  /* 슬라이더 */
  .swiper-btn-prev,
  .swiper-btn-next { display: flex; }

  /* 그리드 */
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   16. Responsive — Desktop (1024px+)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  /* — 공통 패딩 96px — */
  .header-px,
  .hero-content,
  .section-intro,
  .section-services,
  .section-features,
  .section-portfolio,
  .section-faq,
  .section-contact,
  .banner-content,
  .site-footer { padding-left: 96px; padding-right: 96px; }

  /* 그리드 */
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .footer-contact-side { text-align: right; }
}

/* --------------------------------------------------------------------------
   17. Swiper Custom Overrides
   -------------------------------------------------------------------------- */
.swiper-slide {
  height: auto;
}

/* --------------------------------------------------------------------------
   18. Lightbox (포트폴리오)
   -------------------------------------------------------------------------- */
.portfolio-card[data-lightbox] {
  cursor: pointer;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  animation: popupFadeIn 0.3s ease;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay.closing {
  animation: popupFadeOut 0.3s ease forwards;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 2;
}

.lightbox-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 2;
}

.lightbox-nav:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-content {
  max-width: 900px;
  width: 92%;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 16px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: var(--bg-light);
}

.lightbox-caption {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.lightbox-caption h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.lightbox-caption p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .lightbox-nav { display: none; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* --------------------------------------------------------------------------
   19. Popup Layer
   -------------------------------------------------------------------------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  animation: popupFadeIn 0.3s ease;
}

.popup-overlay.active {
  display: flex;
}

.popup-overlay.popup-closing {
  animation: popupFadeOut 0.3s ease forwards;
}

@keyframes popupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popupFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.popup-content {
  position: relative;
  background: var(--bg-white);
  border-radius: 16px;
  max-width: 480px;
  width: 90%;
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.popup-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px 16px 0 0;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: background 0.2s;
}

.popup-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.popup-text {
  padding: 32px 24px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.popup-text a {
  color: var(--primary);
}

.popup-hide-today {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.popup-hide-today input {
  accent-color: var(--primary);
}

/* --------------------------------------------------------------------------
   19. Legal Modal
   -------------------------------------------------------------------------- */
.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: legalFadeIn 0.3s ease;
}

.legal-modal-overlay.active {
  display: flex;
}

.legal-modal-overlay.closing {
  animation: legalFadeOut 0.3s ease forwards;
}

@keyframes legalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes legalFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.legal-modal {
  background: var(--bg-white);
  border-radius: 16px;
  max-width: 640px;
  width: 92%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.legal-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.legal-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.legal-modal-close:hover {
  background: var(--bg-light);
  color: var(--text-primary);
}

.legal-modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.9;
}
