/* ==========================================================================
   (주)천성 CHEONSEONG - Design System
   Trust Navy #1A2B48 | Nature Green #4CAF50 | Premium Gold #C5A059
   ========================================================================== */

:root {
    --color-navy: #1A2B48;
    --color-navy-dark: #0F1B30;
    --color-navy-light: #2C3E5E;
    --color-green: #4CAF50;
    --color-green-dark: #388E3C;
    --color-green-light: #81C784;
    --color-gold: #C5A059;
    --color-gold-light: #D4B574;
    --color-bg: #FAFBFC;
    --color-bg-alt: #F4F6F9;
    --color-text: #1A2B48;
    --color-text-sub: #5A6478;
    --color-text-muted: #8A93A6;
    --color-border: #E5E8ED;
    --color-white: #FFFFFF;

    --font-sans: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Pretendard', 'Noto Sans KR', sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(26, 43, 72, 0.06);
    --shadow-md: 0 8px 24px rgba(26, 43, 72, 0.08);
    --shadow-lg: 0 20px 50px rgba(26, 43, 72, 0.12);
    --shadow-xl: 0 30px 80px rgba(26, 43, 72, 0.18);

    --container: 1240px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pretendard Font */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-navy);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-sub);
    max-width: 720px;
    line-height: 1.75;
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 0.98rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-navy);
    color: var(--color-white);
    box-shadow: 0 6px 20px rgba(26, 43, 72, 0.25);
}

.btn-primary:hover {
    background: var(--color-navy-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(26, 43, 72, 0.35);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn-secondary:hover {
    background: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-2px);
}

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

.btn-gold:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i.fa-arrow-right {
    transform: translateX(4px);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-navy);
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(26, 43, 72, 0.2);
}

.logo-text small {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    margin-top: -2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-navy);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--color-bg-alt);
    color: var(--color-navy);
    font-size: 1.2rem;
}

@media (max-width: 960px) {
    .nav-menu, .nav-cta { display: none; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; }

    .nav-menu.open {
        display: flex;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-white);
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--color-border);
    }
}

/* ==========================================================================
   Hero - Fullscreen Background Slider
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--color-white);
    background: var(--color-navy-dark);
}

.hero-fullscreen {
    padding: 140px 0 200px;
}

/* Slides */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.4s ease-in-out, transform 7s ease-out;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Overlay - 가독성을 위한 그라디언트 마스크 */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(15, 27, 48, 0.88) 0%, rgba(26, 43, 72, 0.65) 50%, rgba(15, 27, 48, 0.55) 100%),
        radial-gradient(circle at 80% 30%, rgba(197, 160, 89, 0.18), transparent 50%);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 820px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.35);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gold-light);
    letter-spacing: 0.05em;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-green);
    box-shadow: 0 0 12px var(--color-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Single H1 with multi-line spans */
.hero h1 {
    color: var(--color-white);
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 28px;
    letter-spacing: -0.025em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero h1 .line-1,
.hero h1 .line-2,
.hero h1 .line-3 {
    display: block;
}

.hero h1 .accent {
    color: var(--color-gold);
    position: relative;
    display: inline-block;
}

.hero h1 .accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 10px;
    background: rgba(197, 160, 89, 0.3);
    z-index: -1;
}

.hero p.lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Hero Highlight Cards : 외벽 청소 / 옥상 도장방수 */
.hero-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 720px;
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.highlight-card:hover::before {
    opacity: 1;
}

.highlight-card.primary {
    background: rgba(197, 160, 89, 0.18);
    border-color: rgba(197, 160, 89, 0.45);
}

.highlight-card.primary:hover {
    background: rgba(197, 160, 89, 0.28);
}

.highlight-card .hc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.highlight-card.primary .hc-icon {
    background: var(--color-gold);
    color: var(--color-navy);
}

.highlight-card .hc-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.highlight-card .hc-text small {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-gold-light);
    letter-spacing: 0.12em;
    margin-bottom: 4px;
}

.highlight-card .hc-text strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.highlight-card .hc-text span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.highlight-card .hc-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.highlight-card:hover .hc-arrow {
    color: var(--color-gold);
    transform: translateX(4px);
}

/* Slide Indicator */
.hero-indicator {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.indicator-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.indicator-dot.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.2);
}

