/* ============================================
   甫東科技 — Services Page
   Premium 3D Design · 文創設計
   ============================================ */

:root {
    --accent: #d15b27;
    --accent-light: #fb923c;
    --accent-warm: #e8a87c;
    --bg-white: #fafaf9;
    --bg-cream: #faf8f5;
    --bg-warm: #f5f0ea;
    --bg-dark: #0f1923;
    --bg-dark-warm: #1a1510;
    --text-dark: #1c1917;
    --text-muted: #78716c;
    --text-light: #a8a29e;
    --border: rgba(0, 0, 0, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Outfit', 'Noto Sans TC', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Page Loader ---- */
#loader {
    position: fixed; inset: 0; z-index: 100000;
    background: #0a0a0a;
    display: flex; align-items: center; justify-content: center;
}
.loading body { overflow: hidden; }
.loader-content { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.loader-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader-en {
    font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400; font-style: italic; color: #fff;
    letter-spacing: 1px; opacity: 0; transform: translateY(12px);
    animation: loaderFadeUp 0.7s 0.3s var(--ease-out) forwards;
}
.loader-divider {
    display: block; width: 40px; height: 1px;
    background: var(--accent); opacity: 0; transform: scaleX(0);
    animation: loaderLineGrow 0.6s 0.6s var(--ease-out) forwards;
}
.loader-zh {
    font-family: var(--font-sans); font-size: clamp(0.85rem, 2vw, 1.1rem);
    font-weight: 300; letter-spacing: 8px; color: rgba(255,255,255,0.5);
    opacity: 0; transform: translateY(12px);
    animation: loaderFadeUp 0.7s 0.8s var(--ease-out) forwards;
}
.loader-bar {
    width: 120px; height: 1px;
    background: rgba(255,255,255,0.1); border-radius: 1px;
    overflow: hidden; opacity: 0;
    animation: loaderFadeUp 0.4s 1s var(--ease-out) forwards;
}
.loader-bar-fill {
    width: 0%; height: 100%;
    background: #2563eb; border-radius: 1px;
    animation: loaderProgress 1.2s 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes loaderFadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes loaderLineGrow { to { opacity: 1; transform: scaleX(1); } }
@keyframes loaderProgress { 0% { width: 0%; } 60% { width: 70%; } 100% { width: 100%; } }

.skip-link {
    position: absolute; top: -100%; left: 16px; z-index: 100001;
    padding: 12px 24px; background: var(--accent); color: #fff;
    font-weight: 700; border-radius: 0 0 8px 8px; transition: top 0.2s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }


/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 16px 48px; z-index: 1000;
    background: rgba(250,248,245,0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border); transition: padding 0.3s;
}
.nav-container { width: 100%; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-link { font-size: 0.9rem; letter-spacing: 0.5px; font-weight: 500; position: relative; transition: color 0.3s; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s var(--ease-out); }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.active::after { width: 100%; }
.btn-contact { border: 1.5px solid var(--text-dark); padding: 8px 24px; border-radius: 30px; transition: background 0.3s, color 0.3s; }
.btn-contact:hover, .btn-contact:focus-visible { background: var(--text-dark); color: #fff; }
.btn-contact::after { display: none; }

.menu-toggle { display: none; background: none; border: none; width: 28px; height: 20px; position: relative; cursor: pointer; z-index: 1001; padding: 0; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--text-dark); position: absolute; left: 0; transition: all 0.4s var(--ease-out); border-radius: 2px; }
.menu-toggle span:first-child { top: 2px; }
.menu-toggle span:last-child { bottom: 2px; }
.menu-toggle.active span:first-child { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.active span:last-child { bottom: 50%; transform: translateY(50%) rotate(-45deg); }


/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu { position: fixed; inset: 0; z-index: 999; background: #f6f1eb; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease-out); overflow-y: auto; }
.mobile-menu::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at 30% 20%, rgba(209,91,39,0.06), transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(37,99,235,0.04), transparent 50%); }
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu-inner { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px; gap: 36px; position: relative; z-index: 1; }
.mm-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-bottom: 28px; border-bottom: 1px solid rgba(28,25,23,0.08); }
.mm-brand-en { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400; font-style: italic; color: var(--text-dark); }
.mm-brand-zh { font-size: 0.8rem; font-weight: 500; letter-spacing: 3px; color: var(--text-muted); }
.mm-nav { display: flex; flex-direction: column; gap: 2px; }
.mm-link { display: flex; align-items: center; gap: 16px; padding: 18px 14px; border-radius: 12px; transition: background 0.25s var(--ease-out); color: var(--text-dark); opacity: 0; transform: translateX(-16px); }
.mobile-menu.active .mm-link { opacity: 1; transform: translateX(0); }
.mm-link:hover { background: rgba(28,25,23,0.04); }
.mm-link-active { background: rgba(209,91,39,0.07); }
.mm-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); opacity: 0.7; }
.mm-text { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.mm-label { font-family: var(--font-serif); font-size: 0.65rem; font-style: italic; letter-spacing: 1px; color: var(--text-light); }
.mm-title { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.3px; }
.mm-arrow { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-light); opacity: 0.4; transition: color 0.25s, transform 0.25s; }
.mm-link:hover .mm-arrow { color: var(--accent); opacity: 1; transform: translateX(3px); }
.mm-cta { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; background: var(--text-dark); color: #fff; border-radius: 50px; font-size: 0.95rem; font-weight: 700; transition: all 0.3s var(--ease-out); opacity: 0; transform: translateY(8px); }
.mobile-menu.active .mm-cta { opacity: 1; transform: translateY(0); }
.mm-cta:hover { background: var(--accent); }
.mm-cta-icon { width: 18px; height: 18px; }
.mm-footer { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(28,25,23,0.06); opacity: 0; }
.mobile-menu.active .mm-footer { opacity: 1; }
.mm-footer a, .mm-footer span { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.5px; }
.mm-footer-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-light); opacity: 0.3; display: inline-block; }


