/* ============================================================
   BASE
============================================================ */
body {
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-kr);
  font-size: var(--fs-base);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-std);
}

.section {
  padding: var(--pad-section) 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

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

.section-tag {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-brand);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-kr);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--color-brand);
  color: var(--color-white);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: var(--fs-base);
  padding: 14px 36px;
  transition: background var(--ease), color var(--ease), transform var(--ease);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: var(--color-brand-hover);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: var(--fs-base);
  padding: 14px 36px;
  border: 2px solid var(--color-white);
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  letter-spacing: 0.5px;
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
}

.text-brand {
  color: var(--color-brand);
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--ease-reveal), transform var(--ease-reveal);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-dark);
  z-index: 1000;
  transition: height var(--ease), background var(--ease);
  overflow: hidden;
}

.site-header.scrolled {
  height: var(--header-h-scroll);
  background: rgba(0, 0, 0, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 4px;
  transition: font-size var(--ease);
}

.site-header.scrolled .logo {
  font-size: var(--fs-2xl);
}

.logo span {
  color: var(--color-brand);
}

/* Desktop Nav */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-list a {
  font-family: var(--font-en);
  font-size: var(--fs-base);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  transition: color var(--ease);
  white-space: nowrap;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-brand);
  transition: width var(--ease);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-brand);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-list .nav-cta {
  background: var(--color-brand);
  color: var(--color-white);
  padding: 10px 22px;
  font-size: var(--fs-xs);
  letter-spacing: 1px;
}

.nav-list .nav-cta::after {
  display: none;
}

.nav-list .nav-cta:hover {
  color: var(--color-white);
  background: var(--color-brand-hover);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--ease), opacity var(--ease);
  transform-origin: center;
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 998;
  transition: opacity var(--ease);
}

.mobile-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--color-charcoal-dark);
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--ease);
  overflow-y: auto;
  padding: 24px 0;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-close {
  display: block;
  color: var(--color-white);
  font-size: 28px;
  padding: 0 20px 16px;
  line-height: 1;
  margin-left: auto;
  width: fit-content;
  opacity: 0.7;
  transition: opacity var(--ease);
}

.mobile-close:hover {
  opacity: 1;
}

.mobile-nav-list {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-list li a {
  display: block;
  padding: 16px 24px;
  font-family: var(--font-kr);
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--ease), background var(--ease);
}

.mobile-nav-list li a:hover {
  color: var(--color-brand);
  background: rgba(249, 99, 25, 0.08);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 0;
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform var(--ease-carousel);
  will-change: transform;
}

.hero-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide--1 {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0600 40%, #2d0900 100%);
}

.hero-slide--2 {
  background: linear-gradient(135deg, #000000 0%, #1a0800 50%, #0d0500 100%);
}

.hero-slide--3 {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1208 40%, #291a00 100%);
}

.hero-slide--1::before,
.hero-slide--2::before,
.hero-slide--3::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(249, 99, 25, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(249, 99, 25, 0.06) 0%, transparent 50%);
}

.hero-slide--2::before {
  background-image:
    radial-gradient(ellipse at 80% 50%, rgba(249, 99, 25, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(249, 99, 25, 0.06) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.hero-tag {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--color-brand);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.hero-heading {
  font-family: var(--font-kr);
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 20px;
  word-break: keep-all;
}

.hero-heading .en {
  font-family: var(--font-en);
}

.hero-subheading {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background var(--ease), border-color var(--ease);
  cursor: pointer;
}

.hero-arrow:hover {
  background: var(--color-brand);
  border-color: var(--color-brand);
}

.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.hero-dot.active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  transform: scale(1.3);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll span {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 1.8s ease infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   STATS BAR
============================================================ */
.stats-bar {
  background: var(--color-charcoal-dark);
  padding: 0;
  border-top: 3px solid var(--color-brand);
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 44px 32px;
  flex: 1;
  min-width: 160px;
}

.stat-number {
  font-family: var(--font-en);
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--color-brand);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
}

.stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  align-self: stretch;
  margin: 20px 0;
}

/* ============================================================
   SERVICES
============================================================ */
.services {
  background: var(--color-black);
}

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

.service-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border-dark);
  padding: 40px 32px;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  cursor: default;
}

