@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Serif+KR:wght@400;600;700&display=swap');

:root {
    --primary: #7C5132;
    --primary-dark: #5C3A20;
    --primary-light: #A06840;
    --accent: #C8922A;
    --accent-light: #E8B84B;
    --dark: #1C1108;
    --text: #2D1F0E;
    --text-muted: #7A6655;
    --bg: #FDFAF6;
    --bg-warm: #F5EFE6;
    --bg-card: #FFFFFF;
    --border: #E8DDD0;
    --shadow-sm: 0 2px 8px rgba(124,81,50,0.08);
    --shadow-md: 0 8px 32px rgba(124,81,50,0.12);
    --shadow-lg: 0 20px 60px rgba(124,81,50,0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --header-h: 72px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

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

/* ── HEADER ─────────────────────────────────── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    transition: var(--transition);
}

header:not(.scrolled) .logo-text {
    color: #fff;
}

header:not(.scrolled) .logo-text span {
    color: rgba(255,255,255,0.6);
}

header:not(.scrolled) .nav-menu a {
    color: rgba(255,255,255,0.85);
}

header:not(.scrolled) .nav-menu a:hover,
header:not(.scrolled) .nav-menu a.active {
    color: #fff;
    background: rgba(255,255,255,0.12);
}

header:not(.scrolled) .hamburger span {
    background: #fff;
}

header.scrolled {
    background: rgba(253,250,246,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.logo-text {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.logo-text span {
    display: block;
    font-size: 0.65rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

nav { display: flex; align-items: center; gap: 2rem; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.nav-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: rgba(124,81,50,0.08);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 0.55rem 1.25rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124,81,50,0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(28,17,8,0.85) 0%,
        rgba(28,17,8,0.4) 50%,
        rgba(28,17,8,0.1) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 1;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,146,42,0.2);
    border: 1px solid rgba(200,146,42,0.4);
    color: var(--accent-light);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent-light);
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(200,146,42,0.4);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(200,146,42,0.5);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1.5px solid rgba(255,255,255,0.4);
    transition: var(--transition);
}

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

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

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

/* ── STATS BAR ───────────────────────────────── */
.stats-bar {
    background: var(--primary-dark);
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: 'Noto Serif KR', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-light);
    display: block;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.05em;
}

/* ── SECTION COMMON ──────────────────────────── */
section { padding: 6rem 0; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.75;
}

/* ── ABOUT ───────────────────────────────────── */
.about { background: var(--bg-warm); }

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2rem;
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(124,81,50,0.08);
    border: 1px solid rgba(124,81,50,0.15);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
}

.about-contact {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.contact-number {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.02em;
}

.about-visual {
    position: relative;
}

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

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    right: 60px;
    bottom: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-sub {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-warm);
}

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

.about-badge {
    position: absolute;
    top: 2rem;
    right: 1.5rem;
    background: var(--accent);
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.about-badge strong {
    display: block;
    font-family: 'Noto Serif KR', serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge span {
    font-size: 0.72rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

/* ── FEATURED PRODUCTS ───────────────────────── */
.featured-products {
    background: var(--bg);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.55rem 1.25rem;
    border: 1.5px solid var(--primary);
    border-radius: 8px;
    transition: var(--transition);
}

.view-all-link:hover {
    background: var(--primary);
    color: #fff;
}

.swiper-wrapper-outer {
    position: relative;
}

.swiper {
    width: 100%;
    overflow: hidden;
}

.swiper-slide { height: auto; }

.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28,17,8,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-card:hover .product-card-overlay {
    background: rgba(28,17,8,0.3);
}

.overlay-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.product-card:hover .overlay-icon {
    opacity: 1;
    transform: scale(1);
}

.swiper-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.swiper-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.swiper-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.swiper-pagination {
    position: static !important;
    margin: 0 0.5rem;
}

.swiper-pagination-bullet {
    background: var(--border) !important;
    opacity: 1 !important;
    width: 8px !important;
    height: 8px !important;
    transition: var(--transition) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* ── CATEGORIES ──────────────────────────────── */
.categories {
    background: var(--bg-warm);
}

.categories-header {
    text-align: center;
    margin-bottom: 3rem;
}

.categories-header .section-label { justify-content: center; }
.categories-header .section-desc { margin: 0 auto; }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover img { transform: scale(1.06); }

.category-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(28,17,8,0.85) 0%, transparent 100%);
    color: #fff;
}

.category-card-body h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.category-card-body span {
    font-size: 0.78rem;
    opacity: 0.75;
}

/* ── LOCATION (index) ────────────────────────── */
.location { background: var(--bg); }

.location-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}

.location-info {
    padding-top: 1rem;
}

.location-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-warm);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.location-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(124,81,50,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.location-item-text strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    letter-spacing: 0.04em;
}

.location-item-text span {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

#map { width: 100%; height: 420px; }

/* ── FOOTER ──────────────────────────────────── */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

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

.footer-brand .logo-text {
    color: rgba(255,255,255,0.9);
}

.footer-brand .logo-text span { color: rgba(255,255,255,0.4); }

.footer-desc {
    margin-top: 1rem;
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.25rem;
}

.footer-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    line-height: 1.5;
}

.footer-info-list i {
    margin-top: 3px;
    color: var(--accent);
    width: 14px;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* ── FLOATING CALL BTN ───────────────────────── */
.float-call {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.float-call-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    padding: 0.85rem 1.5rem;
    border-radius: 100px;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(124,81,50,0.4);
    transition: var(--transition);
    text-decoration: none;
}

.float-call-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(124,81,50,0.5);
    color: #fff;
}