/* ============================================
   WEBGL CANVAS
   ============================================ */
.sv-webgl {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
    opacity: 0.35;
}


/* ============================================
   GRAIN TEXTURE
   ============================================ */
.sv-grain {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
}
.sv-grain-dark { opacity: 0.05; mix-blend-mode: overlay; }


/* ============================================
   SECTION LABEL (side)
   ============================================ */
.sv-section-label {
    position: absolute; top: 140px; left: 20px; z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    font-family: var(--font-serif); pointer-events: none;
}
.sv-section-label > span:first-child {
    font-size: 0.75rem; font-style: italic; color: var(--accent); opacity: 0.35; letter-spacing: 1px;
}
.sv-section-label-line {
    display: block; width: 1px; height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent); opacity: 0.2;
}
.sv-section-label-text {
    writing-mode: vertical-rl; text-orientation: mixed;
    font-size: 0.55rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--text-light); opacity: 0.3;
}
.sv-section-label-light > span:first-child { color: var(--accent-light); }
.sv-section-label-light .sv-section-label-line { background: linear-gradient(to bottom, var(--accent-light), transparent); }
.sv-section-label-light .sv-section-label-text { color: rgba(255,255,255,0.2); }


/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    padding: 160px 48px 120px;
    color: #fff; text-align: center;
    position: relative; overflow: hidden;
    min-height: 75vh;
    display: flex; align-items: center; justify-content: center;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
    animation: svcHeroPan 25s ease-in-out infinite alternate;
}
@keyframes svcHeroPan {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.06) translate(-0.5%, -0.5%); }
}
.page-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(to top, rgba(15,25,35,0.85) 0%, rgba(15,25,35,0.35) 40%, transparent 70%),
        linear-gradient(to bottom, rgba(15,25,35,0.45) 0%, transparent 30%),
        linear-gradient(135deg, rgba(160,195,225,0.06) 0%, rgba(230,170,120,0.06) 100%);
    pointer-events: none;
}
.page-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 40%; z-index: 1;
    background: radial-gradient(ellipse at 50% 100%, rgba(209,91,39,0.1), transparent 65%);
    pointer-events: none;
}
.page-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 3; }
.page-hero-nav { position: relative; z-index: 4; }
.page-label { font-size: 0.65rem; letter-spacing: 5px; color: var(--accent-light); display: block; margin-bottom: 28px; opacity: 0.8; }
.page-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900; line-height: 1.2; letter-spacing: -1px;
}
.page-title-serif {
    display: block; font-family: var(--font-serif);
    font-weight: 400; font-style: italic; font-size: 0.55em;
    color: rgba(255,255,255,0.55); margin-bottom: 8px; letter-spacing: 0;
}
.page-subtitle {
    font-size: 1.05rem; color: rgba(255,255,255,0.5);
    margin-top: 24px; line-height: 2; max-width: 600px; margin-left: auto; margin-right: auto;
}
.page-hero-nav {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 10px; margin-top: 48px;
}
.hero-chip {
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px; font-size: 0.82rem; font-weight: 500;
    letter-spacing: 0.5px; color: rgba(255,255,255,0.65);
    transition: all 0.4s var(--ease-smooth);
    backdrop-filter: blur(6px); background: rgba(255,255,255,0.04);
}
.hero-chip:hover {
    background: linear-gradient(135deg, var(--accent), #b84d1f);
    border-color: var(--accent); color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(209,91,39,0.25);
}


/* ============================================
   WAVE DIVIDER
   ============================================ */
.sv-wave { position: relative; margin-top: -2px; line-height: 0; z-index: 2; }
.sv-wave svg { width: 100%; height: 60px; display: block; }


/* ============================================
   SERVICE BLOCKS
   ============================================ */
.sv-block {
    padding: 140px 48px;
    position: relative;
    overflow: hidden;
}

.sv-light { background: var(--bg-warm); }
.sv-dark { background: var(--bg-dark); color: #f6f1eb; }
.sv-accent {
    background: linear-gradient(160deg, #1c1510 0%, var(--bg-dark) 50%, #0f1923);
    color: #f6f1eb;
}
.sv-accent::before {
    content: ''; position: absolute; top: 0; right: 0;
    width: 40%; height: 100%;
    background: radial-gradient(ellipse at 80% 50%, rgba(209,91,39,0.1), transparent 70%);
    pointer-events: none;
}


/* ============================================
   SERVICE GRID
   ============================================ */
.sv-container {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 100px; align-items: center;
    position: relative; z-index: 2;
}
.sv-reverse { direction: rtl; }
.sv-reverse > * { direction: ltr; }


/* ============================================
   SERVICE HEADER
   ============================================ */
.sv-header {
    display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
}
.sv-counter {
    font-family: var(--font-serif); font-size: 0.75rem; font-style: italic;
    letter-spacing: 3px; color: var(--accent);
    display: flex; align-items: center; gap: 12px;
}
.sv-counter::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.sv-tag {
    font-size: 0.6rem; letter-spacing: 3px; font-weight: 700;
    color: var(--accent-light); text-transform: uppercase;
}
.sv-dark .sv-counter, .sv-accent .sv-counter { color: var(--accent-light); }
.sv-dark .sv-counter::before, .sv-accent .sv-counter::before { background: var(--accent-light); }


/* ============================================
   SERVICE TYPOGRAPHY
   ============================================ */
.sv-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900; line-height: 1.2;
    letter-spacing: -0.5px; margin-bottom: 12px;
}

.sv-title-line {
    width: 48px; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    margin-bottom: 28px; border-radius: 1px;
}
.sv-title-line-light { background: linear-gradient(90deg, var(--accent-light), transparent); }

.sv-lead {
    font-size: 1.05rem; line-height: 2; max-width: 520px;
}
.sv-light .sv-lead { color: var(--text-muted); }
.sv-dark .sv-lead, .sv-accent .sv-lead { color: rgba(246,241,235,0.55); }


/* ============================================
   SERVICE FEATURES
   ============================================ */
.sv-features {
    display: flex; flex-direction: column;
    gap: 0; margin-top: 40px;
}
.sv-feature {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.4s, padding 0.4s, margin 0.4s;
}
.sv-feature:last-child { border-bottom: none; }
.sv-feature:hover {
    background: rgba(209,91,39,0.03);
    margin: 0 -16px; padding: 22px 16px; border-radius: 12px;
}
.sv-dark .sv-feature { border-color: rgba(255,255,255,0.06); }
.sv-dark .sv-feature:hover,
.sv-accent .sv-feature:hover { background: rgba(255,255,255,0.03); }

.sv-feature-icon {
    width: 36px; height: 36px; flex-shrink: 0;
    color: var(--accent); margin-top: 2px;
    padding: 6px;
    background: rgba(209,91,39,0.06);
    border-radius: 10px;
    transition: background 0.3s, transform 0.3s;
}
.sv-feature:hover .sv-feature-icon { background: rgba(209,91,39,0.12); transform: scale(1.08); }
.sv-dark .sv-feature-icon, .sv-accent .sv-feature-icon {
    color: var(--accent-light);
    background: rgba(251,146,60,0.08);
}
.sv-dark .sv-feature:hover .sv-feature-icon,
.sv-accent .sv-feature:hover .sv-feature-icon { background: rgba(251,146,60,0.15); }

.sv-feature-icon svg { width: 100%; height: 100%; }
.sv-feature h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.2px; }
.sv-feature p { font-size: 0.9rem; line-height: 1.8; }
.sv-light .sv-feature p { color: var(--text-muted); }
.sv-dark .sv-feature p, .sv-accent .sv-feature p { color: rgba(246,241,235,0.5); }


/* ============================================
   RESULT BOX
   ============================================ */
.sv-result {
    margin-top: 36px; padding: 24px 28px;
    border-radius: 16px; max-width: 520px;
    position: relative; overflow: hidden;
}
.sv-result::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(to bottom, var(--accent), transparent);
    border-radius: 2px;
}
.sv-light .sv-result { background: rgba(209,91,39,0.03); border: 1px solid rgba(209,91,39,0.08); }
.sv-dark .sv-result { background: rgba(246,241,235,0.04); border: 1px solid rgba(246,241,235,0.08); }
.sv-accent .sv-result { background: rgba(209,91,39,0.08); border: 1px solid rgba(209,91,39,0.15); }

