/*
Theme Name: 未来造物
Theme URI: http://未来造物.com
Author: 未来造物
Author URI: http://未来造物.com
Description: 未来造物企业官网主题 - 活力创意风格，撞色渐变体系，专为创意设计工作室打造
Version: 1.0
License: Proprietary
Text Domain: weilaizaowu
*/

/* ========================================
   未来造物 - WordPress 主题样式
   活力创意风格 · 撞色 · 不规则布局
   ======================================== */

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

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

body {
    font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-text-dark);
    background: var(--color-surface);
    line-height: 1.6;
    overflow-x: hidden;
}

/* WordPress admin bar offset */
body.admin-bar .nav {
    top: 32px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========== Design Tokens ========== */
:root {
    --color-primary: #FF006E;
    --color-secondary: #8338EC;
    --color-accent: #FFBE0B;
    --color-blue: #3A86FF;
    --color-cyan: #06FFA5;

    --color-bg-dark: #0D0D12;
    --color-bg-dark-2: #1A1A24;
    --color-surface: #FFFFFF;
    --color-surface-alt: #F5F5F7;
    --color-text-dark: #0D0D12;
    --color-text-light: #FAFAFA;
    --color-text-muted: #6B6B7B;
    --color-border: #E8E8EC;

    --gradient-brand: linear-gradient(135deg, #FF006E 0%, #8338EC 50%, #3A86FF 100%);
    --gradient-warm: linear-gradient(135deg, #FF006E 0%, #FFBE0B 100%);
    --gradient-cool: linear-gradient(135deg, #8338EC 0%, #3A86FF 100%);
    --gradient-fresh: linear-gradient(135deg, #06FFA5 0%, #3A86FF 100%);

    --font-display: 'Syne', 'Noto Sans SC', sans-serif;
    --font-body: 'Noto Sans SC', 'Inter', sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 120px;

    --container-max: 1280px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 999px;

    --shadow-sm: 0 2px 8px rgba(13, 13, 18, 0.08);
    --shadow-md: 0 8px 32px rgba(13, 13, 18, 0.12);
    --shadow-lg: 0 20px 60px rgba(13, 13, 18, 0.16);
    --shadow-glow: 0 0 40px rgba(255, 0, 110, 0.25);

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.display-1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
}

.display-2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-warm {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Layout ========== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.section-sm {
    padding: var(--space-xl) 0;
}

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

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

/* ========== Navigation ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav.scrolled .nav__logo,
.nav.scrolled .nav__link {
    color: var(--color-text-dark);
}

.nav.scrolled .nav__logo .logo-mark {
    background: var(--gradient-brand);
    color: #fff;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-text-light);
    transition: color 0.3s;
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--color-text-light);
    font-size: 1.1rem;
    transition: all 0.3s;
    flex-shrink: 0;
}

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

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-light);
    position: relative;
    transition: color 0.3s;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link.active {
    color: var(--color-primary);
}

.nav.scrolled .nav__link.active {
    color: var(--color-primary);
}

.nav__cta {
    padding: 10px 24px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.nav__cta:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-light);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav.scrolled .nav__toggle span {
    background: var(--color-text-dark);
}

.nav__toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 0, 110, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 0, 110, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-dark);
    border: 2px solid var(--color-text-dark);
}

.btn-outline:hover {
    background: var(--color-text-dark);
    color: #fff;
}

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

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

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ========== Hero ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 12s ease-in-out infinite;
}

.hero__blob--1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
}

.hero__blob--2 {
    width: 400px;
    height: 400px;
    background: var(--color-secondary);
    bottom: -50px;
    left: -80px;
    animation-delay: -4s;
}

.hero__blob--3 {
    width: 300px;
    height: 300px;
    background: var(--color-blue);
    top: 40%;
    left: 40%;
    animation-delay: -8s;
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--color-cyan);
    margin-bottom: 32px;
}

.hero__badge .dot {
    width: 8px;
    height: 8px;
    background: var(--color-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero__title {
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1.02;
    margin-bottom: 32px;
    letter-spacing: -0.03em;
}

.hero__title .line {
    display: block;
    overflow: hidden;
}

.hero__title .word {
    display: inline-block;
    animation: slideUp 0.8s var(--ease-out) forwards;
    opacity: 0;
}

.hero__desc {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 48px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.hero__stat .num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

.hero__stat .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

/* ========== Marquee ========== */
.marquee {
    overflow: hidden;
    padding: 24px 0;
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee__track {
    display: flex;
    gap: 60px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee__item {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 60px;
}

.marquee__item .star {
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* ========== Cards ========== */
.card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    border: 1px solid var(--color-border);
}

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

.card__img {
    aspect-ratio: 4 / 3;
    background: var(--gradient-cool);
    position: relative;
    overflow: hidden;
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.card:hover .card__img img {
    transform: scale(1.08);
}

.card__body {
    padding: 28px;
}

.card__tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--color-surface-alt);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-secondary);
    margin-bottom: 12px;
}

.card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card__desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========== Service Card ========== */
.service-card {
    padding: 40px 32px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

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

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

.service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    background: var(--color-surface-alt);
}

.service-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card__desc {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

.service-card__list li::before {
    content: '→';
    color: var(--color-primary);
    font-weight: 700;
}

/* ========== Grid ========== */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ========== Section Header ========== */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-header .eyebrow {
    margin-bottom: 16px;
    display: inline-block;
}

.section-header .desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-top: 16px;
}

.section-header--light .eyebrow {
    color: var(--color-cyan);
}

.section-header--light .desc {
    color: rgba(255, 255, 255, 0.6);
}

/* ========== Feature Block ========== */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature__content .eyebrow {
    margin-bottom: 16px;
    display: inline-block;
}

.feature__content h2 {
    margin-bottom: 20px;
}

.feature__content p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.feature__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.feature__list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature__list .check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-fresh);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature__visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    position: relative;
}

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

/* ========== Stats Section ========== */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 48px;
    border-radius: var(--radius-lg);
    background: var(--gradient-brand);
    color: #fff;
}

.stats-bar__item {
    text-align: center;
}

.stats-bar__num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
}

.stats-bar__label {
    margin-top: 8px;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: var(--space-2xl) 0;
    background: var(--color-bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -100px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(131, 56, 236, 0.15) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
}

.cta-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto 40px;
}

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

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer__brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer__col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col a {
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer__col a:hover {
    color: var(--color-primary);
}

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__social {
    display: flex;
    gap: 16px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1rem;
}

.footer__social a:hover {
    background: var(--gradient-brand);
    color: #fff;
    transform: translateY(-3px);
}

/* ========== Page Hero (inner pages) ========== */
.page-hero {
    padding: 160px 0 80px;
    background: var(--color-bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.page-hero__blob--1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    right: 10%;
}

.page-hero__blob--2 {
    width: 350px;
    height: 350px;
    background: var(--color-secondary);
    bottom: -100px;
    left: 5%;
}

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

.page-hero .eyebrow {
    color: var(--color-cyan);
    margin-bottom: 16px;
    display: inline-block;
}

.page-hero h1 {
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
}

/* ========== Timeline ========== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
}

.timeline__item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 0;
    margin-bottom: 48px;
    align-items: center;
}

.timeline__dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-brand);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px rgba(255, 0, 110, 0.15);
}

.timeline__content {
    padding: 28px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.3s;
}

.timeline__content:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.timeline__item:nth-child(odd) .timeline__content {
    grid-column: 1;
}

.timeline__item:nth-child(even) .timeline__content {
    grid-column: 3;
}

.timeline__year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.timeline__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline__desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========== Team Card ========== */
.team-card {
    text-align: center;
    transition: transform 0.3s var(--ease-out);
}

.team-card:hover {
    transform: translateY(-6px);
}

.team-card__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    background: var(--gradient-cool);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.team-card__name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card__bio {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========== Case Filter ========== */
.case-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.case-filter__btn {
    padding: 8px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.case-filter__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.case-filter__btn.active {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
}

/* ========== Case Grid ========== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    aspect-ratio: 4 / 5;
    background: var(--gradient-cool);
}

.case-item--wide {
    grid-column: span 2;
    aspect-ratio: 8 / 5;
}

.case-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.case-item:hover .case-item__img {
    transform: scale(1.08);
}

.case-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 18, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    opacity: 0;
    transition: opacity 0.3s;
}

.case-item:hover .case-item__overlay {
    opacity: 1;
}

.case-item__tag {
    font-size: 0.8rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.case-item__title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

.case-item__desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 6px;
}

/* ========== Contact Form ========== */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

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

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

.form-error {
    color: var(--color-primary);
    font-size: 0.85rem;
    margin-top: 6px;
    display: none;
}

.form-error.show {
    display: block;
}

/* ========== Contact Info ========== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.contact-info__item {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--color-border);
    transition: all 0.3s;
}

.contact-info__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.contact-info__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--color-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px;
}

.contact-info__label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-info__value {
    font-size: 1.05rem;
    font-weight: 600;
}

/* ========== Values Grid ========== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    text-align: center;
    padding: 36px 24px;
}

.value-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.value-card:nth-child(1) .value-card__icon { background: rgba(255, 0, 110, 0.1); }
.value-card:nth-child(2) .value-card__icon { background: rgba(131, 56, 236, 0.1); }
.value-card:nth-child(3) .value-card__icon { background: rgba(58, 134, 255, 0.1); }
.value-card:nth-child(4) .value-card__icon { background: rgba(255, 190, 11, 0.1); }

.value-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========== FAQ (details/summary) ========== */
.faq-item {
    padding: 24px 28px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    cursor: pointer;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 16px;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========== Animations ========== */
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
    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; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .case-item--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr !important;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        gap: 28px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s var(--ease-out);
    }

    .nav__menu.open {
        right: 0;
    }

    .nav__menu .nav__link {
        color: var(--color-text-dark);
        font-size: 1.3rem;
    }

    .nav__toggle {
        display: flex;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
        padding: 32px;
    }

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

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

    .case-item--wide {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

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

    .timeline__dot {
        margin: 0;
    }

    .timeline__item:nth-child(odd) .timeline__content,
    .timeline__item:nth-child(even) .timeline__content {
        grid-column: 2;
    }

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

    .hero__stats {
        gap: 32px;
    }

    .section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .hero__stats {
        flex-direction: column;
        gap: 24px;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__actions {
        flex-direction: column;
    }
}
