/* ========================================
   오늘을 빚다 - Minimal Luxury
   Inspired by BEURRE.NY
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Serif+KR:wght@400;500;700&family=Cinzel:wght@400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    /* Colors - Almost monochrome */
    --black: #1a1a1a;
    --dark: #2b2b2b;
    --text: #2b2b2b;
    --text-light: #555555;
    --text-muted: #717171;
    --border: #e5e5e5;
    --border-light: #f0f0f0;
    --bg-light: #f8f8f8;
    --bg-warm: #faf9f7;
    --white: #ffffff;
    --accent: #8b7355;

    /* Typography - Cinzel + Source Han Serif KR */
    --font-serif: 'Noto Serif KR', 'Cinzel', Georgia, serif;
    --font-sans: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
    --font-display: 'Cinzel', 'Noto Serif KR', Georgia, serif;
    --font-en: 'Cinzel', Georgia, serif;

    /* Layout */
    --container: 1400px;
    --header-h: 70px;

    /* Motion */
    --ease: cubic-bezier(0.25, 0, 0.2, 1);
    --duration: 0.4s;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

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

/* 키보드 접근성 - 포커스 상태 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

/* ========================================
   Placeholder Images
   ======================================== */
.placeholder-image {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    min-height: 200px;
    background-size: cover;
    background-position: center;
}

.placeholder-image[style*="background-image"] {
    color: transparent !important;
    font-size: 0 !important;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
}

.placeholder-image.large { min-height: 500px; }

.placeholder-image.hero-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    background-size: cover;
    background-position: center;
    color: transparent;
}

/* ========================================
   HEADER - Thin, elegant
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 30px rgba(0,0,0,0.04);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

/* Logo */
.logo a {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo h1 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.02em;
    transition: color 0.5s ease;
}

.header.scrolled .logo h1 {
    color: var(--black);
}

.logo-sub {
    font-family: var(--font-display);
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 400;
    font-style: italic;
    transition: color 0.5s ease;
}

.header.scrolled .logo-sub {
    color: var(--text-muted);
}

/* Navigation */
.main-nav { display: flex; }

.nav-list {
    display: flex;
    gap: 0;
}

.nav-item { position: relative; }

.nav-link {
    display: block;
    padding: 8px 24px;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.05em;
    transition: all 0.4s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.header.scrolled .nav-link {
    color: var(--text-light);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--black);
}

/* Submenu */
.submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: var(--white);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.04);
    border: none;
    border-radius: 2px;
    padding: 16px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu li a {
    display: block;
    padding: 10px 32px;
    font-size: 13px;
    color: var(--text-light);
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.submenu li a::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.submenu li a:hover {
    color: var(--black);
    background: transparent;
    padding-left: 40px;
}

.submenu li a:hover::before {
    width: 12px;
}

/* 소카테고리가 있는 항목 */
.submenu li.has-sub {
    position: relative;
}

.submenu li.has-sub > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    margin-left: 8px;
    vertical-align: middle;
}

.submenu li.has-sub > .sub-submenu {
    position: absolute;
    left: 100%;
    top: -16px;
    background: var(--white);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.04);
    border: none;
    border-radius: 2px;
    padding: 16px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(8px);
}

.submenu li.has-sub:hover > .sub-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* 화면 오른쪽 넘침 방지 */
@media (max-width: 1200px) {
    .submenu li.has-sub > .sub-submenu {
        left: auto;
        right: 100%;
    }
}

.sub-submenu li a {
    display: block;
    padding: 10px 32px;
    font-size: 13px;
    color: var(--text-light);
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
}

.sub-submenu li a::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.sub-submenu li a:hover {
    color: var(--black);
    background: transparent;
    padding-left: 40px;
}

.sub-submenu li a:hover::before {
    width: 12px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-search, .btn-cart {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.75);
    transition: all 0.4s ease;
    position: relative;
}