.sv-result-label {
    display: block; font-size: 0.65rem; font-weight: 700;
    letter-spacing: 2px; color: var(--accent);
    margin-bottom: 10px; text-transform: uppercase;
}
.sv-dark .sv-result-label, .sv-accent .sv-result-label { color: var(--accent-light); }
.sv-result p { font-size: 0.92rem; line-height: 1.8; }
.sv-light .sv-result p { color: var(--text-muted); }
.sv-dark .sv-result p, .sv-accent .sv-result p { color: rgba(246,241,235,0.55); }


/* ============================================
   SERVICE LINK
   ============================================ */
.sv-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 24px; font-size: 0.88rem; font-weight: 600;
    transition: all 0.4s var(--ease-out);
}
.sv-light .sv-link { color: var(--accent); }
.sv-dark .sv-link, .sv-accent .sv-link { color: var(--accent-light); }
.sv-link:hover { gap: 14px; }
.sv-link svg { transition: transform 0.3s; }
.sv-link:hover svg { transform: translateX(4px); }


/* ============================================
   3D TILT CARD (visual column)
   ============================================ */
.sv-card-3d {
    perspective: 1200px;
}
.sv-card-3d-inner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-smooth), box-shadow 0.6s var(--ease-smooth);
    will-change: transform;
}
.sv-card-3d-glow {
    position: absolute; top: 0; left: 0;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(209,91,39,0.2), transparent 70%);
    opacity: 0; filter: blur(40px);
    transition: opacity 0.5s; pointer-events: none; z-index: 3;
}
.sv-card-3d:hover .sv-card-3d-glow { opacity: 1; }

