/* =========================================================
   index.css — 메인 페이지(index.php) 전용 스타일
   ========================================================= */

/* =========================================================
   LAYER POPUP (관리자 > 팝업 설정)
   ========================================================= */
.pc {
    display: block;
}

.mobile {
    display: none;
}

.popup-space {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    top: 5%;
    left: 5%;
    gap: 10px;
    align-items: start;
    z-index: 100;
    width: 95%;
    z-index: 999;
}

.layer-popup {
    background-color: #fff;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    height: auto !important;
}

.layer-popup:nth-child(1) {
    left: 0;
}

.layer-popup img {
    width: 100%;
    height: auto !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.layer-popup .show-chk-wrap {
    display: flex;
    padding: 6px 10px;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
}

.show-chk-div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.layer-popup .show-chk-wrap a {
    font-size: 16px;
    color: #505050;
    cursor: pointer;
}

.layer-popup .show-chk-wrap a:hover {
    color: #222;
    font-weight: 600;
    transition: 0.3s;
}

.close-popup {
    box-sizing: border-box;
    padding: 4px 12px;
    border: 1px solid #999;
    border-radius: 4px;
}

.close-popup:hover {
    border: 1px solid #505050;
    background-color: #505050;
    color: #fff !important;
    transition: 0.3s;
}

/* =========================================================
   TYPE SCALE / SECTION BASE
   ========================================================= */

/* type scale (Figma 텍스트 스타일) */
.t-hero {
    font-size: 160px;
    font-weight: 700;
    line-height: 1.1;
}

.t-display {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.25;
}

.t-number {
    font-size: 88px;
    font-weight: 700;
    line-height: 1;
}

.t-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.35;
}

.t-h40 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.t-h32 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
}

.t-h24 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
}

.t-h24m {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.45;
}

.t-s20 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.t-s20m {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.t-b18 {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}

.t-b18m {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.65;
}

.t-b16 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.t-b16m {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
}

.t-b16b {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.65;
}

.t-c14 {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.t-c14m {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.t-c14b {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.t-l12 {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

/* section base */
.section {
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
}

.bg-ink {
    background: var(--ink-950);
    color: var(--white);
}

.bg-ink9 {
    background: var(--ink-900);
    color: var(--white);
}

.bg-g50 {
    background: var(--gray-50);
}

.bg-g100 {
    background: var(--gray-100);
}

.sec-head .title {
    font-family: 'Paperlogy','Pretendard',sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.35;
}

.sec-head .desc {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-body);
}

.bg-ink .sec-head .desc, .bg-ink9 .sec-head .desc {
    color: var(--gray-400);
}

.sec-head.center {
    text-align: center;
}

/* image fallback — Figma에서 export한 이미지가 img/ 폴더에 없을 때 */
.ph {
    position: relative;
    background: linear-gradient(135deg,var(--gray-200),#ECECEC);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
}

.ph.dark {
    background: linear-gradient(135deg,var(--ink-800),#19191C);
    color: var(--gray-500);
}

.ph svg {
    opacity: .7;
}

.ph .ph-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding: 0 28px 0 32px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 700;
    transition: background .3s var(--ease),gap .3s var(--ease),color .3s,border-color .3s;
}

.btn svg {
    transition: transform .3s var(--ease);
}

.btn:hover {
    gap: 16px;
}

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

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

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 760px;
    background: var(--ink-950);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--gnb-h);
}

.hero .panel {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 25%;
    overflow: hidden;
}

.hero .panel.l {
    left: 0;
}

.hero .panel.r {
    right: 0;
}

.hero .panel .bgimg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(.6);
    opacity: 0;
    transform: scale(1.12);
    animation: panelIn 2.4s var(--ease-out) .2s forwards, kenburns 24s ease-in-out 2.6s infinite alternate;
}

.hero .panel.l .bgimg {
    background-image: url(../img/hero-left.jpg);
}

.hero .panel.r .bgimg {
    background-image: url(../img/hero-right.jpg);
    animation-delay: .35s,2.75s;
}

.hero .panel::after {
    content: '';
    position: absolute;
    inset: 0;
}

.hero .panel.l::after {
    background: linear-gradient(90deg,rgba(12,12,13,0) 0%,rgba(12,12,13,.35) 55%,var(--ink-950) 100%);
}

.hero .panel.r::after {
    background: linear-gradient(270deg,rgba(12,12,13,0) 0%,rgba(12,12,13,.35) 55%,var(--ink-950) 100%);
}

.hero .panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,rgba(12,12,13,.5),rgba(12,12,13,0) 30%,rgba(12,12,13,0) 75%,rgba(12,12,13,.9));
}

@keyframes panelIn {
    to {
        opacity: .4;
        transform: scale(1.04);
    }
}

@keyframes kenburns {
    from {
        transform: scale(1.04) translate(0,0);
    }
    to {
        transform: scale(1.12) translate(-2%,-1%);
    }
}

.hero .glow {
    position: absolute;
    left: 25%;
    right: 25%;
    top: 0;
    bottom: 0;
    background: radial-gradient(50% 55% at 50% 45%,rgba(230,0,18,.38) 0%,rgba(230,0,18,.07) 60%,rgba(230,0,18,0) 100%);
    animation: glow 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glow {
    0%, 100% {
        opacity: .85;
    }
    50% {
        opacity: 1.15;
        filter: saturate(1.2);
    }
}

/* structural lines */
.hero .vline {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255,255,255,.12);
    transform: scaleY(0);
    transform-origin: top;
    animation: drawY 1.4s var(--ease-out) .5s forwards;
}

.hero .vline.a {
    left: 25%;
}

.hero .vline.b {
    left: 75%;
    animation-delay: .65s;
}

.hero .gridline {
    position: absolute;
    top: var(--gnb-h);
    bottom: 0;
    width: 1px;
    background: rgba(255,255,255,.05);
    transform: scaleY(0);
    transform-origin: top;
    animation: drawY 1.8s var(--ease-out) .9s forwards;
}

.hero .gridline.a {
    left: calc(50% - 650px);
}

.hero .gridline.b {
    left: calc(50% + 650px);
}

@keyframes drawY {
    to {
        transform: scaleY(1);
    }
}

@keyframes drawX {
    to {
        transform: scaleX(1);
    }
}

.hero .cross {
    position: absolute;
    width: 17px;
    height: 17px;
    opacity: 0;
    animation: crossIn 1s var(--ease-out) 1.4s forwards;
}

.hero .cross::before, .hero .cross::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,.35);
}

.hero .cross::before {
    left: 8px;
    top: 0;
    width: 1px;
    height: 17px;
}

.hero .cross::after {
    top: 8px;
    left: 0;
    height: 1px;
    width: 17px;
}

.hero .cross.tl {
    left: calc(50% - 658px);
    top: 112px;
}

.hero .cross.tr {
    left: calc(50% + 642px);
    top: 112px;
}

.hero .cross.bl {
    left: calc(50% - 658px);
    bottom: 52px;
}

.hero .cross.br {
    left: calc(50% + 642px);
    bottom: 52px;
}

