/* ============================================
   PLUGGED — Digital Agency
   Premium CSS — From Scratch
   ============================================ */

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

:root {
    --bg: #0a0a0a;
    --bg-light: #111111;
    --bg-card: #161616;
    --text: #ffffff;
    --text-secondary: #888888;
    --text-muted: #555555;
    --accent: #c8ff00;
    --accent-dim: #a3cc00;
    --border: #222222;
    --radius: 12px;
    --radius-lg: 20px;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.76, 0, 0.24, 1);
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: auto; /* Lenis handles smooth scroll */
}

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

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

ul, ol {
    list-style: none;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

/* --- GRAIN OVERLAY --- */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* --- PRELOADER --- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    margin-bottom: 1.5rem;
}

.preloader-icon {
    width: 40px;
    height: auto;
    color: var(--accent);
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

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

.preloader-word {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text);
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--border);
    margin: 2rem auto 1rem;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.preloader-percent {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

/* --- CUSTOM CURSOR --- */
.cursor {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    pointer-events: none;
    mix-blend-mode: difference;
}

@media (hover: hover) and (pointer: fine) {
    .cursor {
        display: block;
    }
    body {
        cursor: none;
    }
    a, button, [data-cursor] {
        cursor: none;
    }
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--text);
    border-radius: 50%;
    position: absolute;
    top: -4px;
    left: -4px;
    transition: transform 0.1s var(--ease);
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: absolute;
    top: -20px;
    left: -20px;
    transition: all 0.15s var(--ease);
}

.cursor.active .cursor-ring {
    transform: scale(1.8);
    border-color: var(--accent);
    background: rgba(200, 255, 0, 0.06);
}

.cursor.action .cursor-ring {
    transform: scale(2.2);
    border-color: var(--accent);
    background: rgba(200, 255, 0, 0.08);
}

.cursor.action .cursor-dot {
    transform: scale(0);
}

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    mix-blend-mode: difference;
    transition: padding 0.4s var(--ease);
}

.nav.scrolled {
    padding: 1rem 3rem;
}

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

.nav-logo-icon {
    width: 28px;
    height: auto;
    color: var(--text);
    transition: color 0.3s;
}

.nav-logo:hover .nav-logo-icon {
    color: var(--accent);
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.accent-dot {
    color: var(--accent);
}

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.25rem 0;
    transition: opacity 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s var(--ease);
}

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

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

/* --- MOBILE MENU --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0s 0.5s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s var(--ease), visibility 0s;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}

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

.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

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

.mobile-menu-footer {
    position: absolute;
    bottom: 3rem;
}

.mobile-menu-footer a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.mobile-menu-footer a:hover {
    color: var(--accent);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 3rem 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 255, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
}

.hero-tag-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
}

.hero-tag-text {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

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

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.4s var(--ease);
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.hero-cta svg {
    transition: transform 0.3s var(--ease);
}

.hero-cta:hover svg {
    transform: translate(3px, -3px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    writing-mode: vertical-rl;
}

/* --- MARQUEE --- */
.marquee-section {
    padding: 2rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    padding: 0 1.5rem;
    color: var(--text-secondary);
}

.marquee-separator {
    font-size: 0.5rem;
    color: var(--accent);
    padding: 0 0.5rem;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- SECTIONS COMMON --- */
.section {
    padding: 8rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--accent);
    border-radius: 100px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
}

