/* ==========================================================================
   LOCAL WEB FONTS (self-hosted — no external font CDN required)
   Samsung-style: single bold sans-serif system, no serif display face
   ========================================================================== */
@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('fonts/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   DESIGN TOKENS — Samsung SDI-inspired corporate palette (Samsung Blue / Black / White)
   ========================================================================== */
:root {
    --ink-900: #201a22;
    --ink-800: #2f2732;
    --ink-700: #423844;
    --gold-600: #7c3fe4;
    --gold-500: #9666ea;
    --gold-100: #f4eefd;
    --taupe-600: #7a7482;
    --cream-100: #faf9f6;
    --cream-200: #f4f1ec;
    --paper: #ffffff;
    --line: #efe9f6;

    --primary-color: var(--ink-900);
    --accent-color: var(--gold-600);
    --success-color: #1a7a4c;
    --danger-color: #c0292c;
    --warning-color: #b8863b;
    --info-color: #7c3fe4;

    --text-main: #1c1a1f;
    --text-muted: #7d7686;
    --text-inverse: #ffffff;
    --bg-light: var(--cream-100);
    --bg-white: var(--paper);
    --border-color: var(--line);

    --gradient-ink: linear-gradient(160deg, #201a22 0%, #2f2732 55%, #423844 100%);
    --gradient-brand: linear-gradient(120deg, var(--gold-600), var(--gold-500));
    --gradient-glow: radial-gradient(circle, rgba(124,63,228,0.18) 0%, rgba(124,63,228,0.08) 45%, rgba(124,63,228,0) 72%);
    --gradient-warm-overlay: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 45%, rgba(0,0,0,0.78) 82%, rgba(0,0,0,0.9) 100%);
    --warm-highlight: #f2c879;
    --gradient-page-overlay: linear-gradient(160deg, rgba(23,21,28,0.58) 0%, rgba(23,21,28,0.46) 55%, rgba(88,43,168,0.42) 100%);

    --font-display: 'Pretendard', sans-serif;
    --font-body: 'Pretendard', 'Noto Sans KR', sans-serif;
    --font-utility: 'Pretendard', sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-soft: 0 24px 50px -24px rgba(23,21,28,0.28);
    --shadow-card: 0 8px 22px -12px rgba(23,21,28,0.1);

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;

    --z-header: 1000;
    --z-dropdown: 1050;
    --z-modal: 2000;
    --z-lightbox: 2500;
    --z-toast: 3000;
    --z-loading: 4000;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-main); line-height: 1.72; background: var(--bg-white); overflow-x: hidden; letter-spacing: -0.01em; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; position: relative; }
.bg-light { background: var(--bg-light); }
.bg-white { background: var(--bg-white); }
.bg-night { background: var(--gradient-ink); color: var(--text-inverse); }

/* Section title */
.section-title-wrap { margin-bottom: 60px; }
.section-title-wrap.center { text-align: center; }
.section-title-wrap .eyebrow { font-family: var(--font-utility); font-size: 1rem; font-weight: 600; color: var(--gold-600); letter-spacing: 3px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.section-title-wrap .eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--gold-600); display: inline-block; }
.bg-night .section-title-wrap .eyebrow { color: var(--gold-500); }
.section-title-wrap h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; color: var(--ink-900); letter-spacing: -0.01em; }
.bg-night .section-title-wrap h2 { color: var(--text-inverse); }
.section-title-wrap .lead { margin-top: 16px; color: var(--text-muted); max-width: 620px; }
.section-title-wrap.center .lead { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   LOADING / TOAST
   ========================================================================== */
.loading-overlay { position: fixed; inset: 0; background: var(--bg-white); z-index: var(--z-loading); display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s ease; }
.loading-overlay.hide { opacity: 0; visibility: hidden; }
.spinner-box { text-align: center; color: var(--ink-900); }
.spinner { width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 20px; border: 2px solid var(--border-color); border-top-color: var(--gold-600); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 1rem; letter-spacing: 0.3px; color: var(--text-muted); }

.toast-container { position: fixed; bottom: 28px; right: 28px; z-index: var(--z-toast); display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
.toast-item { background: var(--ink-900); color: var(--text-inverse); padding: 14px 22px; border-radius: var(--radius-sm); font-size: 1.05rem; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-soft); transform: translateY(20px); opacity: 0; animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; min-width: 280px; border-left: 3px solid var(--gold-500); pointer-events: auto; }
@keyframes toastIn { to { transform: translateY(0); opacity: 1; } }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.main-header { position: fixed; top: 0; left: 0; width: 100%; height: 84px; display: flex; align-items: center; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); z-index: var(--z-header); transition: var(--transition-smooth); }
.main-header.scrolled, .main-header.solid { height: 68px; box-shadow: 0 4px 24px rgba(23,21,28,0.06); }
.header-wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-display); font-size: 1.42rem; font-weight: 800; color: var(--ink-900); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 3px; }
.logo span { color: var(--gold-600); }

.nav-menu .depth1 { display: flex; align-items: center; gap: 40px; }
.nav-menu .depth1 > li { position: static; }
.nav-menu .depth1 > li > a { font-size: 1.08rem; font-weight: 600; color: var(--text-main); padding: 10px 0; transition: var(--transition-fast); display: flex; align-items: center; gap: 6px; position: relative; }
.nav-menu .depth1 > li > a:hover, .nav-menu .depth1 > li > a.active { color: var(--gold-600) !important; }