.btn-search:hover, .btn-cart:hover { color: #fff; }

.header.scrolled .btn-search,
.header.scrolled .btn-cart {
    color: var(--text-light);
}

.header.scrolled .btn-search:hover,
.header.scrolled .btn-cart:hover {
    color: var(--black);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 15px;
    height: 15px;
    background: var(--black);
    color: var(--white);
    font-size: 9px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 4px 2px;
    transition: all 0.3s ease;
    font-weight: 300;
}

.lang-btn.active {
    color: #fff;
    font-weight: 500;
}

.lang-btn:hover {
    color: rgba(255,255,255,0.8);
}

.lang-divider {
    font-size: 10px;
    color: rgba(255,255,255,0.2);
    font-weight: 300;
}

.header.scrolled .lang-btn {
    color: var(--text-muted);
}

.header.scrolled .lang-btn.active {
    color: var(--black);
}

.header.scrolled .lang-btn:hover {
    color: var(--black);
}

.header.scrolled .lang-divider {
    color: var(--border);
}

.btn-login {
    margin-left: 12px;
    padding: 8px 28px;
    font-size: 11px;
    font-weight: 400;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    transition: all 0.4s ease;
    letter-spacing: 0.12em;
}

.btn-login:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

.header.scrolled .btn-login {
    color: var(--white);
    background: var(--black);
    border-color: var(--black);
}

.header.scrolled .btn-login:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* Mobile Menu */
.btn-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.btn-mobile-menu span {
    width: 20px;
    height: 1px;
    background: #fff;
    transition: background 0.5s ease;
}

.header.scrolled .btn-mobile-menu span {
    background: var(--black);
}

/* ========================================
   HERO - Full screen, dramatic
   ======================================== */
.hero {
    padding-top: var(--header-h);
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.hero-slide {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.hero-slide.active {
    display: grid;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px 0 max(40px, calc((100vw - var(--container)) / 2 + 40px));
    background: var(--white);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 400;
    color: var(--black);
    line-height: 1.4;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.8;
    font-weight: 400;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 40px;
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all 0.4s var(--ease);
}

.btn-hero:hover {
    background: var(--text);
    transform: translateY(-1px);
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image .placeholder-image {
    position: absolute;
    inset: 0;
    min-height: 100%;
    border-radius: 0;
}

/* ========================================
   HERO CENTER - 플레플레 스타일 풀스크린
   ======================================== */
.hero-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    height: 100vh;
    min-height: 600px;
    padding-top: 0;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    transform: scale(1.05);
    animation: heroZoomOut 8s ease-out forwards;
}

@keyframes heroZoomOut {
    from { transform: scale(1.12); }
    to { transform: scale(1.0); }
}

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

.hero-video-fallback {
    position: absolute;
    inset: 0;
    min-height: 100%;
    border-radius: 0;
    z-index: -1;
}

.hero-center .hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-center .hero-bg-image .placeholder-image {
    position: absolute;
    inset: 0;
    min-height: 100%;
    border-radius: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.65) 100%
    );
    z-index: 1;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.2) 100%);
}

.hero-center-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 24px;
    max-width: 700px;
}

