/* ============================================
   Visual Square - Design & Printing Studio
   Color Palette from Logo:
   - Primary Black: #000000
   - Accent Coral: #E8875A
   ============================================ */

:root {
    /* Colors */
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-coral: #F57D4B;
    --color-coral-light: #F7A47D;
    --color-coral-dark: #B5491F;
    --color-coral-soft: #FDEDE4;
    --color-cream: #FBF6F3;
    --color-cream-strong: #F5ECE6;
    --color-gray-100: #F8F6F4;
    --color-gray-200: #EFE7E1;
    --color-gray-300: #DFD7D1;
    --color-gray-400: #BDBDBD;
    --color-gray-500: #9E9E9E;
    --color-gray-600: #757575;
    --color-gray-700: #616161;
    --color-gray-800: #424242;
    --color-gray-900: #212121;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.8s;
    --border: 1px solid var(--color-gray-200);
    --container: 1400px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-gray-900);
    background: var(--color-white);
    overflow-x: hidden;
    cursor: auto;
}

::selection {
    background: var(--color-coral);
    color: var(--color-white);
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(245, 125, 75, 0.35);
    outline-offset: 3px;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--color-coral);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
    mix-blend-mode: difference;
    display: none;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-coral);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
    display: none;
}

@media (pointer: fine) {
    .cursor,
    .cursor-follower {
        display: block;
    }

    body {
        cursor: none;
    }
}

body.cursor-hover .cursor {
    transform: translate(-50%, -50%) scale(3);
    background: var(--color-coral);
    mix-blend-mode: normal;
}

body.cursor-hover .cursor-follower {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
}

@media (max-width: 768px) {
    .cursor, .cursor-follower { display: none; }
    body { cursor: auto; }
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.loader-logo {
    height: 96px;
    width: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: loaderText 0.8s var(--ease-out) forwards;
}

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

@keyframes loaderText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.25rem var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 36px rgba(20, 20, 20, 0.06);
    padding: 0.75rem var(--space-xl);
    border-bottom: var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 56px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-divider {
    display: block;
    width: 1px;
    height: 32px;
    background: var(--color-gray-200);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-coral);
    transition: width 0.3s var(--ease-out);
}

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

.nav-link-cta {
    padding: 0.75rem 1.25rem;
    background: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    border-radius: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: var(--color-coral);
    border-color: var(--color-coral);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-black);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:first-child {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav {
        padding: var(--space-sm) var(--space-md);
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--color-black);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    width: min(82vw, 360px);
}

.mobile-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-gray-800);
    margin: var(--space-xs) 0;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-white);
    width: 100%;
    border-bottom: 1px solid var(--color-gray-800);
    padding-bottom: var(--space-sm);
    opacity: 0;
    transform: translateY(20px);
    transition: color 0.3s ease, opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }

.mobile-link:hover {
    color: var(--color-coral);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 9rem var(--space-xl) var(--space-3xl);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(251, 246, 243, 0.96), rgba(255, 255, 255, 0.84)),
        radial-gradient(circle at 84% 24%, rgba(245, 125, 75, 0.16), transparent 34%);
}

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

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
}

.hero-content {
    width: min(100%, 1180px);
    max-width: 1180px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 1.2s forwards;
}

.tag-line {
    width: 40px;
    height: 2px;
    background: var(--color-coral);
}

.tag-text {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray-600);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.6rem, 8.2vw, 8rem);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: 0;
    max-width: 1100px;
    min-height: 3.25em;
    margin-bottom: var(--space-lg);
}

.hero-title.is-changing .title-word {
    opacity: 0;
    transform: translateY(18%);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 0.8s var(--ease-out) forwards;
}

.title-line:nth-child(1) .title-word:nth-child(1) { animation-delay: 1.3s; }
.title-line:nth-child(1) .title-word:nth-child(2) { animation-delay: 1.4s; }
.title-line:nth-child(2) .title-word:nth-child(1) { animation-delay: 1.5s; }
.title-line:nth-child(2) .title-word:nth-child(2) { animation-delay: 1.6s; }
.title-line:nth-child(3) .title-word:nth-child(1) { animation-delay: 1.7s; }
.title-line:nth-child(3) .title-word:nth-child(2) { animation-delay: 1.8s; }

.title-word.accent {
    color: var(--color-coral);
    font-style: italic;
}

.hero-title.is-ready .title-word {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

.hero-title.is-ready.is-changing .title-word {
    opacity: 0;
    transform: translateY(18%);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

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

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

.hero-desc {
    max-width: 690px;
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.75;
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 2s forwards;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-xl);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 2.1s forwards;
}

.hero-proof span {
    border: var(--border);
    background: rgba(255, 255, 255, 0.72);
    padding: 0.45rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gray-700);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 2.25s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.btn-primary:hover {
    background: var(--color-coral);
    border-color: var(--color-coral);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 125, 75, 0.22);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translate(3px, -3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.74);
    color: var(--color-black);
    border-color: var(--color-gray-300);
}

.btn-secondary:hover {
    background: var(--color-coral-soft);
    border-color: var(--color-coral);
    color: var(--color-coral-dark);
}

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

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-500);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 2.4s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gray-300), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--color-coral);
    animation: scrollIndicator 2s ease-in-out infinite;
}

@keyframes scrollIndicator {
    0%, 100% { transform: translateY(-100%); }
    50% { transform: translateY(300%); }
}

/* Section Headers */
.section-header {
    margin-bottom: var(--space-2xl);
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}