@keyframes crossIn {
    from {
        opacity: 0;
        transform: rotate(-90deg) scale(.4);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.hero .scroll {
    position: absolute;
    left: 50%;
    bottom: 14px;
    width: 1px;
    height: 56px;
    background: rgba(255,255,255,.2);
    overflow: hidden;
}

.hero .scroll::after {
    content: '';
    position: absolute;
    left: 0;
    top: -20px;
    width: 1px;
    height: 20px;
    background: var(--red);
    animation: scrollDown 1.8s var(--ease) infinite;
}

@keyframes scrollDown {
    0% {
        top: -20px;
    }
    100% {
        top: 56px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.band {
    position: relative;
    padding: 28px 0 0;
}

.band .hl {
    position: absolute;
    left: calc(50% - 50vw);
    width: 100vw;
    height: 1px;
    background: rgba(255,255,255,.08);
    transform: scaleX(0);
    animation: drawX 1.6s var(--ease-out) .8s forwards;
}

.band .hl.top {
    top: 28px;
    transform-origin: left;
}

.band .hl.bot {
    bottom: 0;
    transform-origin: right;
    animation-delay: .95s;
}

.band .node {
    position: absolute;
    width: 7px;
    height: 7px;
    background: var(--red);
    transform: scale(0) rotate(45deg);
    animation: nodeIn .6s var(--ease-out) forwards;
}

.band .node.n1 {
    left: calc(50% - 25vw - 3px);
    top: 25px;
    animation-delay: 1.6s;
}

.band .node.n2 {
    left: calc(50% + 25vw - 4px);
    top: 25px;
    animation-delay: 1.7s;
}

.band .node.n3 {
    left: calc(50% - 25vw - 3px);
    bottom: -3px;
    animation-delay: 1.8s;
}

.band .node.n4 {
    left: calc(50% + 25vw - 4px);
    bottom: -3px;
    animation-delay: 1.9s;
}

@keyframes nodeIn {
    to {
        transform: scale(1) rotate(0);
    }
}

.band .bk {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 0 solid var(--red);
    opacity: 0;
    animation: bkIn .8s var(--ease-out) 1.9s forwards;
}

.band .bk.k1 {
    left: calc(50% - 25vw + 16px);
    top: 44px;
    border-left-width: 2px;
    border-top-width: 2px;
    --dx: -14px;
    --dy: -14px;
}

.band .bk.k2 {
    left: calc(50% + 25vw - 40px);
    top: 44px;
    border-right-width: 2px;
    border-top-width: 2px;
    --dx: 14px;
    --dy: -14px;
}

.band .bk.k3 {
    left: calc(50% - 25vw + 16px);
    bottom: 16px;
    border-left-width: 2px;
    border-bottom-width: 2px;
    --dx: -14px;
    --dy: 14px;
}

.band .bk.k4 {
    left: calc(50% + 25vw - 40px);
    bottom: 16px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    --dx: 14px;
    --dy: 14px;
}

@keyframes bkIn {
    from {
        opacity: 0;
        transform: translate(var(--dx),var(--dy));
    }
    to {
        opacity: 1;
        transform: translate(0,0);
    }
}

.band .copy {
    position: relative;
    padding-top: 28px;
    padding-bottom: 0;
}

.reveal {
    display: block;
    overflow: hidden;
}

.reveal > span {
    display: inline-block;
    transform: translateY(110%);
    animation: revealUp 1.1s var(--ease-out) forwards;
}

@keyframes revealUp {
    to {
        transform: translateY(0);
    }
}

.hero h1 .reveal:nth-child(1) > span {
    animation-delay: .9s;
}

.hero h1 .reveal:nth-child(2) > span {
    animation-delay: 1.05s;
}

.hero h1 .reveal:nth-child(3) > span {
    animation-delay: 1.2s;
}

.hero .lead {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.hero .big {
    font-family: 'Paperlogy','Pretendard',sans-serif;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    color: var(--red);
    font-weight: 700;
    line-height: 1.1;
}

.hero .big em {
    font-style: normal;
}

.hero .big .s {
    font-size: 108px;
}

.hero .big .l {
    font-size: 160px;
    position: relative;
}

.hero .big .shine {
    background: linear-gradient(100deg,var(--red) 0%,var(--red) 40%,#ff5a66 50%,var(--red) 60%,var(--red) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 5s ease-in-out 3s infinite;
}

@keyframes shine {
    0% {
        background-position: 120% 0;
    }
    40%, 100% {
        background-position: -30% 0;
    }
}

.hero .sub {
    margin-top: 56px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    animation-delay: 1.6s;
}

.hero .points {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: center;
    animation-delay: 1.8s;
}

.chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px 10px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    font-size: 16px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.hero .body {
    margin-top: 14px;
    font-size: 16px;
    color: var(--gray-400);
    animation-delay: 2s;
}

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 1s var(--ease-out) forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   BRAND 1
   ========================================================= */
.b1-row {
    margin-top: 80px;
    display: flex;
    gap: 80px;
    align-items: center;
}

.b1-img {
    width: 620px;
    height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex: none;
}

.b1-img img, .zoom img {
    transition: transform 1.2s var(--ease-out);
}

.b1-img:hover img, .zoom:hover img {
    transform: scale(1.05);
}

.b1-text {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.b1-text .t-b18 {
    color: var(--text-body);
}

.quote {
    padding: 4px 0 4px 24px;
    border-left: 3px solid var(--red);
}

.diff-title {
    margin-top: 56px;
    font-size: 40px;
    font-weight: 700;
}

.stats {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 32px;
}

.stat .num {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.stat .num b {
    font-size: 88px;
    font-weight: 700;
    line-height: 1;
    color: var(--red);
    font-variant-numeric: tabular-nums;
}

.stat .num span {
    font-size: 24px;
    font-weight: 700;
}

.stat hr {
    margin: 20px 0;
    border: 0;
    height: 1px;
    background: var(--gray-300);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.2s var(--ease-out) .2s;
}

.stat.aos-animate hr {
    transform: scaleX(1);
}

.stat p {
    margin-top: 8px;
    color: var(--text-body);
}

/* =========================================================
   BRAND 2
   ========================================================= */
.b2-row {
    margin-top: 56px;
    display: flex;
    gap: 80px;
    align-items: center;
}

.b2-row .ph {
    width: 620px;
    height: 420px;
    border-radius: var(--radius-lg);
    flex: none;
}

.feat-list {
    flex: 1;
}

.feat {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid var(--gray-300);
    position: relative;
    transition: padding .35s var(--ease);
}

.feat::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    height: 1px;
    width: 0;
    background: var(--red);
    transition: width .6s var(--ease-out);
}

.feat:hover::before {
    width: 100%;
}

.feat:hover {
    padding-left: 8px;
}

.dark .feat {
    border-color: var(--ink-600);
}

.feat .n {
    width: 32px;
    flex: none;
    color: var(--red);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.65;
}

.feat h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.feat p {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
}

.dark .feat p {
    color: var(--gray-400);
}

.multi {
    margin-top: 96px;
    display: flex;
    gap: 64px;
    align-items: center;
    padding: 56px;
    border-radius: var(--radius-lg);
    background: var(--ink-900);
    border: 1px solid rgba(255,255,255,.06);
}

.multi .txt {
    width: 460px;
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.multi .txt p {
    color: var(--gray-400);
    font-size: 16px;
    line-height: 1.65;
}

.multi .big40 {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 24px;
    font-weight: 700;
}

.multi .big40 b {
    font-size: 88px;
    line-height: 1;
    color: var(--red);
}

.timeline {
    flex: 1;
    position: relative;
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.timeline .track {
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    height: 1px;
    background: var(--ink-600);
}

.timeline .track i {
    position: absolute;
    inset: 0;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 2s var(--ease-out) .3s;
}

.timeline.aos-animate .track i {
    transform: scaleX(1);
}

.tl-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tl-item .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 6px rgba(230,0,18,.3);
    transform: scale(0);
    transition: transform .5s var(--ease-out);
}

.timeline.aos-animate .tl-item .dot {
    transform: scale(1);
    animation: pulse 2.4s ease-out infinite;
}

.timeline.aos-animate .tl-item:nth-child(2) .dot {
    transition-delay: .6s;
    animation-delay: .6s;
}

.timeline.aos-animate .tl-item:nth-child(3) .dot {
    transition-delay: 1.2s;
    animation-delay: 1.2s;
}

.timeline.aos-animate .tl-item:nth-child(4) .dot {
    transition-delay: 1.8s;
    animation-delay: 1.8s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230,0,18,.55);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(230,0,18,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230,0,18,0);
    }
}

.tl-item .date {
    margin-top: 4px;
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
}

.tl-item h5 {
    font-size: 24px;
    font-weight: 700;
}

.rebrand {
    margin-top: 96px;
}

.rebrand .head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.rebrand .head p {
    margin-top: 12px;
    color: var(--gray-400);
}

.pill-note {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.2);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-300);
}

.rebrand .imgs {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 32px;
}

.rebrand .imgs .zoom {
    height: 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* =========================================================
   TICKER (hero↓brand 사이 슬로건 마키)
   ========================================================= */
.ticker {
    background: var(--ink-950);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    height: 116px;
    display: flex;
    align-items: center;
}

.ticker .mq-row {
    align-items: center;
    gap: 40px;
    animation-duration: 34s;
}

.ticker .t-unit {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
}

.ticker .outline, .ticker .fill {
    font-family: 'Paperlogy','Pretendard',sans-serif;
    font-weight: 700;
    font-size: 48px;
    letter-spacing: -0.025em;
    line-height: 1;
}

.ticker .outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--cream);
}

.ticker .fill {
    color: var(--cream);
}

.ticker .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cream);
    flex: none;
}

/* =========================================================
   NEW OPEN (marquee)
   ========================================================= */
.newopen {
    background: #fff;
}

.newopen .bg {
    position: absolute;
    inset: 0;
    background-image: url(../img/newopen-bg.jpg);
    background-size: cover;
    background-position: center;
    opacity: .07;
}

.no-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 48px;
    position: relative;
}

.no-top .sec-head {
    width: 620px;
}

.no-stats {
    display: flex;
    gap: 48px;
    align-items: flex-end;
}

.no-stats .lab {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-500);
}

.no-stats .val {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 24px;
    font-weight: 700;
}

.no-stats .val b {
    font-size: 88px;
    line-height: 1;
    color: var(--red);
}

.no-stats .div {
    width: 1px;
    height: 100px;
    background: var(--gray-300);
}

.no-cap {
    margin-top: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.no-cap .lb {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
}

.no-cap .lb::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 2s infinite;
}