/* Samsung SDI-style full-width mega panel: spans the entire header width,
   flush against the header's bottom edge, all depth2 categories shown as
   columns side by side, with depth3 items (if any) listed inline below
   their column header. */
.nav-menu .depth2 {
    position: absolute; top: 100%; left: 0; right: 0; width: 100%;
    background: var(--bg-white); border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: var(--transition-smooth); z-index: var(--z-dropdown);
}
.nav-menu .depth1 > li:hover .depth2,
.nav-menu .depth1 > li:focus-within .depth2 { opacity: 1; visibility: visible; transform: translateY(0); }
.depth2-inner { max-width: 1200px; margin: 0 auto; padding: 36px 24px 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 72px; align-items: flex-start; }
.depth2-col { flex: 0 1 auto; min-width: 60px; max-width: 220px; }
.depth2-col > a { display: block; font-size: 1.15rem; font-weight: 700; color: var(--ink-900); transition: var(--transition-fast); }
.depth2-col > a:hover { color: var(--gold-600); }
.depth2-col-head { display: flex; align-items: center; gap: 10px; }
.depth2-col-head a { font-size: 1.15rem; font-weight: 700; color: var(--ink-900); transition: var(--transition-fast); }
.depth2-col-head a:hover { color: var(--gold-600); }
.depth2-col.open .depth2-col-head a { color: var(--gold-600); }
.depth3-toggle { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.55rem; transition: var(--transition-fast); flex-shrink: 0; }
.depth3-toggle:hover { border-color: var(--gold-600); color: var(--gold-600); }
.depth2-col.open .depth3-toggle { background: var(--gold-600); border-color: var(--gold-600); color: #fff; transform: rotate(180deg); }
.depth3-list { display: none; flex-direction: column; gap: 12px; margin-top: 16px; }
.depth2-col.open .depth3-list { display: flex; }
.depth3-list a { font-size: 1.05rem; color: var(--text-muted); transition: var(--transition-fast); }
.depth3-list a:hover { color: var(--gold-600); }
.toggle-icon { font-size: 0.6rem; transition: var(--transition-fast); display: none; }

/* member / auth menu items */
.nav-menu .depth1 > li.login-menu, .nav-menu .depth1 > li.logout-menu { display: none; }
.nav-menu .depth1 > li.login-menu.show, .nav-menu .depth1 > li.logout-menu.show { display: flex; }
.nav-menu .depth1 > li.logout-menu button { font-size: 1.05rem; font-weight: 600; color: var(--text-main); transition: var(--transition-fast); }
.nav-menu .depth1 > li.logout-menu button:hover { color: var(--gold-600); }
.nav-menu .depth1 > li.member-only { display: none; }
.nav-menu .depth1 > li.member-only.show { display: block; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switcher { display: flex; align-items: center; border: 1px solid var(--border-color); border-radius: 30px; padding: 3px; gap: 2px; }
.lang-switcher button { font-size: 1rem; font-weight: 700; padding: 6px 12px; border-radius: 20px; color: var(--text-muted); transition: var(--transition-fast); }
.lang-switcher button.active { background: var(--gold-600); color: #fff; }
.lang-switcher button:not(.active):hover { color: var(--gold-600); }
.btn-search-trigger { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--ink-900); border: 1px solid var(--border-color); transition: var(--transition-fast); font-size: 1rem; flex-shrink: 0; }
.btn-search-trigger:hover { background: var(--ink-900); color: #fff !important; border-color: transparent; }
.btn-login-trigger { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 600; color: var(--gold-600); border: 1.5px solid var(--gold-600); padding: 9px 18px; border-radius: 30px; transition: var(--transition-fast); white-space: nowrap; }
.btn-login-trigger:hover { background: var(--gradient-brand); color: #fff !important; border-color: transparent; }

/* corporate-style underline indicator on nav hover/active (Samsung SDI-inspired) */
.nav-menu .depth1 > li > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold-600); transform: scaleX(0); transform-origin: center; transition: var(--transition-fast); }
.nav-menu .depth1 > li > a:hover::after, .nav-menu .depth1 > li > a.active::after { transform: scaleX(1); }

/* floating circular scroll-to-top (Samsung SDI-inspired) */
.floating-top-btn { position: fixed; right: 28px; bottom: 28px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink-900); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition-smooth); z-index: 900; }
.floating-top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-top-btn:hover { background: var(--gold-600); }