.service-card:hover {
  border-color: var(--color-brand);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(249, 99, 25, 0.1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: var(--color-white);
  flex-shrink: 0;
}

.service-card h3 {
  font-family: var(--font-kr);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 14px;
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  word-break: keep-all;
}

/* ============================================================
   PORTFOLIO
============================================================ */
.portfolio {
  background: var(--color-section-alt);
}

.portfolio-grid {
  columns: 3;
  column-gap: 16px;
}

.portfolio-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-img {
  width: 100%;
  display: block;
  position: relative;
  transition: transform var(--ease);
  background: var(--color-card-bg);
}

.portfolio-img--tall  { padding-bottom: 130%; }
.portfolio-img--mid   { padding-bottom: 100%; }
.portfolio-img--short { padding-bottom: 72%; }

/* Gradient patterns to simulate different product images */
.portfolio-item:nth-child(1)  .portfolio-img { background: linear-gradient(135deg, #1a0a00, #3d1500); }
.portfolio-item:nth-child(2)  .portfolio-img { background: linear-gradient(135deg, #001a0d, #003d1f); }
.portfolio-item:nth-child(3)  .portfolio-img { background: linear-gradient(135deg, #000d1a, #001f3d); }
.portfolio-item:nth-child(4)  .portfolio-img { background: linear-gradient(135deg, #1a001a, #3d003d); }
.portfolio-item:nth-child(5)  .portfolio-img { background: linear-gradient(135deg, #1a1500, #3d3000); }
.portfolio-item:nth-child(6)  .portfolio-img { background: linear-gradient(135deg, #0d1a00, #1f3d00); }
.portfolio-item:nth-child(7)  .portfolio-img { background: linear-gradient(135deg, #1a0005, #3d000f); }
.portfolio-item:nth-child(8)  .portfolio-img { background: linear-gradient(135deg, #001519, #00373d); }
.portfolio-item:nth-child(9)  .portfolio-img { background: linear-gradient(135deg, #191200, #3d2d00); }

.portfolio-item:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  border-bottom: 3px solid var(--color-brand);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--ease);
}

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

.portfolio-overlay-text {
  text-align: center;
  color: var(--color-white);
  padding: 16px;
}

.portfolio-category {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.85;
}

.portfolio-name {
  font-size: var(--fs-md);
  font-weight: 700;
}

/* ============================================================
   PROCESS
============================================================ */
.process {
  background: var(--color-charcoal);
}

.process-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  gap: 0;
  counter-reset: process-step;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--color-brand), rgba(249, 99, 25, 0.3));
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-en);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(249, 99, 25, 0.2);
  position: relative;
  z-index: 2;
}

.step-title {
  font-family: var(--font-kr);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}

.step-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  word-break: keep-all;
}

/* ============================================================
   PRICING
============================================================ */
.pricing {
  background: var(--color-black);
}

.pricing-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 0;
}

.pricing-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border-dark);
  padding: 48px 36px;
  flex: 1;
  max-width: 360px;
  text-align: center;
  position: relative;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.pricing-card:hover {
  border-color: rgba(249, 99, 25, 0.5);
}

.pricing-card.featured {
  border-color: var(--color-brand);
  transform: scale(1.04);
  box-shadow: 0 24px 80px rgba(249, 99, 25, 0.2);
}

.pricing-card.featured:hover {
  transform: scale(1.06);
  box-shadow: 0 32px 100px rgba(249, 99, 25, 0.3);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-brand);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-brand);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pricing-price {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
  line-height: 1;
}

.pricing-price span {
  font-size: var(--fs-md);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-kr);
}

.pricing-desc {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
  min-height: 40px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  line-height: 1.4;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-green);
  font-weight: 700;
}

.btn-pricing {
  display: block;
  width: 100%;
  padding: 14px;
  font-family: var(--font-en);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}

.btn-pricing.btn-outline:hover {
  transform: none;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials {
  background: var(--color-section-alt);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border-dark);
  padding: 36px 32px;
  min-width: 320px;
  max-width: 360px;
  scroll-snap-align: start;
  flex-shrink: 0;
  transition: border-color var(--ease);
}

.review-card:hover {
  border-color: rgba(249, 99, 25, 0.4);
}

.review-stars {
  color: var(--color-brand);
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 24px;
  word-break: keep-all;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
}

.review-avatar--1 { background: linear-gradient(135deg, #f96319, #ff8c42); }
.review-avatar--2 { background: linear-gradient(135deg, #00d255, #00b844); }
.review-avatar--3 { background: linear-gradient(135deg, #00B8FF, #0090d0); }
.review-avatar--4 { background: linear-gradient(135deg, #9b59b6, #7d3c98); }
.review-avatar--5 { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.review-avatar--6 { background: linear-gradient(135deg, #f39c12, #e67e22); }

.review-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 3px;
}

.review-company {
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
}

.review-result {
  display: inline-block;
  background: rgba(249, 99, 25, 0.12);
  color: var(--color-brand);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.portfolio-more {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   CTA BANNER
============================================================ */
.cta-banner {
  background: var(--color-brand);
  padding: 96px var(--pad-wide);
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-kr);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  word-break: keep-all;
}

.cta-content p {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  word-break: keep-all;
}

.btn-cta {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-brand);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: var(--fs-md);
  padding: 18px 52px;
  letter-spacing: 0.5px;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}

.btn-cta:hover {
  background: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-kakao {
  display: inline-block;
  background: #FEE500;
  color: #191919;
  font-family: var(--font-kr);
  font-weight: 700;
  font-size: var(--fs-md);
  padding: 18px 52px;
  letter-spacing: 0.3px;
  transition: background var(--ease), transform var(--ease);
}

.btn-kakao:hover {
  background: #e6ce00;
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #080808;
  border-top: 1px solid var(--color-border-subtle);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 4px;
  margin-bottom: 14px;
}

.footer-logo span {
  color: var(--color-brand);
}

.footer-desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.85;
  max-width: 240px;
  word-break: keep-all;
  margin-bottom: 24px;
}

.footer-sns {
  display: flex;
  gap: 10px;
}

.sns-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.sns-icon:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  background: rgba(249, 99, 25, 0.08);
}

.footer-heading {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-links a,
.footer-links li {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: 2.3;
  transition: color var(--ease);
}

.footer-links a:hover {
  color: var(--color-brand);
}

.footer-info li {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.45);
  line-height: 2.3;
}

.footer-bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--ease);
}

.footer-legal a:hover {
  color: var(--color-brand);
}

/* ============================================================
   RESPONSIVE — 1200px
============================================================ */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    columns: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ============================================================
   RESPONSIVE — 991px
============================================================ */
@media (max-width: 991px) {
  :root {
    --pad-section: 60px;
  }

  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    max-width: 480px;
    width: 100%;
  }

  .pricing-card.featured {
    transform: none;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 24px;
    padding: 0 0 36px 0;
    width: 100%;
    max-width: 420px;
    position: relative;
  }

  .process-step::after {
    content: '';
    position: absolute;
    left: 35px;
    top: 72px;
    width: 2px;
    height: calc(100% - 72px);
    background: rgba(249, 99, 25, 0.3);
  }

  .process-step:last-child::after {
    display: none;
  }

  .step-circle {
    margin: 0;
    flex-shrink: 0;
  }

  .step-content {
    padding-top: 18px;
  }

  .cta-banner {
    padding: 72px var(--pad-std);
  }
}

/* ============================================================
   RESPONSIVE — 767px (Mobile)
============================================================ */
@media (max-width: 767px) {
  :root {
    --pad-section: 56px;
  }

  /* Header */
  .site-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .site-header {
    height: var(--header-h-mobile);
  }

  .site-header.scrolled {
    height: 64px;
  }

  /* Hero */
  .hero {
    height: 100svh;
    min-height: 480px;
  }

  .hero-heading {
    font-size: clamp(28px, 8vw, 44px);
  }

  .hero-subheading {
    font-size: var(--fs-base);
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .hero-arrow.prev { left: 12px; }
  .hero-arrow.next { right: 12px; }

  .hero-scroll {
    display: none;
  }

  /* Stats */
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 32px 16px;
  }

  .stat-number {
    font-size: 36px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: var(--fs-xl);
  }

  /* Portfolio */
  .portfolio-grid {
    columns: 1;
  }

  /* Process */
  .process-step {
    max-width: 100%;
  }

  /* Pricing */
  .pricing-card {
    padding: 40px 24px;
  }

  /* Testimonials */
  .review-card {
    min-width: 280px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