.no-cap p {
    color: var(--text-body);
    font-weight: 500;
}

.marquee {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.mq-row {
    display: flex;
    width: max-content;
    gap: 12px;
    animation: mq 40s linear infinite;
}

.mq-row.rev {
    animation-direction: reverse;
    animation-duration: 36s;
}

.marquee:hover .mq-row, .menu-mq:hover .mq-row {
    animation-play-state: paused;
}

@keyframes mq {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.store {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 16px 24px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--gray-200);
    white-space: nowrap;
    transition: background .3s,border-color .3s,color .3s;
}

.store b {
    color: var(--red);
    font-size: 14px;
}

.store span {
    font-size: 16px;
    font-weight: 500;
}

.store:hover {
    background: var(--ink-950);
    border-color: var(--ink-950);
    color: #fff;
}

/* =========================================================
   KIOSK
   ========================================================= */
.k-row {
    margin-top: 64px;
    display: flex;
    gap: 80px;
    align-items: center;
}

.k-row .ph {
    width: 560px;
    height: 600px;
    border-radius: var(--radius-lg);
    flex: none;
}

.k-row .ph::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(closest-side,rgba(230,0,18,.18),transparent);
    animation: spin 14s linear infinite;
}

.k-row .ph img {
    position: relative;
    z-index: 1;
    width: 72%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 40px rgba(0,0,0,.5));
}

.kiosk-shot {
    flex: none;
    width: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kiosk-shot img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 50px rgba(0,0,0,.55));
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- dark section ambient photo (05 키오스크 / 11 사후관리) ---------- */
.dark-photo-bg {
    position: absolute;
    inset: 0;
    background-image: url(../img/kiosk-bg.jpg);
    background-size: cover;
    background-position: center;
}

#diff > .inner, #care > .inner, #inquiry > .inner {
    position: relative;
}

/* =========================================================
   COST (receipt)
   ========================================================= */
.cost-row {
    display: flex;
    gap: 80px;
    align-items: center;
}

.cost-left {
    width: 480px;
    flex: none;
}

.cost-left .illust {
    margin-top: 48px;
}

.receipt {
    flex: 1;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,.08));
}

.receipt .paper {
    background: #fff;
    border-radius: 24px 24px 0 0;
    padding: 40px 48px 32px;
}

.receipt .zig {
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12'%3E%3Cpath d='M0 0h20L10 12z' fill='%23ffffff'/%3E%3C/svg%3E") repeat-x;
}

.receipt .rh {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--text-strong);
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-500);
}

.prow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px dashed var(--gray-300);
}

.prow:last-child {
    border-bottom: 0;
}

.prow h4 {
    font-size: 20px;
    font-weight: 700;
}

.prow p {
    margin-top: 4px;
    color: var(--text-body);
}

.prow .v {
    font-size: 32px;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
}

.prow .v span {
    font-size: 12px;
}

/* =========================================================
   INTERIOR slider
   ========================================================= */
.slider {
    margin-top: 56px;
    position: relative;
    height: 500px;
}

.slider .track {
    display: flex;
    gap: 24px;
    position: absolute;
    left: 50%;
    top: 0;
    transition: transform .9s var(--ease-out);
}

.slider .slide {
    width: 760px;
    height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    opacity: .35;
    transform: scale(.94);
    transition: opacity .9s var(--ease-out),transform .9s var(--ease-out);
    flex: none;
}

.slider .slide.on {
    opacity: 1;
    transform: scale(1);
}

.ctl {
    margin-top: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pager {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    font-weight: 700;
}

.pager .tot {
    color: var(--gray-500);
    font-weight: 500;
}

.pager .bar {
    width: 240px;
    height: 2px;
    background: rgba(255,255,255,.15);
    position: relative;
    overflow: hidden;
}

.pager .bar i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: var(--red);
    transition: width .9s var(--ease-out);
}

.arrows {
    display: flex;
    gap: 12px;
}

.arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s,border-color .3s;
}

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

.icards {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 32px;
}

.icard .zoom {
    height: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.icard .n {
    margin-top: 24px;
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
}

.icard h4 {
    margin-top: 12px;
    font-size: 24px;
    font-weight: 700;
}

.icard p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-400);
}

.bg-g50 .icard p {
    color: var(--text-body);
}

/* =========================================================
   SALES
   ========================================================= */
.sales-grid {
    margin-top: 64px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.scard {
    width: 412px;
    padding: 32px;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
    transition: transform .4s var(--ease),box-shadow .4s var(--ease);
}

.scard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.scard .hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scard .hd h4 {
    font-size: 20px;
    font-weight: 700;
}

.scard .tag {
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
}

.scard .tl {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
}

.scard .tv {
    font-size: 32px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ratio {
    margin-top: 20px;
    display: flex;
    gap: 4px;
    height: 8px;
}

.ratio i {
    display: block;
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 1.4s var(--ease-out);
}

.ratio .f {
    background: var(--red);
}

.ratio .p {
    background: var(--ink-950);
    transition-delay: .25s;
}

.scard.aos-animate .ratio .f {
    width: 60%;
}

.scard.aos-animate .ratio .p {
    width: 40%;
}

.scard ul {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scard li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.scard li span {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--text-body);
    font-weight: 500;
}

.scard li span::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

.scard li:nth-child(2) span::before {
    background: var(--ink-950);
}

.scard li b {
    font-weight: 700;
}

.cashcow {
    margin-top: 40px;
    padding: 48px;
    border-radius: var(--radius-lg);
    background: var(--ink-950);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cashcow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 120% at 50% 120%,rgba(230,0,18,.35),transparent 70%);
}

.cashcow h3 {
    position: relative;
    font-size: 32px;
    font-weight: 700;
}

.cashcow p {
    position: relative;
    margin-top: 16px;
    color: var(--gray-300);
    font-size: 18px;
    line-height: 1.65;
}

/* ---------- 08 매출 : 부채꼴(fan) 무한 롤링 슬라이더 ---------- */
.fan-wrap {
    position: relative;
    margin-top: -281px;
}

.sales-mobile {
    display: none;
}

/* responsive <br> helpers */
.br-mobile-only {
    display: none;
}

.br-desktop-only {
}

/* 카드 아래로 72px 여유(그림자·기울어진 카드 하단용)를 두되, 음수 마진으로 레이아웃 간격(40px)은 그대로 유지.
   남는 32px은 아래 .cashcow 박스 뒤로 들어가 잘린 단면이 보이지 않음 */
.fan-stage {
    position: relative;
    height: 652px;
    margin-bottom: -72px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%);
    mask-image: linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%);
}

.fan-ring {
    position: absolute;
    left: 50%;
    bottom: 72px;
    width: 0;
    height: 0;
    transform-origin: 0 1900px;
    animation: fanroll 22s linear infinite;
}

.fan-stage:hover .fan-ring {
    animation-play-state: paused;
}

@keyframes fanroll {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-55deg);
    }
}

.fan-item {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    transform-origin: 0 1900px;
}

.fan-item .scard {
    position: absolute;
    left: 0;
    bottom: 4px;
    transform: translateX(-50%);
    width: 296px;
    padding: 26px;
}

.fan-item .scard .hd h4 {
    font-size: 18px;
}

.fan-item .scard .tv {
    font-size: 26px;
}

.fan-wrap.in-view .fan-item .ratio .f {
    width: 60%;
}

.fan-wrap.in-view .fan-item .ratio .p {
    width: 40%;
}

.fan-ctr {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 2px;
    height: 1px;
    pointer-events: none;
}

/* =========================================================
   FOOD
   ========================================================= */
.food-row {
    display: flex;
    gap: 80px;
}

.food-row .sec-head {
    width: 520px;
    flex: none;
}

.menu-mq {
    margin-top: 72px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-mq .item {
    width: 300px;
    height: 220px;
    border-radius: var(--radius-md);
    flex: none;
}

.menu-mq .item img {
    object-fit: cover;
    transition: transform 1s var(--ease-out);
}

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

/* =========================================================
   FINANCE
   ========================================================= */
.fcards {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 32px;
}

.fcard .vis {
    height: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-100);
    transition: transform .4s var(--ease),box-shadow .4s;
}

.fcard:hover .vis {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.fcard .vis svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fcard .float {
    animation: float 4s ease-in-out infinite;
}

.fcard .float2 {
    animation: float 4s ease-in-out 1s infinite;
}

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

.fcard .rise {
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 1s var(--ease-out);
}

.fcard.aos-animate .rise {
    transform: scaleY(1);
}

.fcard.aos-animate .rise:nth-of-type(2) {
    transition-delay: .15s;
}

.fcard.aos-animate .rise:nth-of-type(3) {
    transition-delay: .3s;
}

.fcard.aos-animate .rise:nth-of-type(4) {
    transition-delay: .45s;
}

.fcard .line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 1.4s var(--ease-out) .6s;
}