/* Search overlay — modern, clean */
.search-overlay { position: fixed; inset: 0; background: rgba(23,21,28,0.7); backdrop-filter: blur(6px); z-index: var(--z-modal); display: none; align-items: flex-start; justify-content: center; padding-top: 16vh; }
.search-overlay.active { display: flex; }
.search-overlay-topclose { position: fixed; top: 28px; right: 32px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: var(--transition-fast); }
.search-overlay-topclose:hover { background: #fff; color: var(--ink-900); border-color: transparent; }
.search-overlay-box { width: 100%; max-width: 600px; padding: 0 24px; text-align: center; }
.search-overlay-label { display: block; color: rgba(255,255,255,0.65); font-size: 1rem; letter-spacing: 1px; margin-bottom: 16px; }
.search-overlay-box form { position: relative; display: flex; align-items: center; background: var(--bg-white); border-radius: 50px; box-shadow: 0 20px 50px -12px rgba(0,0,0,0.4); transition: var(--transition-fast); }
.search-overlay-box form:focus-within { box-shadow: 0 20px 50px -12px rgba(0,0,0,0.4), 0 0 0 3px var(--gold-100); }
.search-input-icon { position: absolute; left: 24px; color: var(--text-muted); font-size: 1.05rem; pointer-events: none; }
.search-overlay-box input { flex: 1; border: none; outline: none; font-size: 1.05rem; padding: 18px 8px 18px 54px; background: transparent; color: var(--text-main); border-radius: 50px; }
.search-overlay-box input:focus-visible { outline: none; }
.search-overlay-box button[type="submit"] { width: 46px; height: 46px; margin: 5px; border-radius: 50%; background: var(--gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.05rem; transition: var(--transition-fast); }
.search-overlay-box button[type="submit"]:hover { filter: brightness(1.08); transform: scale(1.04); }
.search-overlay-hint { color: rgba(255,255,255,0.5); margin-top: 16px; font-size: 1rem; }

/* quick-access grid (Samsung SDI BUSINESS/IR/CAREER/ESG-style band) */
.quick-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-color); border-left: 1px solid var(--border-color); }
.quick-link-card { border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 42px 32px; transition: var(--transition-fast); background: var(--bg-white); }
.quick-link-card:hover { background: var(--gold-100); }
.quick-link-card:hover h3, .quick-link-card:hover .qlc-arrow { color: var(--gold-600) !important; }
.quick-link-card .qlc-index { font-family: var(--font-utility); font-size: 1rem; color: var(--gold-600); letter-spacing: 2px; margin-bottom: 18px; display: block; }
.quick-link-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-900); margin-bottom: 10px; transition: var(--transition-fast); }
.quick-link-card p { font-size: 1rem; color: var(--text-muted); margin-bottom: 20px; min-height: 40px; }
.quick-link-card .qlc-arrow { color: var(--ink-900); font-size: 1.05rem; transition: var(--transition-fast); }

/* news list (PR Center-style) */
.news-list { display: flex; flex-direction: column; }
.news-list-item { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--border-color); transition: var(--transition-fast); }
.news-list-item:hover { padding-left: 12px; border-color: var(--gold-600); }
.news-list-item:hover .news-title { color: var(--gold-600); }
.news-title { font-size: 1.08rem; font-weight: 600; color: var(--ink-900); transition: var(--transition-fast); }
.news-date { font-family: var(--font-utility); font-size: 1rem; color: var(--text-muted); flex-shrink: 0; }

/* burger / close icon */
.burger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 26px; height: 26px; position: relative; z-index: 5; }
.burger-menu span { display: block; height: 2px; width: 100%; background: var(--ink-900); transition: var(--transition-fast); border-radius: 2px; }
.burger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav internal header/footer (hidden on desktop) */
.mobile-nav-head, .mobile-nav-foot { display: none; }

/* backdrop behind mobile nav panel */
.nav-backdrop { position: fixed; inset: 0; background: rgba(23,21,28,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: var(--transition-fast); }
.nav-backdrop.active { opacity: 1; visibility: visible; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 30px; border-radius: 4px; font-size: 1.05rem; font-weight: 600; transition: var(--transition-fast); white-space: nowrap; letter-spacing: 0.01em; }
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: 0 10px 26px -12px rgba(124,63,228,0.5); }
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 14px 30px -10px rgba(124,63,228,0.55); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink-900); border: 1.5px solid var(--ink-900); }
.btn-secondary:hover { background: var(--ink-900); color: #fff; }
.btn-outline-danger { border: 1.5px solid var(--danger-color); color: var(--danger-color); padding: 10px 20px; border-radius: 4px; }
.btn-outline-success { border: 1.5px solid var(--success-color); color: var(--success-color); padding: 10px 20px; border-radius: 4px; }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-lg { padding: 17px 38px; font-size: 1.18rem; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.full-width-btn { width: 100%; }
.on-dark { color: var(--text-inverse); border-color: rgba(250,247,242,0.4); }
.on-dark:hover { background: var(--gold-600); border-color: transparent; }

/* ==========================================================================
   PAGE HERO (SUBPAGES)
   ========================================================================== */
.page-hero { position: relative; padding: 210px 0 90px; background: var(--gradient-ink); overflow: hidden; color: var(--text-inverse); }
.page-hero::before { content: ''; position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 520px; height: 520px; border-radius: 50%; background: var(--gradient-glow); opacity: 0.7; }
.page-hero.photo-bg { background-size: cover; background-position: center; }
.page-hero.photo-bg::before { content: ''; position: absolute; inset: 0; width: auto; height: auto; border-radius: 0; transform: none; top: 0; left: 0; background: var(--gradient-page-overlay); opacity: 1; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { font-family: var(--font-utility); font-size: 1rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-500); margin-bottom: 14px; display: block; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.page-hero p { color: var(--gold-100); max-width: 560px; }
.breadcrumb { margin-top: 26px; display: flex; gap: 8px; font-size: 1rem; color: var(--gold-100); }
.breadcrumb a { color: var(--gold-100); }
.breadcrumb a:hover { color: var(--gold-500); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--text-inverse); font-weight: 600; }

.stars-decor { position: absolute; inset: 0; pointer-events: none; }

/* ==========================================================================
   MAIN HERO (index)
   ========================================================================== */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: flex-end; background: var(--gradient-ink); overflow: hidden; color: var(--text-inverse); }
.hero-section.photo-bg { background-size: cover; background-position: center; }
.hero-section.photo-bg::after { content: ''; position: absolute; inset: 0; background: var(--gradient-warm-overlay); z-index: 1; }
.hero-content { position: relative; z-index: 2; text-align: center; padding-top: 60px; padding-bottom: 100px; width: 100%; }
.hero-subtitle { font-family: var(--font-utility); font-size: 1rem; font-weight: 600; letter-spacing: 4px; color: var(--warm-highlight); text-transform: uppercase; display: inline-block; margin-bottom: 22px; }
.hero-content h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.4; margin-bottom: 22px; }
.hero-content h1 em { font-style: normal; color: var(--warm-highlight); }
.hero-content p { max-width: 600px; margin: 0 auto 40px; color: var(--gold-100); font-size: 1.1rem; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.scroll-indicator { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 2; }
.mouse { width: 26px; height: 42px; border: 1.5px solid rgba(250,247,242,0.5); border-radius: 14px; margin: 0 auto 10px; position: relative; }
.wheel { width: 4px; height: 8px; background: var(--gold-500); border-radius: 2px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); animation: wheelMove 1.6s infinite; }
@keyframes wheelMove { 0% { top: 8px; opacity: 1; } 70% { top: 20px; opacity: 0; } 100% { opacity: 0; } }
.scroll-indicator span { font-size: 1rem; letter-spacing: 2px; color: rgba(250,247,242,0.6); }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.stat-item { text-align: center; padding: 30px 16px; border-radius: var(--radius-md); background: var(--bg-white); box-shadow: var(--shadow-card); border: 1px solid var(--border-color); }
.stat-number-row { display: flex; justify-content: center; align-items: baseline; gap: 4px; font-family: var(--font-utility); }
.stat-number { font-size: 2.4rem; font-weight: 700; color: var(--ink-900); }
.stat-unit { font-size: 1.28rem; font-weight: 600; color: var(--gold-600); }
.stat-label { margin-top: 8px; font-size: 1rem; color: var(--text-muted); }