/* 히어로 스태거 애니메이션 */
[data-hero-anim] {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

[data-hero-anim="1"] { animation-delay: 0.3s; }
[data-hero-anim="2"] { animation-delay: 0.6s; }
[data-hero-anim="3"] { animation-delay: 0.9s; }
[data-hero-anim="4"] { animation-delay: 1.2s; }
[data-hero-anim="5"] { animation-delay: 1.5s; }
[data-hero-anim="6"] { animation-delay: 2.0s; }

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-brand-en {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 300;
}

.hero-brand-name {
    font-family: var(--font-serif);
    font-size: 72px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #fff;
    margin-bottom: 28px;
    line-height: 1;
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.hero-divider span {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.hero-divider i {
    width: 5px;
    height: 5px;
    border: 1px solid rgba(255,255,255,0.5);
    transform: rotate(45deg);
    display: inline-block;
    background: transparent;
    border-radius: 0;
}

.hero-catchphrase {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    line-height: 1.6;
}

.hero-slogan-single {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.12em;
    line-height: 1.8;
    margin-bottom: 48px;
}

.hero-message {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    line-height: 2;
    margin-bottom: 40px;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-block;
    padding: 16px 56px;
    background: #fff;
    color: var(--black);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 115, 85, 0.1), transparent);
    transition: left 0.6s ease;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    letter-spacing: 0.2em;
}

.btn-hero-secondary {
    display: inline-block;
    padding: 16px 56px;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    border: 1px solid rgba(255,255,255,0.35);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-hero-secondary:hover {
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.08);
    transform: translateY(-3px);
    letter-spacing: 0.2em;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* 스크롤 인디케이터 */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll-text {
    font-family: var(--font-en);
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.4);
    font-weight: 300;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

/* ========================================
   Section Base
   ======================================== */
.section {
    padding: 120px 0;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 5px;
    text-transform: uppercase;
    font-style: normal;
    margin-bottom: 12px;
}

.section-title::after {
    content: attr(data-kr);
    display: block;
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 400;
    color: var(--black);
    letter-spacing: -0.02em;
    text-transform: none;
    font-style: normal;
    margin-top: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 300;
    margin-top: 14px;
}

/* ========================================
   SIGNATURE CAKES
   ======================================== */
.signature-cakes {
    background: var(--white);
    padding: 120px 0;
}

.section-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    font-weight: 400;
}

.cake-carousel { position: relative; }

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    border-radius: 50%;
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

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

.cake-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.cake-card {
    background: var(--white);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    cursor: pointer;
}

.cake-card:hover {
    z-index: 2;
    transform: translateY(-8px);
}

.cake-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.cake-image .placeholder-image {
    height: 100%;
    border-radius: 0;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cake-card:hover .cake-image .placeholder-image {
    transform: scale(1.1);
}

.cake-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    z-index: 1;
}

.cake-card:hover .cake-overlay {
    background: rgba(0,0,0,0.25);
}

.cake-quick-view {
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    padding: 12px 28px;
    border: 1px solid rgba(255,255,255,0.7);
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cake-card:hover .cake-quick-view {
    opacity: 1;
    transform: translateY(0);
}

.cake-quick-view:hover {
    background: rgba(255,255,255,0.15);
}

.cake-info {
    padding: 24px 4px 8px;
}

.cake-name {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.cake-card:hover .cake-name {
    color: var(--accent);
}

.cake-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.7;
    font-weight: 300;
}

.cake-price {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    letter-spacing: 0.5px;
    font-style: normal;
}

/* View All 버튼 */
.section-cta {
    text-align: center;
    margin-top: 64px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--black);
    padding: 16px 40px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-view-all svg {
    transition: transform 0.4s ease;
}

.btn-view-all:hover {
    background: var(--black);
    color: #fff;
    border-color: var(--black);
}

.btn-view-all:hover svg {
    transform: translateX(4px);
}

/* ========================================
   REVIEWS
   ======================================== */
.reviews {
    background: var(--bg-light);
    padding: 120px 0;
}

.review-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--white);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
}

.review-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    transform: translateY(-6px);
}

.review-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.review-card:hover .review-image img {
    transform: scale(1.08);
}

.review-image .placeholder-image {
    height: 100%;
    border-radius: 0;
}

.review-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.review-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
    flex: 1;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    letter-spacing: 0.02em;
}