.fcard.aos-animate .line {
    stroke-dashoffset: 0;
}

.fcard .n {
    margin-top: 24px;
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
}

.fcard h4 {
    margin-top: 12px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
}

.fcard p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
}

/* =========================================================
   AFTER CARE (overlapping deck)
   ========================================================= */
.sub-badge {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px 18px 20px;
    border-radius: var(--radius-md);
    background: var(--red);
    font-size: 18px;
    font-weight: 500;
}

.sub-badge b {
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--red);
    font-size: 16px;
}

.deck {
    position: relative;
    margin-top: 64px;
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    padding: 32px 130px 40px calc((100vw - 1300px)/2);
    scrollbar-width: none;
    cursor: grab;
}

.deck::-webkit-scrollbar {
    display: none;
}

.deck.drag {
    cursor: grabbing;
}

.ccard {
    flex: none;
    width: 300px;
    height: 360px;
    padding: 32px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg,#2A2A2E,#17171A);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: -12px 0 32px rgba(0,0,0,.45);
    transition: transform .45s var(--ease),background .45s;
    user-select: none;
}

.ccard:not(:first-child) {
    margin-left: -64px;
}

.ccard:hover {
    transform: translateY(-16px);
    background: var(--red);
}

.ccard:hover ~ .ccard {
    transform: translateX(64px);
}

.ccard .n {
    font-size: 40px;
    font-weight: 700;
    color: var(--red);
    transition: color .45s;
}

.ccard:hover .n {
    color: #fff;
}

.ccard h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
}

.ccard p {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-400);
    transition: color .45s;
}

.ccard:hover p {
    color: #fff;
}

.sbar {
    margin-top: 8px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,.1);
    position: relative;
}

.sbar i {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 32%;
    border-radius: 2px;
    background: var(--red);
    transition: left .1s linear;
}

/* =========================================================
   PROCESS
   ========================================================= */
.steps {
    margin-top: 64px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 5px;
    row-gap: 30px;
}

.sarrow {
    width: 20px;
    height: 20px;
    display: flex;
}

/* step icon box */
.step {
    position: relative;
}

.step .si {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .35s,transform .35s var(--ease);
}

.step .si svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-strong);
    transition: stroke .35s;
}

.step:hover .si {
    background: var(--red-soft);
    transform: rotate(-6deg);
}

.step:hover .si svg {
    stroke: var(--red);
}

.step.hi .si {
    background: rgba(255,255,255,.18);
}

.step.hi .si svg, .step.hi:hover .si svg {
    stroke: #fff;
}

.step.hi:hover .si {
    background: rgba(255,255,255,.28);
}

/* care icon */
.ccard .ic {
    display: block;
    margin-top: 20px;
    width: 40px;
    height: 40px;
}

.ccard .ic svg {
    width: 40px;
    height: 40px;
    stroke: var(--gray-400);
    transition: stroke .45s, transform .45s var(--ease);
}

.ccard:hover .ic svg {
    stroke: #fff;
    transform: translateY(-2px) scale(1.06);
}

/* food sticky (overflow:hidden은 sticky를 막으므로 clip 사용) */
.section.food {
    overflow: clip;
}

.food-row {
    align-items: flex-start;
}

.food-row .sec-head {
    position: sticky;
    top: 160px;
}

.food-row .feat {
    padding: 48px 0;
    opacity: .35;
    transition: opacity .5s var(--ease),padding .35s var(--ease);
}

.food-row .feat.on {
    opacity: 1;
}

.food-row .feat .n {
    font-size: 20px;
}

.food-row .feat h4 {
    font-size: 24px;
}

.food-row .feat p {
    font-size: 18px;
}

/* cost illustration motion */
.cost-left .illust svg {
    width: 480px;
    height: auto;
    overflow: visible;
}

.cost-left .illust .lens {
    transform-box: view-box;
    transform-origin: 372px 164px;
    animation: scan 6s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% {
        transform: translate(0,0);
    }
    25% {
        transform: translate(-70px,40px);
    }
    50% {
        transform: translate(-120px,-30px);
    }
    75% {
        transform: translate(-40px,90px);
    }
}

.cost-left .illust .stamp {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    transform: scale(1.8) rotate(10deg);
}

.cost-left .illust.aos-animate .stamp {
    animation: stamp .5s cubic-bezier(.3,1.6,.5,1) 1.4s forwards;
}

@keyframes stamp {
    to {
        opacity: 1;
        transform: scale(1) rotate(-14deg);
    }
}

.cost-left .illust .rw {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity .5s, transform .5s var(--ease-out);
}

.cost-left .illust.aos-animate .rw {
    opacity: 1;
    transform: none;
}

.cost-left .illust.aos-animate .rw:nth-of-type(2) {
    transition-delay: .15s;
}

.cost-left .illust.aos-animate .rw:nth-of-type(3) {
    transition-delay: .3s;
}

.cost-left .illust.aos-animate .rw:nth-of-type(4) {
    transition-delay: .45s;
}

.cost-left .illust.aos-animate .rw:nth-of-type(5) {
    transition-delay: .6s;
}

.cost-left .illust .coin {
    animation: float 3.6s ease-in-out infinite;
}

.step {
    width: 236px;
    height: 188px;
    padding: 28px 24px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color .35s,transform .35s var(--ease),box-shadow .35s;
}

.step:hover {
    border-color: var(--red);
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,.06);
}

.step .s {
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
}

.step h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.step p {
    color: var(--text-body);
}

.step.hi {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.step.hi .s, .step.hi p {
    color: #fff;
}

.step.hi {
    animation: hiGlow 2.6s ease-in-out infinite;
}

@keyframes hiGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(230,0,18,.35);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(230,0,18,0);
    }
}

/* =========================================================
   MEDIA
   ========================================================= */
.vslider {
    margin: 56px auto 0;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
}

.vview {
    width: 1188px;
    overflow: hidden;
}

.vtrack {
    display: flex;
    gap: 24px;
    transition: transform .7s var(--ease-out);
}

.vcard {
    flex: none;
    width: 380px;
    height: 214px;
    border-radius: var(--radius-md);
    background: var(--ink-800);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.vcard .play {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s var(--ease),background .35s;
}

.vcard .play path {
    transition: fill .35s;
}

.vcard:hover .play {
    transform: translate(-50%,-50%) scale(1.1);
    background: #fff;
}

.vcard:hover .play path {
    fill: var(--red);
}

.vcard::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color .35s;
    z-index: 2;
}

.vcard:hover::after {
    border-color: rgba(230,0,18,.6);
}

.vcard .vshade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(12,12,13,.15) 0%,rgba(12,12,13,.15) 50%,rgba(12,12,13,.88) 100%);
    z-index: 0;
}

.vcard .vthumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 재생 버튼은 썸네일 정가운데 */
.vcard .play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    transform: translate(-50%,-50%);
}

.vcard .vtitle {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin: 0 20px 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    /* 한 줄로 표시하고 넘치면 말줄임표(…) */
    display: block;
    max-width: calc(100% - 40px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vcard {
    justify-content: flex-end;
}

.media-note {
    margin-top: 56px;
    text-align: center;
    color: var(--gray-400);
    font-size: 18px;
    line-height: 1.65;
}

/* 영상 재생 모달 */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12,12,13,.88);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s,visibility .3s;
}

.video-modal.open {
    opacity: 1;
    visibility: visible;
}

.video-dialog {
    position: relative;
    width: 1080px;
    max-width: min(100%,calc((100vh - 140px) * 16 / 9));
    transform: scale(.96);
    transition: transform .4s var(--ease-out);
}

.video-modal.open .video-dialog {
    transform: none;
}

.video-frame {
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
}

.video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-close {
    position: absolute;
    right: 0;
    top: -52px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .3s;
}

.video-close:hover {
    background: var(--red);
}

/* =========================================================
   INQUIRY
   ========================================================= */
.inquiry .bgimg {
    position: absolute;
    inset: 0;
    background-image: url(../img/card-teamroom.jpg);
    background-size: cover;
    background-position: center;
    opacity: .07;
}

.iq-row {
    margin-top: 64px;
    display: flex;
    gap: 32px;
    position: relative;
}

.estimate {
    position: relative;
    flex: 1;
    min-height: 640px;
    border-radius: var(--radius-lg);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.estimate .tbl {
    padding: 40px;
    filter: blur(6px);
}

.estimate .tr {
    display: flex;
    gap: 24px;
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.estimate .tr.th {
    background: var(--ink-950);
    border-radius: 6px;
    border: 0;
}

.estimate .tr i {
    display: block;
    height: 10px;
    border-radius: 5px;
    background: var(--gray-200);
}

.estimate .tr.th i {
    background: var(--ink-600);
}

.estimate .tr i:last-child {
    background: var(--gray-400);
}

.estimate .tr.th i:last-child {
    background: var(--ink-600);
}

.notice {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 474px;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--gray-200);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.notice svg.logo {
    height: 44px;
    width: auto;
}

.notice h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
}

.notice .dv {
    width: 40px;
    height: 2px;
    background: var(--red);
}

.notice p {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-body);
}

