/* ============================================
   이서세라믹 - ESEO CERAMIC
   Color System: Navy + Gold
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --navy-deep:    #0B1A2B;
  --navy-main:    #12263F;
  --navy-mid:     #1A3355;
  --navy-light:   #22456E;
  --gold-main:    #C8A96B;
  --gold-light:   #D9BD8A;
  --gold-dark:    #A88A50;
  --white:        #FFFFFF;
  --bg-light:     #F5F6F8;
  --bg-off:       #ECEEF2;
  --text-dark:    #1C2330;
  --text-mid:     #3E4A5C;
  --text-light:   #7A8799;
  --border:       #DDE2EA;
  --shadow-sm:    0 2px 10px rgba(18,38,63,0.08);
  --shadow-md:    0 6px 24px rgba(18,38,63,0.12);
  --shadow-lg:    0 16px 48px rgba(18,38,63,0.16);
  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;
  --transition:   all 0.3s ease;
  --font-main:    'Noto Sans KR', sans-serif;
  --font-serif:   'Playfair Display', serif;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.bg-light { background: var(--bg-light); }
.bg-navy  { background: var(--navy-main); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-main);
  color: var(--navy-deep);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,169,107,0.35);
}

.btn-navy {
  background: var(--navy-main);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy-main);
  border: 1.5px solid var(--navy-main);
}
.btn-outline-navy:hover {
  background: var(--navy-main);
  color: var(--white);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-main);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.section-desc {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 12px;
}

.section-header { text-align: center; margin-bottom: 56px; }
.section-header--white .section-title { color: var(--white); }
.section-header--white .section-subtitle { color: rgba(255,255,255,0.7); }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: var(--transition);
}
.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--gold-main);
  font-weight: 500;
}
.header.scrolled .logo-text { color: var(--navy-main); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list {
  display: flex;
  gap: 4px;
  margin-right: 16px;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1.5px;
  background: var(--gold-main);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--gold-main); }

.header.scrolled .nav-link { color: var(--text-mid); }
.header.scrolled .nav-link:hover { color: var(--navy-main); }
.header.scrolled .nav-link.active { color: var(--gold-main); }

.nav-cta { padding: 10px 22px; font-size: 0.85rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  width: 36px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .hamburger span { background: var(--navy-main); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-main) 50%, var(--navy-mid) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 70% 50%, rgba(200,169,107,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(200,169,107,0.04) 0%, transparent 50%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255,255,255,0.015) 60px,
      rgba(255,255,255,0.015) 61px
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  max-width: 760px;
}

.hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold-main);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title span { color: var(--gold-main); }

.hero-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 40px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}

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

/* ============================================
   NUMBERS SECTION
   ============================================ */
.numbers-section {
  background: var(--navy-deep);
  padding: 40px 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.number-item {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.number-item:last-child { border-right: none; }

.number-item {
  flex-direction: column;
}

.number-value {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-main);
  line-height: 1;
  font-family: var(--font-serif);
}

.number-unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-left: 2px;
}

.number-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  height: 480px;
}

.tile-visual {
  position: absolute;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.tile-visual--1 {
  width: 75%;
  height: 78%;
  top: 0; left: 0;
  background: linear-gradient(135deg, #2a4a6e 0%, #1a3355 40%, #0f2540 100%);
  box-shadow: var(--shadow-lg);
}

.tile-visual--2 {
  width: 55%;
  height: 52%;
  bottom: 0; right: 0;
  background: linear-gradient(135deg, #c8a96b 0%, #a88a50 50%, #8a6e38 100%);
  box-shadow: var(--shadow-lg);
  opacity: 0.85;
}

/* Tile texture overlay for visuals */
.tile-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.05) 39px, rgba(255,255,255,0.05) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.05) 39px, rgba(255,255,255,0.05) 40px);
}

.tile-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.about-badge {
  position: absolute;
  top: 50%;
  right: 18%;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  background: var(--gold-main);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 32px rgba(200,169,107,0.4);
  z-index: 10;
}

.badge-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1;
  font-family: var(--font-serif);
}

.badge-text {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.3;
  text-align: center;
}

.about-text { padding: 20px 0; }

.about-features {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-mid);
}

.about-features li i {
  color: var(--gold-main);
  font-size: 0.85rem;
  flex-shrink: 0;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-main);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--navy-main);
}

.service-icon i {
  font-size: 1.3rem;
  color: var(--navy-main);
  transition: var(--transition);
}
.service-card:hover .service-icon i { color: var(--gold-main); }

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.service-link i { font-size: 0.7rem; transition: transform 0.3s ease; }
.service-link:hover { color: var(--gold-main); }
.service-link:hover i { transform: translateX(4px); }

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-filter {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 22px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--white);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy-main);
  border-color: var(--navy-main);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img { transform: scale(1.06); }