/* Stats Bar (Bottom) */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: rgba(15, 27, 48, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.hero-stats > div {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats > div:last-child { border-right: none; }

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-num span {
    font-size: 1rem;
    color: var(--color-gold);
    margin-left: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* Scroll Hint */
.hero-scroll-hint {
    position: absolute;
    left: 40px;
    bottom: 130px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    font-weight: 500;
}

.hero-scroll-hint .scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    position: relative;
    overflow: hidden;
}

.hero-scroll-hint .scroll-line::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--color-gold);
    animation: scrollDown 2.2s infinite;
}

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

@media (max-width: 960px) {
    .hero-fullscreen { padding: 120px 0 220px; }
    .hero-highlight { grid-template-columns: 1fr; }
    .hero-indicator { right: 20px; }
    .hero-scroll-hint { display: none; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .hero-stats > div:nth-child(2) { border-right: none; }
    .stat-num { font-size: 1.5rem; }
    .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
}

@media (max-width: 480px) {
    .hero-indicator { display: none; }
    .hero-stats-bar { padding: 18px 0; }
    .stat-label { font-size: 0.75rem; }
}

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

.section-tight {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.core-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    display: block;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.value-card p {
    color: var(--color-text-sub);
    line-height: 1.75;
    font-size: 0.98rem;
}

.value-card .icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--color-bg-alt);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.value-card:hover .icon-wrap {
    background: var(--color-navy);
    color: var(--color-gold);
}

@media (max-width: 860px) {
    .core-value-grid { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
}

/* ==========================================================================
   Service Showcase Sections (SM / Apartment)
   ========================================================================== */
.service-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.service-showcase.reverse {
    direction: rtl;
}

.service-showcase.reverse > * {
    direction: ltr;
}

.showcase-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.showcase-visual.sm-visual {
    background:
        linear-gradient(135deg, rgba(26, 43, 72, 0.85), rgba(26, 43, 72, 0.6)),
        linear-gradient(180deg, #2C3E5E 0%, #1A2B48 100%);
}

.showcase-visual.apt-visual {
    background:
        linear-gradient(135deg, rgba(76, 175, 80, 0.7), rgba(26, 43, 72, 0.7)),
        linear-gradient(180deg, #4CAF50 0%, #2C3E5E 100%);
}

.showcase-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(197,160,89,0.2), transparent 50%);
}

.showcase-visual .visual-label {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    padding: 10px 18px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
}

.showcase-visual .visual-headline {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    z-index: 2;
    color: var(--color-white);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
}

.showcase-visual .visual-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 36px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold-light);
    font-size: 3.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.showcase-content .keyword-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(197, 160, 89, 0.12);
    color: var(--color-gold);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

.showcase-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin: 20px 0 16px;
}

.showcase-content .tagline {
    color: var(--color-text-sub);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.service-list {
    display: grid;
    gap: 16px;
    margin-bottom: 36px;
}

.service-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--color-navy);
    transform: translateX(4px);
}

.service-item .si-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-bg-alt);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.service-item:hover .si-icon {
    background: var(--color-navy);
    color: var(--color-gold);
}

.service-item .si-text strong {
    display: block;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
    font-size: 0.98rem;
}

.service-item .si-text span {
    font-size: 0.9rem;
    color: var(--color-text-sub);
}

@media (max-width: 860px) {
    .service-showcase { grid-template-columns: 1fr; gap: 40px; }
    .service-showcase.reverse { direction: ltr; }
    .showcase-visual { aspect-ratio: 16/10; }
}

/* ==========================================================================
   MRO Section
   ========================================================================== */
.mro-section {
    background: var(--color-navy);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.mro-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--color-gold);
    opacity: 0.1;
    filter: blur(100px);
}

.mro-section .section-title { color: var(--color-white); }
.mro-section .section-eyebrow { color: var(--color-gold); }
.mro-section .section-subtitle { color: rgba(255,255,255,0.7); }

.mro-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.mro-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
}

.mro-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--color-gold);
    transform: translateY(-4px);
}

.mro-card .mc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(197, 160, 89, 0.15);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 22px;
}

.mro-card h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.mro-card p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 860px) {
    .mro-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .mro-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reference / Portfolio
   ========================================================================== */
.ref-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ref-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    cursor: pointer;
}