.tel-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px 14px 24px;
    border-radius: 999px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 32px;
    font-weight: 700;
    transition: background .3s,color .3s;
}

.tel-pill:hover {
    background: var(--red);
    color: #fff;
}

.tel-pill:hover path {
    fill: #fff;
}

.form {
    flex: 1;
    padding: 48px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form .r2 {
    display: flex;
    gap: 16px;
}

.field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field label {
    font-size: 14px;
    font-weight: 700;
}

.field input, .field select, .field textarea {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    background: #fff;
    font: inherit;
    font-size: 16px;
    letter-spacing: inherit;
    color: var(--text-strong);
    outline: 0;
    transition: border-color .25s,box-shadow .25s;
}

.field textarea {
    height: 120px;
    padding: 16px 18px;
    resize: none;
}

.field select {
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%2386868D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center #fff;
    color: var(--gray-400);
}

.field select.chosen {
    color: var(--text-strong);
}

.field ::placeholder {
    color: var(--gray-400);
}

.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(230,0,18,.08);
}

.field.err input, .field.err select {
    border-color: var(--red);
}

.choices {
    display: flex;
    gap: 12px;
}

.choice {
    flex: 1;
    height: 52px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-body);
    transition: all .25s;
}

.choice.on {
    border-color: var(--red);
    background: var(--red-soft);
    color: var(--red);
}

.form .agree {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    cursor: pointer;
}

.agree input {
    display: none;
}

.agree .box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1.5px solid var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.agree input:checked + .box {
    background: var(--red);
    border-color: var(--red);
}

.agree .box svg {
    opacity: 0;
    transform: scale(.5);
    transition: all .2s;
}

.agree input:checked + .box svg {
    opacity: 1;
    transform: none;
}

.agree a {
    color: var(--gray-500);
    text-decoration: underline;
}

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

.form .msg {
    font-size: 14px;
    color: var(--red);
    min-height: 0;
}

.form .btn:disabled {
    opacity: .6;
    cursor: default;
}

/* AOS fallback (CDN 미로드 시) */
.no-aos [data-aos] {
    opacity: 0;
    transition: opacity .9s var(--ease-out),transform .9s var(--ease-out);
}

.no-aos [data-aos="fade-up"] {
    transform: translateY(40px);
}

.no-aos [data-aos="fade-right"] {
    transform: translateX(-40px);
}

.no-aos [data-aos="fade-left"] {
    transform: translateX(40px);
}

.no-aos [data-aos="zoom-in"] {
    transform: scale(.92);
}

.no-aos [data-aos].aos-animate {
    opacity: 1;
    transform: none;
}

.fcard svg .rise, .fcard svg .float, .fcard svg .float2 {
    transform-box: fill-box;
}

/* ---------- structural background (brand / sales) ---------- */
.grid-bg > .inner {
    position: relative;
    z-index: 1;
}

.grid-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(to right,var(--gl-strong) 0 1px,transparent 1px),linear-gradient(to right,var(--gl-strong) 0 1px,transparent 1px),linear-gradient(to right,var(--gl-strong) 0 1px,transparent 1px),repeating-linear-gradient(to right,var(--gl) 0 1px,transparent 1px 108.333px);
    background-size: 1px 100%,1px 100%,1px 100%,1301px 100%;
    background-repeat: no-repeat;
    background-position: calc(50% - 650px) 0,50% 0,calc(50% + 650px) 0,calc(50% - 650px) 0;
}

.grid-bg::after {
    content: '';
    position: absolute;
    pointer-events: none;
    width: var(--gw);
    height: var(--gh);
    left: var(--gx);
    top: var(--gy);
    background: radial-gradient(closest-side,rgba(230,0,18,var(--ga)),rgba(230,0,18,0));
    animation: glow 7s ease-in-out infinite;
}

#brand.grid-bg {
    --gl: rgba(231,231,228,.6);
    --gl-strong: #E7E7E4;
    --gw: 900px;
    --gh: 700px;
    --gx: calc(50% + 120px);
    --gy: -200px;
    --ga: .07;
}

#sales.grid-bg {
    background: var(--gray-100);
    --gl: rgba(228,228,224,.6);
    --gl-strong: #E4E4E0;
    --gw: 1200px;
    --gh: 800px;
    --gx: calc(50% - 600px);
    --gy: 260px;
    --ga: .08;
}

.xh {
    position: absolute;
    width: 17px;
    height: 17px;
    z-index: 1;
}

.xh::before, .xh::after {
    content: '';
    position: absolute;
    background: var(--gray-400);
}

.xh::before {
    left: 8px;
    top: 0;
    width: 1px;
    height: 17px;
}

.xh::after {
    top: 8px;
    left: 0;
    height: 1px;
    width: 17px;
}

.xh.tl {
    left: calc(50% - 658px);
    top: 40px;
}

.xh.tr {
    left: calc(50% + 642px);
    top: 40px;
}

.xh.bl {
    left: calc(50% - 658px);
    bottom: 40px;
}

.xh.br {
    left: calc(50% + 642px);
    bottom: 40px;
}

.hrule {
    position: relative;
    height: 1px;
    margin: 56px 0 0;
}

.hrule .ln {
    position: absolute;
    left: calc(50% - 50vw);
    width: 100vw;
    top: 0;
    height: 1px;
    background: var(--gl-strong);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.4s var(--ease-out);
}

.hrule.aos-animate .ln {
    transform: scaleX(1);
}

.hrule .nd {
    position: absolute;
    top: -3px;
    width: 7px;
    height: 7px;
    background: var(--red);
    transform: scale(0) rotate(45deg);
    transition: transform .5s var(--ease-out);
}

.hrule .nd:nth-child(2) {
    left: -3px;
    transition-delay: .6s;
}

.hrule .nd:nth-child(3) {
    left: calc(50% - 3px);
    transition-delay: .75s;
}

.hrule .nd:nth-child(4) {
    right: -4px;
    transition-delay: .9s;
}

.hrule.aos-animate .nd {
    transform: scale(1) rotate(0);
}

/* brand image brackets */
.bracketed {
    position: relative;
    flex: none;
}

.bracketed .bk2 {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 0 solid var(--red);
    transition: transform .8s var(--ease-out),opacity .8s;
    opacity: 0;
}

.bracketed .bk2.a {
    left: -14px;
    top: -14px;
    border-left-width: 2px;
    border-top-width: 2px;
    transform: translate(-12px,-12px);
}

.bracketed .bk2.b {
    right: -14px;
    top: -14px;
    border-right-width: 2px;
    border-top-width: 2px;
    transform: translate(12px,-12px);
}

.bracketed .bk2.c {
    left: -14px;
    bottom: -14px;
    border-left-width: 2px;
    border-bottom-width: 2px;
    transform: translate(-12px,12px);
}

.bracketed .bk2.d {
    right: -14px;
    bottom: -14px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    transform: translate(12px,12px);
}

.bracketed.aos-animate .bk2 {
    opacity: 1;
    transform: none;
    transition-delay: .4s;
}

/* stat cards */
.stat {
    position: relative;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 12px 32px rgba(0,0,0,.05);
    transition: transform .4s var(--ease),box-shadow .4s;
}

.stat::before {
    content: '';
    position: absolute;
    left: 32px;
    top: -1px;
    height: 3px;
    width: 0;
    background: var(--red);
    transition: width .8s var(--ease-out) .5s;
}

.stat.aos-animate::before {
    width: 40px;
}

.stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

/* consult 3D illustration */
.b2-row .consult {
    width: 620px;
    height: 320px;
    flex: none;
}

.consult-svg {
    display: block;
    overflow: visible;
}

.consult-svg .bubble {
    animation: float 4s ease-in-out infinite;
}

.consult-svg .dot {
    animation: typing 1.4s ease-in-out infinite;
}

.consult-svg .d1 {
    animation-delay: .2s;
}

.consult-svg .d2 {
    animation-delay: .4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: .35;
    }
    30% {
        opacity: 1;
    }
}

.consult-svg .float {
    animation: float 3.6s ease-in-out .6s infinite;
}

.consult-svg .laser {
    animation: laser 1.2s linear infinite;
}

@keyframes laser {
    to {
        stroke-dashoffset: -16;
    }
}

.consult-svg .laser-dot {
    animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
    50% {
        opacity: .3;
    }
}

.consult-svg .dim path {
    stroke-dasharray: 140;
    stroke-dashoffset: 140;
    transition: stroke-dashoffset 1.2s var(--ease-out) .5s;
}