/* Gallery images using CSS gradients */
.tile-gallery--1 {
  background: linear-gradient(135deg, #e8e0d0 0%, #d4cbbf 30%, #c8bfb2 60%, #b8ae9e 100%);
  position: relative;
}
.tile-gallery--1::before {
  content: '';
  position: absolute; inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 29px, rgba(255,255,255,0.3) 29px, rgba(255,255,255,0.3) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, rgba(255,255,255,0.3) 29px, rgba(255,255,255,0.3) 30px);
}

.tile-gallery--2 {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 40%, #2c3e50 100%);
}
.tile-gallery--2::before {
  content: '';
  position: absolute; inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.06) 59px, rgba(255,255,255,0.06) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.06) 59px, rgba(255,255,255,0.06) 60px);
}

.tile-gallery--3 {
  background: linear-gradient(135deg, #f5f0e8 0%, #ede6d6 50%, #e0d5c0 100%);
}
.tile-gallery--3::before {
  content: '';
  position: absolute; inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(0,0,0,0.06) 49px, rgba(0,0,0,0.06) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(0,0,0,0.06) 49px, rgba(0,0,0,0.06) 50px);
}

.tile-gallery--4 {
  background: linear-gradient(135deg, #3d3d3d 0%, #555 50%, #3d3d3d 100%);
}
.tile-gallery--4::before {
  content: '';
  position: absolute; inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.04) 39px, rgba(255,255,255,0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.04) 39px, rgba(255,255,255,0.04) 40px);
}

.tile-gallery--5 {
  background: linear-gradient(135deg, #dde6f0 0%, #c8d8e8 50%, #b8cedd 100%);
}
.tile-gallery--5::before {
  content: '';
  position: absolute; inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(255,255,255,0.4) 24px, rgba(255,255,255,0.4) 25px),
    repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(255,255,255,0.4) 24px, rgba(255,255,255,0.4) 25px);
}

.tile-gallery--6 {
  background: linear-gradient(135deg, #e8dfd0 0%, #d8cfc0 50%, #c8bfb0 100%);
}
.tile-gallery--6::before {
  content: '';
  position: absolute; inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.2) 79px, rgba(255,255,255,0.2) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.2) 79px, rgba(255,255,255,0.2) 80px);
}

/* Additional gallery images for gallery page */
.tile-gallery--7 {
  background: linear-gradient(135deg, #1a2a3a 0%, #2a3a4a 50%, #1a2a3a 100%);
}
.tile-gallery--7::before {
  content: '';
  position: absolute; inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 44px, rgba(255,255,255,0.05) 44px, rgba(255,255,255,0.05) 45px),
    repeating-linear-gradient(90deg, transparent, transparent 44px, rgba(255,255,255,0.05) 44px, rgba(255,255,255,0.05) 45px);
}
.tile-gallery--8 {
  background: linear-gradient(135deg, #f0e8d8 0%, #e8dcc8 50%, #ddd0b8 100%);
}
.tile-gallery--9 {
  background: linear-gradient(135deg, #4a5568 0%, #5a6578 50%, #4a5568 100%);
}
.tile-gallery--10 {
  background: linear-gradient(135deg, #e0d0c0 0%, #d0c0b0 50%, #c0b0a0 100%);
}
.tile-gallery--11 {
  background: linear-gradient(135deg, #2d4a2d 0%, #3d5a3d 50%, #2d4a2d 100%);
}
.tile-gallery--12 {
  background: linear-gradient(135deg, #ede8e0 0%, #e0dbd0 50%, #d0cbc0 100%);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,26,43,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

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

.gallery-tag {
  display: inline-block;
  background: var(--gold-main);
  color: var(--navy-deep);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.gallery-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}

.gallery-more { text-align: center; }

.gallery-item.hidden {
  display: none;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.process-step {
  text-align: center;
  padding: 36px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.process-step:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold-main);
}

.step-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-main);
  margin-bottom: 16px;
}

.step-icon {
  width: 56px;
  height: 56px;
  border: 1.5px solid rgba(200,169,107,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition);
}
.process-step:hover .step-icon {
  background: var(--gold-main);
  border-color: var(--gold-main);
}

.step-icon i {
  font-size: 1.1rem;
  color: var(--gold-main);
  transition: var(--transition);
}
.process-step:hover .step-icon i { color: var(--navy-deep); }

.step-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.process-arrow {
  color: rgba(200,169,107,0.5);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-main) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin-bottom: 40px;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-deep);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.footer-logo .logo-text { color: var(--white); }

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold-main);
  border-color: var(--gold-main);
  color: var(--navy-deep);
}

.footer-nav-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-main);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-nav ul li {
  margin-bottom: 10px;
}
.footer-nav ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-nav ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-contact-list li i {
  color: var(--gold-main);
  font-size: 0.8rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copy,
.footer-biz {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-btns {
  position: fixed;
  bottom: 32px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.float-phone {
  background: var(--gold-main);
  color: var(--navy-deep);
}
.float-phone:hover {
  background: var(--gold-dark);
  transform: scale(1.1);
}

.float-kakao {
  background: #FAE100;
  color: #1A1A1A;
}
.float-kakao:hover {
  transform: scale(1.1);
}

.float-top {
  background: var(--navy-main);
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: var(--transition);
}
.float-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-top:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

/* ============================================
   PAGE HEADER (서브 페이지 공통)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-main) 100%);
  padding: 140px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px);
}

.page-header-content { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold-main); }
.breadcrumb i { font-size: 0.65rem; }
.breadcrumb span { color: var(--gold-main); }

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro { padding: 80px 0; }

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.philosophy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}
.philosophy-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gold-main);
}

.phil-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}
.philosophy-card:hover .phil-icon { background: var(--navy-main); }
.phil-icon i { font-size: 1.4rem; color: var(--navy-main); transition: var(--transition); }
.philosophy-card:hover .phil-icon i { color: var(--gold-main); }

.phil-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.phil-desc {
  font-size: 0.86rem;
  color: var(--text-light);
  line-height: 1.8;
}

.company-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.info-item {
  background: var(--white);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
}

.info-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  min-width: 80px;
}

.info-value {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* ============================================
   SERVICE PAGE
   ============================================ */
.service-detail {
  padding: 80px 0;
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail-item:last-child { border-bottom: none; }
.service-detail-item.reverse { direction: rtl; }
.service-detail-item.reverse > * { direction: ltr; }

.service-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.service-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg-off);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 8px;
}

.service-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.service-detail-desc {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 24px;
}

.service-detail-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-detail-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
}
.service-detail-points li i { color: var(--gold-main); font-size: 0.8rem; }

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-page { padding: 60px 0; }

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

.gallery-page-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
}