.float-call-btn i { font-size: 1rem; }

/* ── FADE-IN ANIMATIONS ──────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ══════════════════════════════════════════════
   TIMBER PAGE
══════════════════════════════════════════════ */
.page-hero {
    background: var(--primary-dark);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Noto Serif KR', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
}

.timber-section {
    padding: 4rem 0 6rem;
}

/* Search & Filter */
.filter-bar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.search-box {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124,81,50,0.12);
}

.search-box input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    background: transparent;
}

.search-box button {
    padding: 0.8rem 1.2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-box button:hover { background: var(--primary-dark); }

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-btn {
    padding: 0.45rem 1rem;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.category-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(124,81,50,0.06);
}

.category-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Timber Grid */
.timber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.timber-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.timber-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.timber-item-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.timber-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timber-item:hover .timber-item-img img { transform: scale(1.05); }

.timber-item-body {
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timber-item-body h3 {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
}

.timber-item-body i {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 3rem;
}

.page-btn, .prev-btn, .next-btn {
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.page-btn:hover, .prev-btn:hover, .next-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(124,81,50,0.06);
}

.page-numbers span, .page-btn.active, .page-numbers span.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.page-numbers {
    display: flex;
    gap: 0.4rem;
}

.page-numbers span {
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.page-numbers span:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-numbers span.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.prev-btn:disabled, .next-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.prev-btn:disabled:hover, .next-btn:disabled:hover {
    border-color: var(--border);
    color: var(--text-muted);
    background: var(--bg-card);
}

/* ══════════════════════════════════════════════
   NAVI PAGE
══════════════════════════════════════════════ */
.navi-section {
    padding: 4rem 0 6rem;
}

.navi-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.navi-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-h) + 2rem);
}

.navi-info-card h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.navi-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.navi-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.navi-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(124,81,50,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.navi-text strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.navi-text span { font-size: 0.9rem; color: var(--text); line-height: 1.5; }

.navi-notice {
    padding: 1rem;
    background: rgba(200,146,42,0.08);
    border: 1px solid rgba(200,146,42,0.2);
    border-radius: 8px;
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.navi-notice i { color: var(--accent); margin-right: 6px; }

.navi-map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.navi-map-wrap #map { width: 100%; height: 400px; }
.navi-map-wrap #panorama { width: 100%; height: 280px; position: relative; }

.map-label,
.roadview-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}
.map-label { border-bottom: 1px solid var(--border); }
.roadview-label { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ══════════════════════════════════════════════
   VAT PAGE
══════════════════════════════════════════════ */
.vat-section {
    padding: 4rem 0 6rem;
}

.vat-wrap {
    max-width: 540px;
    margin: 0 auto;
}

.vat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.vat-card h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.vat-card > p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}

.input-wrap {
    position: relative;
}

.input-wrap input {
    width: 100%;
    padding: 0.9rem 3.5rem 0.9rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1.1rem;
    color: var(--text);
    background: var(--bg);
    text-align: right;
    transition: var(--transition);
    outline: none;
}

.input-wrap input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124,81,50,0.12);
}

.input-wrap .unit {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--text-muted);
    pointer-events: none;
}

.result-divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
    position: relative;
}

.result-divider::after {
    content: '계산 결과';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-card);
    padding: 0 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.result-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--bg-warm);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.result-item.total {
    background: var(--primary);
    border-color: var(--primary);
}

.result-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
}

.result-item.total .result-label { color: rgba(255,255,255,0.75); }

.result-value {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.amount {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.result-item.total .amount { color: #fff; }

.unit-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.result-item.total .unit-text { color: rgba(255,255,255,0.65); }

/* ══════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════ */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.image-modal.open { display: flex; }

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-image {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    top: -3rem;
    right: 0;
    color: rgba(255,255,255,0.7);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.close-modal:hover { color: #fff; transform: rotate(90deg); }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .about-inner { grid-template-columns: 1fr; gap: 3rem; }
    .about-visual { order: -1; }
    .about-img-stack { height: 360px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

    nav { gap: 1rem; }

    .nav-menu {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(253,250,246,0.97);
        backdrop-filter: blur(16px);
        padding: 1.5rem;
        flex-direction: column;
        gap: 0.25rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active { display: flex; }
    .nav-menu a { padding: 0.75rem 1rem; }
    .hamburger { display: flex; }

    header:not(.scrolled) .nav-menu.active a {
        color: var(--text-muted);
    }

    header:not(.scrolled) .nav-menu.active a:hover,
    header:not(.scrolled) .nav-menu.active a.active {
        color: var(--primary);
        background: rgba(124,81,50,0.08);
    }

    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 0.95rem; }

    .products-header { flex-direction: column; align-items: flex-start; gap: 1.25rem; }

    .location-inner { grid-template-columns: 1fr; }
    .navi-grid { grid-template-columns: 1fr; }
    .navi-info-card { position: static; }
    .navi-map-wrap #map { height: 280px; }
    .navi-map-wrap #panorama { height: 220px; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

    .float-call-btn .call-text { display: none; }
    .float-call-btn { padding: 1rem; border-radius: 50%; width: 56px; height: 56px; justify-content: center; }
}

@media (max-width: 480px) {
    section { padding: 4rem 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .timber-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .vat-card { padding: 1.5rem; }
    .hero-scroll { display: none; }
}
