:root {
    --bg-primary: #151515;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #202020;
    --text-primary: #f5f0e8;
    --text-secondary: #c4bfb6;
    --text-muted: #8a8580;
    --text-accent: #f5f0e8;
    --accent: #f5f0e8;
    --accent-dim: rgba(245, 240, 232, 0.1);
    --border: rgba(245, 240, 232, 0.08);
    --border-hover: rgba(245, 240, 232, 0.15);
    --glass-bg: rgba(245, 240, 232, 0.03);
    --glass-bg-hover: rgba(245, 240, 232, 0.06);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --blur: blur(20px);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

[data-theme="light"] {
    --bg-primary: #f5f0e8;
    --bg-secondary: #ebe6de;
    --bg-tertiary: #e0dbd3;
    --text-primary: #151515;
    --text-secondary: #3d3d3d;
    --text-muted: #6b6b6b;
    --text-accent: #151515;
    --accent: #151515;
    --accent-dim: rgba(21, 21, 21, 0.08);
    --border: rgba(21, 21, 21, 0.1);
    --border-hover: rgba(21, 21, 21, 0.2);
    --glass-bg: rgba(21, 21, 21, 0.03);
    --glass-bg-hover: rgba(21, 21, 21, 0.06);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

a:hover {
    text-decoration: none;
}

.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--border-hover);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(21, 21, 21, 0.8);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

[data-theme="light"] .nav {
    background: rgba(245, 240, 232, 0.8);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

[data-theme="light"] .logo-icon {
    filter: brightness(0);
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.logo-sub {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--accent-dim);
    border-color: var(--border-hover);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.icon-sun {
    display: none;
}

.icon-moon {
    display: block;
}

[data-theme="light"] .icon-sun {
    display: block;
}

[data-theme="light"] .icon-moon {
    display: none;
}

.cta-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    text-decoration: none;
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.primary-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: var(--bg-primary);
}

.primary-btn:hover svg {
    transform: translateX(4px);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secondary-btn svg {
    width: 16px;
    height: 16px;
}

.secondary-btn:hover {
    background: var(--accent-dim);
    border-color: var(--border-hover);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 620px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
}

.accent-text {
    color: var(--text-muted);
}

.hero-terminal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 520px;
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.terminal-prompt {
    color: var(--text-muted);
    font-weight: 500;
}

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

.terminal-cursor {
    color: var(--text-primary);
    animation: blink 1s step-end infinite;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 100;
}

.section-dot {
    width: 12px;
    height: 12px;
    background: var(--border);
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.section-dot:hover,
.section-dot.active {
    background: var(--text-primary);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .section-nav {
        display: none;
    }
}

.floating-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 600px;
}

.float-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

[data-theme="light"] .float-card {
    background: rgba(21, 21, 21, 0.03);
    border: 1px solid rgba(21, 21, 21, 0.1);
}

.float-card:nth-child(1) {
    animation-delay: 0s;
}

.float-card:nth-child(2) {
    animation-delay: 0.5s;
}

.float-card:nth-child(3) {
    animation-delay: 1s;
}

.float-card:nth-child(4) {
    animation-delay: 1.5s;
}

.float-card:nth-child(5) {
    animation-delay: 2s;
}

.float-card:nth-child(6) {
    animation-delay: 2.5s;
}

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

.float-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    animation-play-state: paused;
    transform: translateY(-15px) scale(1.05);
}

[data-theme="light"] .float-card:hover {
    border-color: rgba(21, 21, 21, 0.15);
    background: rgba(21, 21, 21, 0.05);
}

.float-card svg {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.float-card h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.float-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.partners {
    padding: 5rem 5%;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.partners-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.partners-text {
    max-width: 400px;
}

.partners-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.partners-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.partner-item {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/10;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-item img {
    max-height: 50px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
}

.partner-item:hover {
    background: var(--glass-bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.partner-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .partners-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .partners-text {
        max-width: 100%;
    }
}

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

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .partner-item {
        padding: 1rem;
    }
    .partner-item img {
        max-height: 35px;
    }
}

@media (max-width: 768px) {
    .floating-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .floating-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 100%;
    }
    .float-card {
        padding: 1rem;
    }
    .float-card svg {
        width: 24px;
        height: 24px;
        margin-bottom: 0.5rem;
    }
    .float-card h4 {
        font-size: 0.8rem;
    }
    .float-card p {
        font-size: 0.65rem;
    }
}

section {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--accent-dim);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.services {
    max-width: 1200px;
    margin: 0 auto;
}

.services-category {
    margin-bottom: 4rem;
}

.services-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-4px);
}

.service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    color: var(--text-primary);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

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

.about {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-tag {
    margin-bottom: 1rem;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.glass-panel {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1;
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    height: 100%;
}

.grid-item {
    background: var(--accent-dim);
    border: 1px solid var(--border);
    border-radius: 16px;
    animation: pulse 3s ease-in-out infinite;
}

.grid-item:nth-child(2) {
    animation-delay: 0.5s;
}

.grid-item:nth-child(3) {
    animation-delay: 1s;
}

.grid-item:nth-child(4) {
    animation-delay: 1.5s;
}

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

.portfolio {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    overflow: hidden;
}

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

.portfolio-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .placeholder-img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 21, 21, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay svg {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
}

[data-theme="light"] .portfolio-overlay {
    background: rgba(245, 240, 232, 0.8);
}

.gradient-1 {
    background: linear-gradient(135deg, #2a2a2a, #3d3d3d);
}

.gradient-2 {
    background: linear-gradient(135deg, #3d3d3d, #4a4a4a);
}

.gradient-3 {
    background: linear-gradient(135deg, #4a4a4a, #5a5a5a);
}

.gradient-4 {
    background: linear-gradient(135deg, #5a5a5a, #6a6a6a);
}

[data-theme="light"] .gradient-1 {
    background: linear-gradient(135deg, #d4cfc7, #c4bfb6);
}

[data-theme="light"] .gradient-2 {
    background: linear-gradient(135deg, #c4bfb6, #b4afa6);
}

[data-theme="light"] .gradient-3 {
    background: linear-gradient(135deg, #b4afa6, #a49f96);
}

[data-theme="light"] .gradient-4 {
    background: linear-gradient(135deg, #a49f96, #948f86);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.cta-content {
    text-align: center;
    padding: 4rem;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

a.contact-item {
    text-decoration: none;
    color: inherit;
}

.contact-item {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

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

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
    color: var(--text-primary);
}

.contact-item h4 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-form {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--accent-dim);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-secondary);
    background: var(--glass-bg-hover);
}

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

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 4rem 5% 2rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 280px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-dim);
    border-color: var(--border-hover);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.social-icon:hover svg {
    color: var(--text-primary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-terminal {
        margin: 0 auto 2.5rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        width: 100%;
        min-height: 280px;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-text {
        text-align: center;
    }
    .about-text .section-title {
        text-align: center;
    }
    .stats-row {
        justify-content: center;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-brand {
        text-align: center;
    }
    .footer-brand p {
        margin: 1rem auto 0;
    }
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-primary);
        backdrop-filter: var(--blur);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-actions .cta-btn {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }
    section {
        padding: 4rem 5%;
    }
    .cta-content {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .primary-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 1.5rem;
    }
}

.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 2rem 4rem;
}

.page-hero-content {
    max-width: 800px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

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

.services-page {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-header {
    margin-bottom: 3rem;
    max-width: 700px;
}

.category-number {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-accent);
    display: block;
    margin-bottom: 0.5rem;
}

.category-title-large {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.service-card-detailed {
    padding: 2rem;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon-large {
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-large svg {
    width: 24px;
    height: 24px;
    color: var(--text-accent);
}

.service-card-detailed h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--text-accent);
    border-radius: 50%;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tech span {
    padding: 0.3rem 0.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.process-section {
    padding: 5rem 2rem;
    background: var(--glass-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.step-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-accent);
    opacity: 0.3;
    display: block;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

.about-story {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.story-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.story-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.story-visual {
    padding: 3rem;
    text-align: center;
}

.year-badge {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 1rem;
}

.location-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.location-badge svg {
    width: 20px;
    height: 20px;
}

.mission-vision {
    padding: 4rem 2rem;
    background: var(--glass-bg);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.mv-card {
    padding: 2.5rem;
    text-align: center;
}

.mv-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-accent);
}

.mv-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mv-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.values-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    padding: 2rem;
    text-align: center;
}

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-accent);
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

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

.stats-section {
    padding: 4rem 2rem;
    background: var(--glass-bg);
}

.stats-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    padding: 2rem;
    text-align: center;
}

.stat-number-large {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-accent);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label-large {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.team-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.team-card {
    padding: 2rem;
    text-align: center;
    width: 300px;
    flex-shrink: 0;
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--text-accent), var(--glass-bg));
    opacity: 0.5;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--text-accent);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.team-card>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.team-social a:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.team-social svg {
    width: 18px;
    height: 18px;
}

.portfolio-page {
    padding: 2rem 2rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--glass-bg);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.portfolio-grid-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-card {
    overflow: hidden;
}

.portfolio-image-large {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.portfolio-image-large .placeholder-img {
    width: 100%;
    height: 100%;
}

.portfolio-overlay-full {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay-full {
    opacity: 1;
}

.portfolio-category {
    font-size: 0.8rem;
    color: var(--text-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.portfolio-view-btn {
    padding: 0.6rem 1.25rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.portfolio-view-btn:hover {
    background: var(--text-secondary);
}

.portfolio-details {
    padding: 1.5rem;
}

.portfolio-details h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.portfolio-details>p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portfolio-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portfolio-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tech-stack span {
    padding: 0.25rem 0.6rem;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.portfolio-stats {
    display: flex;
    gap: 2rem;
}

.portfolio-stats .stat {
    display: flex;
    flex-direction: column;
}

.portfolio-stats .stat strong {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-accent);
}

.portfolio-stats .stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.gradient-5 {
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
}

.gradient-6 {
    background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
}

.gradient-7 {
    background: linear-gradient(135deg, #f97316 0%, #eab308 100%);
}

.gradient-8 {
    background: linear-gradient(135deg, #ef4444 0%, #ec4899 100%);
}

.testimonials-section {
    padding: 5rem 2rem;
    background: var(--glass-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 2rem;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.quote-icon {
    width: 32px;
    height: 32px;
    color: var(--text-accent);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--text-accent), var(--glass-bg));
    border-radius: 50%;
    opacity: 0.5;
}

.author-info strong {
    display: block;
    font-size: 0.95rem;
}

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

.contact-page {
    padding: 2rem 2rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-detailed {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-section h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.info-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-method:hover {
    transform: translateX(8px);
    border-color: var(--border-hover);
    text-decoration: none;
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-accent);
}

.method-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.method-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.method-action {
    font-size: 0.85rem;
    color: var(--text-accent);
}

.social-section h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.social-links-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.social-link-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link-card:hover {
    border-color: var(--border-hover);
    text-decoration: none;
}

.social-link-card:hover svg {
    color: var(--text-accent);
}

.social-link-card svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.social-link-card span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hours-section {
    padding: 1.5rem;
}

.hours-section h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-form-wrapper {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.schedule-meeting {
    padding: 2.5rem;
    text-align: center;
}

.schedule-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 50%;
}

.schedule-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-accent);
}

.schedule-meeting h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.schedule-meeting p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.collapsible-form {
    overflow: hidden;
}

.collapsible-header {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.collapsible-header:hover {
    background: var(--glass-bg-hover);
}

.collapsible-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.collapsible-title svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-accent);
}

.collapsible-title span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
}

.chevron-icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-secondary);
    transition: transform 0.3s ease;
}

.collapsible-form.active .chevron-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.collapsible-form.active .collapsible-content {
    max-height: 1200px;
}

.collapsible-content .contact-form-detailed {
    border-top: 1px solid var(--border);
}

.contact-form-detailed {
    padding: 2.5rem;
}

.contact-form-detailed h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-form-detailed>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.contact-form-detailed .form-group {
    margin-bottom: 1.25rem;
}

.contact-form-detailed label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.contact-form-detailed input,
.contact-form-detailed select,
.contact-form-detailed textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

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

.contact-form-detailed input:focus,
.contact-form-detailed select:focus,
.contact-form-detailed textarea:focus {
    outline: none;
    border-color: var(--text-accent);
}

.contact-form-detailed select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form-detailed select option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0.5rem;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-label a {
    color: var(--text-accent);
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.map-section {
    padding: 0 2rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.map-container {
    overflow: hidden;
    padding: 0;
}

.faq-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-item {
    padding: 1.5rem;
}

.faq-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .mv-grid {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-card {
        width: 280px;
    }
    .portfolio-grid-detailed {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        position: static;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 1.5rem 3rem;
    }
    .services-grid-detailed {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid-large {
        grid-template-columns: 1fr;
    }
    .team-card {
        width: 100%;
        max-width: 300px;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .social-links-large {
        grid-template-columns: 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }
    .filter-btn {
        flex-shrink: 0;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    margin: 2rem;
    animation: slideUp 0.3s ease;
}

.modal-body {
    overflow-y: auto;
    flex: 1;
    padding-right: 1rem;
    margin-right: -0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) transparent;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent-primary);
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-primary);
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.modal-body a {
    color: var(--accent-primary);
}

.modal-body:last-child {
    padding-bottom: 0.5rem;
}

.cta-card {
    text-align: center;
    padding: 3rem 2rem;
}

.cta-card .cta-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-card .cta-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--bg-primary);
}

.cta-card h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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