.gallery-page-item .gallery-img { height: 100%; }
.gallery-page-item:hover .gallery-img { transform: scale(1.06); }
.gallery-page-item .gallery-overlay { opacity: 0; }
.gallery-page-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 800px;
  width: 90%;
  max-height: 85vh;
}

.lightbox-img {
  width: 100%;
  aspect-ratio: 4/3;
}

.lightbox-body { padding: 24px; }
.lightbox-tag { 
  display: inline-block;
  background: var(--gold-main);
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.lightbox-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.lightbox-desc { font-size: 0.9rem; color: var(--text-mid); }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--gold-main); color: var(--navy-deep); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section { padding: 80px 0; }

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

.contact-info-card {
  background: var(--navy-main);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: var(--white);
}

.contact-info-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-info-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

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

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(200,169,107,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon i { color: var(--gold-main); font-size: 1rem; }

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-main);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-info-value {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.contact-form-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-label span { color: var(--gold-main); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy-main);
  box-shadow: 0 0 0 3px rgba(18,38,63,0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--navy-main);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.form-submit:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.submit-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: var(--navy-main);
}
.submit-success i {
  font-size: 2.5rem;
  color: #28a745;
  margin-bottom: 16px;
}
.submit-success h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.submit-success p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* Map placeholder */
.map-section { padding: 0 0 80px; }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.map-placeholder {
  text-align: center;
  color: var(--text-light);
}
.map-placeholder i { font-size: 2.5rem; margin-bottom: 12px; color: var(--navy-light); }
.map-placeholder p { font-size: 0.9rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .process-arrow { display: none; }
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }

  /* Header */
  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 32px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 4px;
    margin-right: 0;
    margin-bottom: 16px;
  }

  .nav-link {
    padding: 12px 16px;
    color: var(--text-dark);
    font-size: 1rem;
  }
  .nav-link::after { display: none; }

  .nav-cta { width: 100%; justify-content: center; }

  /* Hero */
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-desc { font-size: 0.9rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  /* Numbers */
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .number-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .number-item:nth-last-child(-n+2) { border-bottom: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap { height: 320px; }

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

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Process */
  .process-steps { grid-template-columns: 1fr 1fr; }

  /* CTA */
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 260px; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }

  /* About/Service pages */
  .about-intro-grid { grid-template-columns: 1fr; }
  .service-detail-item { grid-template-columns: 1fr; }
  .service-detail-item.reverse { direction: ltr; }
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }

  /* Company info */
  .company-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: 1fr; }
  .gallery-filter { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .filter-btn { flex-shrink: 0; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.animate-in {
  animation: fadeInUp 0.6s ease both;
}

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

/* Intersection observer animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.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; }
.reveal-delay-5 { transition-delay: 0.5s; }