/* ==========================================================================
   ABOUT / FEATURE GRID
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text-box h3 { font-family: var(--font-display); font-size: 1.52rem; margin-bottom: 18px; color: var(--ink-900); line-height: 1.55; }
.about-text-box p { color: var(--text-muted); margin-bottom: 26px; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; }
.check-list i { color: var(--gold-600); margin-top: 4px; }
.about-image-box .image-wrapper-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.about-image-box img { width: 100%; height: 460px; object-fit: cover; }
.floating-badge { position: absolute; bottom: 24px; left: 24px; background: rgba(32,26,34,0.72); backdrop-filter: blur(8px); color: #fff; padding: 18px 22px; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.floating-badge h4 { font-family: var(--font-display); font-size: 1.58rem; color: var(--gold-500); }
.floating-badge p { font-size: 1rem; opacity: 0.85; }

/* ==========================================================================
   SERVICE / FEATURE CARDS
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 40px 30px; transition: var(--transition-smooth); position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--gold-500); }
.service-card .icon-box { width: 54px; height: 54px; border-radius: 12px; background: var(--gradient-brand); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.38rem; margin-bottom: 22px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.18rem; margin-bottom: 12px; color: var(--ink-900); }
.service-card p { color: var(--text-muted); font-size: 1.05rem; }
.service-card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 1rem; font-weight: 600; color: var(--gold-600); }

/* Process timeline */
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 30px 22px; background: var(--bg-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); border: 1px solid var(--border-color); }
.process-step .step-num { font-family: var(--font-display); font-size: 1.98rem; font-weight: 700; color: var(--gold-600); margin-bottom: 12px; }
.process-step h4 { margin-bottom: 8px; font-size: 1rem; color: var(--ink-900); }
.process-step p { font-size: 1rem; color: var(--text-muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price-card { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; transition: var(--transition-smooth); }
.price-card.featured { background: var(--gold-100); color: var(--text-main); transform: scale(1.03); box-shadow: var(--shadow-soft); border: 1.5px solid var(--gold-600); }
.price-card .plan-name { font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 1rem; color: var(--gold-600); }
.price-card.featured .plan-name { color: var(--gold-600); }
.price-card .plan-price { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; margin: 14px 0 6px; }
.price-card .plan-desc { font-size: 1rem; color: var(--text-muted); margin-bottom: 26px; }
.price-card.featured .plan-desc { color: var(--text-muted); }
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; text-align: left; font-size: 1rem; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; }
.price-features i { color: var(--gold-600); margin-top: 3px; }
.price-card.featured .price-features i { color: var(--gold-600); }

/* FAQ Accordion */
.accordion { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin: 0 auto; }
.accordion-item { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
.accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; font-weight: 600; color: var(--ink-900); }
.accordion-header i { color: var(--gold-600); transition: var(--transition-fast); }
.accordion-item.active .accordion-header i { transform: rotate(180deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: var(--transition-smooth); padding: 0 26px; }
.accordion-item.active .accordion-body { max-height: 300px; padding: 0 26px 22px; }
.accordion-body p { color: var(--text-muted); font-size: 1.05rem; }

/* Tabs */
.tab-container { max-width: 900px; margin: 0 auto; }
.tab-list { display: flex; gap: 10px; border-bottom: 1px solid var(--border-color); margin-bottom: 30px; flex-wrap: wrap; }
.tab-item { padding: 14px 22px; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; transition: var(--transition-fast); cursor: pointer; }
.tab-item.active, .tab-item:hover { color: var(--ink-900); border-color: var(--gold-600); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }
.tab-content h3 { font-family: var(--font-display); margin-bottom: 10px; color: var(--ink-900); }
.tab-content p { color: var(--text-muted); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to { opacity:1; transform: translateY(0);} }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card { background: var(--bg-white); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-card); border: 1px solid var(--border-color); }
.testimonial-card .stars { color: var(--gold-600); margin-bottom: 16px; font-size: 1rem; }
.testimonial-card p.quote { font-size: 1.05rem; color: var(--text-main); margin-bottom: 22px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-100); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--gold-600); font-weight: 700; font-family: var(--font-display); }
.testimonial-person h5 { font-size: 1.05rem; color: var(--ink-900); }
.testimonial-person span { font-size: 1rem; color: var(--text-muted); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-photo { width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; background: var(--gold-100); display: flex; align-items: center; justify-content: center; color: var(--gold-600); font-size: 2.2rem; }
.team-card h4 { font-family: var(--font-display); color: var(--ink-900); font-size: 1rem; }
.team-card span { font-size: 1rem; color: var(--gold-600); }

/* CTA banner */
.cta-banner { background: var(--gold-100); border-radius: var(--radius-lg); padding: 60px 50px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; color: var(--text-main); border: 1px solid var(--border-color); }
.cta-banner h3 { font-family: var(--font-display); font-size: 1.68rem; margin-bottom: 8px; }
.cta-banner p { opacity: 0.85; font-size: 1.05rem; color: var(--text-muted); }
.cta-banner .btn-secondary { background: var(--ink-900); color: #fff; border: none; }
.cta-banner .btn-secondary:hover { background: var(--gold-600); color: #fff; }

/* ==========================================================================
   UI KIT / DESIGN SOURCE SHOWCASE
   ========================================================================== */
.ui-block { margin-top: 60px; }
.ui-block:first-child { margin-top: 0; }
.ui-block-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 22px; color: var(--ink-900); }
.ui-block-title i { color: var(--gold-600); }
.ui-content-box { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 32px; }
.btn-group-showcase { display: flex; flex-direction: column; gap: 18px; }
.btn-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-label { width: 96px; font-size: 1rem; color: var(--text-muted); font-weight: 600; }

.alert { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 1rem; border-left: 3px solid; }
.alert-icon { font-size: 0.82rem; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.alert-info { background: #eef2f4; border-color: var(--info-color); color: #35505f; }
.alert-info .alert-icon { background: var(--info-color); }
.alert-success { background: #eaf3ee; border-color: var(--success-color); color: #2f5240; }
.alert-success .alert-icon { background: var(--success-color); }
.alert-warning { background: #faf1e2; border-color: var(--warning-color); color: #7a5820; }
.alert-warning .alert-icon { background: var(--warning-color); }
.alert-danger { background: #f8eaea; border-color: var(--danger-color); color: #7c2f2b; }
.alert-danger .alert-icon { background: var(--danger-color); }
.alert-content { flex: 1; }
.alert-close { margin-left: auto; opacity: 0.6; }
.alert-close:hover { opacity: 1; }

.icon-grid-showcase { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.icon-item { padding: 18px 10px; border-radius: var(--radius-sm); background: var(--bg-light); transition: var(--transition-fast); }
.icon-item:hover { background: var(--gold-100); }
.icon-item i { font-size: 1.32rem; color: var(--gold-600); margin-bottom: 8px; display: block; }
.icon-item span { font-size: 1rem; color: var(--text-muted); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 20px; font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; }
.badge-ink { background: var(--ink-900); color: #fff; }
.badge-gold { background: var(--gold-100); color: var(--gold-600); }
.badge-outline { border: 1px solid var(--border-color); color: var(--text-muted); }
.badge-success { background: #eaf3ee; color: var(--success-color); }
.badge-danger { background: #f8eaea; color: var(--danger-color); }

/* Color swatches */
.swatch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.swatch-card { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border-color); }
.swatch-color { height: 80px; }
.swatch-meta { padding: 10px 12px; background: var(--bg-white); }
.swatch-meta .name { font-size: 1rem; font-weight: 700; color: var(--ink-900); display: block; }
.swatch-meta .hex { font-size: 1rem; color: var(--text-muted); font-family: monospace; }

/* Typography scale */
.type-row { display: flex; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--border-color); }
.type-row:last-child { border-bottom: none; }
.type-label { width: 90px; flex-shrink: 0; font-size: 1rem; color: var(--text-muted); font-family: monospace; }
.type-sample { color: var(--ink-900); }

/* Tooltip */
.tooltip-demo { position: relative; display: inline-flex; }
.tooltip-demo .tooltip-box { position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%); background: var(--ink-900); color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 1rem; white-space: nowrap; opacity: 0; visibility: hidden; transition: var(--transition-fast); }
.tooltip-demo:hover .tooltip-box { opacity: 1; visibility: visible; }

/* Progress bar */
.progress-track { width: 100%; height: 8px; background: var(--bg-light); border-radius: 20px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--gradient-brand); border-radius: 20px; }

/* Avatar group */
.avatar-group { display: flex; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold-100); color: var(--gold-600); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; border: 2px solid var(--bg-white); box-shadow: 0 0 0 1px var(--line); margin-left: -10px; font-family: var(--font-display); }
.avatar:first-child { margin-left: 0; }

/* Breadcrumb sample (light) */
.breadcrumb-light { display: flex; gap: 8px; font-size: 1rem; color: var(--text-muted); }
.breadcrumb-light a { color: var(--text-muted); }
.breadcrumb-light a:hover { color: var(--gold-600); }
.breadcrumb-light .current { color: var(--ink-900); font-weight: 600; }

/* ==========================================================================
   GALLERY / LIGHTBOX
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; cursor: pointer; }
.gallery-thumb { position: relative; overflow: hidden; }
.gallery-thumb img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition-smooth); }
.gallery-item:hover .gallery-thumb img { transform: scale(1.06); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(28,26,23,0.5); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.38rem; opacity: 0; transition: var(--transition-fast); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { padding: 12px 4px; font-size: 1rem; color: var(--text-muted); text-align: center; }

.lightbox-overlay { position: fixed; inset: 0; background: rgba(20,18,15,0.95); z-index: var(--z-lightbox); display: none; align-items: center; justify-content: center; }
.lightbox-overlay.active { display: flex; }
.lightbox-content-box { max-width: 80vw; max-height: 80vh; text-align: center; }
.lightbox-content-box img { max-height: 72vh; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox-caption { color: var(--gold-100); margin-top: 16px; }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 1.58rem; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 1.58rem; padding: 14px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.portfolio-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn { padding: 11px 24px; border-radius: 30px; font-size: 1rem; font-weight: 600; color: var(--text-muted); background: var(--bg-white); border: 1px solid var(--border-color); transition: var(--transition-fast); }
.tab-btn.active, .tab-btn:hover { background: var(--ink-900); color: #fff; border-color: transparent; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.portfolio-item-card { border-radius: var(--radius-md); overflow: hidden; }
.portfolio-thumb { position: relative; height: 260px; background: var(--gold-100); display: flex; align-items: center; justify-content: center; color: var(--gold-600); font-size: 2.2rem; }
.portfolio-hover-mask { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,18,15,0.92), transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; opacity: 0; transition: var(--transition-fast); }
.portfolio-item-card:hover .portfolio-hover-mask { opacity: 1; }
.portfolio-hover-mask h4 { color: #fff; font-size: 1rem; }
.portfolio-hover-mask p { color: var(--gold-100); font-size: 1rem; }

/* ==========================================================================
   BOARD / TABLE / PAGINATION
   ========================================================================== */
.board-wrapper-card { background: var(--bg-white); border-radius: var(--radius-md); border: 1px solid var(--border-color); padding: 34px; }
.board-subview { display: none; }
.board-subview.active { display: block; animation: fadeIn 0.4s ease; }
.board-header-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 14px; }
.board-count { font-size: 1rem; color: var(--text-muted); }
.board-count strong { color: var(--ink-900); }
.board-top-utils { display: flex; gap: 12px; align-items: center; }
.search-box { display: flex; border: 1px solid var(--border-color); border-radius: 30px; overflow: hidden; }
.search-box input { padding: 9px 16px; border: none; font-size: 1rem; width: 180px; background: transparent; }
.search-box button { padding: 0 16px; background: var(--bg-light); color: var(--ink-900); }

.table-responsive { overflow-x: auto; }
.responsive-table { width: 100%; border-collapse: collapse; }
.responsive-table th { text-align: left; padding: 14px 12px; font-size: 1rem; color: var(--text-muted); border-bottom: 2px solid var(--border-color); white-space: nowrap; }
.responsive-table td { padding: 16px 12px; font-size: 1rem; border-bottom: 1px solid var(--border-color); }
.responsive-table tr:hover td { background: var(--bg-light); }
.badge-notice { background: var(--gold-600); color: #fff; font-size: 0.92rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.col-title a:hover { color: var(--gold-600); }

.pagination-wrapper { display: flex; justify-content: center; margin-top: 30px; }
.pagination { display: flex; gap: 6px; }
.page-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; font-size: 1rem; color: var(--text-muted); }
.page-item.active .page-link { background: var(--ink-900); color: #fff; }
.page-item:not(.active) .page-link:hover { background: var(--bg-light); }
.page-item.disabled .page-link { opacity: 0.3; pointer-events: none; }

.form-group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--ink-900); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 13px 16px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 1.05rem; transition: var(--transition-fast); background: var(--bg-white); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--gold-500); }
.form-actions-flex { display: flex; justify-content: flex-end; gap: 12px; }

/* Custom checkbox */
label.custom-checkbox { position: relative; display: inline-flex !important; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 1rem; color: var(--text-main); user-select: none; }
.custom-checkbox input { position: absolute; top: 0; left: 0; opacity: 0; width: 0; height: 0; margin: 0; padding: 0; -webkit-appearance: none; appearance: none; }
.custom-checkbox .box { margin-top: 1px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--border-color); display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); flex-shrink: 0; background: var(--bg-white); }
.custom-checkbox .box i { font-size: 0.7rem; color: #fff; opacity: 0; transform: scale(0.5); transition: var(--transition-fast); }
.custom-checkbox input:checked ~ .box { background: var(--gradient-brand); border-color: transparent; }
.custom-checkbox input:checked ~ .box i { opacity: 1; transform: scale(1); }
.custom-checkbox input:focus-visible ~ .box { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* Custom radio */
label.custom-radio { position: relative; display: inline-flex !important; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 1rem; color: var(--text-main); user-select: none; }
.custom-radio input { position: absolute; top: 0; left: 0; opacity: 0; width: 0; height: 0; margin: 0; padding: 0; -webkit-appearance: none; appearance: none; }
.custom-radio .dot { margin-top: 1px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--border-color); display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); flex-shrink: 0; background: var(--bg-white); }
.custom-radio .dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gradient-brand); transform: scale(0); transition: var(--transition-fast); }
.custom-radio input:checked ~ .dot { border-color: var(--gold-600); }
.custom-radio input:checked ~ .dot::after { transform: scale(1); }
.custom-radio input:focus-visible ~ .dot { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* Toggle switch */
label.toggle-switch { position: relative; display: inline-flex !important; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 1rem; color: var(--text-main); user-select: none; }
.toggle-switch input { position: absolute; top: 0; left: 0; opacity: 0; width: 0; height: 0; margin: 0; padding: 0; -webkit-appearance: none; appearance: none; }
.toggle-switch .track { margin-top: 0px; width: 46px; height: 26px; border-radius: 20px; background: var(--border-color); position: relative; transition: var(--transition-fast); flex-shrink: 0; }
.toggle-switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.2); transition: var(--transition-fast); }
.toggle-switch input:checked ~ .track { background: var(--gradient-brand); }
.toggle-switch input:checked ~ .track::after { transform: translateX(20px); }
.toggle-switch input:focus-visible ~ .track { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.custom-checkbox .control-label, .custom-radio .control-label { line-height: 1.3; padding-top: 1px; }
.toggle-switch .control-label { line-height: 26px; }

/* Range slider */
.range-slider { width: 100%; }
.range-slider-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.range-slider-value { font-family: var(--font-utility); font-weight: 700; font-size: 1rem; color: var(--gold-600); background: var(--gold-100); padding: 2px 12px; border-radius: 20px; }
.range-slider input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; padding: 0; border: none; border-radius: 20px; outline: none; cursor: pointer; background: linear-gradient(to right, var(--gold-600) var(--range-fill, 60%), var(--border-color) var(--range-fill, 60%)); }
.range-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; cursor: pointer; border: 4px solid var(--gold-600); box-shadow: 0 0 0 1px rgba(32,26,34,0.08), 0 2px 8px rgba(124,63,228,0.35); transition: var(--transition-fast); }
.range-slider input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.range-slider input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; cursor: pointer; border: 4px solid var(--gold-600); box-shadow: 0 0 0 1px rgba(32,26,34,0.08), 0 2px 8px rgba(124,63,228,0.35); }
.range-slider input[type="range"]::-moz-range-track { height: 8px; border-radius: 20px; background: var(--border-color); }
.range-slider input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--gold-500); outline-offset: 2px; }