/* Frame border gradient */
.sv-card-3d-inner::before {
    content: ''; position: absolute; inset: -1px;
    border-radius: 25px; padding: 1px;
    background: linear-gradient(135deg, rgba(209,91,39,0.25), transparent 50%, rgba(209,91,39,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    pointer-events: none; z-index: 4;
}

.sv-card-3d-inner:hover {
    box-shadow:
        0 30px 80px rgba(0,0,0,0.15),
        0 10px 30px rgba(0,0,0,0.08),
        0 0 60px rgba(209,91,39,0.06);
}

.sv-img-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.sv-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1.2s var(--ease-smooth);
}
.sv-card-3d:hover .sv-img-wrap img { transform: scale(1.05); }


/* ============================================
   STAT BOX (inside 3D card)
   ============================================ */
.sv-stat-box {
    padding: 24px 28px;
    display: flex; align-items: center; gap: 16px;
    position: relative; z-index: 2;
}
.sv-light .sv-stat-box { background: var(--bg-dark); color: #f6f1eb; }
.sv-dark .sv-stat-box { background: rgba(246,241,235,0.04); border-top: 1px solid rgba(246,241,235,0.06); }
.sv-accent .sv-stat-box { background: rgba(209,91,39,0.1); border-top: 1px solid rgba(209,91,39,0.15); }

.sv-stat-num {
    font-family: var(--font-serif); font-size: 3rem;
    font-weight: 700; line-height: 1; letter-spacing: -1px;
    color: var(--accent-light); flex-shrink: 0;
}
.sv-stat-desc { font-size: 0.85rem; line-height: 1.6; }
.sv-light .sv-stat-desc { color: rgba(246,241,235,0.6); }
.sv-dark .sv-stat-desc, .sv-accent .sv-stat-desc { color: rgba(246,241,235,0.45); }


/* ============================================
   BOTTOM CTA
   ============================================ */
.sv-cta {
    padding: 160px 48px;
    background: linear-gradient(160deg, #0f1923 0%, #1a1510 50%, #0f1218 100%);
    color: #fff; text-align: center;
    position: relative; overflow: hidden;
}
.sv-cta-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 2; }
.sv-cta-label {
    font-size: 0.65rem; letter-spacing: 5px; text-transform: uppercase;
    color: var(--accent-light); display: block; margin-bottom: 28px; opacity: 0.7;
}
.sv-cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400; font-style: italic; line-height: 1.4;
}
.sv-cta-desc {
    font-size: 1.05rem; color: rgba(255,255,255,0.45);
    margin-top: 20px; line-height: 2;
}
.sv-cta-actions {
    display: flex; justify-content: center; gap: 16px;
    margin-top: 48px; flex-wrap: wrap;
}
.sv-btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--accent), #b84d1f);
    color: #fff; border-radius: 100px;
    font-weight: 600; font-size: 0.95rem;
    transition: all 0.5s var(--ease-smooth);
    box-shadow: 0 8px 32px rgba(209,91,39,0.2);
}
.sv-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(209,91,39,0.35);
}
.sv-btn-primary svg { transition: transform 0.4s var(--ease-out); }
.sv-btn-primary:hover svg { transform: translateX(4px); }

