/* ========================================
   &Dolphin - Professional Landing Page
   ======================================== */

/* === Reset & Variables === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy-900: #0A0F1C;
  --navy-800: #0F172A;
  --navy-700: #1E293B;
  --navy-600: #334155;
  --navy-500: #475569;
  --navy-400: #64748B;
  --navy-300: #94A3B8;
  --navy-200: #CBD5E1;
  --navy-100: #E2E8F0;
  --navy-50: #F1F5F9;
  --white: #FFFFFF;
  --accent-600: #2563EB;
  --accent-500: #3B82F6;
  --accent-400: #60A5FA;
  --accent-100: #DBEAFE;
  --accent-50: #EFF6FF;
  --font-kr: 'Noto Sans KR', sans-serif;
  --font-en: 'Inter', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-kr);
  color: var(--navy-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* === Utility === */
.text-gradient {
  background: linear-gradient(135deg, var(--accent-600) 0%, var(--accent-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Animations === */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* === Section Common === */
.section { padding: 140px 0; }

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

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: 20px;
}
.section-label.light { color: var(--accent-400); }
.section-label.center { display: block; text-align: center; }

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}
.section-title.light { color: var(--white); }

.section-desc {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--navy-400);
  line-height: 1.8;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}
.btn-primary:hover {
  background: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10, 15, 28, 0.18);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-500);
  border-color: var(--navy-200);
}
.btn-ghost:hover {
  border-color: var(--navy-800);
  color: var(--navy-800);
}

.btn-white {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--navy-50);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn-full { width: 100%; justify-content: center; }

/* === Navigation === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--navy-100);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo { display: flex; align-items: center; }
.logo-img { height: 66px; width: auto; }

.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-400);
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--navy-800); }

.nav-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
  padding: 9px 22px;
  border: 1.5px solid var(--navy-200);
  border-radius: 8px;
  transition: all 0.2s var(--ease);
}
.nav-cta:hover {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-toggle span {
  width: 22px; height: 1.5px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.mobile-menu {
  display: none;
  padding: 20px 28px 28px;
  background: var(--white);
  border-top: 1px solid var(--navy-50);
}
.mobile-menu.active { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 18px; }
.mobile-menu a { font-size: 1rem; font-weight: 500; color: var(--navy-500); }
.mobile-cta {
  display: inline-block;
  color: var(--navy-800) !important;
  font-weight: 600 !important;
  padding: 14px 28px;
  border: 1.5px solid var(--navy-200);
  border-radius: 10px;
  text-align: center;
  margin-top: 8px;
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 68px;
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 100px;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-500);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-500);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--navy-900);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--navy-400);
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--navy-700); font-weight: 600; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero Image */
.hero-image {
  position: relative;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow:
    0 4px 6px rgba(10, 15, 28, 0.04),
    0 20px 60px rgba(10, 15, 28, 0.1);
}

.hero-image-float {
  position: absolute;
  bottom: -20px;
  left: -24px;
  z-index: 2;
}

.float-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--white);
  border: 1px solid var(--navy-100);
  border-radius: 14px;
  box-shadow:
    0 4px 12px rgba(10, 15, 28, 0.06),
    0 16px 40px rgba(10, 15, 28, 0.08);
}

.float-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-600);
  line-height: 1;
}

.float-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-500);
  line-height: 1.3;
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 1.5px solid var(--navy-300);
  border-radius: 12px;
  position: relative;
}
.scroll-wheel {
  width: 3px; height: 8px;
  background: var(--navy-300);
  border-radius: 2px;
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* === Why Section === */
.why { background: var(--navy-50); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--navy-100);
  transition: all 0.3s var(--ease);
}
.why-card:hover {
  border-color: var(--navy-200);
  box-shadow: 0 8px 32px rgba(10, 15, 28, 0.06);
  transform: translateY(-3px);
}

.why-card-inner { padding: 36px; position: relative; }

.why-index {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-500);
  margin-bottom: 16px;
  display: block;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--navy-400);
  line-height: 1.7;
}

.why-card-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-500), var(--accent-400));
  transition: width 0.4s var(--ease);
}
.why-card:hover .why-card-line { width: 100%; }

/* === Visual Break Sections === */
.visual-break {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.visual-break-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0.75);
  pointer-events: none;
}

.vb-1 {
  background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=80');
}

.vb-2 {
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80');
}

.visual-break .container {
  position: relative;
  z-index: 1;
}

.vb-text {
  text-align: center;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}
.vb-text strong {
  color: var(--white);
  font-weight: 700;
}