.ref-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.ref-thumb {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

.ref-thumb.t-navy { background: linear-gradient(135deg, #1A2B48, #2C3E5E); }
.ref-thumb.t-green { background: linear-gradient(135deg, #4CAF50, #388E3C); }
.ref-thumb.t-gold { background: linear-gradient(135deg, #C5A059, #8B7340); }
.ref-thumb.t-mixed { background: linear-gradient(135deg, #1A2B48, #4CAF50); }
.ref-thumb.t-mixed2 { background: linear-gradient(135deg, #2C3E5E, #C5A059); }
.ref-thumb.t-deep { background: linear-gradient(135deg, #0F1B30, #1A2B48); }

.ref-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 50%),
        linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
}

.ref-thumb i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.3);
    font-size: 4rem;
    z-index: 1;
}

.ref-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 6px 12px;
    background: rgba(255,255,255,0.95);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-navy);
}

.ref-body {
    padding: 24px;
}

.ref-body h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.ref-body p {
    color: var(--color-text-sub);
    font-size: 0.9rem;
    margin-bottom: 14px;
    line-height: 1.6;
}

.ref-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.ref-meta .arrow {
    color: var(--color-navy);
    font-weight: 600;
    transition: var(--transition);
}

.ref-card:hover .arrow {
    color: var(--color-gold);
    transform: translateX(4px);
}

@media (max-width: 860px) {
    .ref-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(76, 175, 80, 0.15), transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(197, 160, 89, 0.15), transparent 50%);
}

.cta-section .container { position: relative; z-index: 2; }

.cta-section h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.footer-col h5 {
    color: var(--color-white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

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

.footer-col ul a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-col ul a:hover { color: var(--color-gold); }

.footer-info {
    font-size: 0.88rem;
    line-height: 1.8;
}

.footer-info strong {
    color: var(--color-white);
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Sub Page - Page Hero
   ========================================================================== */
.page-hero {
    padding: 160px 0 80px;
    background: var(--color-navy);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.page-hero .container { position: relative; z-index: 2; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.breadcrumb a:hover { color: var(--color-gold); }

.page-hero h1 {
    color: var(--color-white);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 18px;
}

.page-hero .lead {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 720px;
    line-height: 1.7;
}

.page-hero .tag-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.page-hero .tag {
    padding: 6px 14px;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--color-gold-light);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
}

/* ==========================================================================
   Category Block (Sub Pages)
   ========================================================================== */
.category-block {
    padding: 80px 0;
    border-bottom: 1px solid var(--color-border);
}

.category-block:last-child { border-bottom: none; }

.category-head {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 48px;
    align-items: start;
}

.category-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--color-navy);
    color: var(--color-gold);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.category-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
}

.category-head p {
    color: var(--color-text-sub);
    font-size: 1.05rem;
    line-height: 1.75;
}

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

.detail-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.detail-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.detail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
}

.detail-card:hover::after { transform: scaleX(1); }

.detail-card .dc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--color-bg-alt);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 22px;
}

.detail-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.detail-card p {
    color: var(--color-text-sub);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.detail-card ul {
    display: grid;
    gap: 8px;
}

.detail-card ul li {
    font-size: 0.88rem;
    color: var(--color-text);
    padding-left: 22px;
    position: relative;
}

.detail-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-green);
    font-size: 0.78rem;
}

@media (max-width: 860px) {
    .category-head { grid-template-columns: 1fr; gap: 24px; }
    .detail-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Process Steps
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    position: relative;
}

.process-step {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
}

.process-step .step-num {
    position: absolute;
    top: -16px;
    left: 28px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.process-step h5 {
    font-size: 1.05rem;
    margin: 14px 0 10px;
}

.process-step p {
    color: var(--color-text-sub);
    font-size: 0.88rem;
    line-height: 1.6;
}

@media (max-width: 860px) {
    .process-steps { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Filter / Portfolio Page
   ========================================================================== */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 100px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-text-sub);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--color-navy);
    color: var(--color-navy);
}

.filter-btn.active {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

/* ==========================================================================
   Contact Form (CTA on subpages)
   ========================================================================== */
.contact-block {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 56px;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.contact-block h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.contact-block p {
    color: var(--color-text-sub);
    line-height: 1.7;
    margin-bottom: 24px;
}

.contact-list {
    display: grid;
    gap: 18px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-item .ci-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-bg-alt);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item .ci-text small {
    display: block;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.contact-item .ci-text strong {
    font-size: 1rem;
    color: var(--color-navy);
    font-weight: 600;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-navy);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(26, 43, 72, 0.08);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    padding: 16px;
    margin-top: 4px;
}

@media (max-width: 860px) {
    .contact-block { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
    .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reveal Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
