
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    --bg-main: #ffffff;
    --bg-sec: #f8f9fa;
    --text-main: #111111;
    --text-dim: #666666;
    --border-color: #eeeeee;
    --accent: #E60012; /* 시그니처 레드 */
}

html { scroll-behavior: smooth; }

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Pretendard', sans-serif; }
body { background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; overflow-x: hidden; font-weight: 400; }
a { text-decoration: none; color: var(--text-main); transition: 0.3s; }

/* Navigation */
nav { position: fixed; top: 0; width: 100%; height: 80px; display: flex; justify-content: space-between; align-items: center; padding: 0 5%; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid var(--border-color); }
.logo { font-size: 24px; font-weight: 900; letter-spacing: 1px; color: #000; }
.logo-red { color: var(--accent); }
.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links > a, .dropdown > a { font-size: 15px; font-weight: 600; color: #333; position: relative; transition: 0.3s; cursor: pointer;}
.nav-links > a:hover, .dropdown > a:hover { color: var(--accent); }

.nav-links a.quote-btn { padding: 12px 28px; background: var(--accent); color: #fff; border-radius: 30px; font-weight: 700; font-size: 14px; transition: 0.3s; box-shadow: 0 4px 15px rgba(230,0,18,0.3);}
.nav-links a.quote-btn:hover { background: #cc0010; transform: translateY(-2px); color:#fff; }

/* Dropdown Navigation */
.dropdown { position: relative; display: inline-block; padding: 10px 0; }
.dropdown-content { visibility: hidden; opacity: 0; position: absolute; background-color: #fff; min-width: 140px; box-shadow: 0px 10px 25px rgba(0,0,0,0.08); z-index: 1001; border-radius: 12px; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); border: 1px solid var(--border-color); transition: all 0.3s ease; }
.dropdown:hover .dropdown-content { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
.dropdown-content a { color: #555 !important; padding: 14px 16px; display: block; font-size: 14px; text-align: center; font-weight: 600; border-radius: 12px; transition: 0.2s; margin:0;}
.dropdown-content a:hover { background-color: #f8f9fa; color: var(--accent) !important; }

/* Hero Section */
.hero { min-height: calc(100vh - 80px); width: 100%; display: flex; align-items: stretch; margin-top: 80px; padding: 0; background: linear-gradient(135deg, #fdfdfd 0%, #f4f4f4 100%); gap: 0; overflow: hidden; }
.hero-text { flex: 0 0 48.75%; max-width: none; padding: clamp(70px, 9vh, 110px) 4.8vw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-label { font-size: 14px; font-weight: 600; color: #888; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 15px; display: block; }
.hero h1 { font-size: 56px; font-weight: 900; line-height: 1.2; margin-bottom: 30px; color: #000; letter-spacing: -1.5px;}
.hero h1 .text-red { color: var(--accent); }
.hero p { font-size: 18px; color: var(--text-dim); margin-bottom: 40px; line-height: 1.7; word-break: keep-all; font-weight: 400;}

.hero-btns { display: flex; gap: 15px; }
.btn-primary { padding: 16px 35px; background: var(--accent); color: #fff; font-weight: 700; border-radius: 8px; font-size: 16px; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 5px 20px rgba(230,0,18,0.25);}
.btn-primary:hover { background: #cc0010; transform: translateY(-2px); color: #fff; }
.btn-secondary { padding: 16px 35px; background: #fff; color: #333; font-weight: 700; border-radius: 8px; font-size: 16px; border: 1px solid #ddd; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px;}
.btn-secondary:hover { border-color: #000; color: #000; }

.hero-img { flex: 0 0 51.25%; display: flex; position: relative; min-width: 0; min-height: calc(100vh - 80px); overflow: hidden; background: #f7f7f7; isolation: isolate; }
.hero-media-frame { position: absolute; inset: 15% 5.5%; overflow: hidden; border-radius: 20px; background: #e8e8e8; box-shadow: 0 18px 42px rgba(0,0,0,.11); isolation: isolate; perspective: 1800px; }
.hero-page { position:absolute; inset:0; opacity:0; overflow:hidden; transform-origin:left center; transform-style:preserve-3d; backface-visibility:hidden; will-change:transform,opacity,filter; }
.hero-page img { width:100%; height:100%; min-height:0; display:block; object-fit:cover; object-position:center; }
.hero-page::after { content:''; position:absolute; inset:0; pointer-events:none; opacity:0; background:linear-gradient(90deg,rgba(0,0,0,.02),rgba(0,0,0,.42)); }
.hero-page.is-active { opacity:1; z-index:2; }
.hero-page.is-under { opacity:1; z-index:1; animation:hero-page-reveal 1.45s ease-out both; }
.hero-page.is-turning { opacity:1; z-index:3; animation:hero-page-turn 1.45s cubic-bezier(.58,.02,.22,1) both; }
.hero-page.is-turning::after { animation:hero-page-shadow 1.45s ease-in-out both; }
.hero-slide-dots { position: absolute; left: 50%; bottom: 18px; z-index: 4; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 999px; background: rgba(0,0,0,.28); backdrop-filter: blur(8px); }
.hero-slide-dots:empty { display: none; }
.hero-slide-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: width .35s ease, border-radius .35s ease, background .35s ease; }
.hero-slide-dots button.is-active { width: 24px; border-radius: 10px; background: #fff; }
.hero-image-fallback { position:absolute; inset:0; background:#ececec; display:none; align-items:center; justify-content:center; text-align:center; color:#999; font-weight:700; }
@keyframes hero-page-turn { 0% { transform:rotateY(0deg); filter:brightness(1); } 45% { transform:rotateY(-54deg); filter:brightness(.88); } 100% { transform:rotateY(-103deg); filter:brightness(.7); opacity:.15; } }
@keyframes hero-page-shadow { 0% { opacity:0; } 45% { opacity:.7; } 100% { opacity:.18; } }
@keyframes hero-page-reveal { from { transform:scale(1.015); filter:brightness(.82); } to { transform:scale(1); filter:brightness(1); } }

@media (prefers-reduced-motion: reduce) {
    .hero-page.is-turning,.hero-page.is-under { animation-duration:.2s; }
    .hero-page.is-turning::after { animation-duration:.2s; }
}

/* Quick Icons Row */
.icon-row { display: flex; justify-content: center; gap: 60px; padding: 60px 5%; background: #fff; border-bottom: 1px solid var(--border-color); flex-wrap: wrap;}
.icon-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.icon-item .circle { width: 64px; height: 64px; background: #f8f9fa; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 24px; color: var(--accent); border: 1px solid #eee; transition: 0.3s;}
.icon-item:hover .circle { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-5px);}
.icon-item h4 { font-size: 16px; font-weight: 800; color: #111; }
.icon-item p { font-size: 13px; color: #888; }

/* Sections */
.section { padding: 120px 5%; max-width: 1400px; margin: 0 auto; scroll-margin-top: 80px; }
.section.bg-gray { background-color: var(--bg-sec); max-width: 100%; padding: 120px 5%; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 60px; flex-wrap: wrap; gap: 20px;}
.section-title { font-size: 42px; font-weight: 900; line-height: 1.3; color: #000; letter-spacing: -1px; margin-bottom: 15px;}
.section-subtitle { font-size: 18px; color: var(--text-dim); margin-bottom: 50px; font-weight: 400; line-height: 1.6;}
.section-title .text-red { color: var(--accent); }

.grid-6 { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.white-card { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 40px; transition: 0.3s; box-shadow: 0 10px 30px rgba(0,0,0,0.02); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 320px;}
.white-card:hover { border-color: rgba(230,0,18,0.3); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.card-num { font-size: 20px; font-weight: 900; color: var(--accent); margin-bottom: 15px; display: block; }
.white-card h3 { font-size: 24px; font-weight: 800; color: #111; margin-bottom: 15px; line-height: 1.4; word-break: keep-all; }
.white-card p { font-size: 15px; color: #666; line-height: 1.6; word-break: keep-all; }
.card-icon { align-self: flex-end; margin-top: 30px; font-size: 40px; opacity: 0.1; transition: 0.3s;}
.white-card:hover .card-icon { opacity: 1; transform: scale(1.1); color: var(--accent); }

/* Features Grid (Used in Game & AI) */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.feature-card { background: #ffffff; padding: 50px 40px; border: 1px solid var(--border-color); border-radius: 20px; transition: 0.4s; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.feature-card:hover { border-color: var(--accent); transform: translateY(-8px); box-shadow: 0 15px 40px rgba(230,0,18,0.08); }
.feature-card h3 { font-size: 24px; margin-bottom: 25px; border-bottom: 2px solid #000; padding-bottom: 15px; display: inline-block; color: #000; font-weight: 800; transition: 0.3s;}
.feature-card:hover h3 { border-color: var(--accent); color: var(--accent); }
.feature-list { list-style: none; margin-top: 10px; }
.feature-list li { position: relative; padding-left: 24px; font-size: 16px; color: var(--text-dim); margin-bottom: 15px; line-height: 1.6; word-break: keep-all; font-weight: 400;}
.feature-list li::before { content: '✓'; color: var(--accent); font-weight: 900; font-size: 16px; position: absolute; left: 0; top: 0; }
.highlight { font-weight: 700; color: #000; position: relative; z-index: 1;}
.highlight::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 40%; background: rgba(230, 0, 18, 0.15); z-index: -1; }


/* Red Stats Banner */
.red-banner { background: var(--accent); padding: 70px max(5%, calc((100% - 1400px) / 2)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 4vw, 72px); align-items: center; text-align: center; color: #fff; margin-top: 60px;}
.stat-item { min-width: 0; }
.stat-item h3 { font-size: 48px; font-weight: 900; margin-bottom: 5px; }
.stat-item p { font-size: 16px; font-weight: 500; opacity: 0.9; white-space: nowrap; }

/* Frame Grid */
.frame-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 20px; }
.frame-link { display: block; cursor: pointer; } 
.frame-info { text-align: center; }
.frame-info h3 { font-size: 22px; font-weight: 800; margin: 30px 0 15px; color: #000; transition: color 0.3s; }
.frame-link:hover .frame-info h3 { color: var(--accent); }
.frame-info p { font-size: 15px; color: var(--text-dim); line-height: 1.6; word-break: keep-all; }

/* Frame Mockups */
.frame-mockup { width: 100%; max-width: 280px; height: 400px; margin: 0 auto; border-radius: 8px; box-shadow: 0 15px 35px rgba(0,0,0,0.08); padding: 15px; display: flex; flex-direction: column; gap: 10px; position: relative; transition: all 0.4s; background: #fff; border: 1px solid var(--border-color);}
.frame-link:hover .frame-mockup { transform: translateY(-15px); box-shadow: 0 25px 50px rgba(230,0,18,0.15); border-color: rgba(230,0,18,0.3);}
.frame-mockup.basic .photo-area { flex: 1; background: #f0f0f0; border-radius: 4px; }
.frame-mockup.basic .logo-area { height: 40px; font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 16px; letter-spacing: 2px; color: #000; }
.frame-mockup.design { background: #111; padding: 20px 15px; border: 1px solid #333; }
.frame-mockup.design .photo-area { flex: 1; background: #333; border-radius: 4px; }
.frame-mockup.design .logo-area { height: 30px; font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 14px; letter-spacing: 2px; color: #fff; }
.frame-mockup.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr 0.5fr; gap: 10px; padding: 15px; }
.frame-mockup.collage .photo-area { background: #f0f0f0; border-radius: 4px; }
.frame-mockup.collage .main-cut { grid-column: 1 / 3; grid-row: 1 / 2; }
.frame-mockup.collage .sub-cut1 { grid-column: 1 / 2; grid-row: 2 / 3; }
.frame-mockup.collage .sub-cut2 { grid-column: 2 / 3; grid-row: 2 / 3; }
.frame-mockup.collage::after { content: 'THE PICKS'; grid-column: 1 / 3; grid-row: 3 / 4; font-weight: 900; font-size: 14px; text-align: center; align-self: center; letter-spacing: 2px; color: #000; }

/* Portfolio 4-Grid */
.portfolio-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 15px;}
.portfolio-4grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.port-item { cursor: pointer; display: block; }
.port-img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; margin-bottom: 18px; background: #eaeaea; display:flex; align-items:center; justify-content:center; box-shadow: 0 10px 20px rgba(0,0,0,0.03); transition: box-shadow 0.4s ease;}
.port-item:hover .port-img { box-shadow: 0 15px 30px rgba(230,0,18,0.15); }
.port-img .img-placeholder { font-size: 14px; color: #999; position: absolute; z-index: 1;}
.port-img img { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit: cover; z-index: 2; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.port-item:hover .port-img img { transform: scale(1.05); }
.port-text h4 { font-size: 18px; font-weight: 800; color: #111; margin-bottom: 6px; transition: color 0.3s; }
.port-item:hover .port-text h4 { color: var(--accent); }
.port-text p { font-size: 14px; color: #777; line-height: 1.5; font-weight: 500;}
.btn-more { padding: 10px 26px; border: 1px solid #ddd; border-radius: 30px; font-size: 14px; color: #555; font-weight: 600; transition: 0.3s; display: inline-block;}
.btn-more:hover { border-color: #111; color: #111; }
.portfolio-page { max-width: 1600px; margin: 0 auto; padding: 116px 4% 110px; min-height: 80vh; }
.portfolio-page-hero { min-height: 330px; padding: 58px 64px; border-radius: 26px; color: #fff; background: radial-gradient(circle at 86% 22%, rgba(230,0,18,.72), transparent 24%), linear-gradient(135deg,#090909 0%,#202020 58%,#111 100%); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; overflow: hidden; position: relative; }
.portfolio-page-label { display:block; color:#ff6975; font-size:13px; font-weight:900; letter-spacing:2px; margin-bottom:14px; }
.portfolio-page-hero h1 { font-size:48px; line-height:1.18; letter-spacing:-1.5px; margin:0; }.portfolio-page-hero h1 span{color:#ff3343}.portfolio-page-hero p{max-width:470px;margin:0 0 8px;color:#c9c9c9;font-size:16px;line-height:1.8}
.portfolio-browser { padding-top:70px; }.portfolio-browser-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:26px}.portfolio-browser-heading h2{font-size:34px;margin:4px 0 0}.portfolio-result-count{color:#777;font-size:14px;font-weight:800}
.portfolio-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 42px; }
.portfolio-filters button { min-height:102px; border:1px solid #e3e3e3; background:#fff; padding:18px 22px; border-radius:16px; color:#777; cursor:pointer; display:grid; grid-template-columns:auto 1fr; grid-template-rows:1fr 1fr; column-gap:15px; text-align:left; transition:.25s; box-shadow:0 8px 24px rgba(0,0,0,.025) }
.portfolio-filters button>span{grid-row:1/3;align-self:center;color:#bbb;font-size:13px;font-weight:900}.portfolio-filters button>b{align-self:end;color:#222;font-size:19px}.portfolio-filters button>small{align-self:start;font-size:11px;letter-spacing:.8px}
.portfolio-filters button:hover { transform:translateY(-3px); border-color:#bbb; box-shadow:0 12px 28px rgba(0,0,0,.06) }.portfolio-filters button.active { background:#111;color:#fff;border-color:#111;box-shadow:0 14px 32px rgba(0,0,0,.16)}.portfolio-filters button.active>b{color:#fff}.portfolio-filters button.active>span{color:#ff3343}
.portfolio-page-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:34px 22px; }
.portfolio-page-card .port-img{border-radius:14px;margin-bottom:16px}.portfolio-page-card .port-text{padding:0 4px}.portfolio-card-category{display:block;color:var(--accent);font-size:11px;font-weight:900;letter-spacing:.3px;margin-bottom:5px}.portfolio-card-number{position:absolute;z-index:3;top:12px;left:12px;background:rgba(0,0,0,.68);color:#fff;border-radius:20px;padding:5px 9px;font-size:11px;font-weight:850;backdrop-filter:blur(4px)}
.portfolio-loading { grid-column:1/-1;text-align:center;padding:70px 20px;color:#888;border:1px dashed #ccc;border-radius:14px }.portfolio-empty{grid-column:1/-1;min-height:270px;border:1px dashed #ccc;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;color:#888}.portfolio-empty b{color:#333;font-size:20px}.portfolio-empty span{line-height:1.7}
.portfolio-pagination { display:flex;align-items:center;justify-content:center;gap:18px;margin-top:50px }.portfolio-pagination button{width:50px;height:50px;border-radius:50%;border:1px solid #d8d8d8;background:#fff;color:#111;font-size:25px;font-weight:800;cursor:pointer;transition:.2s}.portfolio-pagination button:hover:not(:disabled){background:#111;color:#fff;border-color:#111}.portfolio-pagination button:disabled{opacity:.28;cursor:default}.portfolio-pagination span{min-width:64px;text-align:center;font-weight:850}

/* Contact Section Bottom */
.contact-bottom { display: flex; gap: 60px; background: var(--bg-sec); padding: 80px 5%; max-width: 1400px; margin: 0 auto; border-radius: 20px; flex-wrap: wrap;}
.contact-left { flex: 1; min-width: 300px; }
.contact-left h2 { font-size: 36px; font-weight: 900; margin-bottom: 20px; line-height: 1.3;}
.contact-left h2 .text-red { color: var(--accent); }
.contact-left p { color: #666; margin-bottom: 30px; font-size: 16px; }

.contact-right { flex: 1; min-width: 300px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-info-item { display: flex; gap: 15px; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--accent); box-shadow: 0 5px 15px rgba(0,0,0,0.05);}
.contact-details h5 { font-size: 13px; color: #888; font-weight: 600; margin-bottom: 5px; }
.contact-details p { font-size: 16px; font-weight: 800; color: #111; }
.contact-details a:hover { color: var(--accent); }

.social-links { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.social-link { min-height: 46px; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid #e8e8e8; display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; }
.social-link:hover { transform: translateY(-2px); border-color: #ccc; box-shadow: 0 8px 20px rgba(0,0,0,0.07); }
.social-link svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-link svg .social-dot { fill: currentColor; stroke: none; }
.instagram { color: #d62976; }
.blog { color: #03c75a; }
.naver-mark { width: 24px; height: 24px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; background: #03c75a; color: #fff; font-size: 15px; font-weight: 900; }

body.modal-open { overflow: hidden; }
.quote-modal[hidden] { display: none; }
.quote-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 24px; }
.quote-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.58); backdrop-filter: blur(5px); }
.quote-modal-panel { position: relative; width: min(760px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 42px; box-shadow: 0 30px 80px rgba(0,0,0,0.28); }
.quote-modal-panel h2 { font-size: 34px; font-weight: 900; margin-bottom: 8px; }
.quote-modal-guide { color: #666; margin-bottom: 28px; }
.modal-close { position: absolute; top: 18px; right: 20px; width: 42px; height: 42px; border: 0; background: #f4f4f4; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.modal-close:hover { background: #e9e9e9; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form label { display: flex; flex-direction: column; gap: 8px; color: #333; font-size: 14px; font-weight: 750; }
.quote-form label strong { color: var(--accent); }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 1px solid #ddd; border-radius: 10px; padding: 13px 14px; background: #fff; color: #111; font: inherit; font-weight: 500; outline: none; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(230,0,18,0.09); }
.quote-form textarea { resize: vertical; min-height: 120px; }
.form-full { grid-column: 1 / -1; }
.quote-form .privacy-check { flex-direction: row; align-items: flex-start; margin: 20px 0; font-size: 13px; font-weight: 600; color: #666; }
.privacy-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); }
.form-submit { border: 0; cursor: pointer; justify-content: center; width: 100%; }
.form-submit:disabled { opacity: 0.55; cursor: wait; transform: none; }
.form-status { min-height: 24px; margin-top: 14px; text-align: center; font-size: 14px; font-weight: 700; }
.form-status.success { color: #087a39; }
.form-status.error { color: #c60010; }

/* Detail Pages */
.detail-section { padding: 160px 5% 80px; display: flex; flex-wrap: wrap; align-items: center; gap: 60px; max-width: 1200px; margin: 0 auto; }
.detail-img-box { flex: 1; min-width: 400px; border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; background: #fafafa; min-height: 500px; display: flex; align-items: center; justify-content: center; position: relative; }
.detail-img-placeholder { color: #999; text-align: center; font-size: 15px; padding: 40px; line-height: 1.6;}
.detail-text-box { flex: 1; min-width: 350px; }
.detail-text-box h2 { font-size: 42px; font-weight: 900; margin-bottom: 25px; line-height: 1.3; color: #000; letter-spacing: -1px;}
.detail-text-box p { font-size: 16px; color: var(--text-dim); line-height: 1.8; margin-bottom: 40px; word-break: keep-all; font-weight: 400;}
.back-btn { display: inline-block; padding: 15px 35px; border: 1px solid #111; border-radius: 8px; color: #111; font-weight: 700; transition: 0.3s; margin-right: 10px; font-size: 15px;}
.back-btn:hover { background: #111; color: #fff; }

.gallery-section { max-width: 1200px; margin: 0 auto 120px; padding: 0 5%; }
.gallery-title { font-size: 24px; font-weight: 800; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 2px solid #111; display: inline-block; color: #000; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; scroll-margin-top: 110px; }
.gallery-item { aspect-ratio: 4/5; background: #fafafa; border: 1px solid var(--border-color); border-radius: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.gallery-item:hover img { transform: scale(1.05); }
.frame-main-image { width: 100%; height: 100%; min-height: 500px; object-fit: contain; background: #fafafa; }
.gallery-empty { grid-column: 1 / -1; min-height: 240px; display: grid; place-items: center; border: 1px dashed #ccc; border-radius: 14px; color: #888; }
.gallery-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 34px; }
.gallery-pagination button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #d8d8d8; background: #fff; color: #111; font-size: 25px; font-weight: 800; cursor: pointer; transition: .2s; }
.gallery-pagination button:hover:not(:disabled) { background: #111; color: #fff; border-color: #111; }
.gallery-pagination button:disabled { opacity: .3; cursor: default; }
.gallery-pagination span { min-width: 62px; text-align: center; font-weight: 800; }
.frame-mockup.has-frame-image { padding: 0; background-size: cover; background-position: center; overflow: hidden; }
.frame-mockup.has-frame-image > * { display: none; }

/* Photobooth Service Page */
.nav-links .is-current{color:var(--accent)}
.photobooth-service-page{padding-top:80px;background:#fff}.service-width{width:min(1480px,calc(100% - 8vw));margin-inline:auto}.service-page-hero{min-height:590px;padding:100px max(5vw,calc((100% - 1480px)/2));display:flex;align-items:center;justify-content:space-between;gap:60px;color:#fff;overflow:hidden;position:relative;background:radial-gradient(circle at 80% 30%,rgba(230,0,18,.75),transparent 25%),linear-gradient(135deg,#090909 0%,#181818 60%,#050505 100%)}.service-page-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 48%,rgba(255,255,255,.035) 48% 48.2%,transparent 48.2%)}.service-hero-copy,.service-hero-mark{position:relative;z-index:1}.service-hero-copy>span,.service-cta>span{display:block;color:#ff4a58;font-size:13px;font-weight:900;letter-spacing:2px;margin-bottom:18px}.service-hero-copy h1{font-size:clamp(48px,5.6vw,86px);line-height:1.1;letter-spacing:-3px;margin:0 0 28px}.service-hero-copy h1 strong{color:#f01424}.service-hero-copy p{color:#c4c4c4;font-size:18px;line-height:1.85;word-break:keep-all}.service-scroll-link{display:inline-flex;align-items:center;gap:25px;margin-top:40px;color:#fff;font-size:14px;font-weight:800;border-bottom:1px solid #777;padding-bottom:10px}.service-scroll-link b{color:#ff3343}.service-hero-mark{display:grid;justify-items:end;color:#fff;line-height:.88;opacity:.96}.service-hero-mark span{font-size:clamp(50px,7vw,110px);font-weight:200;letter-spacing:7px}.service-hero-mark b{font-size:clamp(72px,10vw,150px);letter-spacing:-7px}.service-hero-mark em{margin-top:24px;color:#ff4350;font-size:14px;font-style:normal;font-weight:900;letter-spacing:4px}
.service-story{padding-block:120px;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(340px,.75fr);gap:clamp(50px,7vw,120px);align-items:center}.service-photo{position:relative;background:linear-gradient(135deg,#f0f0f0,#dedede);overflow:hidden;isolation:isolate}.service-photo-wide{aspect-ratio:3/2;border-radius:3px}.service-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .45s ease,transform .8s ease}.service-photo.has-image img{opacity:1}.service-photo:hover img{transform:scale(1.025)}.service-photo-empty{position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:#999;font-size:14px;line-height:1.8}.service-photo.has-image .service-photo-empty{display:none}.service-kicker{display:block;color:#111;font-size:13px;font-weight:900;letter-spacing:1.2px;margin-bottom:16px}.service-story-copy h2,.service-spec-copy h2{font-size:clamp(34px,3.2vw,52px);line-height:1.22;letter-spacing:-2px;margin:0 0 30px}.service-story-copy h2 strong,.service-spec-copy h2 strong{color:var(--accent)}.service-story-copy p{font-size:16px;line-height:1.9;color:#606060;margin-bottom:13px;word-break:keep-all}.service-signature{margin-top:28px;padding-top:18px;border-top:1px solid #ddd;color:#aaa;font-size:14px;font-weight:700}
.service-spec-section{padding:110px 0;background:#f6f6f6}.service-spec-section-white{background:#fff}.service-spec-card{display:grid;grid-template-columns:minmax(0,.92fr) minmax(400px,1.08fr);gap:clamp(50px,7vw,110px);align-items:center}.service-spec-reverse .service-photo{order:2}.service-spec-reverse .service-spec-copy{order:1}.service-product-photo{aspect-ratio:4/3;border-radius:16px;box-shadow:0 22px 55px rgba(0,0,0,.08)}.service-spec-copy{padding:25px 0}.service-spec-list{display:grid;gap:0}.service-spec-list>div{display:grid;grid-template-columns:115px 1fr;gap:22px;padding:16px 0;border-bottom:1px solid #ddd}.service-spec-list dt{font-size:14px;color:#333;font-weight:900}.service-spec-list dd{font-size:15px;color:#777;line-height:1.7;word-break:keep-all}.service-spec-list dd strong{color:var(--accent)}
.service-cta{padding:125px 5vw;text-align:center;color:#fff;background:linear-gradient(135deg,#0c0c0c,#1d1d1d)}.service-cta h2{font-size:clamp(36px,4vw,58px);line-height:1.32;letter-spacing:-2px;margin-bottom:38px}.service-cta>div{display:flex;justify-content:center;gap:14px}.service-cta .btn-secondary{background:transparent;border-color:#555;color:#fff}.service-cta .btn-secondary:hover{border-color:#fff;color:#fff}

/* Responsive */
@media (max-width: 992px) { .portfolio-4grid { grid-template-columns: repeat(2, 1fr); } .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
    nav { flex-direction: column; justify-content: center; height: auto; padding: 15px 0; gap: 15px; }
    .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center; width: 100%; }
    .nav-links a.quote-btn { display: none; }
    
    .hero { flex-direction: column; text-align: center; margin-top: 0; padding-top: 132px; gap: 0; }
    .hero-text { flex: none; width: 100%; padding: 60px 24px; align-items: center; }
    .hero-img { flex: none; width: 100%; min-height: 560px; }
    .hero-media-frame { inset: 36px 20px; border-radius:16px; }
    .hero-page img { width:100%; height:100%; min-height:0; }
    .hero-image-fallback { inset:0; }
    .hero-slide-dots { bottom: 18px; }
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 15px; margin-bottom: 30px; }
    .hero-btns { justify-content: center; }
    
    .section, .section.bg-gray { padding: 80px 20px; }
    .section-title { font-size: 30px; margin-bottom: 30px; }
    
    .grid-6 { grid-template-columns: 1fr; }
    
    .red-banner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding: 60px 20px; margin-top: 40px;}
    .stat-item p { white-space: normal; }
    .contact-bottom { flex-direction: column; gap: 40px; padding: 40px 20px; }
    .contact-right { grid-template-columns: 1fr; }
    .social-links { grid-column: 1; }
    .quote-modal { padding: 10px; }
    .quote-modal-panel { padding: 34px 20px 24px; max-height: calc(100vh - 20px); border-radius: 16px; }
    .quote-modal-panel h2 { font-size: 27px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-full { grid-column: 1; }
    
    .portfolio-4grid { grid-template-columns: 1fr; gap: 35px; } 
    .portfolio-header { flex-direction: column; align-items: flex-start; }
    .portfolio-page { padding: 142px 14px 80px; }
    .portfolio-page-hero { min-height: 360px; padding: 38px 24px; border-radius: 20px; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 22px; }
    .portfolio-page-hero h1 { font-size: 36px; }
    .portfolio-page-hero p { font-size: 14px; }
    .portfolio-browser { padding-top: 52px; }
    .portfolio-browser-heading { align-items: flex-start; }
    .portfolio-browser-heading h2 { font-size: 27px; }
    .portfolio-filters { grid-template-columns: 1fr; gap: 9px; margin-bottom: 30px; }
    .portfolio-filters button { min-height: 78px; }
    .detail-section { padding: 140px 20px 50px; flex-direction: column; gap: 40px; }
    .detail-img-box, .detail-text-box { min-width: 100%; width: 100%; }
    .detail-img-box { min-height: 350px; }
    .frame-main-image { min-height: 350px; }
    .photobooth-service-page{padding-top:132px}.service-width{width:calc(100% - 36px)}.service-page-hero{min-height:540px;padding:70px 24px;align-items:flex-end}.service-hero-copy h1{font-size:44px;letter-spacing:-2px}.service-hero-copy p{font-size:15px}.service-hero-copy p br{display:none}.service-hero-mark{position:absolute;right:-24px;top:62px;opacity:.13}.service-hero-mark span{font-size:58px}.service-hero-mark b{font-size:80px}.service-story{padding-block:75px;grid-template-columns:1fr;gap:42px}.service-story-copy{padding:0 4px}.service-spec-section{padding:72px 0}.service-spec-card{grid-template-columns:1fr;gap:34px}.service-spec-reverse .service-photo,.service-spec-reverse .service-spec-copy{order:initial}.service-spec-copy{padding:0 4px}.service-spec-list>div{grid-template-columns:82px 1fr;gap:12px}.service-cta{padding:80px 20px}.service-cta>div{flex-direction:column}.service-cta a{justify-content:center}
}
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; gap: 18px; } }

/* V15: service page desktop scale and alignment refinement */
@media (min-width: 769px) {
    .service-page-hero {
        min-height: 470px;
        padding: 56px max(5vw, calc((100% - 1180px) / 2));
        justify-content: center;
        gap: clamp(54px, 6vw, 105px);
    }
    .service-page-hero::before { background: linear-gradient(90deg, transparent 53%, rgba(255,255,255,.035) 53% 53.15%, transparent 53.15%); }
    .service-hero-copy { flex: 1 1 610px; max-width: 620px; }
    .service-hero-copy > span { margin-bottom: 12px; font-size: 11px; }
    .service-hero-copy h1 { max-width: 620px; margin-bottom: 20px; font-size: clamp(42px, 3.35vw, 58px); line-height: 1.12; letter-spacing: -2px; }
    .service-hero-copy p { max-width: 540px; font-size: 15px; line-height: 1.75; }
    .service-scroll-link { margin-top: 24px; padding-bottom: 7px; font-size: 12px; }
    .service-hero-mark { flex: 0 1 365px; min-width: 300px; align-self: center; justify-items: center; }
    .service-hero-mark span { font-size: clamp(42px, 4.4vw, 65px); letter-spacing: 5px; }
    .service-hero-mark b { font-size: clamp(68px, 6.8vw, 102px); letter-spacing: -5px; }
    .service-hero-mark em { margin-top: 16px; font-size: 11px; letter-spacing: 3px; }

    .service-width { width: min(1040px, calc(100% - 70px)); }
    .service-story { padding-block: 76px; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .9fr); gap: 58px; }
    .service-story-copy h2, .service-spec-copy h2 { margin-bottom: 21px; font-size: clamp(31px, 2.6vw, 40px); letter-spacing: -1.4px; }
    .service-kicker { margin-bottom: 11px; font-size: 11px; }
    .service-story-copy p { margin-bottom: 9px; font-size: 14px; line-height: 1.78; }
    .service-signature { margin-top: 18px; padding-top: 13px; font-size: 12px; }

    .service-spec-section { padding: 72px 0; }
    .service-spec-card { grid-template-columns: minmax(0, .95fr) minmax(350px, 1.05fr); gap: 58px; }
    .service-product-photo { border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,.07); }
    .service-spec-copy { padding: 10px 0; }
    .service-spec-list > div { grid-template-columns: 92px 1fr; gap: 16px; padding: 11px 0; }
    .service-spec-list dt { font-size: 12.5px; }
    .service-spec-list dd { font-size: 13px; line-height: 1.6; }

    .service-cta { padding: 84px 5vw; }
    .service-cta h2 { margin-bottom: 28px; font-size: clamp(32px, 3vw, 44px); }
}

/* V16: refined service hero and unified product photo frames */
.service-page-body { background: #fff; }
.service-hero-wordmark { display: flex; align-items: baseline; justify-content: flex-end; gap: .18em; white-space: nowrap; }

@media (min-width: 769px) {
    .photobooth-service-page { padding-top: 80px; }
    .service-page-hero {
        width: min(1180px, calc(100% - 64px));
        min-height: 390px;
        margin: 28px auto 0;
        padding: 48px 60px;
        justify-content: space-between;
        gap: clamp(42px, 5vw, 80px);
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 28px;
        box-shadow: 0 24px 70px rgba(0,0,0,.12);
        background:
            radial-gradient(circle at 84% 42%, rgba(218,42,49,.42), transparent 31%),
            linear-gradient(125deg, #0a0a0b 0%, #151515 58%, #0b0b0c 100%);
    }
    .service-page-hero::before {
        background: linear-gradient(105deg, transparent 58%, rgba(255,255,255,.035) 58.1%, transparent 58.3%);
    }
    .service-page-hero::after {
        content: "";
        position: absolute;
        width: 210px;
        height: 210px;
        right: 7%;
        top: 50%;
        border: 1px solid rgba(255,255,255,.06);
        border-radius: 50%;
        transform: translateY(-50%);
    }
    .service-hero-copy { flex: 1 1 565px; max-width: 570px; }
    .service-hero-copy > span { margin-bottom: 10px; font-size: 10px; letter-spacing: 2.2px; }
    .service-hero-copy h1 { max-width: 570px; margin-bottom: 17px; font-size: clamp(38px, 3vw, 48px); line-height: 1.13; letter-spacing: -1.8px; }
    .service-hero-copy p { max-width: 520px; font-size: 14px; line-height: 1.72; }
    .service-scroll-link { margin-top: 20px; padding-bottom: 6px; gap: 20px; font-size: 11px; }
    .service-hero-mark { flex: 0 0 auto; min-width: 0; align-self: center; justify-items: end; line-height: 1; }
    .service-hero-wordmark { position: relative; z-index: 1; }
    .service-hero-mark span,
    .service-hero-mark b { font-size: clamp(50px, 4.2vw, 68px); letter-spacing: -.055em; }
    .service-hero-mark span { font-weight: 200; }
    .service-hero-mark b { font-weight: 900; }
    .service-hero-mark em { margin-top: 13px; padding-right: 3px; font-size: 10px; letter-spacing: 4px; }

    .service-width { width: min(1040px, calc(100% - 70px)); }
    .service-story,
    .service-spec-card {
        grid-template-columns: 400px minmax(0, 1fr);
        gap: clamp(54px, 6vw, 78px);
    }
    .service-story { padding-block: 72px; }
    .service-spec-section { padding: 72px 0; }
    .service-photo-wide,
    .service-product-photo {
        width: 400px;
        max-width: 100%;
        aspect-ratio: 4 / 3;
        justify-self: center;
        border: 1px solid rgba(0,0,0,.055);
        border-radius: 20px;
        box-shadow: 0 16px 42px rgba(0,0,0,.075);
    }
    .service-photo img { object-fit: contain; object-position: center; }
    .service-photo:hover img { transform: scale(1.012); }
}

@media (max-width: 768px) {
    .photobooth-service-page { padding-top: 132px; }
    .service-page-hero {
        width: calc(100% - 24px);
        min-height: 500px;
        margin: 12px auto 0;
        padding: 54px 24px;
        border-radius: 22px;
        background:
            radial-gradient(circle at 85% 20%, rgba(218,42,49,.4), transparent 30%),
            linear-gradient(135deg, #0a0a0b, #151515 65%, #090909);
    }
    .service-hero-copy { z-index: 2; }
    .service-hero-copy h1 { font-size: clamp(37px, 11vw, 46px); }
    .service-hero-mark { right: 20px; top: 40px; opacity: .16; }
    .service-hero-wordmark { justify-content: flex-end; }
    .service-hero-mark span,
    .service-hero-mark b { font-size: clamp(35px, 10vw, 48px); letter-spacing: -.055em; }
    .service-hero-mark em { margin-top: 9px; font-size: 8px; letter-spacing: 2.5px; }
    .service-photo-wide,
    .service-product-photo {
        width: min(100%, 400px);
        aspect-ratio: 4 / 3;
        justify-self: center;
        border-radius: 18px;
        box-shadow: 0 14px 34px rgba(0,0,0,.07);
    }
    .service-photo img { object-fit: contain; object-position: center; }
}

/* V17: align service hero with portfolio and enlarge product photos by 20% */
@media (min-width: 769px) {
    .service-page-hero {
        width: min(1472px, calc(100% - 8vw));
        min-height: 330px;
        margin-top: 36px;
        padding: 42px 64px;
        border-radius: 26px;
    }
    .service-hero-copy h1 { font-size: clamp(38px, 2.75vw, 48px); }
    .service-width { width: min(1120px, calc(100% - 70px)); }
    .service-story,
    .service-spec-card {
        grid-template-columns: 480px minmax(0, 1fr);
        gap: clamp(50px, 5vw, 72px);
    }
    .service-photo-wide,
    .service-product-photo { width: 480px; }
}

@media (min-width: 769px) and (max-width: 1049px) {
    .service-page-hero { padding-inline: 42px; }
    .service-story,
    .service-spec-card { grid-template-columns: 390px minmax(0, 1fr); gap: 38px; }
    .service-photo-wide,
    .service-product-photo { width: 390px; }
}

/* V18: match the marked desktop layout and fill all three equal photo frames */
.service-photo img { object-fit: cover; object-position: center; }

@media (min-width: 1200px) {
    .service-width { width: min(1720px, calc(100% - 8vw)); }

    .service-story,
    .service-spec-card:not(.service-spec-reverse) {
        grid-template-columns: 690px minmax(0, 1fr);
        gap: 100px;
    }

    .service-story-copy,
    .service-spec-card:not(.service-spec-reverse) .service-spec-copy {
        width: min(745px, 100%);
        justify-self: end;
    }

    .service-spec-reverse {
        grid-template-columns: minmax(0, 1fr) 690px;
        gap: 100px;
    }

    .service-spec-reverse .service-spec-copy {
        width: min(500px, 100%);
        justify-self: center;
    }

    .service-spec-reverse .service-photo { justify-self: end; }

    .service-photo-wide,
    .service-product-photo {
        width: 690px;
        max-width: 100%;
        aspect-ratio: 4 / 3;
    }
}

/* V19: keep every service section inside the hero's left and right edges */
@media (min-width: 1200px) {
    .service-width { width: min(1472px, calc(100% - 8vw)); }

    .service-story,
    .service-spec-card:not(.service-spec-reverse) {
        grid-template-columns: 690px minmax(0, 1fr);
        gap: 72px;
    }

    .service-story-copy,
    .service-spec-card:not(.service-spec-reverse) .service-spec-copy {
        width: min(620px, 100%);
        justify-self: end;
    }

    .service-spec-reverse {
        grid-template-columns: minmax(0, 1fr) 690px;
        gap: 72px;
    }

    .service-spec-reverse .service-spec-copy {
        width: min(560px, 100%);
        justify-self: center;
    }

    .service-story-copy h2,
    .service-spec-copy h2 {
        margin-bottom: 18px;
        font-size: clamp(29px, 2.15vw, 36px);
        line-height: 1.2;
        letter-spacing: -1.2px;
    }

    .service-kicker { margin-bottom: 9px; font-size: 10px; }
    .service-story-copy p { margin-bottom: 8px; font-size: 13px; line-height: 1.7; }
    .service-signature { margin-top: 15px; padding-top: 11px; font-size: 11px; }
    .service-spec-list > div { grid-template-columns: 88px 1fr; gap: 14px; padding: 10px 0; }
    .service-spec-list dt { font-size: 12px; }
    .service-spec-list dd { font-size: 12.5px; line-height: 1.55; }
}

/* V20: increase all service description text to 15px */
.service-story-copy p,
.service-spec-list dd { font-size: 15px; }

/* V21: 포토부스 화면 · AI 콘텐츠 · 맞춤 백월 */
.photobooth-service-page { display: flex; flex-direction: column; }
.service-page-hero { order: 0; }
.service-story { order: 1; }
.booth-ui-section { order: 2; }
.ai-content-section { order: 3; }
.backwall-section { order: 4; }
.service-signature-section { order: 5; }
.service-archive-section { order: 6; }
.service-cta { order: 7; }
.feature-section-heading { max-width: 720px; }
.feature-section-heading h2 { margin: 0 0 18px; font-size: clamp(34px, 3.1vw, 50px); line-height: 1.18; letter-spacing: -2px; }
.feature-section-heading h2 strong { color: var(--accent); }
.feature-section-heading p { color: #6c6c6c; font-size: 16px; line-height: 1.75; word-break: keep-all; }
.feature-heading-center { margin: 0 auto 40px; text-align: center; }

.booth-ui-section { padding: 100px 0 110px; background: linear-gradient(180deg, #fff 0%, #f5f5f6 100%); }
.booth-ui-section .feature-section-heading { margin-bottom: 46px; }
.booth-ui-browser { position: relative; display: grid; grid-template-columns: 62px minmax(320px, 1fr) 62px; align-items: center; gap: 28px; min-height: 650px; padding: 44px clamp(26px, 4vw, 64px); overflow: hidden; border: 1px solid #e6e6e6; border-radius: 30px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.07); }
.booth-ui-browser::before { content: ""; position: absolute; width: 430px; height: 430px; left: 50%; top: 50%; border-radius: 50%; transform: translate(-57%,-50%); background: radial-gradient(circle, rgba(230,0,18,.10), rgba(230,0,18,0) 68%); pointer-events: none; }
.booth-monitor-wrap { position: relative; z-index: 1; grid-column: 2; display: grid; justify-items: center; }
.booth-monitor { position: relative; width: min(365px, 100%); aspect-ratio: 9 / 16; padding: 34px 24px 52px; border: 0; border-radius: 30px; background: linear-gradient(145deg, #1b1b1d, #050505); box-shadow: 0 32px 55px rgba(0,0,0,.25); cursor: zoom-in; }
.booth-monitor:disabled { cursor: default; }
.booth-monitor-camera { position: absolute; left: 50%; top: 13px; width: 9px; height: 9px; transform: translateX(-50%); border: 2px solid #444; border-radius: 50%; background: #080808; }
.booth-monitor-screen { position: relative; display: grid; width: 100%; height: 100%; overflow: hidden; place-items: center; border-radius: 14px; background: linear-gradient(145deg,#222,#0e0e0e); }
.booth-monitor-screen img { width: 100%; height: 100%; object-fit: contain; background: #111; }
.booth-monitor-base { position: absolute; left: 50%; bottom: 17px; width: 64px; height: 5px; transform: translateX(-50%); border-radius: 6px; background: #494949; }
.screen-zoom-hint { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; border-radius: 999px; color: #fff; background: rgba(0,0,0,.7); font-size: 11px; font-weight: 700; opacity: 0; transition: opacity .2s; }
.booth-monitor:not(:disabled):hover .screen-zoom-hint { opacity: 1; }
.showcase-empty { max-width: 220px; padding: 20px; color: #aaa; text-align: center; font-size: 14px; line-height: 1.6; }
.showcase-counter { margin-top: 22px; color: #222; font-size: 15px; font-weight: 900; letter-spacing: 2px; }
.showcase-arrow { position: relative; z-index: 2; width: 58px; height: 58px; border: 1px solid #ddd; border-radius: 50%; color: #111; background: #fff; font-size: 23px; cursor: pointer; transition: .25s; }
.showcase-arrow:hover:not(:disabled) { color: #fff; border-color: var(--accent); background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(230,0,18,.22); }
.showcase-arrow:disabled { opacity: .28; cursor: default; }
.screen-thumbs { position: absolute; z-index: 1; right: clamp(94px,8vw,142px); top: 50%; display: grid; gap: 11px; max-height: 540px; overflow: auto; padding: 5px 8px 5px 5px; transform: translateY(-50%); scrollbar-width: thin; }
.screen-thumbs button { position: relative; width: 112px; aspect-ratio: 9 / 14; overflow: hidden; border: 2px solid transparent; border-radius: 13px; background: #f1f1f1; cursor: pointer; transition: .2s; }
.screen-thumbs button.active { border-color: var(--accent); box-shadow: 0 7px 18px rgba(230,0,18,.16); }
.screen-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.screen-thumbs span { position: absolute; left: 7px; bottom: 7px; padding: 3px 7px; border-radius: 999px; color: #fff; background: rgba(0,0,0,.72); font-size: 10px; font-weight: 800; }
.screen-thumbs-empty { color: #aaa; font-size: 13px; line-height: 1.6; }

.ai-content-section { padding: 110px 0; background: #fff; color: #111; border-top: 1px solid #ededee; }
.ai-content-section .service-kicker { color: var(--accent); }
.ai-content-section .feature-section-heading p { color: #666; }
.ai-content-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.ai-content-tabs button { min-height: 46px; padding: 0 24px; border: 1px solid #d9d9dc; border-radius: 999px; color: #606064; background: #fff; font-size: 14px; font-weight: 750; cursor: pointer; transition: .25s; }
.ai-content-tabs button:hover,.ai-content-tabs button.active { color: #fff; border-color: var(--accent); background: var(--accent); }
.ai-content-panel { padding: clamp(28px, 4vw, 58px); border: 1px solid #e5e5e7; border-radius: 30px; background: #f8f8f9; box-shadow: 0 22px 60px rgba(0,0,0,.055); }
.ai-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 36px; padding-bottom: 25px; border-bottom: 1px solid #dedee1; }
.ai-panel-heading > div { display: flex; align-items: center; gap: 16px; }
.ai-panel-heading span { color: var(--accent); font-size: 15px; font-weight: 900; }
.ai-panel-heading h3 { margin: 0; font-size: 27px; }
.ai-panel-heading p { max-width: 560px; color: #68686d; font-size: 14px; line-height: 1.65; text-align: right; }
.ai-content-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.ai-result-card { position: relative; aspect-ratio: 4 / 5; overflow: hidden; padding: 0; border: 1px solid #e1e1e3; border-radius: 20px; background: #fff; cursor: zoom-in; box-shadow: 0 12px 30px rgba(0,0,0,.06); }
.ai-result-card::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent,rgba(0,0,0,.62)); }
.ai-result-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ai-result-card:hover img { transform: scale(1.035); }
.ai-result-card span { position: absolute; z-index: 1; left: 15px; bottom: 12px; color: #fff; font-size: 12px; font-weight: 900; }
.ai-content-empty { grid-column: 1 / -1; min-height: 260px; display: grid; place-items: center; border: 1px dashed #cfcfd3; border-radius: 20px; color: #8a8a90; background: #fff; text-align: center; }

.backwall-section { padding: 110px 0; background: #f4f4f5; }
.backwall-layout { display: grid; grid-template-columns: minmax(260px,.62fr) minmax(0,1.38fr); align-items: center; gap: clamp(50px,6vw,90px); }
.backwall-copy { padding-left: 10px; }
.backwall-count { display: inline-flex; margin-top: 34px; padding: 10px 17px; border-radius: 999px; color: #fff; background: #111; font-size: 13px; font-weight: 850; letter-spacing: 1px; }
.backwall-viewer { position: relative; display: grid; grid-template-columns: 54px minmax(0,1fr) 54px; align-items: center; gap: 18px; }
.backwall-frame { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; padding: 0; border: 10px solid #fff; border-radius: 26px; background: #e3e3e4; box-shadow: 0 24px 58px rgba(0,0,0,.12); cursor: zoom-in; }
.backwall-frame:disabled { cursor: default; }
.backwall-frame img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.backwall-dots { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 8px; margin-top: 4px; }
.backwall-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #a5a5a8; cursor: pointer; transition: .2s; }
.backwall-dots button.active { width: 28px; border-radius: 8px; background: var(--accent); }

.media-lightbox[hidden] { display: none; }
.lightbox-open { overflow: hidden; }
.media-lightbox { position: fixed; z-index: 3000; inset: 0; display: grid; grid-template-columns: 70px minmax(0,1fr) 70px; align-items: center; gap: 20px; padding: 50px; color: #fff; background: rgba(4,4,5,.94); backdrop-filter: blur(12px); }
.media-lightbox figure { display: grid; min-width: 0; max-height: calc(100vh - 80px); justify-items: center; }
.media-lightbox img { max-width: 100%; max-height: calc(100vh - 125px); object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.media-lightbox figcaption { margin-top: 12px; font-size: 13px; font-weight: 800; letter-spacing: 2px; }
.lightbox-close { position: absolute; right: 28px; top: 22px; width: 48px; height: 48px; border: 0; color: #fff; background: transparent; font-size: 38px; cursor: pointer; }
.lightbox-arrow { width: 58px; height: 58px; border: 1px solid #5c5c60; border-radius: 50%; color: #fff; background: #19191c; font-size: 24px; cursor: pointer; }
.lightbox-arrow:hover:not(:disabled) { border-color: var(--accent); background: var(--accent); }
.lightbox-arrow:disabled { opacity: .25; }

@media (max-width: 1000px) {
    .booth-ui-browser { grid-template-columns: 54px minmax(280px,1fr) 54px; gap: 18px; padding-inline: 24px; }
    .screen-thumbs { right: 82px; }
    .screen-thumbs button { width: 88px; }
    .ai-content-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 768px) {
    .nav-links { gap: 12px; padding-inline: 12px; }
    .nav-links > a,.dropdown > a { font-size: 14px; }
    .booth-ui-section,.ai-content-section,.backwall-section { padding: 76px 0; }
    .feature-section-heading h2 { font-size: 34px; letter-spacing: -1.3px; }
    .feature-section-heading p { font-size: 15px; }
    .booth-ui-browser { grid-template-columns: 50px minmax(0,1fr) 50px; min-height: 0; gap: 12px; padding: 30px 14px; border-radius: 22px; }
    .booth-monitor { width: min(300px,100%); padding: 28px 18px 44px; border-radius: 24px; }
    .screen-thumbs { position: static; grid-column: 1 / -1; grid-row: 2; display: flex; max-width: 100%; overflow-x: auto; padding: 8px 2px; transform: none; }
    .screen-thumbs button { flex: 0 0 70px; width: 70px; }
    .screen-thumbs-empty { width: 100%; text-align: center; }
    .showcase-arrow { width: 46px; height: 46px; font-size: 20px; }
    .ai-content-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
    .ai-content-tabs button { flex: 0 0 auto; padding-inline: 18px; }
    .ai-content-panel { padding: 24px 18px; border-radius: 22px; }
    .ai-panel-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .ai-panel-heading p { text-align: left; }
    .ai-content-grid { gap: 12px; }
    .ai-result-card { border-radius: 14px; }
    .backwall-layout { grid-template-columns: 1fr; gap: 38px; }
    .backwall-copy { padding-left: 0; }
    .backwall-viewer { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 8px; }
    .backwall-frame { border-width: 6px; border-radius: 18px; }
    .media-lightbox { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 8px; padding: 38px 8px 20px; }
    .lightbox-arrow { width: 42px; height: 42px; }
    .lightbox-close { right: 10px; top: 6px; }
}


/* =========================================
   Mosaic Wall (모자이크 월)
   ========================================= */
.nav-links > a.active { color: var(--accent); }
.mw-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mw-ico svg, .mw-step-ico svg, .mw-chip svg, .mw-node svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mw-ico { flex: none; width: 56px; height: 56px; border-radius: 16px; background: rgba(230,0,18,0.08); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; transition: 0.3s; }
.mw-ico svg { width: 26px; height: 26px; }
.mw-ico.sm { width: 44px; height: 44px; border-radius: 12px; }
.mw-ico.sm svg { width: 21px; height: 21px; }
.mw-center-btn { text-align: center; margin-top: 50px; }
.mw-footnote { margin-top: 24px; font-size: 14px; color: #888; }

/* index intro */
.mw-intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: 50px; align-items: center; margin-bottom: 70px; }
.mw-intro-img { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.12); }
.mw-intro-img img { display: block; width: 100%; height: auto; }
.mw-intro-badge { position: absolute; left: 20px; bottom: 20px; background: rgba(17,17,17,0.85); backdrop-filter: blur(6px); color: #fff; padding: 14px 20px; border-radius: 14px; font-size: 14px; font-weight: 600; line-height: 1.45; }
.mw-intro-badge b { color: #ff4d5a; font-size: 26px; font-weight: 900; margin-right: 2px; }
.mw-intro-points { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.mw-intro-points li { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--border-color); border-radius: 18px; padding: 22px 24px; transition: 0.3s; }
.mw-intro-points li:hover { border-color: rgba(230,0,18,0.3); transform: translateX(6px); box-shadow: 0 12px 30px rgba(0,0,0,0.05); }
.mw-intro-points li:hover .mw-ico { background: var(--accent); color: #fff; }
.mw-intro-points h4 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.mw-intro-points p { font-size: 14px; color: var(--text-dim); word-break: keep-all; }

/* 6-step flow */
.mw-steps { list-style: none; counter-reset: mwstep; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.mw-steps::before { content: ''; position: absolute; top: 44px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, #ddd 0 8px, transparent 8px 14px); z-index: 0; }
.mw-steps li { counter-increment: mwstep; position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.mw-step-ico { position: relative; width: 88px; height: 88px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(230,0,18,0.25); transition: 0.3s; margin-bottom: 18px; }
.mw-step-ico.gold { background: #111; box-shadow: 0 10px 25px rgba(0,0,0,0.18); }
.mw-step-ico.dark { background: #fff; color: var(--accent); border: 2px solid var(--accent); }
.mw-step-ico svg { width: 36px; height: 36px; }
.mw-step-ico::after { content: counter(mwstep); position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #111; font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,0.12); }
.mw-steps li:hover .mw-step-ico { transform: translateY(-6px); }
.mw-step-tag { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: 0.5px; margin-bottom: 6px; }
.mw-steps h4 { font-size: 16px; font-weight: 800; line-height: 1.4; word-break: keep-all; }
.mw-note { margin-top: 50px; background: #fff; border: 1px solid var(--border-color); border-left: 4px solid var(--accent); border-radius: 14px; padding: 22px 28px; font-size: 15px; color: #555; line-height: 1.7; word-break: keep-all; }
.mw-note strong { color: #111; margin-right: 6px; }
.section:not(.bg-gray) .mw-note { background: var(--bg-sec); }

/* hero */
.mw-hero { background: radial-gradient(ellipse at 80% 20%, rgba(230,0,18,0.18), transparent 55%), #0f0f10; color: #fff; padding: 150px 5% 100px; }
.mw-hero-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.mw-eyebrow { display: block; font-size: 14px; font-weight: 700; letter-spacing: 2px; color: #ff4d5a; margin-bottom: 18px; }
.mw-hero h1 { font-size: 60px; font-weight: 900; line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 26px; }
.mw-hero h1 .text-red, .mw-cta .text-red { color: var(--accent); }
.mw-hero p { font-size: 19px; color: #bbb; line-height: 1.7; margin-bottom: 40px; word-break: keep-all; }
.mw-btn-ghost { padding: 16px 32px; border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; color: #fff; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; }
.mw-btn-ghost:hover { background: #fff; color: #111; }
.mw-hero-visual { position: relative; }
.mw-hero-visual img { display: block; width: 100%; border-radius: 18px; box-shadow: 0 40px 80px rgba(0,0,0,0.5); border: 6px solid #1d1d1f; }
.mw-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #111; font-size: 14px; font-weight: 800; padding: 11px 16px; border-radius: 40px; box-shadow: 0 15px 30px rgba(0,0,0,0.3); animation: mwFloat 5s ease-in-out infinite; white-space: nowrap; }
.mw-chip svg { width: 18px; height: 18px; color: var(--accent); }
.mw-chip-a { top: -18px; left: 8%; }
.mw-chip-b { top: 42%; right: -22px; animation-delay: -1.6s; }
.mw-chip-c { bottom: -18px; left: 22%; animation-delay: -3.2s; }
@keyframes mwFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mw-stats { margin-top: 0; }
.mw-stats h3 small { font-size: 22px; font-weight: 700; margin-left: 3px; opacity: 0.85; }

/* effects */
.mw-effects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mw-effect { background: #fff; border: 1px solid var(--border-color); border-radius: 20px; padding: 36px; display: grid; grid-template-columns: auto 1fr; column-gap: 22px; row-gap: 8px; transition: 0.3s; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.mw-effect .mw-ico { grid-row: 1 / 3; }
.mw-effect h3 { font-size: 22px; font-weight: 800; align-self: end; }
.mw-effect p { font-size: 15px; color: var(--text-dim); line-height: 1.65; word-break: keep-all; }
.mw-effect:hover { border-color: rgba(230,0,18,0.3); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.mw-effect:hover .mw-ico { background: var(--accent); color: #fff; }

/* devices */
.mw-phone-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; }
.mw-devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mw-device { margin: 0; text-align: center; }
.mw-device .mw-screen { background: #111; padding: 10px; border-radius: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); transition: 0.4s; }
.mw-device.kiosk .mw-screen { border-radius: 16px; padding: 8px; }
.mw-device img { display: block; width: 100%; border-radius: 22px; background: #f3f3f3; }
.mw-device.kiosk img { border-radius: 10px; }
.mw-device:hover .mw-screen { transform: translateY(-8px); box-shadow: 0 30px 50px rgba(230,0,18,0.18); }
.mw-device figcaption { margin-top: 18px; font-size: 14px; color: #888; }
.mw-device figcaption b { display: block; font-size: 17px; color: #111; font-weight: 800; margin-bottom: 2px; }
.mw-side-card { background: #fff; border: 1px solid var(--border-color); border-radius: 20px; padding: 34px 30px; box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.mw-side-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 24px; }
.mw-icon-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.mw-icon-list li { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 600; color: #333; word-break: keep-all; }
.mw-kiosks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }

/* prints */
.mw-prints { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mw-print-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mw-print-pair figure { margin: 0; text-align: center; }
.mw-print-pair img { width: 100%; display: block; box-shadow: 0 20px 40px rgba(0,0,0,0.15); transition: 0.4s; }
.mw-print-pair figure:first-child img { transform: rotate(-3deg); }
.mw-print-pair figure:last-child img { transform: rotate(3deg); }
.mw-print-pair figure:hover img { transform: rotate(0) translateY(-6px); }
.mw-print-pair figcaption { margin-top: 22px; font-weight: 800; }
.mw-print-desc { display: flex; flex-direction: column; gap: 30px; }
.mw-print-desc .card-num { margin-bottom: 6px; font-size: 16px; }
.mw-print-desc h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.mw-print-desc p { color: var(--text-dim); font-size: 15px; line-height: 1.7; word-break: keep-all; }

/* dark spec */
.mw-dark { background: #0f0f10; color: #fff; padding: 120px 5%; }
.mw-dark-inner { max-width: 1400px; margin: 0 auto; }
.mw-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.mw-spec { background: #1b1b1d; border: 1px solid #2a2a2d; border-radius: 18px; padding: 34px 28px; transition: 0.3s; }
.mw-spec:hover { border-color: var(--accent); transform: translateY(-5px); }
.mw-spec strong { display: block; font-size: 38px; font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-bottom: 14px; }
.mw-spec strong small { font-size: 17px; font-weight: 600; color: #999; margin-left: 4px; letter-spacing: 0; }
.mw-spec span { color: #aaa; font-size: 15px; }
.mw-spec-list { list-style: none; display: grid; gap: 12px; }
.mw-spec-list li { position: relative; padding-left: 24px; color: #ccc; font-size: 15px; word-break: keep-all; }
.mw-spec-list li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; background: var(--accent); border-radius: 2px; }

/* customizing */
.mw-customs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mw-customs article { background: var(--bg-sec); border: 1px solid var(--border-color); border-radius: 20px; padding: 34px 30px; transition: 0.3s; }
.mw-customs article:hover { background: #fff; border-color: rgba(230,0,18,0.3); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.mw-customs article:hover .mw-ico { background: var(--accent); color: #fff; }
.mw-customs h3 { font-size: 20px; font-weight: 800; margin: 22px 0 8px; }
.mw-customs p { font-size: 15px; color: var(--text-dim); word-break: keep-all; }

/* system */
.mw-system { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.mw-diagram { display: grid; grid-template-columns: 1fr 34px 1.1fr 34px 1fr; align-items: center; gap: 10px; }
.mw-node { border-radius: 16px; padding: 22px 16px; text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mw-node svg { width: 30px; height: 30px; margin-bottom: 6px; }
.mw-node b { font-size: 17px; font-weight: 800; }
.mw-node small { font-size: 12.5px; opacity: 0.8; line-height: 1.5; }
.mw-node.phone { background: #111; }
.mw-node.server { background: var(--accent); padding: 36px 16px; box-shadow: 0 15px 35px rgba(230,0,18,0.3); }
.mw-venues { display: flex; flex-direction: column; gap: 12px; }
.mw-node.venue { background: #fff; color: #111; border: 1px solid #e3e3e3; padding: 16px 12px; }
.mw-node.venue small { color: #777; opacity: 1; }
.mw-arrow { height: 2px; background: #bbb; position: relative; }
.mw-arrow::after { content: ''; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 8px solid #bbb; border-right: 0; }
.mw-sys-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.mw-sys-list li { display: flex; gap: 16px; align-items: flex-start; }
.mw-sys-list h4 { font-size: 17px; font-weight: 800; margin-bottom: 3px; }
.mw-sys-list p { font-size: 14px; color: var(--text-dim); word-break: keep-all; }

/* admin */
.mw-admin { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; align-items: center; }
.mw-browser { border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.14); border: 1px solid #e5e5e5; background: #fff; }
.mw-browser-bar { height: 34px; background: #f1f1f1; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid #e5e5e5; }
.mw-browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d5d5d5; }
.mw-browser-bar i:first-child { background: #ff5f57; } .mw-browser-bar i:nth-child(2) { background: #febc2e; } .mw-browser-bar i:nth-child(3) { background: #28c840; }
.mw-browser img { display: block; width: 100%; }

/* timeline */
.mw-timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.mw-timeline li { background: #fff; border: 1px solid var(--border-color); border-radius: 18px; padding: 30px 24px; min-height: 230px; transition: 0.3s; position: relative; }
.mw-timeline li:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.mw-timeline span { display: block; font-size: 28px; font-weight: 900; color: var(--accent); margin-bottom: 18px; letter-spacing: -0.5px; }
.mw-timeline h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.mw-timeline p { font-size: 14px; color: var(--text-dim); line-height: 1.6; word-break: keep-all; }
.mw-timeline li.on { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 20px 40px rgba(230,0,18,0.25); }
.mw-timeline li.on span, .mw-timeline li.on p { color: #fff; }
.mw-timeline li.on p { opacity: 0.9; }

/* CTA */
.mw-cta { text-align: center; padding: 120px 5%; background: radial-gradient(ellipse at 50% 120%, rgba(230,0,18,0.12), transparent 60%), #fff; }
.mw-cta h2 { font-size: 42px; font-weight: 900; line-height: 1.3; letter-spacing: -1px; margin-bottom: 18px; }
.mw-cta p { color: var(--text-dim); font-size: 17px; margin-bottom: 36px; }

@media (max-width: 1100px) {
    .mw-hero-inner, .mw-intro, .mw-system, .mw-admin, .mw-prints, .mw-phone-wrap { grid-template-columns: 1fr; }
    .mw-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .mw-steps::before { display: none; }
    .mw-kiosks { grid-template-columns: repeat(3, 1fr); }
    .mw-specs { grid-template-columns: repeat(2, 1fr); }
    .mw-customs { grid-template-columns: repeat(2, 1fr); }
    .mw-timeline { grid-template-columns: repeat(3, 1fr); }
    .mw-chip-b { right: 10px; }
}
@media (max-width: 768px) {
    .mw-hero { padding: 210px 20px 80px; text-align: center; }
    .mw-hero h1 { font-size: 38px; }
    .mw-hero p { font-size: 16px; }
    .mw-hero .hero-btns { justify-content: center; flex-wrap: wrap; }
    .mw-chip { font-size: 12px; padding: 8px 12px; }
    .mw-chip-b { display: none; }
    .mw-stats h3 small { font-size: 16px; }
    .mw-steps { grid-template-columns: repeat(2, 1fr); }
    .mw-step-ico { width: 72px; height: 72px; }
    .mw-step-ico svg { width: 30px; height: 30px; }
    .mw-effects, .mw-customs, .mw-specs, .mw-timeline { grid-template-columns: 1fr; }
    .mw-effect { padding: 26px; }
    .mw-devices { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .mw-device .mw-screen { padding: 5px; border-radius: 16px; }
    .mw-device img { border-radius: 12px; }
    .mw-device figcaption { font-size: 12px; }
    .mw-device figcaption b { font-size: 14px; }
    .mw-kiosks { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
    .mw-kiosks .mw-device { flex: 0 0 58%; scroll-snap-align: center; }
    .mw-diagram { grid-template-columns: 1fr; }
    .mw-arrow { width: 2px; height: 26px; justify-self: center; }
    .mw-arrow::after { right: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-top: 8px solid #bbb; border-bottom: 0; }
    .mw-timeline li { min-height: 0; }
    .mw-spec strong { font-size: 32px; }
    .mw-dark { padding: 80px 20px; }
    .mw-cta { padding: 80px 20px; }
    .mw-cta h2 { font-size: 28px; }
    .mw-intro-badge { font-size: 12px; padding: 10px 14px; left: 12px; bottom: 12px; }
    .mw-intro-badge b { font-size: 20px; }
}

/* 포트폴리오 필터 4개 (모자이크 월 추가) */
.portfolio-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .portfolio-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .portfolio-filters { grid-template-columns: 1fr; } }


/* =========================================
   AI 사주 (saju.html)
   ========================================= */
:root { --sj-navy: #0a1124; --sj-navy2: #111b36; --sj-card: #13203f; --sj-gold: #e0b25a; --sj-gold-d: #9c6e14; }
.sj-ico svg, .sj-facts svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sj-ico { flex: none; width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(230,0,18,0.08); color: var(--accent); border: 1px solid rgba(230,0,18,0.15); transition: .3s; }
.sj-ico svg { width: 27px; height: 27px; }
.sj-ico.gold { background: #1a2748; color: var(--sj-gold); border: 1.5px solid var(--sj-gold); }
.sj-label { color: var(--accent) !important; }
.sj-label-gold { color: var(--sj-gold) !important; }
.sj-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--sj-gold); box-shadow: 0 0 12px var(--sj-gold); animation: sjTwinkle 3.5s ease-in-out infinite; }
.sj-dot.sm { width: 4px; height: 4px; animation-delay: -1.7s; }
@keyframes sjTwinkle { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

.sj-btn-gold { padding: 16px 34px; background: linear-gradient(135deg, #f1cd7d, #c9922f); color: #1a1205; font-weight: 800; border-radius: 8px; font-size: 16px; display: inline-flex; align-items: center; box-shadow: 0 8px 25px rgba(224,178,90,.3); }
.sj-btn-gold:hover { transform: translateY(-2px); color: #1a1205; box-shadow: 0 12px 30px rgba(224,178,90,.45); }
.sj-btn-ghost { padding: 16px 32px; border: 1px solid rgba(224,178,90,.55); border-radius: 8px; color: #f3e3bf; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; }
.sj-btn-ghost:hover { background: rgba(224,178,90,.12); color: #fff; }

/* hero */
.sj-hero { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--sj-navy) 0 58%, #0e1832 58% 100%); color: #fff; padding: 150px 5% 110px; }
.sj-hero::before { content: ''; position: absolute; top: 96px; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, var(--sj-gold), rgba(224,178,90,.15)); }
.sj-hero-inner { position: relative; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.sj-eyebrow { display: block; color: var(--sj-gold); font-size: 17px; font-weight: 700; margin-bottom: 20px; }
.sj-hero h1 { font-size: 66px; font-weight: 900; line-height: 1.12; letter-spacing: -1.5px; margin-bottom: 30px; }
.sj-hero h1 span { background: linear-gradient(135deg, #f6dc9c, #d39b35); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sj-line { display: block; width: 360px; max-width: 70%; height: 6px; background: var(--sj-gold); margin-bottom: 8px; box-shadow: 0 14px 0 -3px rgba(224,178,90,.6); }
.sj-hero p { margin-top: 34px; font-size: 18px; color: #c4cbdd; line-height: 1.75; margin-bottom: 40px; word-break: keep-all; }
.sj-hero-visual { display: flex; justify-content: center; }
.sj-kiosk { width: min(360px, 100%); padding: 10px; border-radius: 26px; background: linear-gradient(160deg, #f3d48d, #8f6113); box-shadow: 0 0 60px rgba(224,178,90,.35), 0 40px 80px rgba(0,0,0,.55); animation: sjFloat 6s ease-in-out infinite; }
.sj-kiosk img { display: block; width: 100%; border-radius: 18px; }
@keyframes sjFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* facts */
.sj-facts { background: var(--sj-navy2); border-top: 1px solid rgba(224,178,90,.25); border-bottom: 1px solid rgba(224,178,90,.25); display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 max(5%, calc((100% - 1400px) / 2)); }
.sj-facts > div { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 34px 28px; color: #fff; }
.sj-facts > div + div { border-left: 1px solid rgba(224,178,90,.18); }
.sj-facts svg { grid-row: 1 / 3; width: 34px; height: 34px; color: var(--sj-gold); }
.sj-facts b { font-size: 18px; font-weight: 800; }
.sj-facts span { font-size: 14px; color: #9aa5c0; }

/* why */
.sj-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sj-why article { position: relative; background: #fff; border: 1px solid var(--border-color); border-radius: 28px; padding: 40px 36px 52px; transition: .35s; box-shadow: 0 10px 30px rgba(0,0,0,.03); }
.sj-why article::after { content: ''; position: absolute; left: 36px; bottom: 30px; width: 70px; height: 3px; background: #111; transition: .35s; }
.sj-why article:hover { transform: translateY(-8px); border-color: rgba(230,0,18,0.3); box-shadow: 0 25px 50px rgba(230,0,18,.1); }
.sj-why article:hover::after { width: 120px; background: var(--accent); }
.sj-why article:hover .sj-ico { background: var(--accent); color: #fff; border-color: var(--accent); }
.sj-why h3 { font-size: 23px; font-weight: 800; line-height: 1.4; margin: 28px 0 14px; word-break: keep-all; }
.sj-why p { font-size: 15px; color: var(--text-dim); line-height: 1.7; word-break: keep-all; }

/* dark sections */
.sj-dark { position: relative; background: radial-gradient(ellipse at 85% 10%, rgba(224,178,90,.12), transparent 50%), var(--sj-navy); color: #fff; padding: 120px 5%; }
.sj-dark-inner { max-width: 1400px; margin: 0 auto; }
.sj-contents, .sj-results { display: grid; grid-template-columns: 420px 1fr; gap: 60px; align-items: center; }
.sj-results { grid-template-columns: 1fr 1fr; }
.sj-screen { padding: 8px; border-radius: 24px; background: linear-gradient(160deg, #f3d48d, #8f6113); box-shadow: 0 0 50px rgba(224,178,90,.25); max-width: 380px; }
.sj-screen img { display: block; width: 100%; border-radius: 18px; }
.sj-content-cards { display: flex; flex-direction: column; gap: 24px; }
.sj-ccard { display: flex; gap: 24px; background: var(--sj-card); border: 1px solid #2a3a63; border-radius: 26px; padding: 34px 36px; transition: .3s; }
.sj-ccard:hover { border-color: var(--sj-gold); transform: translateX(6px); }
.sj-ccard h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.sj-ccard p { font-size: 15.5px; color: #b8c1d8; line-height: 1.7; word-break: keep-all; }
.sj-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sj-chips li { font-size: 13px; font-weight: 700; color: var(--sj-gold); border: 1px solid rgba(224,178,90,.45); padding: 6px 13px; border-radius: 30px; background: rgba(224,178,90,.06); }
.sj-result-imgs { display: grid; grid-template-columns: 0.75fr 1fr; gap: 24px; align-items: end; }
.sj-result-imgs figure { margin: 0; text-align: center; }
.sj-result-imgs img { display: block; width: 100%; border-radius: 14px; border: 1px solid rgba(224,178,90,.5); box-shadow: 0 25px 50px rgba(0,0,0,.5); transition: .4s; }
.sj-result-imgs figure:hover img { transform: translateY(-8px); }
.sj-result-imgs figcaption { margin-top: 16px; color: #d9c08a; font-weight: 700; font-size: 15px; }

/* flow */
.sj-flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.sj-flow li { position: relative; background: #fff; border: 1px solid var(--border-color); border-radius: 26px; padding: 34px 30px 38px; transition: .3s; }
.sj-flow li:not(:last-child)::after { content: ''; position: absolute; right: -27px; top: 50%; border: 9px solid transparent; border-left: 12px solid var(--accent); transform: translateY(-50%); }
.sj-flow li:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(230,0,18,.1); border-color: rgba(230,0,18,0.3); }
.sj-flow li:hover .sj-ico { background: var(--accent); color: #fff; border-color: var(--accent); }
.sj-flow .sj-num { font-size: 28px; font-weight: 900; color: var(--accent); }
.sj-flow .sj-ico { position: absolute; top: 26px; right: 26px; }
.sj-flow h3 { font-size: 21px; font-weight: 800; margin: 46px 0 10px; }
.sj-flow p { font-size: 15px; color: var(--text-dim); line-height: 1.65; word-break: keep-all; }

/* trust */
.sj-trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sj-trust article { display: flex; gap: 24px; align-items: flex-start; background: var(--bg-sec); border: 1px solid var(--border-color); border-radius: 26px; padding: 36px; transition: .3s; }
.sj-trust article:hover { background: #fff; border-color: rgba(230,0,18,0.3); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(230,0,18,.08); }
.sj-trust article:hover .sj-ico { background: var(--accent); color: #fff; border-color: var(--accent); }
.sj-trust h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.sj-trust p { font-size: 15px; color: var(--text-dim); line-height: 1.7; word-break: keep-all; }

/* cta */
.sj-cta { position: relative; overflow: hidden; text-align: center; padding: 120px 5%; background: radial-gradient(ellipse at 50% 120%, rgba(224,178,90,.2), transparent 60%), var(--sj-navy); color: #fff; }
.sj-cta h2 { font-size: 42px; font-weight: 900; line-height: 1.3; letter-spacing: -1px; margin-bottom: 18px; }
.sj-cta h2 span { color: var(--sj-gold); }
.sj-cta p { color: #b8c1d8; font-size: 17px; margin-bottom: 36px; }

/* index: AI 사주 자세히 보기 버튼 */
.sj-more-btn { text-align: center; margin-top: 50px; }

@media (max-width: 1100px) {
    .sj-hero-inner, .sj-contents, .sj-results { grid-template-columns: 1fr; }
    .sj-screen { margin: 0 auto; }
    .sj-why { grid-template-columns: 1fr 1fr; }
    .sj-flow { grid-template-columns: 1fr 1fr; }
    .sj-flow li:nth-child(2)::after { display: none; }
}
@media (max-width: 768px) {
    .sj-hero { padding: 210px 20px 80px; text-align: center; background: var(--sj-navy); }
    .sj-hero::before { display: none; }
    .sj-hero h1 { font-size: 42px; }
    .sj-line { margin: 0 auto 8px; width: 60%; }
    .sj-hero p { font-size: 15.5px; }
    .sj-hero p br { display: none; }
    .sj-hero .hero-btns { justify-content: center; flex-wrap: wrap; }
    .sj-kiosk { width: 72%; }
    .sj-facts { grid-template-columns: 1fr; padding: 0 20px; }
    .sj-facts > div { padding: 22px 6px; }
    .sj-facts > div + div { border-left: 0; border-top: 1px solid rgba(224,178,90,.18); }
    .sj-why, .sj-trust { grid-template-columns: 1fr; }
    .sj-flow { grid-template-columns: 1fr; gap: 30px; }
    .sj-flow li::after { display: none; }
    .sj-flow li:not(:last-child)::before { content: ''; position: absolute; left: 50%; bottom: -24px; border: 9px solid transparent; border-top: 12px solid var(--accent); transform: translateX(-50%); }
    .sj-dark { padding: 80px 20px; }
    .sj-ccard { flex-direction: column; padding: 28px 24px; gap: 16px; }
    .sj-trust article { flex-direction: column; padding: 28px 24px; gap: 16px; }
    .sj-result-imgs { gap: 14px; }
    .sj-cta { padding: 80px 20px; }
    .sj-cta h2 { font-size: 28px; }
}

/* 상단 메뉴 드롭다운 개선 (모든 페이지 공통) */
.dropdown > a.dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s; opacity: .7; }
.dropdown:hover .nav-caret, .dropdown:focus-within .nav-caret, .dropdown.open .nav-caret { transform: rotate(-135deg) translateY(-1px); }
.dropdown::after { content: ''; position: absolute; left: -20px; right: -20px; top: 100%; height: 14px; }
.dropdown:focus-within .dropdown-content, .dropdown.open .dropdown-content { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
.dropdown-content { min-width: 170px; padding: 6px; }
.dropdown-content a { border-radius: 8px; }
.dropdown-content a:first-child { border-bottom: 1px solid var(--border-color); border-radius: 8px 8px 0 0; margin-bottom: 4px; }
.dropdown-content a.is-current { color: var(--accent) !important; background: rgba(230,0,18,.06); }
.dropdown.is-current > a { color: var(--accent); }


/* =========================================
   포토부스 소개 (photobooth.html) - 레드/블랙
   ========================================= */
.photobooth-service-page.pb-page { display: block; padding-top: 80px; }
.pb-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 유지 섹션 톤 맞춤 */
.pb-page .booth-ui-section { background: var(--bg-sec); }
.pb-page .service-kicker { color: var(--accent); }
.pb-page .backwall-section { background: #fff; }
.pb-page .service-spec-section { background: var(--bg-sec); }
.pb-page .service-spec-section-white { background: #fff; }

/* hero */
.pb-hero { background: radial-gradient(ellipse at 78% 30%, rgba(230,0,18,0.22), transparent 55%), #0f0f10; color: #fff; padding: 90px 5% 100px; overflow: hidden; }
.pb-hero-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.pb-hero h1 { font-size: 58px; font-weight: 900; line-height: 1.18; letter-spacing: -1.5px; margin-bottom: 26px; }
.pb-hero p { font-size: 19px; color: #bbb; line-height: 1.7; margin-bottom: 26px; word-break: keep-all; }
.pb-tags { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 38px; }
.pb-tags li { border: 1px solid rgba(255,255,255,.25); color: #ddd; border-radius: 30px; padding: 7px 16px; font-size: 14px; font-weight: 700; }
.pb-prints { position: relative; height: 480px; }
.pb-prints img { position: absolute; width: 46%; border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.55); transition: transform .45s ease; }
.pb-prints .p1 { left: 2%; top: 4%; transform: rotate(-9deg); }
.pb-prints .p2 { left: 27%; top: 0; transform: rotate(-2deg); z-index: 2; }
.pb-prints .p3 { right: 2%; top: 14%; transform: rotate(8deg); z-index: 3; }
.pb-prints .p4 { left: 16%; top: 40%; transform: rotate(4deg); z-index: 4; }
.pb-prints img:hover { transform: rotate(0) scale(1.04); z-index: 5; }

/* stats */
.pb-stats { margin-top: 0; }
.pb-stats p { font-weight: 800; font-size: 17px; }
.pb-stats span { display: block; margin-top: 6px; font-size: 14px; opacity: .78; }
.pb-steps h4 { font-size: 15px; font-weight: 700; color: #333; }

/* modes / delivery */
.pb-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pb-modes article { position: relative; background: #fff; border: 1px solid var(--border-color); border-radius: 20px; padding: 40px 34px; transition: .3s; box-shadow: 0 10px 30px rgba(0,0,0,.02); }
.pb-modes article:hover { transform: translateY(-6px); border-color: rgba(230,0,18,.3); box-shadow: 0 20px 40px rgba(230,0,18,.08); }
.pb-modes article:hover .mw-ico { background: var(--accent); color: #fff; }
.pb-mode-num { position: absolute; top: 30px; right: 32px; font-size: 40px; font-weight: 900; color: #eee; }
.pb-modes h3 { font-size: 24px; font-weight: 900; margin: 22px 0 4px; }
.pb-modes b { display: block; color: var(--accent); font-size: 15px; margin-bottom: 18px; }
.pb-modes .feature-list li { font-size: 15px; margin-bottom: 10px; }
.pb-modes article.on { background: #111; border-color: #111; color: #fff; }
.pb-modes article.on .mw-ico { background: var(--accent); color: #fff; }
.pb-modes article.on .pb-mode-num { color: #2a2a2a; }
.pb-modes article.on .feature-list li { color: #ccc; }
.pb-delivery h3 { margin-bottom: 16px; }
.pb-qr-note { margin-top: 26px; display: flex; gap: 20px; align-items: center; background: var(--bg-sec); border: 1px solid var(--border-color); border-left: 4px solid var(--accent); border-radius: 14px; padding: 24px 28px; }
.pb-qr-note svg { flex: none; width: 34px; height: 34px; color: var(--accent); }
.pb-qr-note b { display: block; font-size: 17px; margin-bottom: 4px; }
.pb-qr-note span { font-size: 14.5px; color: #666; line-height: 1.7; word-break: keep-all; }

/* AI studio */
.pb-studio .section-subtitle { max-width: 760px; }
.pb-gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin: 10px 0 22px; padding-top: 30px; border-top: 1px solid #2a2a2d; }
.pb-gallery-head h3 { font-size: 26px; font-weight: 900; }
.pb-gallery-head h3 b { color: var(--accent); }
.pb-gallery-head p { color: #999; font-size: 15px; max-width: 560px; word-break: keep-all; }
.pb-gallery { display: grid; gap: 16px; margin-bottom: 60px; }
.pb-gallery.five { grid-template-columns: repeat(5, 1fr); }
.pb-gallery.three { grid-template-columns: repeat(3, 1fr); }
.pb-gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: #1b1b1d; border: 1px solid #2a2a2d; transition: .3s; }
.pb-gallery figure:hover { border-color: var(--accent); transform: translateY(-5px); }
.pb-gallery img { display: block; width: 100%; aspect-ratio: 640 / 388; object-fit: cover; transition: transform .6s ease; }
.pb-gallery figure:hover img { transform: scale(1.05); }
.pb-gallery figcaption { padding: 13px 16px; font-size: 14.5px; font-weight: 700; color: #eee; }
.pb-gallery.three figcaption { font-weight: 500; color: #999; font-size: 14px; }
.pb-gallery.three figcaption b { display: block; color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 2px; }
.pb-custom { display: grid; grid-template-columns: 380px 1fr; gap: 50px; align-items: center; background: #1b1b1d; border: 1px solid #2a2a2d; border-radius: 22px; padding: 34px; }
.pb-custom > img { width: 100%; border-radius: 14px; display: block; }
.pb-custom h3 { font-size: 32px; font-weight: 900; margin-bottom: 14px; }
.pb-custom > div > p { color: #aaa; font-size: 15.5px; line-height: 1.7; margin-bottom: 24px; word-break: keep-all; }
.pb-custom ul { list-style: none; display: grid; gap: 14px; }
.pb-custom li { display: flex; gap: 14px; align-items: flex-start; color: #999; font-size: 14.5px; }
.pb-custom li svg { flex: none; width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.pb-custom li b { display: block; color: #fff; font-size: 16px; }

/* on-site */
.pb-ops { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; align-items: stretch; margin-top: 30px; }
.pb-ops-hero { background: var(--accent); border-radius: 18px; padding: 40px 34px; display: flex; flex-direction: column; justify-content: flex-end; }
.pb-ops-hero svg { width: 46px; height: 46px; margin-bottom: auto; }
.pb-ops-hero h3 { font-size: 34px; font-weight: 900; line-height: 1.25; margin: 40px 0 14px; }
.pb-ops-hero h3 .text-red { color: #111; }
.pb-ops-hero p { font-size: 15px; line-height: 1.7; opacity: .92; word-break: keep-all; }
.pb-ops-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 0; }
.pb-ops-grid .mw-spec svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 16px; }
.pb-ops-grid .mw-spec strong { font-size: 19px; letter-spacing: 0; margin-bottom: 8px; }
.pb-ops-grid .mw-spec span { font-size: 14.5px; line-height: 1.65; word-break: keep-all; }
.pb-ops-grid .mw-spec:last-child { grid-column: 1 / -1; }

/* process ready */
.pb-ready { margin-top: 30px; display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 16px; align-items: center; background: #111; color: #fff; border-radius: 18px; padding: 26px 30px; }
.pb-ready h4 { font-size: 18px; font-weight: 900; padding-right: 20px; border-right: 1px solid #333; }
.pb-ready > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.pb-ready svg { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--accent); }
.pb-ready b { font-size: 16px; }
.pb-ready span { font-size: 13.5px; color: #aaa; }

@media (max-width: 1100px) {
    .pb-hero-inner, .pb-custom, .pb-ops { grid-template-columns: 1fr; }
    .pb-prints { height: 420px; max-width: 560px; margin: 0 auto; width: 100%; }
    .pb-modes { grid-template-columns: 1fr; }
    .pb-gallery.five { grid-template-columns: repeat(3, 1fr); }
    .pb-ready { grid-template-columns: 1fr 1fr 1fr; }
    .pb-ready h4 { grid-column: 1 / -1; border-right: 0; padding: 0; }
}
@media (max-width: 768px) {
    .photobooth-service-page.pb-page { padding-top: 132px; }
    .pb-hero { padding: 60px 20px 70px; text-align: center; }
    .pb-hero h1 { font-size: 36px; }
    .pb-hero p { font-size: 15.5px; }
    .pb-hero p br { display: none; }
    .pb-tags, .pb-hero .hero-btns { justify-content: center; flex-wrap: wrap; }
    .pb-prints { height: 330px; }
    .pb-gallery.five, .pb-gallery.three { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .pb-gallery figcaption { padding: 10px 12px; font-size: 13px; }
    .pb-gallery.three figcaption b { font-size: 15px; }
    .pb-custom { padding: 20px; gap: 24px; }
    .pb-custom h3 { font-size: 25px; }
    .pb-ops-grid { grid-template-columns: 1fr; }
    .pb-ops-hero h3 { font-size: 28px; }
    .pb-ready { grid-template-columns: 1fr; padding: 24px; }
    .pb-qr-note { flex-direction: column; align-items: flex-start; }
}
.pb-hero h1 .text-red, .pb-custom h3 .text-red { color: var(--accent); }
.pb-ops-hero h3 .text-red { color: #111; }
.pb-page .service-width { width: calc(min(1400px, 100%) * 0.9); }
@media (max-width: 768px) { .pb-page .service-width { width: calc(100% - 40px); } }


/* =========================================
   메인 화면 리디자인 (index)
   ========================================= */
.hm-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm-head { margin-bottom: 10px; }
.hm-head-center { text-align: center; }
.hm-head-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* hero (dark) */
.hero.hm-hero { background: radial-gradient(ellipse at 85% 25%, rgba(230,0,18,.28), transparent 50%), radial-gradient(ellipse at 10% 90%, rgba(230,0,18,.12), transparent 45%), #0f0f10; color: #fff; position: relative; }
.hm-hero .hero-label { color: #ff4d5a; font-weight: 700; letter-spacing: 2px; }
.hm-hero h1 { color: #fff; font-size: 62px; }
.hm-hero p { color: #b9b9b9; }
.hm-hero .hero-img { background: transparent; }
.hm-hero .hero-media-frame { inset: 12% 8% 12% 4%; border-radius: 24px; background: #1d1d1f; border: 6px solid #1d1d1f; box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); }
.hm-hero .hero-image-fallback { background: #1d1d1f; color: #666; }
.hm-hero-badge { position: absolute; left: 0; bottom: 8%; z-index: 5; background: var(--accent); color: #fff; padding: 16px 22px; border-radius: 14px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; box-shadow: 0 20px 40px rgba(230,0,18,.35); }
.hm-hero-badge b { display: block; font-size: 20px; font-weight: 900; letter-spacing: 1px; }
.hm-hero-stats { display: flex; gap: 0; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; }
.hm-hero-stats div { padding-right: 34px; margin-right: 34px; border-right: 1px solid rgba(255,255,255,.12); }
.hm-hero-stats div:last-child { border-right: 0; margin-right: 0; }
.hm-hero-stats dt { font-size: 30px; font-weight: 900; color: #fff; }
.hm-hero-stats dd { font-size: 13.5px; color: #999; margin-top: 2px; }

/* services */
.hm-svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 10px; }
.hm-svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; transition: .35s; box-shadow: 0 10px 30px rgba(0,0,0,.03); }
.hm-svc-card:hover { transform: translateY(-8px); border-color: rgba(230,0,18,.35); box-shadow: 0 25px 50px rgba(230,0,18,.12); }
.hm-svc-img { aspect-ratio: 4 / 3; overflow: hidden; background: #111; }
.hm-svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hm-svc-card:hover .hm-svc-img img { transform: scale(1.06); }
.hm-svc-game { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle at 50% 40%, rgba(230,0,18,.55), transparent 60%), #111; color: #fff; }
.hm-svc-game svg { width: 70px; height: 70px; }
.hm-svc-game em { font-style: normal; font-weight: 900; letter-spacing: 3px; font-size: 14px; }
.hm-svc-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.hm-svc-body span { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
.hm-svc-body h3 { font-size: 23px; font-weight: 900; margin: 8px 0 8px; color: #111; }
.hm-svc-body p { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; flex: 1; word-break: keep-all; }
.hm-svc-body b { margin-top: 18px; font-size: 14px; color: #111; transition: .3s; }
.hm-svc-card:hover .hm-svc-body b { color: var(--accent); }

/* why */
.hm-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hm-why article { position: relative; background: #fff; border: 1px solid var(--border-color); border-radius: 20px; padding: 36px 32px; transition: .35s; overflow: hidden; }
.hm-why article::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--accent); transition: width .4s ease; }
.hm-why article:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(0,0,0,.07); border-color: rgba(230,0,18,.25); }
.hm-why article:hover::before { width: 100%; }
.hm-why article:hover .mw-ico { background: var(--accent); color: #fff; }
.hm-why em { position: absolute; top: 28px; right: 30px; font-style: normal; font-size: 38px; font-weight: 900; color: #f1f1f1; }
.hm-why h3 { font-size: 21px; font-weight: 800; margin: 24px 0 10px; color: #111; word-break: keep-all; }
.hm-why p { font-size: 15px; color: var(--text-dim); line-height: 1.7; word-break: keep-all; }
.hm-stats { margin-top: 0; }

/* process */
.hm-steps { grid-template-columns: repeat(5, 1fr); margin-top: 20px; }
.hm-steps h4 { font-size: 18px; margin-bottom: 6px; }
.hm-steps p { font-size: 14px; color: var(--text-dim); line-height: 1.55; word-break: keep-all; }

/* service blocks */
.hm-svc-top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 56px; }
.hm-svc-intro { position: relative; }
.hm-svc-no { position: absolute; right: 0; top: -20px; font-size: 110px; font-weight: 900; line-height: 1; color: rgba(0,0,0,.04); pointer-events: none; }
.hm-svc-intro .section-title { margin-bottom: 16px; }
.hm-svc-intro p { font-size: 16px; color: var(--text-dim); line-height: 1.75; margin-bottom: 28px; word-break: keep-all; max-width: 540px; }
.hm-mini-steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hm-mini-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 20px 22px; transition: .3s; }
.bg-gray .hm-mini-steps li { background: #fff; }
.section:not(.bg-gray) .hm-mini-steps li { background: var(--bg-sec); }
.hm-mini-steps li:hover { border-color: rgba(230,0,18,.35); transform: translateY(-3px); }
.hm-mini-steps span { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; background: #111; color: #fff; font-weight: 900; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: .3s; }
.hm-mini-steps li:hover span { background: var(--accent); }
.hm-mini-steps b { font-size: 16px; font-weight: 800; color: #111; }
.hm-mini-steps small { font-size: 13px; color: #888; }
.hm-sketch-head { border-top: 1px solid #e3e3e3; padding-top: 36px; margin-bottom: 26px; align-items: center; }
.hm-sketch-head h3 { font-size: 24px; font-weight: 900; color: #111; }
.hm-sketch-head h3 span { display: block; font-size: 12px; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 4px; }

@media (max-width: 1100px) {
    .hm-svc-cards { grid-template-columns: repeat(2, 1fr); }
    .hm-why { grid-template-columns: repeat(2, 1fr); }
    .hm-svc-top { grid-template-columns: 1fr; gap: 30px; }
    .hm-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .hm-hero h1 { font-size: 38px; }
    .hm-hero .hero-text { align-items: center; }
    .hm-hero .hero-btns { justify-content: center; flex-wrap: wrap; }
    .hm-hero-stats { justify-content: center; margin-top: 34px; }
    .hm-hero-stats div { padding-right: 16px; margin-right: 16px; }
    .hm-hero-stats dt { font-size: 21px; }
    .hm-hero-stats dd { font-size: 11.5px; }
    .hm-hero .hero-img { min-height: 380px; width: 100%; }
    .hm-hero .hero-media-frame { inset: 6% 20px 14% 20px; }
    .hm-hero-badge { left: 20px; bottom: 4%; padding: 12px 16px; }
    .hm-hero-badge b { font-size: 16px; }
    .hm-svc-cards, .hm-why { grid-template-columns: 1fr; }
    .hm-steps { grid-template-columns: repeat(2, 1fr); }
    .hm-mini-steps { grid-template-columns: 1fr; }
    .hm-svc-no { font-size: 70px; top: -10px; }
    .hm-sketch-head { flex-direction: row !important; align-items: center !important; }
    .hm-sketch-head h3 { font-size: 20px; }
}
.hm-svc-intro .section-title { font-size: clamp(30px, 2.6vw, 38px); word-break: keep-all; }
@media (max-width: 768px) { .hm-svc-intro .section-title { font-size: 27px; } }

/* 시그니처·아카이브를 진행 과정 아래로 옮김: 배경 교차 */
.pb-page .service-signature-section { background: #fff; }
.pb-page .service-archive-section { background: var(--bg-sec); }
@media (max-width: 768px) { .hm-svc-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; } .hm-svc-body { padding: 16px 14px 18px; } .hm-svc-body h3 { font-size: 18px; } .hm-svc-body p { font-size: 12.5px; } .hm-svc-body span { font-size: 10.5px; } .hm-svc-game svg { width: 44px; height: 44px; } }


/* =========================================
   메인 시안 B: 화이트 에디토리얼 (.hm-b)
   ========================================= */
.hm-b .hero.hm-hero { background: #fff; color: #111; }
.hm-b .hm-hero .hero-label { color: var(--accent); }
.hm-b .hm-hero .hero-label::before { content: ''; display: inline-block; width: 34px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
.hm-b .hm-hero h1 { color: #111; font-size: 76px; letter-spacing: -3px; line-height: 1.08; }
.hm-b .hm-hero p { color: #666; }
.hm-b .hm-hero .mw-btn-ghost { color: #111; border-color: #ccc; }
.hm-b .hm-hero .mw-btn-ghost:hover { background: #111; color: #fff; }
.hm-b .hm-hero-stats { border-top-color: #e5e5e5; }
.hm-b .hm-hero-stats div { border-right-color: #e5e5e5; }
.hm-b .hm-hero-stats dt { color: #111; }
.hm-b .hm-hero-stats dd { color: #888; }
.hm-b .hm-hero .hero-img { background: #f3f3f3; }
.hm-b .hm-hero .hero-media-frame { inset: 0; border-radius: 0; border: 0; box-shadow: none; }
.hm-b .hm-hero-badge { background: #111; left: auto; right: 0; bottom: 0; border-radius: 0; padding: 22px 30px; box-shadow: none; }
.hm-b .hm-hero-badge b { color: var(--accent); }
.hm-b .hero-label::before { content: ''; display: inline-block; width: 26px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.hm-b .hm-head-center .hero-label::before { display: none; }
.hm-b .hm-svc-cards { grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid #111; }
.hm-b .hm-svc-card { flex-direction: row; border: 0; border-bottom: 1px solid #e5e5e5; border-radius: 0; box-shadow: none; padding: 28px 0; gap: 26px; align-items: center; }
.hm-b .hm-svc-card:nth-child(odd) { padding-right: 34px; border-right: 1px solid #e5e5e5; }
.hm-b .hm-svc-card:nth-child(even) { padding-left: 34px; }
.hm-b .hm-svc-card:hover { transform: none; box-shadow: none; background: #fafafa; }
.hm-b .hm-svc-img { flex: 0 0 210px; aspect-ratio: 1; border-radius: 4px; }
.hm-b .hm-svc-body { padding: 0; }
.hm-b .hm-svc-body h3 { font-size: 28px; }
.hm-b .hm-why { gap: 0; border-top: 2px solid #111; }
.hm-b .hm-why article { background: transparent; border: 0; border-radius: 0; border-bottom: 1px solid #ddd; padding: 40px 34px 40px 0; }
.hm-b .hm-why article:not(:nth-child(3n+1)) { padding-left: 34px; border-left: 1px solid #ddd; }
.hm-b .hm-why article:hover { transform: none; box-shadow: none; }
.hm-b .hm-why article::before { display: none; }
.hm-b .hm-why .mw-ico { display: none; }
.hm-b .hm-why em { position: static; display: block; color: var(--accent); font-size: 15px; letter-spacing: 1px; }
.hm-b .hm-why h3 { margin-top: 14px; font-size: 22px; }
.hm-b .hm-stats { background: #111; }
.hm-b .hm-stats h3 { color: #fff; }
.hm-b .hm-stats .stat-item:nth-child(3) h3 { color: var(--accent); }
.hm-b .hm-steps .mw-step-ico { background: #fff; color: #111; border: 2px solid #111; box-shadow: none; }
.hm-b .hm-steps li:hover .mw-step-ico { background: var(--accent); border-color: var(--accent); color: #fff; }
.hm-b .hm-steps .mw-step-ico::after { background: #111; color: #fff; }
.hm-b .hm-steps::before { background: #111; height: 2px; }
.hm-b .hm-svc-no { color: var(--accent); opacity: .08; }
.hm-b .hm-mini-steps { gap: 0; border-top: 2px solid #111; grid-template-columns: 1fr; }
.hm-b .hm-mini-steps li, .hm-b .section:not(.bg-gray) .hm-mini-steps li, .hm-b .bg-gray .hm-mini-steps li { background: transparent; border: 0; border-bottom: 1px solid #ddd; border-radius: 0; padding: 18px 4px; }
.hm-b .hm-mini-steps li:hover { transform: none; }
.hm-b .hm-mini-steps span { background: transparent; color: var(--accent); width: auto; height: auto; font-size: 18px; border-radius: 0; }
.hm-b .hm-mini-steps li:hover span { background: transparent; }
.hm-b .hm-mini-steps li { grid-template-columns: 50px 160px 1fr; }
.hm-b .hm-mini-steps span { grid-row: auto; }
.hm-b .hm-mini-steps small { font-size: 14px; }
.hm-b .bg-gray { background: #f6f5f3; }

/* =========================================
   메인 시안 C: 풀 블랙 프리미엄 (.hm-c)
   ========================================= */
.hm-c { background: #0b0b0c; color: #eee; }
.hm-c nav { background: rgba(11,11,12,.92); border-bottom-color: #1f1f22; }
.hm-c nav .logo { color: #fff; }
.hm-c .nav-links > a, .hm-c .dropdown > a { color: #ddd; }
.hm-c .nav-links > a:hover, .hm-c .dropdown > a:hover { color: #ff3343; }
.hm-c .dropdown-content { background: #18181a; border-color: #2a2a2d; }
.hm-c .dropdown-content a { color: #ccc !important; }
.hm-c .dropdown-content a:hover { background: #222 !important; }
.hm-c .dropdown-content a:first-child { border-bottom-color: #2a2a2d; }
.hm-c .hero.hm-hero { background: radial-gradient(circle at 70% 40%, rgba(230,0,18,.38), transparent 40%), #0b0b0c; }
.hm-c .hm-hero h1 { font-size: 70px; }
.hm-c .hm-hero .hero-media-frame { transform: perspective(1400px) rotateY(-8deg); border-color: #2a2a2d; box-shadow: 0 50px 100px rgba(0,0,0,.8), 0 0 80px rgba(230,0,18,.25); }
.hm-c .section, .hm-c .section.bg-gray { background: #0b0b0c; }
.hm-c .section.bg-gray { background: #121214; }
.hm-c .section-title, .hm-c .hm-svc-body h3, .hm-c .hm-why h3, .hm-c .hm-steps h4, .hm-c .hm-mini-steps b, .hm-c .hm-sketch-head h3, .hm-c .port-text h4, .hm-c .frame-info h3 { color: #fff; }
.hm-c .section-subtitle, .hm-c .hm-svc-body p, .hm-c .hm-why p, .hm-c .hm-steps p, .hm-c .hm-svc-intro p, .hm-c .port-text p, .hm-c .frame-info p { color: #9a9a9e; }
.hm-c .hm-svc-card, .hm-c .hm-why article, .hm-c .hm-mini-steps li, .hm-c .section:not(.bg-gray) .hm-mini-steps li, .hm-c .bg-gray .hm-mini-steps li { background: #161618; border-color: #262629; box-shadow: none; }
.hm-c .hm-svc-card:hover, .hm-c .hm-why article:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 25px 60px rgba(230,0,18,.18); }
.hm-c .hm-svc-body b { color: #fff; }
.hm-c .hm-why em { color: #222226; }
.hm-c .mw-ico { background: rgba(230,0,18,.14); }
.hm-c .hm-stats { background: linear-gradient(90deg, #8f000b, #e60012 50%, #8f000b); }
.hm-c .mw-step-ico.gold { background: #232326; }
.hm-c .mw-step-ico.dark { background: #0b0b0c; }
.hm-c .mw-step-ico::after { background: var(--accent); color: #fff; }
.hm-c .mw-steps::before { background: repeating-linear-gradient(90deg, #333 0 8px, transparent 8px 14px); }
.hm-c .hm-svc-no { color: rgba(255,255,255,.04); }
.hm-c .hm-mini-steps span { background: var(--accent); }
.hm-c .hm-mini-steps small { color: #888; }
.hm-c .hm-sketch-head { border-top-color: #222; }
.hm-c .btn-secondary, .hm-c .btn-more { background: transparent; color: #eee; border-color: #3a3a3e; }
.hm-c .btn-secondary:hover, .hm-c .btn-more:hover { border-color: #fff; color: #fff; }
.hm-c .port-img { background: #1a1a1c; box-shadow: none; }
.hm-c .frame-mockup.basic, .hm-c .frame-mockup.collage { background: #f2f2f2; }
.hm-c #contact { background: #0b0b0c; }
.hm-c .contact-bottom { background: #161618; border: 1px solid #262629; }
.hm-c .contact-left h2, .hm-c .contact-details p, .hm-c .contact-details a { color: #fff; }
.hm-c .contact-left p { color: #9a9a9e; }
.hm-c .contact-icon { background: #222226; }
.hm-c .social-link { background: #1f1f22; border-color: #2e2e32; }

@media (max-width: 768px) {
    .hm-b .hm-hero h1 { font-size: 42px; letter-spacing: -1.5px; }
    .hm-b .hm-hero .hero-label::before { display: none; }
    .hm-b .hm-svc-cards { grid-template-columns: 1fr; }
    .hm-b .hm-svc-card, .hm-b .hm-svc-card:nth-child(odd), .hm-b .hm-svc-card:nth-child(even) { padding: 18px 0; border-right: 0; gap: 16px; }
    .hm-b .hm-svc-img { flex: 0 0 110px; }
    .hm-b .hm-svc-body h3 { font-size: 20px; }
    .hm-b .hm-svc-body p { font-size: 13px; }
    .hm-b .hm-why article, .hm-b .hm-why article:not(:nth-child(3n+1)) { padding: 28px 0; border-left: 0; }
    .hm-b .hm-mini-steps li { grid-template-columns: 40px 1fr; }
    .hm-b .hm-mini-steps small { grid-column: 2; }
    .hm-c .hm-hero h1 { font-size: 40px; }
    .hm-c .hm-hero .hero-media-frame { transform: none; }
}
@media (min-width: 769px) and (max-width: 1100px) {
    .hm-b .hm-why article, .hm-b .hm-why article:not(:nth-child(3n+1)) { padding: 34px 24px; border-left: 0; }
}
.hm-c .frame-mockup.basic, .hm-c .frame-mockup.collage { background: #fff; }
.hm-c .frame-mockup.basic .photo-area, .hm-c .frame-mockup.collage .photo-area { background: #e4e4e4; }

/* 메인 시안 A: 배경 사진 + 부드러운 전환 */
.hm-hero-a { position: relative; isolation: isolate; }
.hm-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hm-hero-bg i { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(18px) saturate(1.1); opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 8s ease; }
.hm-hero-bg i.on { opacity: .5; transform: scale(1); }
.hm-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,13,.96) 0%, rgba(12,12,13,.82) 42%, rgba(12,12,13,.45) 100%), radial-gradient(ellipse at 85% 25%, rgba(230,0,18,.28), transparent 55%); }
.hm-hero-a.hero.hm-hero { background: #0c0c0d; }
.hm-hero-a .hero-page.is-turning { animation: hmFadeOut 1.45s ease both; }
.hm-hero-a .hero-page.is-turning::after { animation: none; opacity: 0; }
.hm-hero-a .hero-page.is-under { animation: none; }
.hm-hero-a .hero-page.is-under img { animation: hmZoomIn 1.45s ease-out both; }
@keyframes hmFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes hmZoomIn { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (max-width: 768px) { .hm-hero-bg::after { background: linear-gradient(180deg, rgba(12,12,13,.94) 0%, rgba(12,12,13,.8) 55%, rgba(12,12,13,.6) 100%); } }

/* 시안 A: 사진 주변 검은 그림자 번짐 제거 */
.hm-hero-a .hero-media-frame { border: 1px solid rgba(255,255,255,.18); background: transparent; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.hm-hero-a .hero-media-frame .hero-page, .hm-hero-a .hero-media-frame img { border-radius: 23px; }

/* 메인 첫 화면: 뒷배경 사진 제거 (어두운 바탕 + 빨간 빛만) */
.hm-hero-bg i { display: none; }
.hm-hero-bg::after { background: radial-gradient(ellipse at 85% 25%, rgba(230,0,18,.28), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(230,0,18,.12), transparent 45%); }

/* 포트폴리오 페이지: 맨 위 검정 영역을 다른 페이지처럼 화면 전체 폭으로 */
.portfolio-page { padding-top: 80px; }
.portfolio-page-hero { margin: 0 calc(50% - 50vw); border-radius: 0; min-height: 0; padding: 110px max(5vw, calc(50vw - 700px)) 100px; background: radial-gradient(ellipse at 80% 30%, rgba(230,0,18,.28), transparent 55%), #0f0f10; }
.portfolio-page-hero h1 { font-size: 58px; }
.portfolio-page-label { color: #ff4d5a; }
@media (max-width: 768px) {
    .portfolio-page { padding-top: 132px; }
    .portfolio-page-hero { padding: 60px 20px 64px; border-radius: 0; min-height: 0; }
    .portfolio-page-hero h1 { font-size: 36px; }
}

/* 메인: 서비스별 소개 구분 강화 (01~04) */
.section.hm-svc { max-width: 100%; padding: 110px 5%; position: relative; }
.hm-svc .section-inner { max-width: 1300px; margin: 0 auto; }
.section.hm-svc:not(.bg-gray) { background: #fff; }
.hm-svc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: #e5e5e5; }
.hm-chapter { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hm-chapter b { flex: none; width: 58px; height: 58px; border-radius: 14px; background: var(--accent); color: #fff; font-size: 24px; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(230,0,18,.28); }
.hm-chapter span { font-size: 14px; font-weight: 800; letter-spacing: 2px; color: var(--accent); }
.hm-chapter i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(230,0,18,.35), transparent); max-width: 220px; }
#game .hm-chapter b, #mosaic .hm-chapter b { background: #111; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.hm-svc-intro .section-title { padding-left: 0; }
.hm-svc-top { padding: 40px 44px; border-radius: 24px; background: #fff; border: 1px solid #ececec; box-shadow: 0 18px 50px rgba(0,0,0,.04); }
.section.hm-svc:not(.bg-gray) .hm-svc-top { background: #fafafa; }
.hm-sketch-head { border-top: 0; padding-top: 10px; }
@media (max-width: 768px) {
    .section.hm-svc { padding: 70px 20px; }
    .hm-svc-top { padding: 26px 20px; border-radius: 18px; }
    .hm-chapter b { width: 46px; height: 46px; font-size: 19px; border-radius: 12px; }
}

/* 프레임 샘플 갤러리: 템플릿이 잘리지 않고 전체가 보이도록 */
.gallery-item { aspect-ratio: 2 / 3; padding: 14px; background: #f4f4f5; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.gallery-item:hover img { transform: translateY(-4px); }
.frame-mockup.has-frame-image { background-size: contain; background-repeat: no-repeat; background-color: #f4f4f5; }
.gallery-item { cursor: zoom-in; }
@media (max-width: 768px) { .media-lightbox { grid-template-columns: 44px minmax(0,1fr) 44px; gap: 8px; padding: 50px 10px; } .media-lightbox .lightbox-arrow { width: 44px; height: 44px; font-size: 18px; } }

/* 프레임 샘플 확대: 너무 크지 않게 + 투명 부분은 흰색 */
body[data-frame-type] .media-lightbox img { max-width: min(760px, 70vw); max-height: 72vh; background: #fff; }
body[data-frame-type] .media-lightbox figure { justify-self: center; }
@media (max-width: 768px) { body[data-frame-type] .media-lightbox img { max-width: 100%; max-height: 70vh; } }

/* 프레임 상세 대표사진: 샘플 갤러리처럼 인화지 비율(2:3)로 맞춤 */
.detail-section .detail-img-box { flex: 0 1 460px; min-width: 0; width: 100%; max-width: 460px; min-height: 0; aspect-ratio: 2 / 3; background: #f4f4f5; border-radius: 16px; }
.detail-img-box .frame-main-image { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); min-height: 0; object-fit: contain; background: transparent; filter: drop-shadow(0 10px 22px rgba(0,0,0,.12)); }
.detail-section { justify-content: center; }
@media (max-width: 768px) {
    .detail-section .detail-img-box { max-width: 360px; margin: 0 auto; }
    .detail-img-box .frame-main-image { min-height: 0; }
}

/* =========================================
   포트폴리오 상세 (portfolio-detail.html)
   ========================================= */
.pd-page { padding-top: 80px; min-height: 80vh; }
.pd-hero { background: radial-gradient(ellipse at 80% 30%, rgba(230,0,18,.28), transparent 55%), #0f0f10; color: #fff; padding: 80px 5% 70px; }
.pd-hero-inner { max-width: 1300px; margin: 0 auto; }
.pd-back { display: inline-block; color: #bbb; font-size: 14px; font-weight: 700; margin-bottom: 34px; }
.pd-back:hover { color: #fff; }
.pd-label { display: block; color: #ff4d5a; font-size: 13px; font-weight: 800; letter-spacing: 2px; margin-bottom: 14px; }
.pd-hero h1 { font-size: 50px; font-weight: 900; letter-spacing: -1.5px; line-height: 1.2; margin-bottom: 14px; }
.pd-hero p { font-size: 17px; color: #bbb; max-width: 720px; }
.pd-meta { display: flex; gap: 10px; margin-top: 24px; }
.pd-meta span:empty { display: none; }
.pd-meta span { border: 1px solid rgba(255,255,255,.2); border-radius: 30px; padding: 6px 14px; font-size: 13px; font-weight: 700; color: #ddd; }
.pd-body { max-width: 1300px; margin: 0 auto; padding: 60px 5% 110px; }
.pd-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pd-photo { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #eee; aspect-ratio: 4 / 3; cursor: zoom-in; }
.pd-photo.is-cover { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.pd-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.pd-photo:hover img { transform: scale(1.04); }
.pd-photo span { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.pd-actions { display: flex; justify-content: center; gap: 12px; margin-top: 50px; flex-wrap: wrap; }
.pd-more { margin-top: 90px; padding-top: 50px; border-top: 1px solid #eee; }
.pd-more h2 { font-size: 26px; font-weight: 900; margin-bottom: 26px; }
#pdLightbox img { max-width: min(1100px, 82vw); max-height: 80vh; }
@media (max-width: 768px) {
    .pd-page { padding-top: 132px; }
    .pd-hero { padding: 40px 20px 46px; }
    .pd-hero h1 { font-size: 32px; }
    .pd-body { padding: 30px 14px 80px; }
    .pd-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .pd-photo { border-radius: 10px; }
    .pd-photo.is-cover { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
    .pd-more { margin-top: 60px; }
    #pdLightbox img { max-width: 100%; }
}
/* 포트폴리오 카드: 눌러서 상세 보기 */
.portfolio-page-card, a.port-item { cursor: pointer; color: inherit; }
.port-more-badge { position: absolute; right: 12px; top: 12px; z-index: 3; background: rgba(0,0,0,.7); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 20px; }
.port-more-link { display: inline-block; margin-left: 4px; color: var(--accent); font-weight: 800; font-size: 13px; }
.pd-photo.is-cover img { position: absolute; inset: 0; }
.pd-gallery { grid-auto-flow: dense; }

/* 상세 대표사진 높이 고정 (사진 1장일 때 납작해지는 문제) */
.pd-photo.is-cover { aspect-ratio: 4 / 3; }
.pd-photo.is-cover:only-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; background: #111; }
.pd-photo.is-cover:only-child img { object-fit: contain; }
@media (max-width: 768px) { .pd-photo.is-cover:only-child { aspect-ratio: 4 / 3; } }


/* =========================================
   게임 키오스크 (game.html) - 레드/블랙
   ========================================= */
.gm-hero { background: radial-gradient(ellipse at 78% 30%, rgba(230,0,18,.25), transparent 55%), #0f0f10; color: #fff; padding: 150px 5% 100px; overflow: hidden; }
.gm-hero svg, .gm-page svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gm-hero-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.gm-hero h1 { font-size: 60px; font-weight: 900; line-height: 1.16; letter-spacing: -1.5px; margin-bottom: 26px; }
.gm-hero h1 .text-red { color: var(--accent); }
.gm-hero p { font-size: 18px; color: #bbb; line-height: 1.75; margin-bottom: 26px; word-break: keep-all; }
.gm-hero-visual { position: relative; display: flex; justify-content: center; }
.gm-device { width: min(340px, 100%); aspect-ratio: 505 / 705; padding: 10px; background: #1d1d1f; border-radius: 28px; box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 70px rgba(230,0,18,.22); }
.gm-device img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; display: block; }
.gm-hero-visual .mw-chip-a { top: 4%; left: 0; }
.gm-hero-visual .mw-chip-b { top: 46%; right: 0; }
.gm-hero-visual .mw-chip-c { bottom: 4%; left: 6%; }

.gm-intro { display: grid; grid-template-columns: 340px 1fr; gap: 70px; align-items: center; }
.gm-intro-img { background: var(--bg-sec); border-radius: 24px; padding: 30px; display: flex; justify-content: center; }
.gm-intro-img img { max-width: 100%; max-height: 520px; display: block; filter: drop-shadow(0 20px 30px rgba(0,0,0,.18)); }
.gm-lead { font-size: 16px; color: var(--text-dim); line-height: 1.8; margin-bottom: 34px; word-break: keep-all; }
.gm-values { grid-template-columns: repeat(3, 1fr); }
.gm-values article { background: #fff; }

.gm-games { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.gm-card { text-align: left; padding: 0; border: 1px solid #2a2a2d; border-radius: 18px; overflow: hidden; background: #1b1b1d; color: #fff; cursor: pointer; display: flex; flex-direction: column; transition: .3s; font: inherit; }
.gm-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 25px 50px rgba(230,0,18,.2); }
.gm-card-img { position: relative; aspect-ratio: 505 / 705; overflow: hidden; background: #111; }
.gm-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gm-card:hover .gm-card-img img { transform: scale(1.06); }
.gm-card-no { position: absolute; left: 12px; top: 12px; background: var(--accent); color: #fff; font-weight: 900; font-size: 14px; padding: 5px 10px; border-radius: 8px; }
.gm-card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.gm-card-body h3 { font-size: 19px; font-weight: 900; }
.gm-card-body small { font-size: 12px; color: #ff4d5a; font-weight: 700; letter-spacing: .5px; margin: 2px 0 8px; }
.gm-card-body p { font-size: 13px; color: #999; line-height: 1.55; word-break: keep-all; flex: 1; }
.gm-card-body b { margin-top: 12px; font-size: 13px; color: #fff; }
.gm-card:hover .gm-card-body b { color: #ff4d5a; }
.gm-soon { margin-top: 50px; display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; gap: 18px; align-items: stretch; background: #1b1b1d; border: 1px solid #2a2a2d; border-radius: 22px; padding: 24px; }
.gm-soon-head { display: flex; flex-direction: column; justify-content: center; padding: 10px; }
.gm-soon-head span { color: var(--accent); font-size: 13px; font-weight: 900; letter-spacing: 2px; margin-bottom: 8px; }
.gm-soon-head h3 { font-size: 24px; font-weight: 900; line-height: 1.35; word-break: keep-all; }
.gm-soon figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; }
.gm-soon img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 630 / 480; }
.gm-soon figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.72); padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 800; }

.gm-effect-inner { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: center; }
.gm-effect-num { border: 2px solid var(--accent); border-radius: 26px; padding: 44px 20px; text-align: center; box-shadow: 0 0 60px rgba(230,0,18,.25); }
.gm-effect-num b { display: block; font-size: 96px; font-weight: 900; line-height: 1; letter-spacing: -3px; }
.gm-effect-num b small { font-size: 50px; color: var(--accent); }
.gm-effect-num span { display: block; margin-top: 12px; font-weight: 700; color: #ccc; }
.gm-timeline { grid-template-columns: repeat(4, 1fr); }

.gm-modal[hidden] { display: none; }
.gm-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 24px; }
.gm-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(6px); }
.gm-modal-panel { position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; border-radius: 24px; display: grid; grid-template-columns: 340px 1fr; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.gm-modal-panel .modal-close { z-index: 2; }
.gm-modal-img { background: #111; }
.gm-modal-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 420px; }
.gm-modal-body { padding: 40px 40px 34px; }
.gm-modal-no { font-size: 12px; font-weight: 900; letter-spacing: 1.5px; color: var(--accent); }
.gm-modal-body h3 { font-size: 32px; font-weight: 900; margin: 6px 0 6px; }
.gm-modal-tag { color: #888; font-size: 14px; margin-bottom: 22px; word-break: keep-all; }
.gm-modal-body h4 { font-size: 15px; font-weight: 900; margin: 20px 0 8px; padding-left: 10px; border-left: 3px solid var(--accent); }
.gm-modal-body > p { font-size: 15px; color: #555; line-height: 1.7; word-break: keep-all; }
.gm-modal-value { list-style: none; display: grid; gap: 10px; }
.gm-modal-value li { background: var(--bg-sec); border-radius: 12px; padding: 12px 14px; }
.gm-modal-value b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.gm-modal-value span { font-size: 13.5px; color: #666; line-height: 1.6; word-break: keep-all; }
.gm-modal-body .feature-list li { font-size: 14.5px; margin-bottom: 8px; }
.gm-modal-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #eee; }
.gm-modal-nav button { border: 1px solid #ddd; background: #fff; border-radius: 30px; padding: 10px 18px; font-weight: 800; cursor: pointer; font: inherit; font-weight: 800; }
.gm-modal-nav button:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 1100px) {
    .gm-hero-inner, .gm-intro, .gm-effect-inner { grid-template-columns: 1fr; }
    .gm-intro-img { max-width: 360px; margin: 0 auto; }
    .gm-games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gm-values { grid-template-columns: 1fr; }
    .gm-timeline { grid-template-columns: repeat(2, 1fr); }
    .gm-soon { grid-template-columns: 1fr 1fr; }
    .gm-soon-head { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .gm-hero { padding: 170px 20px 70px; text-align: center; }
    .gm-hero h1 { font-size: 36px; }
    .gm-hero p { font-size: 15px; }
    .gm-hero p br { display: none; }
    .gm-hero .pb-tags, .gm-hero .hero-btns { justify-content: center; flex-wrap: wrap; }
    .gm-hero-visual .mw-chip-b { display: none; }
    .gm-games { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gm-card-body { padding: 12px; }
    .gm-card-body h3 { font-size: 16px; }
    .gm-card-body p { display: none; }
    .gm-soon { grid-template-columns: 1fr; padding: 16px; }
    .gm-effect-num b { font-size: 72px; }
    .gm-timeline { grid-template-columns: 1fr; }
    .gm-modal { padding: 10px; }
    .gm-modal-panel { grid-template-columns: 1fr; }
    .gm-modal-img img { min-height: 0; max-height: 300px; }
    .gm-modal-body { padding: 26px 20px; }
    .gm-modal-body h3 { font-size: 26px; }
}

/* 메인 서비스 01~04 타이틀: 블랙 바탕 + 빨간 번호 박스 (body.hm-dk) */
.hm-dk .hm-svc-top { grid-template-columns: 1fr; gap: 34px; background: radial-gradient(ellipse at 90% 0%, rgba(230,0,18,.18), transparent 50%), #0f0f10; border: 0; color: #fff; padding: 56px 60px; border-radius: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.section.hm-svc:not(.bg-gray) .hm-dk .hm-svc-top, .hm-dk .section.hm-svc:not(.bg-gray) .hm-svc-top { background: radial-gradient(ellipse at 90% 0%, rgba(230,0,18,.18), transparent 50%), #0f0f10; }
.hm-dk .hm-svc-intro { display: grid; grid-template-columns: 260px 1fr; column-gap: 56px; align-items: center; }
.hm-dk .hm-svc-intro > *:not(.hm-chapter) { grid-column: 2; }
.hm-dk .hm-chapter { grid-column: 1; grid-row: 1 / span 4; flex-direction: column; justify-content: center; gap: 10px; margin: 0; height: 100%; min-height: 200px; border: 2px solid var(--accent); border-radius: 22px; box-shadow: 0 0 50px rgba(230,0,18,.28); }
.hm-dk .hm-chapter b, .hm-dk #game .hm-chapter b, .hm-dk #mosaic .hm-chapter b { width: auto; height: auto; background: none; box-shadow: none; font-size: 84px; line-height: 1; letter-spacing: -3px; color: #fff; }
.hm-dk .hm-chapter span { color: #ff4d5a; font-size: 13px; letter-spacing: 2.5px; }
.hm-dk .hm-chapter i { display: none; }
.hm-dk .hm-svc-intro .section-title { color: #fff; margin-bottom: 14px; }
.hm-dk .hm-svc-intro .section-title .text-red { color: var(--accent); }
.hm-dk .hm-svc-intro p { color: #bbb; margin-bottom: 24px; max-width: 760px; }
.hm-dk .hm-svc-intro .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); justify-self: start; }
.hm-dk .hm-svc-intro .btn-secondary:hover { background: #fff; color: #111; }
.hm-dk .hm-mini-steps { grid-template-columns: repeat(4, 1fr); }
.hm-dk .hm-mini-steps li, .hm-dk .section:not(.bg-gray) .hm-mini-steps li, .hm-dk .bg-gray .hm-mini-steps li { background: #1b1b1d; border-color: #2a2a2d; }
.hm-dk .hm-mini-steps li:hover { border-color: var(--accent); }
.hm-dk .hm-mini-steps span { background: var(--accent); }
.hm-dk .hm-mini-steps b { color: #fff; }
.hm-dk .hm-mini-steps small { color: #999; }
@media (max-width: 1100px) {
    .hm-dk .hm-svc-intro { grid-template-columns: 1fr; }
    .hm-dk .hm-svc-intro > *:not(.hm-chapter) { grid-column: 1; }
    .hm-dk .hm-chapter { grid-row: auto; min-height: 0; flex-direction: row; justify-content: flex-start; padding: 14px 20px; margin-bottom: 22px; width: max-content; }
    .hm-dk .hm-chapter b, .hm-dk #game .hm-chapter b, .hm-dk #mosaic .hm-chapter b { font-size: 44px; }
    .hm-dk .hm-mini-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hm-dk .hm-svc-top { padding: 30px 20px; }
    .hm-dk .hm-mini-steps { grid-template-columns: 1fr; }
}

/* hm-dk: 검정 영역을 화면 끝까지 꽉 차게 (카드 테두리/둥근 모서리 없음) */
.hm-dk .hm-svc-top { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0; box-shadow: none; padding: 80px max(5vw, calc(50vw - 650px)); }
.hm-dk .section.hm-svc { padding-top: 0; overflow: hidden; }
.hm-dk .hm-svc::before { display: none; }
.hm-dk .hm-sketch-head { padding-top: 50px; }
@media (max-width: 768px) { .hm-dk .hm-svc-top { padding: 50px 20px; } .hm-dk .hm-sketch-head { padding-top: 30px; } }


/* =========================================
   공통 하단 회사 정보 (footer)
   ========================================= */
.site-footer { background: #0f0f10; color: #8a8a8e; border-top: 1px solid #222; padding: 44px 5%; }
.site-footer-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.site-footer-logo { color: #fff; font-size: 26px; font-weight: 900; letter-spacing: -0.5px; line-height: 1.2; }
.site-footer-logo small { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: 1.2px; color: #777; }
.site-footer-info { text-align: right; font-size: 14px; line-height: 1.9; }
.site-footer-info i { font-style: normal; margin: 0 8px; color: #444; }
.site-footer-info a { color: inherit; text-decoration: none; }
.site-footer-info a:hover { color: #fff; }
.site-footer-copy { margin-top: 4px; color: #bbb; font-weight: 600; }
@media (max-width: 768px) {
    .site-footer { padding: 36px 20px 40px; }
    .site-footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
    .site-footer-logo { font-size: 22px; }
    .site-footer-info { text-align: center; font-size: 13px; line-height: 1.8; word-break: keep-all; }
    .site-footer-info i { display: block; height: 0; overflow: hidden; margin: 0; }
}


/* 메인 01~04 번호 대신 이모지 (기존 블랙 + 빨간 테두리 디자인 유지) */
.hm-dk .hm-chapter .hm-emoji { font-style: normal; font-size: 120px; line-height: 1; display: block; text-align: center; margin: 0 auto 10px; filter: drop-shadow(0 12px 18px rgba(0,0,0,.45)); }
.hm-dk .hm-chapter { align-items: center; text-align: center; padding: 30px 16px 26px; min-height: 260px; border-width: 4px; box-shadow: 0 0 60px rgba(230,0,18,.45), inset 0 0 30px rgba(230,0,18,.12); }
@media (max-width: 1100px) {
    .hm-dk .hm-chapter { min-height: 0; padding: 12px 20px; border-width: 3px; }
    .hm-dk .hm-chapter .hm-emoji { font-size: 44px; margin: 0 8px 0 0; }
}


/* 모바일: 현장 스케치를 2칸씩 보이게 */
@media (max-width: 768px) {
    .portfolio-4grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .portfolio-4grid .port-img { margin-bottom: 10px; border-radius: 12px; }
    .portfolio-4grid .port-text h4 { font-size: 15px; margin-bottom: 2px; }
    .portfolio-4grid .port-text p { font-size: 12.5px; }
}