/* File upload */
.file-upload-box { border: 1.5px dashed var(--border-color); border-radius: var(--radius-md); padding: 28px; text-align: center; transition: var(--transition-fast); cursor: pointer; background: var(--bg-light); }
.file-upload-box:hover { border-color: var(--gold-500); background: var(--gold-100); }
.file-upload-box i { font-size: 1.6rem; color: var(--gold-600); margin-bottom: 10px; display: block; }
.file-upload-box p { font-size: 0.92rem; color: var(--text-muted); }
.file-upload-box input[type="file"] { display: none; }

.detail-header h3 { font-family: var(--font-display); color: var(--ink-900); margin-bottom: 10px; }
.detail-meta { display: flex; gap: 18px; font-size: 1rem; color: var(--text-muted); margin-bottom: 26px; }
.detail-body-content { padding: 26px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); color: var(--text-main); }
.detail-footer-actions { margin-top: 24px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: flex-start; }
.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; }
.contact-info-card .icon-box { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: var(--gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.contact-info-card h4 { font-size: 1.05rem; margin-bottom: 4px; color: var(--ink-900); }
.contact-info-card p { font-size: 1rem; color: var(--text-muted); }
.contact-form-wrapper { background: var(--bg-white); border-radius: var(--radius-lg); border: 1px solid var(--border-color); padding: 40px; }
.form-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-icon-group { position: relative; display: flex; align-items: center; }
.input-icon-group i { position: absolute; left: 18px; color: var(--gold-600); }
.input-icon-group input, .input-icon-group textarea { width: 100%; padding: 14px 18px 14px 46px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 1.05rem; }
.input-icon-group textarea { padding-left: 18px; resize: vertical; }
.form-check-privacy { margin: 18px 0; font-size: 1rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.map-embed { height: 320px; border-radius: var(--radius-md); overflow: hidden; margin-top: 22px; border: 1px solid var(--border-color); }

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(20,18,15,0.6); backdrop-filter: blur(4px); z-index: var(--z-modal); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-content { background: var(--bg-white); border-radius: var(--radius-lg); padding: 40px; max-width: 480px; width: 100%; position: relative; box-shadow: var(--shadow-soft); animation: modalIn 0.35s cubic-bezier(0.16,1,0.3,1); }
.modal-content.modal-sm { max-width: 400px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.98);} to { opacity: 1; transform: translateY(0) scale(1);} }
.modal-close-x { position: absolute; top: 20px; right: 20px; color: var(--text-muted); font-size: 1.05rem; }
.login-modal-box h3 { font-family: var(--font-display); color: var(--ink-900); margin-bottom: 8px; }
.login-modal-box p { color: var(--text-muted); font-size: 1rem; margin-bottom: 26px; }
.popup-body-wrap h3 { font-family: var(--font-display); color: var(--ink-900); display: flex; align-items: center; gap: 10px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer { background: var(--bg-light); color: var(--text-main); padding-top: 80px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--border-color); }
.footer-brand-column .logo { margin-bottom: 16px; }
.footer-brand-column .logo { color: var(--ink-900); }
.footer-brand-column p { font-size: 1rem; color: var(--text-muted); max-width: 260px; }
.footer-links-column h4, .footer-social-column h4 { font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; color: var(--gold-600); }
.footer-links-column ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links-column a { font-size: 1rem; color: var(--text-muted); transition: var(--transition-fast); }
.footer-links-column a:hover { color: var(--gold-600); }
.footer-social-icons { display: flex; gap: 12px; }
.footer-social-icons a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-color); color: var(--ink-900); display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); }
.footer-social-icons a:hover { background: var(--gold-600); border-color: transparent; color: #fff; }
.footer-bottom-bar { padding: 22px 0; }
.flex-bar { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; color: var(--text-muted); }
.scroll-to-top-btn { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 1rem; }
.scroll-to-top-btn:hover { color: var(--gold-600); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid, .contact-layout { grid-template-columns: 1fr; }
    .services-grid, .pricing-grid, .testimonial-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .price-card.featured { transform: none; }
    .swatch-grid { grid-template-columns: repeat(3, 1fr); }
    .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
    .nav-menu .depth1 { gap: 0; }
    .desktop-lang { display: none; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100dvh;
        background: var(--bg-white); flex-direction: column; align-items: stretch;
        transition: var(--transition-smooth); z-index: 1100; overflow-y: auto;
        display: flex; box-shadow: -10px 0 40px rgba(23,21,28,0.15);
    }
    .nav-menu.active { right: 0; }
    .mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--border-color); flex-shrink: 0; }
    .mobile-nav-close { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-color); color: var(--ink-900); font-size: 1rem; transition: var(--transition-fast); }
    .mobile-nav-close:hover { background: var(--ink-900); color: #fff; border-color: transparent; }
    .nav-menu .depth1 { flex-direction: column; align-items: flex-start; width: 100%; padding: 8px 24px 24px; flex: 1 0 auto; }
    .nav-menu .depth1 > li { width: 100%; border-bottom: 1px solid var(--border-color); }
    .nav-menu .depth1 > li > a { color: var(--text-main); padding: 16px 2px; width: 100%; font-size: 1.1rem; justify-content: space-between; }
    .nav-menu .depth1 > li > a::after { display: none; }
    .nav-menu .depth1 > li.has-sub.mobile-open > a .toggle-icon { transform: rotate(180deg); }
    .nav-menu .depth1 > li > a .toggle-icon { display: inline-block; }
    .nav-menu .depth2 { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none !important; width: 100%; display: none; background: transparent; }
    .nav-menu .depth1 > li.mobile-open .depth2 { display: block; }
    .depth2-inner { flex-direction: column; gap: 0; max-width: none; margin: 0; padding: 0 0 12px 14px; align-items: stretch; }
    .depth2-col > a { font-size: 1.05rem; font-weight: 600; padding: 12px 2px; display: block; }
    .depth2-col-head { padding: 12px 2px 0; }
    .depth2-col-head a { font-size: 1.05rem; font-weight: 600; }
    .depth3-list { padding-left: 14px; margin-top: 8px; }
    .nav-menu .depth1 > li.login-menu.show, .nav-menu .depth1 > li.logout-menu.show { display: block; }
    .mobile-nav-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border-color); flex-shrink: 0; }
    .mobile-nav-foot .lang-switcher { align-self: flex-start; }
    .mobile-nav-foot .full-width-btn { width: 100%; align-self: stretch; }
    .burger-menu { display: flex; }
    .header-actions .btn-login-trigger { display: none; }
}