/* Visual Break Stats */
.vb-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.vb-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.vb-stat-num {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.vb-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* === Problems === */
.problems {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.problems::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.problems > .container {
  position: relative;
  z-index: 1;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

.problem-card {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.3s var(--ease);
}
.problem-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.problem-num {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.problem-text {
  font-size: 0.95rem;
  color: var(--navy-300);
  line-height: 1.7;
}
.problem-text strong { color: var(--white); font-weight: 700; }

.problems-solution { text-align: center; }
.solution-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--accent-400));
  margin: 0 auto 20px;
}
.solution-text {
  font-size: 1.05rem;
  color: var(--navy-300);
}
.solution-text strong { color: var(--white); }

/* === Approach / Process (2-Column Layout) === */
.approach { background: var(--white); }

.approach-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.approach-left {
  position: sticky;
  top: 100px;
}

.approach-left .section-header {
  margin-bottom: 32px;
}

.approach-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(10, 15, 28, 0.04),
    0 16px 48px rgba(10, 15, 28, 0.08);
}

.approach-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.approach-image:hover img {
  transform: scale(1.03);
}

/* Process List (Vertical) */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.process-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 14px;
  transition: all 0.3s var(--ease);
}
.process-item:hover {
  border-color: var(--navy-200);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(10, 15, 28, 0.05);
}

.process-item-highlight {
  background: var(--navy-800);
  border-color: var(--navy-800);
}
.process-item-highlight:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  box-shadow: 0 8px 32px rgba(10, 15, 28, 0.2);
}
.process-item-highlight .process-num { color: var(--accent-400); }
.process-item-highlight h3 { color: var(--white); }
.process-item-highlight p { color: var(--navy-300); }

.process-num {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-500);
  min-width: 28px;
  padding-top: 2px;
}

.process-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.process-item p {
  font-size: 0.88rem;
  color: var(--navy-400);
  line-height: 1.6;
}

.process-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 12px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-400);
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  vertical-align: middle;
}

/* === Works === */
.works { background: var(--navy-50); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card {
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--navy-100);
  border-radius: 16px;
  transition: all 0.3s var(--ease);
}
.work-card:hover {
  border-color: var(--navy-200);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 15, 28, 0.05);
}

.work-icon {
  width: 44px; height: 44px;
  color: var(--navy-400);
  margin-bottom: 20px;
  transition: color 0.3s var(--ease);
}
.work-card:hover .work-icon { color: var(--accent-500); }
.work-icon svg { width: 100%; height: 100%; }

.work-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.work-card p {
  font-size: 0.85rem;
  color: var(--navy-400);
  line-height: 1.6;
}

/* === Philosophy === */
.philosophy {
  background: var(--white);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

.philosophy-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.philosophy-quote {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--navy-400);
  margin-bottom: 40px;
  position: relative;
}
.philosophy-quote strong {
  color: var(--navy-800);
  font-weight: 800;
}
.quote-mark {
  font-size: 4rem;
  line-height: 0;
  color: var(--navy-100);
  position: absolute;
  top: -10px; left: -10px;
  font-family: Georgia, serif;
}

.philosophy-divider {
  width: 48px; height: 1.5px;
  background: var(--navy-200);
  margin: 0 auto 40px;
}

.philosophy-statement {
  font-size: 1.2rem;
  color: var(--navy-300);
  line-height: 1.7;
}
.philosophy-statement strong {
  color: var(--navy-800);
  font-weight: 800;
  font-size: 1.4rem;
}

/* === CTA === */
.cta {
  background: var(--navy-900);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: 1rem;
  color: var(--navy-300);
  line-height: 1.8;
  margin-bottom: 48px;
}
.cta-sub strong { color: var(--white); font-weight: 600; }

.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 56px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-logo { display: inline-block; margin-bottom: 12px; }
.footer-logo-img {
  height: 32px; width: auto;

  opacity: 0.8;
}
.footer-tagline { font-size: 0.85rem; color: var(--navy-500); line-height: 1.6; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-300);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-nav a {
  font-size: 0.85rem; color: var(--navy-500);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-contact-info { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-info h4 {
  font-size: 0.8rem; font-weight: 700;
  color: var(--navy-300); margin-bottom: 4px;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.footer-contact-info p { font-size: 0.85rem; color: var(--navy-500); line-height: 1.8; }
.footer-contact-info strong { color: var(--navy-400); margin-right: 6px; }
.footer-contact-info a { color: var(--navy-500); transition: color 0.2s; }
.footer-contact-info a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-business {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 4px; font-size: 0.78rem; color: var(--navy-500);
}
.footer-divider { margin: 0 6px; color: rgba(255, 255, 255, 0.08); }
.footer-copy { font-size: 0.78rem; color: var(--navy-500); }

/* ========================================
   Contact / Form Pages
   ======================================== */
.page-header {
  padding: 152px 0 56px;
  background: var(--white);
  text-align: center;
}
.page-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.page-desc {
  font-size: 1.05rem;
  color: var(--navy-400);
  line-height: 1.7;
}

.form-section { padding: 56px 0 140px; background: var(--navy-50); }

.form-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--navy-100);
  border-radius: 20px;
  padding: 44px;
  position: relative;
}

.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.88rem; font-weight: 600;
  color: var(--navy-700); letter-spacing: -0.01em;
}
.required { color: var(--accent-500); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--navy-200);
  border-radius: 10px;
  font-family: var(--font-kr);
  font-size: 0.92rem;
  color: var(--navy-800);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--navy-300); }

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.active { display: block; }
.success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  background: var(--navy-800);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 700;
}
.form-success h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.form-success p { font-size: 0.95rem; color: var(--navy-400); margin-bottom: 28px; line-height: 1.7; }