.review-date {
    font-family: var(--font-en);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.review-cake {
    font-family: var(--font-en);
    font-size: 11px;
    color: var(--accent);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 1px;
}

/* ========================================
   TRUST
   ======================================== */
.trust {
    background: var(--white);
    padding: 0;
    overflow: hidden;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 700px;
}

.trust-image {
    overflow: hidden;
    position: relative;
}

.trust-image .placeholder-image {
    border-radius: 0;
    min-height: 100%;
    background-image: url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?w=800&q=80');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.trust-image:hover .placeholder-image {
    transform: scale(1.05);
}

.trust-content {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #1a1a1a;
    position: relative;
}

.trust-content::before {
    content: '';
    position: absolute;
    top: 80px;
    right: 60px;
    font-family: var(--font-serif);
    font-size: 200px;
    color: rgba(255,255,255,0.02);
    line-height: 1;
    pointer-events: none;
}

.trust-label {
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.trust-heading {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 300;
    color: #fff;
    line-height: 1.5;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.trust-divider {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 32px 0;
}

.trust-quote {
    font-family: var(--font-serif);
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    line-height: 2.2;
    margin-bottom: 40px;
    padding-left: 0;
    border-left: none;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.trust-quote strong {
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}

.trust-signature {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.signature-name {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.05em;
}

.signature-title {
    font-family: var(--font-en);
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    font-weight: 300;
    font-style: normal;
    margin-top: 6px;
    letter-spacing: 2px;
}

.trust-badges {
    display: flex;
    gap: 0;
    align-items: center;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.badge-number {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 300;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.badge-text {
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 300;
    color: rgba(255,255,255,0.35);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.badge-separator {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.08);
}

/* ========================================
   GUARANTEE
   ======================================== */
.guarantee {
    background: #1a1a1a;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.guarantee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(139, 115, 85, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(139, 115, 85, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

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

.guarantee .section-title {
    color: #fff;
}

.guarantee .section-title::after {
    color: rgba(255, 255, 255, 0.85);
}

.guarantee-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 400;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: transparent;
    counter-reset: guarantee;
}

.guarantee-item {
    text-align: center;
    padding: 56px 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.guarantee-item::before {
    content: attr(data-index);
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-en);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 2px;
    font-weight: 300;
}

.guarantee-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.guarantee-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(139, 115, 85, 0.2);
    transform: translateY(-4px);
}

.guarantee-item:hover::after {
    width: 80%;
}

.guarantee-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(139, 115, 85, 0.1);
    border: 1px solid rgba(139, 115, 85, 0.2);
    color: var(--accent);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.guarantee-item:hover .guarantee-icon-wrap {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(139, 115, 85, 0.3);
}

.guarantee-content {
    position: relative;
}

.guarantee-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.guarantee-divider {
    width: 24px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto 16px;
    transition: width 0.4s ease;
}

.guarantee-item:hover .guarantee-divider {
    width: 48px;
}

.guarantee-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    font-weight: 300;
    transition: color 0.4s ease;
}

.guarantee-item:hover .guarantee-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   CAKE TYPES
   ======================================== */
.cake-types {
    background: var(--white);
    padding: 120px 0;
}

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

.type-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
}

.type-image {
    position: absolute;
    inset: 0;
}

.type-image .placeholder-image {
    height: 100%;
    border-radius: 0;
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.type-card:hover .type-image .placeholder-image {
    transform: scale(1.12);
}

.type-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 40px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.type-card:hover .type-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.8) 100%);
}

.type-label {
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease 0.1s;
}

.type-card:hover .type-label {
    opacity: 1;
    transform: translateY(0);
}

.type-title {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    transition: transform 0.4s ease;
}

.type-card:hover .type-title {
    transform: translateY(-4px);
}

.type-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease 0.15s;
}

.type-card:hover .type-desc {
    opacity: 1;
    color: rgba(255,255,255,0.7);
    transform: translateY(0);
}

.type-arrow {
    color: var(--white);
    opacity: 0;
    transform: translateX(-12px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
    display: flex;
    align-items: center;
}

.type-card:hover .type-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   Instagram Gallery
   ======================================== */
.insta-gallery {
    padding-bottom: 0;
    background: var(--white);
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}

.insta-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    display: block;
}

.insta-item .placeholder-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.insta-item:hover .placeholder-image {
    transform: scale(1.1);
}

.insta-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.insta-hover svg {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s;
}

.insta-item:hover .insta-hover {
    background: rgba(0,0,0,0.35);
}

.insta-item:hover .insta-hover svg {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,26,26,0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show { display: flex; }

.modal-content {
    background: var(--white);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: var(--white);
    font-size: 18px;
    color: var(--text-light);
    transition: all 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover { color: var(--black); }

.cake-detail-modal .modal-body,
.product-modal .modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image {
    background: var(--bg-light);
    min-height: 500px;
}

.modal-image .placeholder-image {
    height: 100%;
    min-height: 500px;
    border-radius: 0;
    color: var(--text-muted);
}

.modal-info {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 16px;
}

.modal-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 400;
}

.modal-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.modal-keywords .keyword-tag {
    padding: 5px 14px;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 11px;
    font-weight: 400;
}

.modal-price {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 32px;
    font-style: italic;
}

.modal-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
}

.btn-cart-add, .btn-order {
    flex: 1;
    padding: 16px 24px;
    border: none;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.03em;
}

.btn-cart-add {
    background: var(--bg-light);
    color: var(--text);
}

.btn-cart-add:hover { background: var(--border); }

.btn-order {
    background: var(--black);
    color: var(--white);
}

.btn-order:hover { background: var(--text); }

.modal-guide {
    background: var(--bg-light);
    padding: 20px 24px;
}

.modal-guide p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 400;
}

.modal-guide p:last-child { margin-bottom: 0; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #111;
    color: rgba(255,255,255,0.5);
    padding: 80px 0 40px;
}

/* 상단: 로고 + CTA */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.footer-logo-en {
    font-family: var(--font-en);
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    transition: all 0.4s ease;
}

.footer-cta-btn svg {
    transition: transform 0.4s ease;
}

.footer-cta-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.footer-cta-btn:hover svg {
    transform: translateX(4px);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 48px 0;
}