@media (max-width: 768px) {
    section { padding: 70px 0; }
    .contact-form-wrapper { padding: 26px; }
    .form-grid-2col, .form-group-grid { grid-template-columns: 1fr; }
    .services-grid, .pricing-grid, .testimonial-grid, .portfolio-grid, .stats-strip, .team-grid, .gallery-grid, .process-timeline { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-banner { flex-direction: column; text-align: center; }
    .icon-grid-showcase { grid-template-columns: repeat(3, 1fr); }
    .swatch-grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero { padding: 160px 0 70px; }
    .quick-links-grid { grid-template-columns: 1fr; }

    /* Table -> stacked card rows on mobile (uses existing data-label attributes) */
    .table-responsive { overflow-x: visible; }
    .responsive-table thead { display: none; }
    .responsive-table, .responsive-table tbody, .responsive-table tr, .responsive-table td { display: block; width: 100%; }
    .responsive-table tr { border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 14px; padding: 6px 16px; }
    .responsive-table tr:hover td { background: transparent; }
    .responsive-table td { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border-color); text-align: right; }
    .responsive-table tr td:last-child { border-bottom: none; }
    .responsive-table td::before { content: attr(data-label); flex-shrink: 0; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); text-align: left; }
    .responsive-table td.col-title { text-align: right; }
    .responsive-table td.col-title a { text-align: right; }
    .news-list-item { flex-direction: column; gap: 6px; }
    .floating-top-btn { right: 18px; bottom: 18px; width: 44px; height: 44px; }
}