.sv-btn-ghost {
    display: inline-flex; align-items: center;
    padding: 18px 40px;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6); border-radius: 100px;
    font-weight: 500; font-size: 0.95rem;
    transition: all 0.4s var(--ease-smooth);
    background: transparent;
}
.sv-btn-ghost:hover {
    border-color: rgba(255,255,255,0.4); color: #fff;
    background: rgba(255,255,255,0.04);
}


/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 80px 48px 40px; background: var(--bg-dark); color: #fff; }
.footer-main { max-width: 1280px; margin: 0 auto; }
.footer-logo { font-size: clamp(4rem, 14vw, 12rem); font-weight: 900; letter-spacing: -3px; line-height: 0.85; text-align: center; margin-bottom: 60px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.06); display: flex; justify-content: center; cursor: default; }
.fl-char { display: inline-block; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.06); transition: color 0.5s ease, -webkit-text-stroke 0.5s ease, text-shadow 0.5s ease, transform 0.4s var(--ease-out); opacity: 0; transform: translateY(30px); }
.footer-logo.fl-visible .fl-char { opacity: 1; transform: translateY(0); }
.footer-logo.fl-visible .fl-char:nth-child(1) { transition-delay: 0s; }
.footer-logo.fl-visible .fl-char:nth-child(2) { transition-delay: .06s; }
.footer-logo.fl-visible .fl-char:nth-child(3) { transition-delay: .12s; }
.footer-logo.fl-visible .fl-char:nth-child(4) { transition-delay: .18s; }
.footer-logo.fl-visible .fl-char:nth-child(5) { transition-delay: .24s; }
.footer-logo.fl-visible .fl-char:nth-child(6) { transition-delay: .3s; }
.footer-logo.fl-visible .fl-char:nth-child(7) { transition-delay: .36s; }
.fl-char:hover { color: rgba(255,255,255,0.15); -webkit-text-stroke: 1px rgba(255,255,255,0.25); text-shadow: 0 0 40px rgba(230,170,120,0.25), 0 0 80px rgba(160,195,225,0.15); transform: translateY(-4px); }
.fl-char.fl-glow-1 { color: rgba(255,255,255,0.06); -webkit-text-stroke: 1px rgba(255,255,255,0.12); text-shadow: 0 0 30px rgba(230,170,120,0.08); }
.fl-char.fl-glow-2 { color: rgba(255,255,255,0.12); -webkit-text-stroke: 1px rgba(255,255,255,0.20); text-shadow: 0 0 30px rgba(230,170,120,0.15), 0 0 60px rgba(160,195,225,0.08); }
.fl-char.fl-glow-3 { color: rgba(255,255,255,0.20); -webkit-text-stroke: 1px rgba(255,255,255,0.30); text-shadow: 0 0 40px rgba(230,170,120,0.30), 0 0 80px rgba(160,195,225,0.15); transform: translateY(-3px); }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border-light); }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 2px; font-weight: 700; margin-bottom: 16px; color: rgba(255,255,255,0.6); text-transform: uppercase; }
.footer-col address { font-style: normal; }
.footer-col p, .footer-col a { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.5); margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent-light); }
.footer-col nav { display: flex; flex-direction: column; }
.footer-bottom { padding-top: 32px; text-align: center; }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.3); letter-spacing: 1px; }