.form-sidebar {
  display: flex; flex-direction: column; gap: 16px;
  position: sticky; top: 92px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--navy-100);
  border-radius: 16px;
  padding: 24px;
}
.sidebar-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy-800); margin-bottom: 18px; }
.sidebar-item { margin-bottom: 10px; }
.sidebar-label {
  font-family: var(--font-en);
  font-size: 0.72rem; font-weight: 600;
  color: var(--navy-400); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 3px;
}
.sidebar-value {
  font-size: 1rem; font-weight: 600; color: var(--navy-800);
  transition: color 0.2s;
}
.sidebar-value:hover { color: var(--accent-500); }

.sidebar-step {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.sidebar-step:last-child { margin-bottom: 0; }
.sidebar-step-num {
  min-width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 0.72rem; font-weight: 700; color: var(--accent-500);
}
.sidebar-step p { font-size: 0.88rem; color: var(--navy-500); }

.sidebar-highlight {
  background: var(--navy-50); border-color: var(--navy-100);
}
.sidebar-highlight p { font-size: 0.88rem; color: var(--navy-500); line-height: 1.7; }
.sidebar-highlight a { color: var(--accent-500); font-weight: 600; }
.sidebar-highlight a:hover { color: var(--navy-800); }

/* ========================================
   Responsive
   ======================================== */

/* Large tablets / small desktops */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-badge { margin: 0 auto 28px; }
  .hero-ctas { justify-content: center; }

  .hero-img { height: 400px; }
  .hero-image-float { left: 50%; transform: translateX(-50%); bottom: -16px; }

  .approach-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .approach-left {
    position: static;
    text-align: center;
  }
  .approach-left .section-header { margin-bottom: 24px; }
  .approach-image img { height: 280px; }

  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .vb-stats { gap: 24px; }

  .footer-top { grid-template-columns: 1fr 1fr; }

  .form-layout { grid-template-columns: 1fr; }
  .form-sidebar {
    position: static;
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  }
  .sidebar-highlight { grid-column: 1 / -1; }
}

/* Tablets */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }

  .section { padding: 100px 0; }
  .section-header { margin-bottom: 48px; }
  .hero-content { padding: 60px 28px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-scroll { display: none; }

  .hero-img { height: 320px; }
  .hero-image-float { bottom: -12px; }
  .float-card { padding: 12px 18px; }
  .float-num { font-size: 1.5rem; }

  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .problems-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  .visual-break { padding: 72px 0; background-attachment: scroll; }
  .vb-text { font-size: 1.1rem; }
  .vb-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .vb-stat-num { font-size: 1.6rem; }

  .approach-image img { height: 220px; }

  .process-item { padding: 20px 22px; gap: 14px; }

  .philosophy { padding: 100px 0; }
  .cta { padding: 100px 0; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-business { justify-content: center; }

  .page-header { padding: 120px 0 40px; }
  .form-section { padding: 40px 0 80px; }
  .form-card { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .form-sidebar { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 480px) {
  .container { padding: 0 20px; }

  .hero h1 { font-size: 1.8rem; }
  .hero-content { padding: 48px 20px; gap: 36px; }
  .hero-sub { font-size: 1rem; margin-bottom: 32px; }

  .hero-img { height: 260px; border-radius: 14px; }
  .hero-image-float { position: relative; left: auto; bottom: auto; transform: none; margin-top: -28px; display: flex; justify-content: center; }
  .float-card { padding: 12px 20px; border-radius: 12px; }

  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .btn-lg { padding: 15px 28px; }
  .cta-buttons, .hero-ctas { flex-direction: column; align-items: center; }

  .visual-break { padding: 56px 0; }
  .vb-text { font-size: 1rem; }
  .vb-stats { grid-template-columns: 1fr; gap: 20px; }
  .vb-stat { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .vb-stat:last-child { border-bottom: none; }

  .works-grid { grid-template-columns: 1fr; }

  .approach-image img { height: 180px; }
  .process-item { padding: 18px 16px; gap: 12px; }
  .process-item h3 { font-size: 0.92rem; }
  .process-item p { font-size: 0.82rem; }
  .process-badge { font-size: 0.6rem; padding: 2px 10px; }

  .philosophy-quote { font-size: 1.15rem; }
  .philosophy-statement strong { font-size: 1.2rem; }

  .footer-business { flex-direction: column; gap: 2px; }
  .footer-divider { display: none; }
  .form-card { padding: 20px; }
  .why-card-inner { padding: 28px; }
}
