/* ===== CSS Variables ===== */
:root {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f5f5f7;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    
    --text-primary: #846A6A;
    --text-secondary: #9a8585;
    --text-muted: #a89999;
    
    --accent-primary: #846A6A;
    --accent-secondary: #846A6A;
    --accent-tertiary: #846A6A;
    --accent-gradient: linear-gradient(135deg, #846A6A 0%, #6b5555 100%);
    
    --border-color: rgba(0, 0, 0, 0.06);
    --border-color-light: rgba(0, 0, 0, 0.1);
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 0 transparent;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

ul {
    list-style: none;
}

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

/* ===== Utility Classes ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    color: var(--text-primary);
}

/* ===== Cursor Glow Effect ===== */
.cursor-glow {
    display: none;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(8px); }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar.scrolled {
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--text-primary) !important;
    border-radius: 100px;
    color: #ffffff !important;
    font-weight: 500 !important;
    -webkit-text-fill-color: #ffffff !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    opacity: 0.85;
    background: var(--text-primary) !important;
    color: #ffffff !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 160px 24px 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(132, 106, 106, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(132, 106, 106, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.grid-pattern,
.gradient-orb,
.orb-1,
.orb-2,
.orb-3 {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: none;
}

.badge-dot {
    display: none;
}

.hero-eyebrow {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 32px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-trust {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 100px;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(132, 106, 106, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color-light);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ===== Hero Stats ===== */
.hero-stats {
    display: none;
}

.stat,
.stat-number,
.stat-suffix,
.stat-label,
.stat-divider {
    display: none;
}

/* ===== Workflow Nodes Section ===== */
.workflow-section {
    background: var(--bg-tertiary);
    padding: 80px 0;
    overflow: hidden;
}


.workflow-canvas {
    position: relative;
    padding: 20px 0 32px;
}

.workflow-row-main {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    padding: 0;
}

/* --- Node --- */
.wf-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100px;
    height: 100px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.wf-node:hover {
    border-color: rgba(132, 106, 106, 0.4);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* Node type accents */
.wf-trigger {
    border-top: 3px solid #e07a3a;
}

.wf-data {
    border-top: 3px solid #34a853;
}

.wf-ai {
    border-top: 3px solid #a259ff;
}

.wf-action {
    border-top: 3px solid #4a90d9;
}

.wf-end {
    border-top: 3px solid #846A6A;
}

/* Node icon */
.wf-node-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-node-icon svg {
    width: 20px;
    height: 20px;
}

.wf-trigger .wf-node-icon { background: rgba(224, 122, 58, 0.15); }
.wf-trigger .wf-node-icon svg { stroke: #e07a3a; }

.wf-data .wf-node-icon { background: rgba(52, 168, 83, 0.15); }
.wf-data .wf-node-icon svg { stroke: #34a853; }

.wf-ai .wf-node-icon { background: rgba(162, 89, 255, 0.15); }
.wf-ai .wf-node-icon svg { stroke: #a259ff; }

.wf-action .wf-node-icon { background: rgba(74, 144, 217, 0.15); }
.wf-action .wf-node-icon svg { stroke: #4a90d9; }

.wf-end .wf-node-icon { background: rgba(132, 106, 106, 0.15); }
.wf-end .wf-node-icon svg { stroke: #846A6A; }

/* Node text */
.wf-node-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wf-node-sub {
    font-size: 0.5rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: -4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- Connector lines --- */
.wf-connector {
    width: 48px;
    min-width: 48px;
    height: 2px;
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.wf-connector-line {
    width: 100%;
    height: 2px;
    background: var(--border-color-light);
    position: relative;
}

.wf-connector-pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(132, 106, 106, 0.8);
    box-shadow: 0 0 8px rgba(132, 106, 106, 0.6);
    top: 50%;
    transform: translateY(-50%);
    animation: connectorPulse 3s ease-in-out infinite;
}

@keyframes connectorPulse {
    0% { left: -4px; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: calc(100% - 4px); opacity: 0; }
}

.workflow-row-main .wf-connector:nth-child(2) .wf-connector-pulse { animation-delay: 0s; }
.workflow-row-main .wf-connector:nth-child(4) .wf-connector-pulse { animation-delay: 0.6s; }
.workflow-row-main .wf-connector:nth-child(6) .wf-connector-pulse { animation-delay: 1.2s; }
.workflow-row-main .wf-connector:nth-child(8) .wf-connector-pulse { animation-delay: 1.8s; }

/* Caption */
.workflow-caption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 32px;
    font-style: italic;
}

/* Mobile */
@media (max-width: 768px) {
    .workflow-section {
        padding: 60px 0;
    }
    
    .workflow-row-main {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .wf-node {
        width: 80px;
        height: 80px;
    }
    
    .wf-node-icon {
        width: 34px;
        height: 34px;
    }
    
    .wf-node-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .wf-node-label {
        font-size: 0.6rem;
    }
    
    .wf-connector {
        width: 20px;
        min-width: 20px;
    }
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    display: none;
}

.mouse,
.wheel {
    display: none;
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== Services Section ===== */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card {
    background: var(--bg-secondary);
    padding: 48px;
    transition: background 0.3s ease, transform 0.3s ease;
    position: relative;
}

.service-card:hover {
    background: var(--bg-tertiary);
    transform: scale(1.02);
    z-index: 2;
}

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

.service-card.featured {
    grid-column: span 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-features {
    display: none;
}

/* Portfolio Bubbles */
.service-card.has-portfolio {
    position: relative;
}

.portfolio-bubbles {
    position: absolute;
    inset: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: var(--bg-card);
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.service-card.has-portfolio:hover .portfolio-bubbles,
.service-card.has-portfolio.touch-active .portfolio-bubbles {
    opacity: 1;
    visibility: visible;
}

.portfolio-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: var(--text-primary);
    color: white;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(132, 106, 106, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(132, 106, 106, 0.4);
}

.portfolio-bubble span {
    color: white;
}

/* ===== Projects Section ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color-light);
}

.project-card.large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-placeholder {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-card.large .project-placeholder {
    aspect-ratio: auto;
    height: 100%;
    min-height: 300px;
}

.project-placeholder.rovent {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 100%);
}

.project-placeholder.beauty {
    background: linear-gradient(135deg, #4a1942 0%, #1a0a18 100%);
}

.project-placeholder.gym {
    background: linear-gradient(135deg, #1a4332 0%, #0a1f17 100%);
}

.project-logo {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    opacity: 0.9;
    letter-spacing: 0.1em;
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-el {
    position: absolute;
    font-size: 2rem;
    animation: float 4s ease-in-out infinite;
}

.float-el.el-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.float-el.el-2 {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.float-el.el-3 {
    bottom: 20%;
    left: 25%;
    animation-delay: 2s;
}

.project-content {
    padding: 32px;
}

.project-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-primary);
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.project-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.project-stat {
    text-align: center;
}

.project-stat strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.project-stat span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 600;
    transition: var(--transition-fast);
}

.project-link:hover {
    gap: 12px;
}

/* ===== Benefits Section ===== */
.benefits {
    background: var(--bg-tertiary);
}

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

.benefits-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.benefit-card {
    text-align: left;
}

.benefit-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-card > p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== Process Section ===== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    position: relative;
}

.process-timeline::before {
    display: none;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--border-color-light);
    margin-bottom: 16px;
    line-height: 1;
}

.process-step:hover .step-number {
    color: var(--text-muted);
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Results Section ===== */
.results {
    background: var(--bg-secondary);
}

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

.result-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.result-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 12px;
}

.result-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: var(--bg-tertiary);
}

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

.testimonial-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Founder Section ===== */
.founder {
    background: var(--bg-secondary);
}

.founder-content {
    max-width: 700px;
    margin: 0 auto;
}

.founder-text h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.founder-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.founder-guarantees {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.guarantee svg {
    color: var(--text-primary);
    flex-shrink: 0;
}

/* ===== CTA Section ===== */
.cta {
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-content > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.cta .btn-primary {
    background: var(--text-primary);
    color: white;
}

.cta .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color-light);
}

.cta .btn-secondary:hover {
    background: var(--bg-secondary);
}

.cta-features {
    display: none;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto 32px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.contact-form input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-secondary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(132, 106, 106, 0.1);
}

.contact-form input::placeholder {
    color: var(--text-muted);
}

.contact-form button {
    width: 100%;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-cta .btn {
    box-shadow: 0 4px 20px rgba(132, 106, 106, 0.3);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 12px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .service-card.featured {
        grid-column: span 1;
    }
    
    .project-card.large {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: none;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px;
        gap: 32px;
        transition: var(--transition-base);
        border-left: none;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.25rem;
    }
    
    .nav-cta {
        margin-top: 16px;
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-toggle span {
        background: var(--text-primary);
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 140px 24px 80px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        border-radius: var(--radius-md);
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .step-number {
        font-size: 2rem;
    }
    
    .benefits-grid,
    .benefits-grid.three-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .benefit-number {
        font-size: 2.5rem;
    }
    
    .benefit-card h3 {
        font-size: 1.15rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .result-card {
        padding: 24px 16px;
    }
    
    .result-number {
        font-size: 2.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
    
    section {
        padding: 48px 0;
    }
    
    .section-header {
        margin-bottom: 32px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card {
        padding: 24px 20px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
}

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

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