/* 중단: 그리드 */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-title {
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-style: normal;
}

.footer-nav li { margin-bottom: 12px; }

.footer-nav a {
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    transition: all 0.3s ease;
    font-weight: 300;
    position: relative;
}

.footer-nav a:hover {
    color: rgba(255,255,255,0.8);
    padding-left: 12px;
}

.contact-list li {
    font-size: 14px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.35);
    font-weight: 300;
    letter-spacing: 0.02em;
}

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

.sns-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.35);
    transition: all 0.4s ease;
}

.sns-link svg { width: 16px; height: 16px; }

.sns-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

/* 하단 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    font-weight: 300;
    margin-bottom: 6px;
}

.business-info {
    display: flex;
    gap: 16px;
}

.business-info span {
    font-size: 11px;
    color: rgba(255,255,255,0.2);
    font-weight: 300;
}

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

.footer-legal a {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-legal a:hover { color: rgba(255,255,255,0.6); }

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

.float-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    border: none;
    position: relative;
}

.float-btn::after {
    content: attr(title);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: var(--black);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    padding: 6px 14px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    letter-spacing: 0.02em;
}

.float-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.float-btn.phone {
    background: var(--white);
    color: var(--accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.float-btn.phone:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.float-btn.kakao {
    background: #FEE500;
    color: #3C1E1E;
    box-shadow: 0 4px 20px rgba(254,229,0,0.25);
}

.float-btn.kakao:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 32px rgba(254,229,0,0.35);
}

.float-btn.top {
    width: 44px;
    height: 44px;
    background: rgba(26,26,26,0.8);
    backdrop-filter: blur(8px);
    color: var(--white);
    align-self: flex-end;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.float-btn.top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-btn.top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ========================================
   PAGE HERO (Sub pages)
   ======================================== */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--white);
}

.page-hero h1 {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--black);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-hero .hero-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

/* 다크 히어로 (서브페이지 통일) */
.page-hero--dark {
    position: relative;
    background: #1a1a1a;
    background-image: url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?w=1400&q=80');
    background-size: cover;
    background-position: center;
    padding: 180px 0 100px;
    overflow: hidden;
}

.page-hero--dark .page-hero-overlay,
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
}

.page-hero--dark .section-label {
    color: var(--accent);
    font-family: var(--font-en);
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
    font-weight: 300;
}

.page-hero--dark h1 {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.page-hero--dark .hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    letter-spacing: 0.08em;
}