.section-number {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-coral);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.section-desc {
    max-width: 720px;
    margin-top: var(--space-sm);
    color: var(--color-gray-600);
    font-size: 1rem;
    line-height: 1.75;
}

.accent {
    color: var(--color-coral);
    font-style: italic;
}

/* Services Section */
.services {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--color-cream);
    border-top: var(--border);
    border-bottom: var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border: var(--border);
    border-radius: 0;
    position: relative;
    overflow: hidden;
    min-height: 100%;
    transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 125, 75, 0.5);
    box-shadow: 0 18px 50px rgba(20, 20, 20, 0.08);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-md);
    border: var(--border);
    background: var(--color-cream);
    padding: 0.85rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-black);
    transition: stroke 0.3s ease;
}

.service-card:hover .service-icon svg {
    stroke: var(--color-coral);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.service-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.service-list li {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
    background: var(--color-gray-100);
    border: var(--border);
    border-radius: 0;
    color: var(--color-gray-700);
    transition: background 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-list li {
    background: rgba(232, 135, 90, 0.1);
    color: var(--color-coral-dark);
}

/* Portfolio Section */
.portfolio {
    padding: var(--space-3xl) var(--space-xl);
    background: var(--color-white);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: none;
    border: 1px solid var(--color-gray-300);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border: var(--border);
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-cream);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.06));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    opacity: 1;
    transition: opacity 0.4s ease;
}

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

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

.portfolio-cat {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-coral);
    margin-bottom: var(--space-xs);
    transform: translateY(10px);
    transition: transform 0.4s var(--ease-out) 0.1s;
}

.portfolio-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-white);
    transform: translateY(10px);
    transition: transform 0.4s var(--ease-out) 0.15s;
}

.portfolio-item:hover .portfolio-cat,
.portfolio-item:hover .portfolio-title {
    transform: translateY(0);
}

.portfolio-item.hidden {
    display: none;
}

/* About Section */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    border-top: var(--border);
    border-bottom: var(--border);
}

.about-content {
    padding: var(--space-3xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-white);
}

.about-text {
    margin-bottom: var(--space-2xl);
}

.about-lead {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

.about-text p:last-child {
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    border-right: var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--color-coral);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.about-visual {
    position: relative;
    background: var(--color-cream);
}

.about-img-wrap {
    position: absolute;
    inset: var(--space-xl);
    border: var(--border);
    background: var(--color-white);
    padding: var(--space-sm);
}

.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.about-img-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--color-coral);
    border-radius: 0;
    z-index: -1;
}

@media (max-width: 968px) {
    .hero {
        padding-top: 8rem;
    }

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

    .about-visual {
        min-height: 400px;
    }

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

    .stat {
        border-right: 0;
        border-bottom: var(--border);
    }

    .stat:last-child {
        border-bottom: 0;
    }
}

/* Contact Section */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-black);
    color: var(--color-white);
}

.contact-info {
    padding: var(--space-3xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info .section-title {
    color: var(--color-white);
}

.contact-lead {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-coral);
}

.contact-item address,
.contact-item a {
    font-style: normal;
    font-size: 1.125rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 1;
    color: var(--color-coral);
}

.contact-form {
    background: #171717;
    padding: var(--space-3xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-400);
    margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-black);
    border: 1px solid var(--color-gray-700);
    border-radius: 0;
    color: var(--color-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-coral);
    box-shadow: 0 0 0 3px rgba(232, 135, 90, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239E9E9E' 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: 3rem;
}

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

.contact-form .btn-primary {
    margin-top: var(--space-sm);
}

@media (max-width: 968px) {
    .contact {
        grid-template-columns: 1fr;
    }

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

/* Footer */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-3xl) var(--space-xl) var(--space-lg);
    border-top: 1px solid var(--color-gray-800);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    height: 72px;
    width: auto;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
}

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

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-coral);
    margin-bottom: var(--space-md);
}

.footer-col a {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    padding: 0.375rem 0;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-gray-800);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gray-700);
    border-radius: 0;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--color-coral);
    background: var(--color-coral);
}

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

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

/* Language Toggle Button */
.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-family: var(--font-body);
    background: none;
    border: 1.5px solid var(--color-gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    margin-left: var(--space-xs);
}

.lang-toggle:hover {
    border-color: var(--color-coral);
    background: var(--color-coral);
}

.lang-toggle:hover .lang-label {
    color: var(--color-white);
}

.lang-label {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    color: var(--color-gray-600);
    transition: color 0.3s ease;
}

.lang-toggle.active {
    border-color: var(--color-coral);
    background: var(--color-coral);
}

.lang-toggle.active .lang-label {
    color: var(--color-white);
}

.mobile-lang {
    margin-top: var(--space-md);
    width: 48px;
    height: 48px;
    border-color: var(--color-gray-600);
}

.mobile-lang .lang-label {
    color: var(--color-gray-400);
    font-size: 0.75rem;
}

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

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .cursor,
    .cursor-follower {
        display: none !important;
    }

    body {
        cursor: auto;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .hero {
        padding: 7rem var(--space-md) var(--space-2xl);
    }

    .hero-title {
        font-size: clamp(3rem, 16vw, 4.4rem);
        min-height: 3.4em;
    }

    .hero-cta {
        flex-direction: column;
    }

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

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .portfolio-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services,
    .portfolio,
    .about-content,
    .contact-info,
    .contact-form,
    .footer {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .hero-scroll {
        left: var(--space-md);
    }
}