/* --- WORK GRID --- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    opacity: 0;
    transform: translateY(40px);
}

.work-card.large {
    grid-row: span 2;
}

.work-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-radius: var(--radius);
}

.work-card.large .work-card-media {
    aspect-ratio: 3/4;
    height: 100%;
}

.work-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-smooth);
}

.work-card:hover .work-card-media img {
    transform: scale(1.06);
}

.work-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.work-card:hover .work-card-overlay {
    opacity: 1;
}

/* OneTap card */
.work-card-media.onetap-bg {
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.work-card-media.onetap-bg img {
    object-fit: contain;
    width: 60%;
    height: auto;
}

/* Branding card with light bg for transparent logos */
.work-card-media.branding-bg {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.work-card-media.branding-bg img {
    object-fit: contain;
    width: 80%;
    height: auto;
}

.work-card-overlay span {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    transition: all 0.3s var(--ease);
}

.work-card:hover .work-card-overlay span {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.work-card-info {
    padding: 1.25rem 0;
}

.work-card-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.work-card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.work-card-tags span {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 100px;
}

/* --- HORIZONTAL REEL --- */
.reel-section {
    padding: 4rem 0;
    overflow: hidden;
}

.reel-track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
}

.reel-item {
    flex-shrink: 0;
    width: 350px;
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
}

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

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

/* --- SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.service-card {
    position: relative;
    padding: 3rem 2rem;
    border: 1px solid var(--border);
    border-right: none;
    transition: background 0.5s var(--ease);
    opacity: 0;
    transform: translateY(30px);
}

.service-card:last-child {
    border-right: 1px solid var(--border);
}

.service-card:hover {
    background: var(--bg-light);
}

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

.service-card-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out);
}

.service-icon {
    color: var(--accent);
    margin-bottom: 2rem;
}

.service-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

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

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

.service-list li {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateY(-50%);
}

/* --- STATS --- */
.stats-section {
    padding: 6rem 3rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    opacity: 0;
    transform: translateY(20px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* --- ABOUT --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-lead {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 2rem;
}

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

.about-body strong {
    color: var(--accent);
    font-weight: 600;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/5;
}

.about-image-reveal {
    position: absolute;
    inset: 0;
    background: var(--bg);
    z-index: 2;
    transform-origin: top;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.value-item {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.4s var(--ease);
    opacity: 0;
    transform: translateY(20px);
}

.value-item:hover {
    border-color: var(--accent);
    background: var(--bg-card);
}

.value-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
}

.value-item h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.value-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
    background: var(--bg-light);
    border-radius: 0;
    max-width: 100%;
    padding: 8rem 3rem;
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    transition: all 0.4s var(--ease);
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- CTA SECTION --- */
.cta-section {
    padding: 10rem 3rem;
    text-align: center;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1.25rem 3rem;
    background: var(--accent);
    color: var(--bg);
    border-radius: 100px;
    transition: all 0.4s var(--ease);
}

.cta-button:hover {
    background: var(--text);
    transform: scale(1.05);
}

.cta-button svg {
    transition: transform 0.3s var(--ease);
}

.cta-button:hover svg {
    transform: translate(3px, -3px);
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

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

.contact-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 500;
    transition: color 0.3s;
}

a.contact-value:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

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

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

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0 0.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
}

.form-group select option {
    background: var(--bg);
    color: var(--text);
}

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

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: -0.5rem;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.05em;
}

/* Placeholder trick for float labels */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group input:placeholder-shown ~ label,
.form-group textarea:placeholder-shown ~ label {
    top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line,
.form-group select:focus ~ .form-line {
    width: 100%;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    padding: 1.25rem 2.5rem;
    background: var(--accent);
    color: var(--bg);
    border-radius: 100px;
    transition: all 0.4s var(--ease);
    align-self: flex-start;
}

.submit-button:hover {
    background: var(--text);
    transform: scale(1.02);
}

.submit-button svg {
    transition: transform 0.3s var(--ease);
}

.submit-button:hover svg {
    transform: translate(3px, -3px);
}

/* --- FOOTER --- */
.footer {
    padding: 4rem 3rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 3rem;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-icon {
    width: 36px;
    height: auto;
    color: var(--accent);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.back-to-top:hover {
    color: var(--accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card:nth-child(2) {
        border-right: 1px solid var(--border);
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .testimonials-track {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    .section {
        padding: 5rem 1.5rem;
    }
    .work-grid {
        grid-template-columns: 1fr;
    }
    .work-card.large {
        grid-row: span 1;
    }
    .work-card.large .work-card-media {
        aspect-ratio: 4/5;
    }
    .reel-item {
        width: 260px;
        height: 340px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        border-right: 1px solid var(--border) !important;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .cta-section {
        padding: 6rem 1.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer {
        padding: 3rem 1.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .hero-scroll-indicator {
        display: none;
    }
    .testimonials-section {
        padding: 5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    .stat-number {
        font-size: 2.5rem;
    }
}

/* --- ANIMATIONS UTILITY --- */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
}

/* Magnetic button base */
.magnetic {
    position: relative;
}
