/* ========================================
   天宸木业 — 共享样式表 v2
   Apple-inspired · Premium Wood Aesthetic
   ======================================== */

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

/* ===== Design Tokens ===== */
:root {
    /* Backgrounds */
    --color-bg: #ffffff;
    --color-bg-alt: #f5f5f7;
    --color-bg-dark: #1a1a1c;
    --color-bg-darker: #0d0d0f;

    /* Text */
    --color-text: #1d1d1f;
    --color-text-secondary: #86868b;
    --color-text-light: #f5f5f7;

    /* Wood accent system */
    --color-accent: #8B6F47;
    --color-accent-dark: #6B4E2E;
    --color-accent-light: #c4a77d;
    --color-accent-glow: rgba(139, 111, 71, 0.15);
    --color-accent-glow-strong: rgba(139, 111, 71, 0.3);

    /* Borders & shadows */
    --color-border: #d2d2d7;
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 4px 8px rgba(0,0,0,0.06), 0 12px 40px rgba(139,111,71,0.12);
    --shadow-float: 0 8px 32px rgba(0,0,0,0.12);

    /* Radius */
    --radius-card: 20px;
    --radius-button: 980px;
    --radius-sm: 12px;

    /* Layout */
    --max-width: 980px;
    --nav-height: 52px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Base ===== */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.5;
    font-size: 17px;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent), var(--color-accent-light));
    z-index: 10000;
    width: 0%;
    transition: width 0.1s linear;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 9999;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.navbar-dark {
    background: rgba(26, 26, 28, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-dark.scrolled {
    background: rgba(26, 26, 28, 0.88);
}

.nav-container {
    max-width: 1024px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 50%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    transition: opacity var(--transition);
}

.nav-logo:hover { opacity: 0.8; }

.navbar-dark .nav-logo {
    background: linear-gradient(135deg, var(--color-accent-light), #e8d5b5, #f0e0c8);
    -webkit-background-clip: text;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-menu a {
    font-size: 13px;
    color: var(--color-text);
    opacity: 0.82;
    transition: opacity var(--transition);
    white-space: nowrap;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-accent);
    transition: width var(--transition);
}

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

.nav-menu a:hover { opacity: 1; }

.navbar-dark .nav-menu a { color: var(--color-text-light); }
.navbar-dark .nav-menu a::after { background: var(--color-accent-light); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 20px;
    height: 1.5px;
    background: var(--color-text);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar-dark .nav-toggle span { background: var(--color-text-light); }

/* ===== Hero ===== */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(170deg, #1a1a1c 0%, #2a2218 40%, #1d1d1f 100%);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
    padding: 80px 22px 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(ellipse at 20% 40%, rgba(139, 111, 71, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(107, 78, 46, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(196, 167, 125, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: heroGradient 8s ease-in-out infinite alternate;
}

@keyframes heroGradient {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(2deg); }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Floating particles in hero */
.hero-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--color-accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp 6s ease-in infinite;
}

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.2; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.hero-eyebrow {
    font-size: 19px;
    color: var(--color-accent-light);
    margin-bottom: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-title .brand {
    background: linear-gradient(135deg, #e8d5b5 0%, #c4a77d 30%, #8B6F47 60%, #c4a77d 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: clamp(19px, 2.5vw, 24px);
    color: rgba(245, 245, 247, 0.7);
    font-weight: 400;
    line-height: 1.5;
    max-width: 620px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(245, 245, 247, 0.4);
    font-size: 13px;
    text-align: center;
    z-index: 1;
}

.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 30px;
    background: rgba(245, 245, 247, 0.3);
    margin: 8px auto 0;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(0.5); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 0.6; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-button);
    font-size: 15px;
    font-weight: 400;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* Shine effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before { left: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: #fff;
    box-shadow: 0 2px 8px rgba(139, 111, 71, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 111, 71, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent-light);
    border: 1px solid rgba(196, 167, 125, 0.4);
}

.btn-secondary:hover {
    background: rgba(196, 167, 125, 0.1);
    border-color: var(--color-accent-light);
    transform: translateY(-1px);
}

.btn-light {
    background: #fff;
    color: var(--color-text);
}

.btn-light:hover {
    background: #f5f5f7;
    transform: translateY(-1px);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

/* ===== Sections ===== */
.section {
    padding: 100px 22px;
    position: relative;
}

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

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.section-darker {
    background: var(--color-bg-darker);
    color: var(--color-text-light);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-eyebrow {
    font-size: 15px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.section-dark .section-eyebrow,
.section-darker .section-eyebrow { color: var(--color-accent-light); }

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 21px;
    color: var(--color-text-secondary);
    font-weight: 400;
    line-height: 1.5;
    max-width: 600px;
    margin-bottom: 60px;
}

.section-dark .section-subtitle,
.section-darker .section-subtitle { color: rgba(245, 245, 247, 0.6); }

/* Section divider — subtle gradient line */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    margin: 0 auto;
    max-width: var(--max-width);
}

/* ===== Card Grid ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

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

.card {
    background: var(--color-bg);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
    display: block;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(139, 111, 71, 0.15);
}

.card-dark {
    background: #2a2a2c;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-dark:hover {
    background: #323234;
    border-color: rgba(196, 167, 125, 0.2);
}

.card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #e8e0d5, #d4c4a8, #c4a77d);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background-position var(--transition-slow);
}

.card:hover .card-img {
    background-position: 100% 100%;
}

.card-img-dark {
    background: linear-gradient(135deg, #2a2a2c, #3a3a3c, #2a2a2c);
    background-size: 200% 200%;
}

.card-img-label {
    font-size: 14px;
    color: var(--color-text-secondary);
    opacity: 0.5;
    transition: opacity var(--transition);
}

.card:hover .card-img-label { opacity: 0.8; }

/* Card image overlay on hover */
.card-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent 60%, rgba(0,0,0,0.1));
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover .card-img::after { opacity: 1; }

.card-body { padding: 24px; }
.card-body-sm { padding: 20px; }

.card-title {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-text {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.section-dark .card-text,
.section-darker .card-text { color: rgba(245, 245, 247, 0.6); }

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 500;
    transition: gap var(--transition);
}

.card-link:hover { gap: 10px; }

.section-dark .card-link,
.section-darker .card-link { color: var(--color-accent-light); }

/* ===== Feature Grid ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    transition: transform var(--transition);
}

.feature-item:hover { transform: translateY(-4px); }

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--color-accent);
    transition: transform var(--transition-bounce);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.section-dark .feature-icon,
.section-darker .feature-icon { color: var(--color-accent-light); }

.feature-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.section-dark .feature-text,
.section-darker .feature-text { color: rgba(245, 245, 247, 0.6); }

/* ===== Stats ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    transition: transform var(--transition);
}

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

.stat-number {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent-light), #e8d5b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 15px;
    color: rgba(245, 245, 247, 0.6);
}

/* ===== Certificates ===== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.cert-item {
    background: var(--color-bg);
    border-radius: var(--radius-card);
    padding: 40px 24px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
}

.cert-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(139, 111, 71, 0.15);
}

.cert-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--color-accent);
    transition: transform var(--transition-bounce);
}

.cert-item:hover .cert-icon {
    transform: scale(1.1);
}

.cert-name {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.cert-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform var(--transition);
}

.contact-item:hover { transform: translateX(4px); }

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--color-accent);
}

.contact-label {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 19px;
    font-weight: 500;
    color: var(--color-text);
}

.contact-value a { color: var(--color-accent); }

.contact-map {
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
}

/* ===== Product Showcase ===== */
.showcase { padding: 100px 22px; }

.showcase-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-img {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-card);
    background: linear-gradient(135deg, #e8e0d5, #d4c4a8, #c4a77d);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-slow);
}

.showcase-img:hover {
    background-position: 100% 100%;
    box-shadow: var(--shadow-card-hover);
}

.showcase-img-label {
    font-size: 16px;
    color: var(--color-text-secondary);
    opacity: 0.4;
    transition: opacity var(--transition);
}

.showcase-img:hover .showcase-img-label { opacity: 0.7; }

.showcase-content .section-eyebrow { margin-bottom: 12px; }
.showcase-content .section-title { margin-bottom: 20px; }

.showcase-desc {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.spec-list {
    list-style: none;
    margin-bottom: 32px;
}

.spec-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    transition: padding-left var(--transition);
}

.spec-list li:hover { padding-left: 8px; }

.spec-list li:last-child { border-bottom: none; }

.spec-label { color: var(--color-text-secondary); }
.spec-value { font-weight: 500; }

/* ===== Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #e8e0d5, #d4c4a8);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: scale(1.03) translateY(-2px);
    background-position: 100% 100%;
    box-shadow: var(--shadow-float);
}

.gallery-item-label {
    font-size: 14px;
    color: var(--color-text-secondary);
    opacity: 0.5;
    transition: opacity var(--transition);
    z-index: 1;
}

.gallery-item:hover .gallery-item-label { opacity: 0.8; }

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Page Header ===== */
.page-header {
    padding: 120px 22px 60px;
    text-align: center;
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center top, var(--color-accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.page-header-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.page-header-dark::before {
    background: radial-gradient(ellipse at center top, rgba(139,111,71,0.12) 0%, transparent 60%);
}

.page-header .section-eyebrow {
    margin-bottom: 12px;
    position: relative;
}

.page-header-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
    position: relative;
}

.page-header-subtitle {
    font-size: 21px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
}

.page-header-dark .page-header-subtitle { color: rgba(245, 245, 247, 0.6); }

/* ===== Breadcrumb ===== */
.breadcrumb {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px 22px 0;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.breadcrumb a { color: var(--color-accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: 0.4; }

/* ===== Timeline ===== */
.timeline {
    display: flex;
    flex-direction: column;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--color-accent), var(--color-accent-dark), transparent);
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding-bottom: 40px;
    position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(139, 111, 71, 0.2);
    transition: transform var(--transition-bounce);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.15);
}

.timeline-dot-last {
    background: linear-gradient(135deg, var(--color-accent-dark), #4a3520);
}

.timeline-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 6px;
}

.timeline-text {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ===== Step Number (for contact page) ===== */
.step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    transition: transform var(--transition-bounce);
    box-shadow: 0 2px 8px rgba(139, 111, 71, 0.2);
}

.feature-item:hover .step-number {
    transform: scale(1.1);
}

.step-number-last {
    background: linear-gradient(135deg, var(--color-accent-dark), #4a3520);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-alt);
    padding: 40px 22px;
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--color-accent); }

.footer-copyright {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.footer-filing {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-top: 8px;
    opacity: 0.7;
}

.footer-filing a { color: var(--color-text-secondary); }
.footer-filing a:hover { color: var(--color-accent); }

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-float);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.back-to-top:hover svg { color: #fff; }

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: var(--color-text);
    transition: color var(--transition);
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Page Load Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.fade-delay-1 { animation-delay: 0.1s; }
.fade-delay-2 { animation-delay: 0.2s; }
.fade-delay-3 { animation-delay: 0.3s; }
.fade-delay-4 { animation-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0; right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
        border-bottom: 1px solid var(--color-border);
    }

    .navbar-dark .nav-menu {
        background: rgba(26, 26, 28, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle { display: flex; }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .nav-toggle.active span:nth-child(2) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .card-grid-2 { grid-template-columns: 1fr; }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section { padding: 70px 22px; }

    .hero { min-height: 80vh; }

    .nav-menu a { font-size: 17px; }

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn { width: 100%; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Print ===== */
@media print {
    .navbar, .back-to-top, .scroll-progress, .hero-scroll, .hero-particles { display: none; }
    .section { padding: 30px 0; }
}