/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
    .sv-webgl { display: none; }
}


/* ============================================
   TABLET
   ============================================ */
@media (max-width: 1024px) {
    .navbar { padding: 12px 24px; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .page-hero { padding: 120px 24px 80px; }
    .sv-block { padding: 100px 24px; }
    .sv-section-label { display: none; }
    .sv-container, .sv-reverse {
        grid-template-columns: 1fr; gap: 56px; direction: ltr;
    }
    .sv-visual { order: -1; }
    .sv-stat-box { flex-direction: column; text-align: center; }
    .sv-stat-num { font-size: 2.4rem; }
    .sv-cta { padding: 100px 24px; }
    .footer { padding: 60px 24px 32px; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}


/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 640px) {
    .page-hero { padding: 100px 16px 60px; }
    .page-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
    .page-subtitle { font-size: 0.95rem; }
    .hero-chip { padding: 8px 16px; font-size: 0.75rem; }
    .sv-block { padding: 72px 16px; }
    .sv-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .sv-lead { font-size: 0.95rem; }
    .sv-feature { flex-direction: column; gap: 10px; }
    .sv-feature-icon { width: 32px; height: 32px; }
    .sv-cta { padding: 72px 16px; }
    .sv-cta-actions { flex-direction: column; align-items: center; }
    .sv-btn-primary, .sv-btn-ghost { width: 100%; justify-content: center; }
    .sv-webgl { display: none; }
    .footer { padding: 48px 16px 24px; }
    .footer-logo { font-size: 2.5rem; margin-bottom: 32px; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
}


/* ============================================
   HIGH CONTRAST
   ============================================ */
@media (forced-colors: active) {
    .sv-result, .sv-stat-box, .sv-card-3d-inner { border: 2px solid; }
    .sv-btn-primary, .sv-btn-ghost, .btn-contact, .hero-chip { border: 2px solid; }
}