/* 페이지별 히어로 배경 사진 */
.about-hero {
    background-image: url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?w=1400&q=80');
}
.cakes-hero {
    background-image: url('https://images.unsplash.com/photo-1563729784474-d77dbb933a9e?w=1400&q=80');
}
.education-hero {
    background-image: url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?w=1400&q=80');
}
.reviews-hero {
    background-image: url('https://images.unsplash.com/photo-1464349095431-e9a21285b5f3?w=1400&q=80');
}
.orders-hero {
    background-image: url('https://images.unsplash.com/photo-1535254973040-607b474cb50d?w=1400&q=80');
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }

    .cake-grid { grid-template-columns: repeat(3, 1fr); }
    .review-cards { grid-template-columns: repeat(2, 1fr); }
    .guarantee-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    :root { --header-h: 60px; }

    .container { padding: 0 20px; }
    .section { padding: 80px 0; }

    .header-actions { display: none; }
    .btn-mobile-menu { display: flex; }

    /* 모바일 네비게이션 */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -4px 0 24px rgba(0,0,0,0.1);
        z-index: 99999;
        padding: 80px 0 32px;
        overflow-y: auto;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .main-nav.mobile-open {
        right: 0;
    }

    /* 모바일 오버레이 */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        z-index: 99998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        padding: 16px 28px;
        font-size: 15px;
        border-bottom: 1px solid var(--border-light);
        color: var(--text) !important;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--black) !important;
    }

    .submenu li a,
    .sub-submenu li a {
        color: var(--text-light) !important;
    }

    .submenu li a:hover,
    .sub-submenu li a:hover {
        color: var(--black) !important;
    }

    /* 모바일 서브메뉴 - 아코디언 방식 */
    .submenu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: var(--bg-light) !important;
        padding: 0 !important;
        min-width: auto !important;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.submenu-open > .submenu {
        max-height: 500px;
    }

    .submenu li a {
        padding: 14px 28px 14px 44px;
        font-size: 14px;
        display: block;
        position: relative;
    }

    .submenu li a::before {
        display: none !important;
    }

    .submenu li a:hover {
        padding-left: 44px !important;
        background: transparent !important;
    }

    .sub-submenu li a {
        padding: 14px 28px 14px 60px;
    }

    /* 모바일 서브서브메뉴 - 아코디언 */
    .submenu li.has-sub > a::after {
        transform: rotate(45deg);
        transition: transform 0.3s;
    }

    .submenu li.has-sub.submenu-open > a::after {
        transform: rotate(-135deg);
    }

    .sub-submenu {
        position: static !important;
        box-shadow: none !important;
        border: none !important;
        background: var(--bg-light) !important;
        padding: 0 !important;
        min-width: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .submenu li.has-sub.submenu-open > .sub-submenu {
        max-height: 400px;
    }

    .sub-submenu li a {
        padding-left: 60px !important;
    }

    /* 햄버거 버튼 X 전환 */
    .btn-mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .btn-mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .btn-mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero { padding-top: var(--header-h); height: auto; min-height: auto; }
    .hero-center { height: 100vh; min-height: 500px; padding-top: 0; }
    .hero-brand-name { font-size: 44px; letter-spacing: 0.12em; }
    .hero-catchphrase { font-size: 18px; }
    .hero-slogan-single { font-size: 16px; letter-spacing: 0.06em; }
    .hero-message { font-size: 14px; }
    .hero-brand-en { font-size: 11px; letter-spacing: 5px; }
    .btn-hero-primary, .btn-hero-secondary { padding: 14px 40px; font-size: 11px; }
    .hero-scroll-indicator { bottom: 24px; }

    .hero-slide {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 48px 20px;
        text-align: center;
    }

    .hero-title { font-size: 28px; }

    .hero-image {
        height: 50vh;
        min-height: 300px;
    }

    .hero-image .placeholder-image {
        position: relative;
    }

    .insta-grid { grid-template-columns: repeat(3, 1fr); }

    .cake-grid { grid-template-columns: repeat(2, 1fr); }
    .review-cards { grid-template-columns: 1fr; }

    .trust-grid { grid-template-columns: 1fr; min-height: auto; }
    .trust-image { min-height: 400px; }
    .trust-content { padding: 64px 32px; }
    .trust-heading { font-size: 28px; }
    .trust-quote { font-size: 15px; }

    .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
    .guarantee-item { padding: 40px 28px; }
    .guarantee { padding: 80px 0; }
    .types-grid { grid-template-columns: 1fr 1fr; }

    .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
    .business-info { flex-direction: column; gap: 4px; }

    .section-header { margin-bottom: 40px; }
    .section-title::after { font-size: 24px; }

    .page-hero { padding: 120px 0 48px; }
    .page-hero h1 { font-size: 26px; }
    .page-hero--dark { padding: 140px 0 64px; }
    .page-hero--dark h1 { font-size: 32px; letter-spacing: 0.08em; }
    .page-hero--dark .hero-subtitle { font-size: 14px; }

    .floating-consult { bottom: 16px; right: 16px; gap: 8px; }
    .float-btn { width: 46px; height: 46px; }
    .float-btn.top { width: 40px; height: 40px; }
    .float-btn::after { display: none; }
    .float-btn { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }

    .cake-detail-modal .modal-body,
    .product-modal .modal-body { grid-template-columns: 1fr; }
    .modal-image { min-height: 280px; }
    .modal-info { padding: 28px 20px; }
    .modal-actions { flex-direction: column; }
}