.consult.aos-animate .consult-svg .dim path {
    stroke-dashoffset: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* ---------------------------------------------------------
   TABLET / 작은 PC (~1400px)
   - PC(1560 기준) 레이아웃을 단계적으로 줄여 모바일(640px 이하)로 연결
   - 모바일에서 값이 달라야 하는 속성은 640px 블록 상단 "태블릿 규칙 초기화"에서 되돌림
   --------------------------------------------------------- */
@media (max-width: 1400px) {
    .hero .cross, .hero .gridline {
        display: none;
    }

    /* ---- hero : 좌우 패널(25%) 사이에 문구가 들어오도록 화면 폭에 비례 ---- */
    .hero .big .l {
        font-size: calc(13.5vw - 34px);
    }
    .hero .big .s {
        font-size: calc(9.1vw - 23px);
    }

    /* ---- 11 care deck : 좌측 여백을 .inner 와 맞춤 ---- */
    .deck {
        padding: 32px 32px 40px;
    }

    /* ---- 12 process : 5열 유지, 카드 폭만 유동 ---- */
    .steps {
        align-items: stretch;
    }
    .step {
        width: calc((100% - 121px) / 5);
        height: auto;
        min-height: 188px;
    }
    .sarrow {
        align-self: center;
    }

    /* ---- 13 media : 화면 폭에 맞춰 3개 노출 ---- */
    .vslider {
        padding: 0 32px;
    }
    .vview {
        flex: 1;
        width: auto;
        min-width: 0;
        max-width: 1188px;
    }
    .vcard {
        width: calc((100% - 48px) / 3);
        height: auto;
        aspect-ratio: 380 / 214;
    }
}

@media (max-width: 1280px) {
    /* ---- type scale ---- */
    .sec-head .title {
        font-size: 48px;
    }
    .diff-title {
        font-size: 36px;
    }
    .stat .num b, .multi .big40 b, .no-stats .val b {
        font-size: 72px;
    }

    /* ---- hero : 패널 20% / 구조선·노드·브라켓도 같은 비율로 이동 ---- */
    .hero .panel {
        width: 20%;
    }
    .hero .vline.a {
        left: 20%;
    }
    .hero .vline.b {
        left: 80%;
    }
    .hero .glow {
        left: 20%;
        right: 20%;
    }
    .band .node.n1, .band .node.n3 {
        left: calc(50% - 30vw - 3px);
    }
    .band .node.n2, .band .node.n4 {
        left: calc(50% + 30vw - 4px);
    }
    .band .bk.k1, .band .bk.k3 {
        left: calc(50% - 30vw + 16px);
    }
    .band .bk.k2, .band .bk.k4 {
        left: calc(50% + 30vw - 40px);
    }
    .hero .big .l {
        font-size: min(140px, calc(16.5vw - 33px));
    }
    .hero .big .s {
        font-size: min(94px, calc(11.1vw - 22px));
    }
    .hero .lead {
        font-size: 36px;
    }

    /* ---- 02 brand : 고정폭 이미지를 비율 폭으로 ---- */
    .b1-row, .b2-row, .k-row, .cost-row, .food-row {
        gap: 56px;
    }
    .bracketed {
        flex: 0 0 48%;
    }
    .b1-img {
        width: 100%;
        height: auto;
        aspect-ratio: 620 / 420;
    }

    /* ---- 03 brand 2 ---- */
    .b2-row .consult {
        width: 46%;
        height: auto;
    }
    .consult-svg {
        width: 100%;
        height: auto;
    }
    .multi {
        gap: 40px;
        padding: 48px;
    }
    .multi .txt {
        width: 340px;
    }
    .tl-item h5 {
        font-size: 22px;
    }

    /* ---- 04 new open ---- */
    .no-top .sec-head {
        flex: 1;
        width: auto;
    }

    /* ---- 05 kiosk ---- */
    .kiosk-shot {
        width: 44%;
    }

    /* ---- 06 cost ---- */
    .cost-left {
        width: 40%;
    }
    .cost-left .illust svg {
        width: 100%;
    }
    .prow .v {
        font-size: 28px;
    }

    /* ---- 07 interior : 슬라이드 폭을 화면 비율로 (script.js 가 폭을 읽어 이동) ---- */
    .slider {
        --slide-w: min(760px, 60vw);
        height: calc(var(--slide-w) * .658);
    }
    .slider .slide {
        width: var(--slide-w);
        height: calc(var(--slide-w) * .658);
    }

    /* ---- 09 food ---- */
    .food-row .sec-head {
        width: 40%;
    }

    /* ---- 12 process : 3 x 3 그리드 (화살표 대신 STEP 번호로 순서 표시) ---- */
    .steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .step {
        width: auto;
        min-height: 168px;
    }
    .sarrow {
        display: none;
    }

    /* ---- 13 media ---- */
    .vcard .play {
        width: 56px;
        height: 56px;
    }

    /* ---- 14 inquiry ---- */
    .notice {
        width: calc(100% - 48px);
        max-width: 474px;
    }
    .form {
        padding: 40px;
    }

}

@media (max-width: 1024px) {
    /* ---- type scale ---- */
    .sec-head .title {
        font-size: 42px;
    }
    .sec-head .desc {
        font-size: 17px;
    }
    .t-h32 {
        font-size: 28px;
    }
    .diff-title {
        font-size: 32px;
    }
    .multi .big40 b, .no-stats .val b {
        font-size: 64px;
    }

    /* ---- hero / ticker ---- */
    .hero .lead {
        font-size: 32px;
    }
    .ticker {
        height: 92px;
    }
    .ticker .outline, .ticker .fill {
        font-size: 36px;
    }
    .ticker .mq-row, .ticker .t-unit {
        gap: 32px;
    }

    /* ---- 2단 영역 간격 ---- */
    .b1-row, .b2-row, .k-row, .cost-row, .food-row {
        gap: 40px;
    }

    /* ---- 02 brand ---- */
    .stats {
        gap: 20px;
    }
    .stat {
        padding: 28px 24px;
    }
    .stat .num b {
        font-size: 60px;
    }
    .stat .num span {
        font-size: 20px;
    }

    /* ---- 03 brand 2 : 다점포 박스는 세로 배치 ---- */
    .multi {
        flex-direction: column;
        align-items: stretch;
        padding: 40px;
    }
    .multi .txt {
        width: 100%;
    }
    .rebrand {
        margin-top: 72px;
    }
    .rebrand .head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .rebrand .imgs {
        gap: 20px;
    }
    .rebrand .imgs .zoom {
        height: 230px;
    }

    /* ---- 04 new open ---- */
    .no-stats {
        gap: 32px;
    }
    .no-stats .div {
        height: 80px;
    }

    /* ---- 06 cost ---- */
    .receipt .paper {
        padding: 32px 32px 24px;
    }
    .prow {
        padding: 24px 0;
    }
    .prow .v {
        font-size: 24px;
    }

    /* ---- 07 interior / 10 finance 카드 ---- */
    .icards, .fcards {
        gap: 20px;
    }
    .icard .zoom {
        height: 200px;
    }
    .fcard .vis {
        height: auto;
        aspect-ratio: 412 / 280;
    }
    .icard h4, .fcard h4 {
        font-size: 20px;
    }
    .icard h4 + p, .fcard h4 + p {
        font-size: 15px;
    }

    /* ---- 08 sales ---- */
    .cashcow h3 {
        font-size: 28px;
    }
    .cashcow p {
        font-size: 17px;
    }
    .dark .feat {
        gap: 12px;
    }
    /* ---- 09 food ---- */
    .food-row .feat {
        padding: 36px 0;
    }
    .menu-mq .item {
        width: 240px;
        height: 176px;
    }

    /* ---- 11 care ---- */
    .sub-badge b {
        flex: none;
    }

    /* ---- 13 media : 2개 노출 ---- */
    .vcard {
        width: calc((100% - 24px) / 2);
    }

    /* ---- 14 inquiry ---- */
    .iq-row {
        gap: 24px;
    }
    .notice {
        padding: 32px 24px;
    }
    .notice h4 {
        font-size: 21px;
    }
    .tel-pill {
        font-size: 26px;
    }
    .form {
        padding: 32px;
    }
}

@media (max-width: 900px) {
    /* ---- layer popup ---- */
    .pc {
        display: none!important;
    }
    .mobile {
        display: block;
    }
    .layer-popup .show-chk-wrap {
        margin-top: 0;
    }
    .layer-popup .show-chk-wrap a {
        font-size: 14px;
        line-height: 20px;
        letter-spacing: -0.35px;
    }
    .layer-popup .show-chk-wrap .x-btn {
        padding: 0 15px;
    }

    /* ---- hero ---- */
    .hero .lead {
        font-size: 28px;
    }

    /* ---- 2단 영역 → 세로 배치 ---- */
    .b1-row, .b2-row, .k-row, .cost-row, .food-row, .iq-row {
        flex-direction: column;
        align-items: stretch;
    }
    .no-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    /* ---- 02 brand ---- */
    .bracketed {
        flex: none;
    }
    .b1-img {
        aspect-ratio: 16 / 9;
    }

    /* ---- 03 brand 2 / 05 kiosk : 일러스트·기기 이미지는 가운데 정렬 ---- */
    .b2-row .consult {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }
    .kiosk-shot {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    /* ---- 06 cost : 타이틀 + 일러스트를 한 줄로, 영수증은 아래로 ---- */
    .cost-left {
        display: flex;
        align-items: center;
        gap: 32px;
        width: 100%;
    }
    .cost-left .sec-head {
        flex: 1;
    }
    .cost-left .illust {
        width: 42%;
        margin-top: 0;
    }

    /* ---- 07 interior ---- */
    .slider {
        --slide-w: 68vw;
    }
    

    /* ---- 09 food : sticky 해제, 전 항목 활성 ---- */
    .food-row .sec-head {
        position: static;
        width: 100%;
    }
    .food-row .br-desktop-only {
        display: none;
    }
    .food-row .feat {
        opacity: 1;
        padding: 28px 0;
    }

    /* ---- 12 process ---- */
    .steps {
        gap: 14px;
    }
    .step {
        padding: 20px;
    }
    .step h4 {
        font-size: 18px;
    }
    .step .si {
        right: 20px;
        top: 20px;
    }

    /* ---- 14 inquiry ---- */
    .estimate {
        flex: none;
        min-height: 440px;
    }
    .form {
        flex: none;
    }
}

@media (max-width: 768px) {
    /* ---- layer popup ---- */
    .layer-popup {
        max-height: 95vh!important;
        position: fixed;
        top: 2%!important;
        left: 5%!important;
        width: 80%!important;
        overflow: scroll;
    }
    /* ---- 12 process ---- */
    .steps {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 40px;
        row-gap: 16px;
        column-gap: 12px;
    }
    .sarrow {
        display: none;
    }
    .step {
        width: calc(50% - 6px);
        height: auto;
    }
    .step.hi {
        width: 100%;
    }

    /* ---- type scale ---- */
    .sec-head .title {
        font-size: 36px;
    }
    .sec-head .desc {
        margin-top: 16px;
        font-size: 16px;
    }
    .t-h32 {
        font-size: 26px;
    }
    .t-b18, .t-b18m {
        font-size: 16px;
    }
    .diff-title {
        font-size: 28px;
    }
    .multi .big40 b, .no-stats .val b {
        font-size: 56px;
    }

    /* ---- hero / ticker ---- */
    .hero .lead {
        font-size: 26px;
    }
    .ticker {
        height: 80px;
    }
    .ticker .outline, .ticker .fill {
        font-size: 30px;
    }
    .ticker .mq-row, .ticker .t-unit {
        gap: 24px;
    }

    /* ---- 02 brand ---- */
    .stats {
        gap: 12px;
    }
    .stat {
        padding: 24px 18px;
    }
    .stat .num b {
        font-size: 48px;
    }
    .stat .num span {
        font-size: 18px;
    }
    .stat h4 {
        font-size: 17px;
    }
    .stat p {
        font-size: 14px;
    }

    /* ---- 03 brand 2 ---- */
    .multi {
        padding: 32px;
    }
    .rebrand .imgs {
        gap: 12px;
    }
    .rebrand .imgs .zoom {
        height: 170px;
    }

    /* ---- 07 interior / 10 finance 카드 : 이미지 좌 · 텍스트 우 가로형 카드 ---- */
    .slider {
        --slide-w: 76vw;
    }
    .icards, .fcards {
        grid-template-columns: 1fr;
    }
    .icard, .fcard {
        display: grid;
        grid-template-columns: 42% 1fr;
        grid-template-rows: 1fr auto auto auto 1fr;
        column-gap: 28px;
    }
    .icard .zoom, .fcard .vis {
        grid-column: 1;
        grid-row: 1 / -1;
        height: auto;
        aspect-ratio: 412 / 280;
    }
    .icard .n, .fcard .n {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
    }
    .icard h4, .fcard h4 {
        grid-column: 2;
        grid-row: 3;
    }
    .icard h4 + p, .fcard h4 + p {
        grid-column: 2;
        grid-row: 4;
    }

    /* ---- 08 sales ---- */
    .cashcow {
        padding: 32px 24px;
    }
    .cashcow h3 {
        font-size: 24px;
    }
    .cashcow p {
        font-size: 16px;
    }
    .cashcow p br {
        display: none;
    }

    /* ---- 09 food ---- */
    .menu-mq .item {
        width: 200px;
        height: 146px;
    }

    /* ---- 11 care deck ---- */
    .ccard {
        width: 260px;
        height: 330px;
        padding: 28px;
    }
    .ccard:not(:first-child) {
        margin-left: -52px;
    }

    /* ---- 13 media : 화살표 대신 가로 스크롤(스와이프), 2개 노출 ---- */
    .vprev, .vnext {
        display: none;
    }
    .vtrack {
        transform: none!important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .vtrack::-webkit-scrollbar {
        display: none;
    }
    .vcard {
        scroll-snap-align: start;
    }
}



@media (prefers-reduced-motion: reduce) {
    .reveal > span, .fade-in {
        transform: none;
        opacity: 1;
    }
    .hero .panel .bgimg {
        opacity: .4;
    }
    .hero .vline, .hero .gridline, .band .hl {
        transform: none;
    }
    .band .node {
        transform: none;
    }
    .band .bk, .hero .cross {
        opacity: 1;
    }
}

/* =========================================================
   MOBILE (375px 기준, ~640px 이하)
   ========================================================= */
@media (max-width: 640px) {
    :root {
        --radius-sm: 6px;
        --radius-md: 8px;
        --radius-lg: 12px;
    }
    /* ---- 태블릿 규칙 초기화 : 위 max-width 블록에서 내려온 값 중 모바일에서 달라야 하는 것 ---- */
    .hero .glow {
        left: 25%;
        right: 25%;
    }
    .b1-img, .icard .zoom, .vcard {
        aspect-ratio: auto;
    }
    .b2-row .consult {
        max-width: none;
        margin: 0;
    }
    .stat {
        padding: 36px 32px;
    }
    .stat .num span {
        font-size: 24px;
    }
    .stat p {
        font-size: 16px;
    }
    .tl-item h5 {
        font-size: 24px;
    }
    .rebrand {
        margin-top: 96px;
    }
    .no-top .sec-head {
        flex: 0 1 auto;
    }
    .cost-left {
        display: block;
    }
    .cost-left .illust {
        width: auto;
    }
    .icard, .fcard {
        display: block;
    }
    .icard .n, .fcard .n {
        margin-top: 24px;
    }
    .icard h4, .fcard h4 {
        font-size: 24px;
    }
    .icard h4 + p, .fcard h4 + p {
        font-size: 16px;
    }
    .fcard .vis {
        height: 280px;
        aspect-ratio: auto;
    }
    .cashcow p br {
        display: inline;
    }
    .sub-badge {
        padding: 16px 20px 16px 16px;
    }
    .sub-badge b {
        flex: 0 1 auto;
    }
    .steps {
        display: flex;
        align-items: stretch;
    }
    .step {
        min-height: 0;
        padding: 16px;
    }
    .step h4 {
        font-size: 18px;
    }
    .step .si {
        width: 32px;
        height: 32px;
        border-radius: 6px;
        right: 12px;
        top: 12px;
    }
    .vslider {
        padding: 0;
    }
    .vview {
        flex: 0 1 auto;
        min-width: auto;
        max-width: none;
    }
    .vcard .play {
        width: 60px;
        height: 60px;
    }
    .notice {
        max-width: none;
    }
    .notice h4 {
        font-size: 18px;
    }
    .notice p {
        font-size: 15px;
    }
    .estimate, .form {
        flex: 1;
    }

    /* ---- type scale ---- */
    .sec-head .title {
        font-size: 32px;
        line-height: 1.3;
    }
    .sec-head .desc {
        font-size: 15px;
        margin-top: 14px;
    }
    .t-h32 {
        font-size: 24px;
    }
    .t-h24, .t-h24m {
        font-size: 19px;
    }
    .t-s20, .t-s20m {
        font-size: 17px;
    }
    .t-b18, .t-b18m {
        font-size: 15px;
    }
    .diff-title {
        font-size: 26px;
    }
    .stat .num b {
        font-size: 48px;
    }
    .no-stats .val b {
        font-size: 44px;
    }
    .multi .big40 b {
        font-size: 48px;
    }
    .prow {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 22px 0;
    }
    .prow .v {
        font-size: 22px;
    }
    .prow h4 {
        font-size: 17px;
    }
    .receipt .paper {
        padding: 24px 20px 20px;
        border-radius: 12px 12px 0 0;
    }
    /* ---- section base ---- */
    .section {
        padding: var(--section-py) 0;
    }
    /* ---- hero ---- */
    .hero {
        min-height: 620px;
    }
    .hero .panel {
        width: 18%;
    }
    .hero .vline.a {
        left: 18%;
    }
    .hero .vline.b {
        left: 82%;
    }
    .hero .lead {
        font-size: 24px;
        line-height: 1.5;
    }
    .hero .big {
        margin: 6px 0;
    }
    .hero .big .s {
        font-size: 44px;
    }
    .hero .big .l {
        font-size: 60px;
    }
    .hero .sub {
        margin-top: 36px;
        font-size: 20px;
    }
    .hero .body {
        font-size: 13px;
        line-height: 140%;
    }
    .br-mobile-only {
        display: block;
    }
    .br-desktop-only {
        display: none;
    }
    .hero .points {
        flex-direction: column;
        align-items: center;
        margin-top: 32px;
        gap: 10px;
    }
    .chip {
        font-size: 16px;
    }
    .band .node, .band .bk {
        display: block;
    }
    .band .node {
        width: 6px;
        height: 6px;
    }
    .band .node.n1 {
        left: calc(50% - 155px);
        top: 12px;
    }
    .band .node.n2 {
        left: calc(50% + 155px - 8px);
        top: 12px;
    }
    .band .node.n3 {
        left: calc(50% - 155px);
        bottom: -18px;
    }
    .band .node.n4 {
        left: calc(50% + 155px - 8px);
        bottom: -18px;
    }
    .band .bk {
        width: 22px;
        height: 22px;
    }
    .band .bk.k1 {
        left: calc(50% - 155px + 10px);
        top: 20px;
    }
    .band .bk.k2 {
        left: calc(50% + 155px - 32px);
        top: 20px;
    }
    .band .bk.k3 {
        left: calc(50% - 155px + 10px);
        bottom: -24px;
    }
    .band .bk.k4 {
        left: calc(50% + 155px - 32px);
        bottom: -24px;
    }
    .band .hl.top {
        top: 8px;
    }
    /* ---- ticker ---- */
    .ticker {
        height: 68px;
    }
    .ticker .outline, .ticker .fill {
        font-size: 24px;
    }
    .ticker .mq-row {
        gap: 20px;
    }
    .ticker .t-unit {
        gap: 20px;
    }
    /* ---- brand rows / generic 2col -> stack ---- */
    .b1-row, .b2-row, .k-row, .multi, .cost-row, .no-top, .food-row {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }
    .b1-img, .b2-row .ph, .b2-row .consult, .k-row .ph, .kiosk-shot, .cost-left, .food-row .sec-head, .multi .txt {
        width: 100%;
        height: auto;
    }
    .b1-img {
        height: 220px;
    }
    .b2-row .ph {
        height: 220px;
    }
    .kiosk-shot {
        max-width: 320px;
        margin: 0 auto;
    }
    .k-row .ph {
        height: 360px;
    }
    .no-top .sec-head {
        width: 100%;
    }
    .no-stats {
        gap: 24px;
        flex-wrap: wrap;
    }
    .no-stats .div {
        display: none;
    }
    .stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .rebrand .imgs {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .rebrand .imgs .zoom {
        height: 220px;
    }
    .rebrand .head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .timeline {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    /* 타임라인 세로형 : 가로 트랙 대신 점(dot) 사이를 잇는 세로선 */
    .timeline .track {
        display: none;
    }
    .tl-item {
        padding-left: 32px;
    }
    .tl-item .dot {
        position: absolute;
        left: 0;
        top: 2px;
    }
    .tl-item .date {
        margin-top: 0;
    }
    .tl-item:not(:last-child)::before {
        content: '';
        position: absolute;
        left: 7.5px;
        top: 10px;
        width: 1px;
        height: calc(100% + 44px);
        background: var(--red);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform .6s var(--ease-out) .3s;
    }
    .timeline.aos-animate .tl-item::before {
        transform: scaleY(1);
    }
    .timeline.aos-animate .tl-item:nth-child(3)::before {
        transition-delay: .9s;
    }
    .multi {
        padding: 20px;
        gap: 32px;
        margin-top: 56px;
    }
    .consult-svg {
        width: 100%;
        height: auto;
    }
    .cost-left .illust {
        margin-top: 28px;
    }
    .cost-left .illust svg {
        width: 85%;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    .icards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .icard .zoom {
        height: 220px;
    }
    .fcards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    /* ---- 05 kiosk ambient ---- */
    .dark-photo-bg {
        opacity: .5;
    }
    /* ---- 08 sales: hide fan carousel, show simple scroll list ---- */
    .fan-wrap {
        display: none;
    }
    .sales-mobile {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 8px 2px 4px;
        margin-top: 28px;
        -webkit-overflow-scrolling: touch;
    }
    .sales-mobile::-webkit-scrollbar {
        display: none;
    }
    .sales-mobile .scard {
        flex: none;
        width: 78vw;
        max-width: 320px;
        scroll-snap-align: start;
        padding: 24px;
    }
    .cashcow {
        margin-top: 28px!important;
        padding: 20px;
    }
    .cashcow h3 {
        font-size: 22px;
    }
    .cashcow p {
        font-size: 16px;
    }
    /* ---- 09 food ---- */
    .food-row .sec-head {
        position: static;
    }
    .food-row .feat {
        opacity: 1;
        padding: 24px 0;
    }
    .food-row .feat h4 {
        font-size: 20px;
    }
    .food-row .feat p {
        font-size: 16px;
    }
    .menu-mq .item {
        width: 160px;
        height: 120px;
    }
    /* ---- 11 care deck ---- */
    .deck {
        padding: 24px 24px 32px 24px;
        margin-top: 40px;
    }
    .ccard {
        width: 230px;
        height: 300px;
        padding: 20px;
    }
    .ccard:not(:first-child) {
        margin-left: -40px;
    }
    .ccard .n {
        font-size: 20px;
    }
    .ccard h4 {
        font-size: 20px;
    }
    .sub-badge {
        font-size: 16px;
        line-height: 150%;
    }
    .sub-badge b {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 210px;
        height: 70px;
        padding: 6px 6px;
        border-radius: 8px;
        font-size: 18px;
    }
    /* ---- 10 interior slider : 가운데 정렬 슬라이드 (자동 넘김 + 좌우 스와이프) ---- */
    .slider {
        height: 260px;
        margin-top: 32px;
    }
    .slider .track {
        gap: 16px;
    }
    .slider .slide {
        width: 82vw;
        height: 260px;
    }
    .ctl {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-top: 24px;
    }
    .pager .bar {
        width: 160px;
    }
    /* ---- 13 media video slider : 가운데 정렬 가로 스크롤(스와이프) ---- */
    .vslider {
        gap: 8px;
    }
    .vview {
        width: 100%;
    }
    .vtrack {
        transform: none!important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        /* 첫/마지막 카드도 화면 가운데에 오도록 좌우 여백 확보 */
        padding: 0 calc((100% - min(78vw, 320px)) / 2) 4px;
    }
    .vtrack::-webkit-scrollbar {
        display: none;
    }
    .vcard {
        width: 78vw;
        max-width: 320px;
        height: 180px;
        scroll-snap-align: center;
    }
    .arrows, .vprev, .vnext {
        display: none;
    }
    .media-note {
        font-size: 16px;
    }
    /* ---- 14 inquiry ---- */
    .iq-row {
        flex-direction: column;
        gap: 24px;
    }
    .estimate {
        min-height: 360px;
    }
    .notice {
        width: calc(100% - 32px);
        padding: 24px 16px;
    }
    .form {
        padding: 20px;
    }
    .form .r2 {
        flex-direction: column;
        gap: 22px;
    }
    .tel-pill {
        font-size: 22px;
    }
    .marquee {
        gap: 12px;
    }
    .menu-mq {
        margin-top: 32px;
    }
    .sub-badge {
        margin-top: 24px;
    }
}

@media(max-width: 480px) {
    .tel-pill {
        font-size: 20px;
        padding: 10px 20px 10px 16px;
        gap: 4px;
    }
    .no-cap {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 420px) {
    .hero .big .l {
        font-size: 72px;
    }
    .hero .big .s {
        font-size: 44px;
    }
}

@media(max-width: 370px) {
    .sec-head .title {
        font-size: 28px;
    }
    .t-h32 {
        font-size: 22px;
    }
    .pill-note {
        border-radius: 12px;
        line-height: 1.3;
    }
    .cashcow p {
        font-size: 14px;
    }
    .scard .tv {
        font-size: 28px;
    }
    .sub-badge {
        flex-direction: column;
    }
    .sub-badge b {
        width: fit-content;
        height: auto;
        padding: 8px 16px;
    }
}

@media(max-width: 340px) {
    .steps {
        gap: 12px;
    }
    .step {
        width: 100%;
    }
}

@media(max-width: 300px) {
    .sec-head .title {
        font-size: 26px;
    }
    .scard .tv {
        font-size: 26px;
    }
}