@media (max-width: 600px) {
    /* 전역 모바일 텍스트 최적화 */
    body { font-size: 15px; word-break: keep-all; overflow-wrap: break-word; }
    p, li, td, div { word-break: keep-all; overflow-wrap: break-word; }

    .guarantee-grid { grid-template-columns: 1fr; }
    .review-cards { grid-template-columns: 1fr; }
    .types-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-brand-name { font-size: 48px; }
    .section-title::after { font-size: 26px; }
    .section-title { font-size: 13px; letter-spacing: 3px; }
    .section-label { font-size: 11px; letter-spacing: 3px; }
    .section-subtitle { font-size: 14px; }
    .page-hero--dark h1 { font-size: 32px; letter-spacing: 0.06em; }
    .page-hero--dark .hero-subtitle { font-size: 14px; }
    .page-hero--dark .section-label { font-size: 10px; letter-spacing: 3px; }
    .hero-slogan-single { font-size: 15px; letter-spacing: 0.04em; }
    .float-btn { width: 44px; height: 44px; }
    .float-btn.top { width: 38px; height: 38px; }
    .btn-hero-primary, .btn-hero-secondary { padding: 14px 36px; font-size: 11px; }

    /* 카드 텍스트 */
    .cake-name { font-size: 15px; }
    .cake-desc { font-size: 13px; }
    .cake-price { font-size: 14px; }
    .review-text { font-size: 14px; }
    .review-name { font-size: 13px; }
    .type-title { font-size: 22px; }
    .type-desc { font-size: 12px; }

    /* 신뢰 섹션 */
    .trust-heading { font-size: 28px; }
    .trust-quote { font-size: 15px; }
    .badge-number { font-size: 24px; }

    /* 보장 섹션 */
    .guarantee-title { font-size: 17px; }
    .guarantee-desc { font-size: 13px; }

    /* 푸터 */
    .footer-logo { font-size: 22px; }
    .footer-title { font-size: 10px; }
    .footer-nav a { font-size: 13px; }
    .contact-list li { font-size: 13px; }
    .footer-cta-btn { padding: 10px 24px; font-size: 10px; }
}

@media (max-width: 480px) {
    .insta-grid { grid-template-columns: repeat(2, 1fr); }
    .cake-grid { grid-template-columns: 1fr; }
    .guarantee-grid { grid-template-columns: 1fr; }
    .guarantee-item { padding: 36px 24px; }
    .guarantee { padding: 60px 0; }
    .guarantee .section-header { margin-bottom: 48px; }
    .types-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 26px; }
    .trust-badges { flex-direction: row; gap: 0; }
    .badge-number { font-size: 24px; }
    .badge-separator { height: 32px; }
    .type-card { aspect-ratio: 4/3; }
    .hero-brand-name { font-size: 40px; letter-spacing: 0.1em; }
    .hero-brand-en { font-size: 10px; letter-spacing: 4px; }
    .hero-scroll-indicator { display: none; }
}

/* ========================================
   PRINT
   ======================================== */
@media print {
    .header,
    .btn-mobile-menu,
    .mobile-overlay,
    .floating-consult,
    .footer-sns,
    .footer-legal,
    .cta-buttons,
    .order-cta,
    noscript { display: none !important; }

    body { font-size: 12pt; color: #000; background: #fff; }
    .section { padding: 24px 0; }
    .footer { background: #fff; color: #000; border-top: 1px solid #ccc; padding: 16px 0; }
    a { color: #000; text-decoration: underline; }
}

/* 후기 페이지 표시 (이전 임시 숨김 해제됨) */

/* ========================================
   관리자 전용 편집 UI (admin 로그인 시만 표시)
   ======================================== */
.admin-edit-btn {
    position: fixed;
    right: 24px;
    bottom: 200px;
    z-index: 999;
    padding: 12px 20px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: all 0.2s var(--ease);
}
.admin-edit-btn:hover {
    background: #8b7355;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139,115,85,0.3);
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.admin-modal[hidden] { display: none; }

.admin-modal-content {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}
.admin-modal-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.admin-modal-close {
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    line-height: 1;
    padding: 0 4px;
}
.admin-modal-close:hover { color: #1a1a1a; }

.admin-modal-form {
    padding: 24px;
}
.admin-modal-form .form-row {
    margin-bottom: 16px;
}
.admin-modal-form .form-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}
.admin-modal-form input[type="text"],
.admin-modal-form input[type="file"],
.admin-modal-form textarea,
.admin-modal-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}
.admin-modal-form textarea { resize: vertical; }
.admin-modal-form input:focus,
.admin-modal-form textarea:focus,
.admin-modal-form select:focus {
    outline: none;
    border-color: #8b7355;
}
.image-preview-area {
    margin-top: 8px;
}
.image-preview-area img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 6px;
    object-fit: cover;
}

.admin-modal-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}
.admin-modal-form .form-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.btn-cancel-edit {
    background: #f0f0f0;
    color: #333;
}
.btn-cancel-edit:hover { background: #e5e5e5; }
.btn-save-edit {
    background: #1a1a1a;
    color: #fff;
}
.btn-save-edit:hover { background: #8b7355; }

/* 페이지 전환 시 스크롤바 유무로 인한 폭 점프 방지 */
html { overflow-y: scroll; }
