:root {
    --bg: #080808;
    --bg-surface: #0f0f0f;
    --bg-raised: #161616;
    --border: rgba(255, 255, 255, 0.06);
    --text-primary: #F0EEE8;
    --text-secondary: rgba(240, 238, 232, 0.55);
    --accent: #C8F04D;
    --accent-dim: rgba(200, 240, 77, 0.08);
    --accent-glow: rgba(200, 240, 77, 0.20);

    --font-heading: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #080808;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pre-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.pre-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(36px, 7vw, 64px);
    color: #F0EEE8;
    letter-spacing: -0.04em;
    opacity: 0;
    transform: translateY(16px);
    animation: preLogoIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.pre-x {
    color: #C8F04D;
}

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

.pre-bar-wrap {
    width: 160px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.4s ease 0.6s forwards;
}

.pre-bar {
    height: 100%;
    width: 0%;
    background: #C8F04D;
    border-radius: 99px;
    transition: width 0.05s linear;
}

.pre-tag {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(240, 238, 232, 0.25);
    opacity: 0;
    animation: fadeIn 0.4s ease 0.7s forwards;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    border-radius: 14px;
    z-index: 999;
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.18) 50%, transparent);
    border-radius: 99px;
    pointer-events: none;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--text-primary);
}

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

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

.nav-link {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    color: rgba(240, 238, 232, 0.5);
    transition: color 0.2s ease;
}

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

.btn-nav {
    border: 1px solid rgba(200, 240, 77, 0.35);
    color: var(--accent);
    background: transparent;
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-family: var(--font-body);
    font-weight: 500;
    transition: background 0.2s ease;
}

.btn-nav:hover {
    background: var(--accent-dim);
}

/* Mobile Nav Overlay */
.mobile-only {
    display: none;
}

.hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
}

.hamburger .line {
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

body.nav-open {
    overflow: hidden;
}

.nav-close {
    position: absolute;
    top: 20px;
    right: 5%;
    background: transparent;
    border: none;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

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

.nav-overlay-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 36px;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 0 5%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    /* Dot Grid */
    background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(to right, black 55%, transparent 100%);
    mask-image: linear-gradient(to right, black 55%, transparent 100%);
}

.hero-bg-glow {
    position: absolute;
    top: 55%;
    left: 25%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(200, 240, 77, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 320px;
    height: 320px;
    top: 15%;
    left: -80px;
    background: rgba(200, 240, 77, 0.06);
    filter: blur(140px);
}

.orb-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 40%;
    background: rgba(200, 240, 77, 0.04);
    filter: blur(100px);
}

.hero-accent-line {
    position: absolute;
    left: 0;
    top: 20%;
    height: 55vh;
    width: 1.5px;
    background: linear-gradient(to bottom, transparent, var(--accent) 40%, transparent);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero-content>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-content>*.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-headline {
    font-weight: 800;
    font-size: clamp(48px, 7.5vw, 96px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    display: flex;
    flex-direction: column;
}

.hero-line {
    display: block;
}

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

.line-2 {
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    align-self: flex-start;
}

.line-2::after {
    content: '';
    position: absolute;
    bottom: 8%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

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

.hero-subheadline {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 460px;
    margin-top: 28px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 52px;
}

.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    padding: 14px 30px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(200, 240, 77, 0.25);
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(240, 238, 232, 0.12);
    color: var(--text-primary);
}

.btn-ghost:hover {
    border-color: rgba(240, 238, 232, 0.35);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.chevron {
    width: 16px;
    height: 16px;
    border-right: 2px solid rgba(240, 238, 232, 0.2);
    border-bottom: 2px solid rgba(240, 238, 232, 0.2);
    transform: rotate(45deg);
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.3;
    }

    50% {
        transform: rotate(45deg) translate(8px, 8px);
        opacity: 1;
    }
}

/* Sections Base */
.section {
    padding: 120px 5%;
}

.section-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C8F04D;
    opacity: 1;
    margin-bottom: 16px;
}

.section-heading {
    font-weight: 700;
    font-size: clamp(32px, 4vw, 52px);
    color: #F0EEE8;
    opacity: 1;
    margin-bottom: 60px;
    line-height: 1.1;
}

/* Services */
.services {
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

.service-card {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 20px 40px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08) 50%, transparent);
    pointer-events: none;
}

.service-card:hover {
    background: #181818;
    border-color: rgba(200, 240, 77, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(200, 240, 77, 0.05);
}

.service-icon-box {
    width: 40px;
    height: 40px;
    background: rgba(200, 240, 77, 0.08);
    border: 1px solid rgba(200, 240, 77, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    background: rgba(200, 240, 77, 0.13);
    border-color: rgba(200, 240, 77, 0.25);
}

.service-title {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    margin-top: 24px;
}

.service-body {
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* Why Choose Us */
.why-us {
    background-color: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
}

.why-block {
    background: #131313;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-radius: 0;
    padding: 40px 36px;
    transition: all 0.3s ease;
}

.why-block:hover {
    background: #171717;
    border-color: rgba(255, 255, 255, 0.13);
}

.why-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.why-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.why-body {
    font-weight: 300;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Portfolio */
.portfolio {
    background-color: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.portfolio-card {
    width: 100%;
    height: auto;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: none;
}

.portfolio-card:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 240, 77, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-coffee {
    background: #131210;
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.card-coffee:hover {
    border-color: rgba(210, 160, 80, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(210, 160, 80, 0.04);
}

.card-ecommerce {
    background: #10111A;
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.card-ecommerce:hover {
    border-color: rgba(200, 240, 77, 0.2);
}

.card-realestate {
    background: #0f1412;
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.card-realestate:hover {
    border-color: rgba(80, 200, 150, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(80, 200, 150, 0.04);
}

.card-img-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 0;
}

@media (min-width: 1024px) {
    .card-img-wrap {
        height: 260px;
    }
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease, opacity 0.5s ease;
    filter: grayscale(20%) brightness(0.85);
    opacity: 0;
}

.card-img.img-loaded {
    opacity: 1;
}

.portfolio-card:hover .card-img {
    transform: scale(1.04);
    filter: grayscale(0%) brightness(0.95);
}

.card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 8, 8, 0.05) 0%,
        rgba(8, 8, 8, 0.0) 40%,
        rgba(8, 8, 8, 0.85) 100%
    );
    pointer-events: none;
}

.card-body {
    position: relative;
    padding: 28px 32px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.card-tag {
    background: rgba(200, 240, 77, 0.1);
    color: var(--accent);
    border-radius: 99px;
    padding: 5px 14px;
    font-size: 12px;
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 16px;
    align-self: flex-start;
}

.tag-coffee {
    background: rgba(210, 160, 80, 0.10);
    color: #D2A050;
    border: 1px solid rgba(210, 160, 80, 0.2);
}

.tag-ecommerce {
    background: rgba(200, 240, 77, 0.10);
    color: #C8F04D;
    border: 1px solid rgba(200, 240, 77, 0.2);
}

.tag-realestate {
    background: rgba(80, 200, 150, 0.10);
    color: #50C896;
    border: 1px solid rgba(80, 200, 150, 0.2);
}

.card-number {
    position: absolute;
    bottom: -20px;
    right: 24px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(80px, 12vw, 140px);
    color: rgba(255, 255, 255, 0.025);
    pointer-events: none;
    z-index: 0;
}

.card-bottom {
    margin-top: auto;
    padding-top: 12px;
}

.card-project-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(22px, 3vw, 30px);
    color: #F0EEE8;
    line-height: 1.2;
}

.card-project-sub {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 14px;
    color: rgba(240, 238, 232, 0.4);
    margin-top: 6px;
    line-height: 1.6;
}

.card-link {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    color: #C8F04D;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: letter-spacing 0.2s ease, opacity 0.2s ease;
}

.card-link:hover {
    letter-spacing: 0.06em;
    opacity: 0.8;
}

/* Contact Section */
.contact {
    background-color: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 60px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-input {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    width: 100%;
    transition: all 0.2s ease;
}

.form-input::placeholder {
    color: rgba(240, 238, 232, 0.25);
}

.form-input:focus {
    border-color: rgba(200, 240, 77, 0.4);
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 240, 77, 0.06);
}

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

.btn-submit {
    width: 100%;
    margin-top: 12px;
    padding: 15px;
}

.contact-text {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(240, 238, 232, 0.5);
}

.btn-whatsapp {
    margin-top: 32px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: #25D366;
    border-radius: 8px;
    padding: 14px 24px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease;
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.18);
}

.icon-whatsapp {
    color: #25D366;
}

.form-spinner,
.form-success,
.form-error {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 14px 18px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.form-spinner.visible,
.form-success.visible,
.form-error.visible {
    display: flex;
    animation: fadeSlideUp 0.4s ease forwards;
}

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

.form-spinner {
    color: rgba(240, 238, 232, 0.5);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.spinner-ring {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(200, 240, 77, 0.2);
    border-top-color: #C8F04D;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-success {
    color: #C8F04D;
    background: rgba(200, 240, 77, 0.05);
    border: 1px solid rgba(200, 240, 77, 0.15);
}

.form-error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
    border: 1px solid rgba(255, 107, 107, 0.15);
}

#form-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

#form-submit.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ━━━ UPGRADE 1: CUSTOM CURSOR ━━━ */
#cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #C8F04D;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

#cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(200, 240, 77, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), height 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease, opacity 0.2s ease;
    will-change: transform;
}

body.cursor-hover #cursor-dot {
    width: 8px;
    height: 8px;
    background: #C8F04D;
}

body.cursor-hover #cursor-ring {
    width: 56px;
    height: 56px;
    border-color: rgba(200, 240, 77, 0.8);
}

body.cursor-click #cursor-dot {
    width: 4px;
    height: 4px;
}

body.cursor-click #cursor-ring {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {

    #cursor-dot,
    #cursor-ring {
        display: none !important;
    }

    * {
        cursor: auto !important;
    }
}

/* ━━━ UPGRADE 2: SPOTLIGHT CARD EFFECT ━━━ */
.card-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    background: radial-gradient(280px circle at var(--x, 50%) var(--y, 50%),
            rgba(200, 240, 77, 0.06) 0%,
            transparent 70%);
    z-index: 1;
}

.service-card.spotlight-active .card-spotlight,
.portfolio-card.spotlight-active .card-spotlight {
    opacity: 1;
}

.service-card>*:not(.card-spotlight) {
    position: relative;
    z-index: 1;
}

.portfolio-card>*:not(.card-spotlight) {
    z-index: 1;
}

/* ━━━ UPGRADE 3: HERO HEADLINE TEXT REVEAL ━━━ */
.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    line-height: inherit;
    padding-bottom: 0.08em;
}

.word {
    display: inline-block;
    transform: translateY(105%);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    will-change: transform;
    transition-delay: var(--delay, 0ms);
}

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

/* Footer */
footer {
    background-color: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 40px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 16px;
    color: rgba(240, 238, 232, 0.3);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-copy {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 12px;
    color: rgba(240, 238, 232, 0.2);
}

.footer-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.footer-info-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 12px;
    color: rgba(240, 238, 232, 0.3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-divider {
    color: rgba(240, 238, 232, 0.15);
    font-size: 14px;
}

.footer-email {
    cursor: pointer;
}

.footer-email:hover {
    color: #C8F04D;
}

.footer-info-item svg {
    opacity: 0.5;
    flex-shrink: 0;
}

.footer-top {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 13px;
    color: rgba(240, 238, 232, 0.3);
    cursor: pointer;
    transition: color 0.2s ease;
}

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

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(240, 238, 232, 0.45);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(200, 240, 77, 0.06);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn:nth-child(1):hover {
    border-color: rgba(225, 48, 108, 0.4);
    color: #E1306C;
    box-shadow: 0 4px 20px rgba(225, 48, 108, 0.15);
}

.social-btn:nth-child(1):hover::before {
    background: rgba(225, 48, 108, 0.06);
}

.social-btn:nth-child(2):hover {
    border-color: rgba(24, 119, 242, 0.4);
    color: #1877F2;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.15);
}

.social-btn:nth-child(2):hover::before {
    background: rgba(24, 119, 242, 0.06);
}

.social-btn:nth-child(3):hover {
    border-color: rgba(10, 102, 194, 0.4);
    color: #0A66C2;
    box-shadow: 0 4px 20px rgba(10, 102, 194, 0.15);
}

.social-btn:nth-child(3):hover::before {
    background: rgba(10, 102, 194, 0.06);
}

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

.social-btn:hover svg {
    transform: scale(1.15);
}

.social-label {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(240, 238, 232, 0.25);
    margin-bottom: 14px;
    margin-top: 32px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav {
        width: calc(100% - 24px);
        top: 10px;
        border-radius: 10px;
        padding: 12px 18px;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .hero-headline {
        font-size: clamp(42px, 11vw, 64px);
    }

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

    .btn {
        width: 100%;
    }

    .hero-accent-line {
        display: none;
    }

    .hero {
        background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
        -webkit-mask-image: none;
        mask-image: none;
    }

    .section-heading {
        font-size: clamp(30px, 8vw, 40px);
    }

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

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

    .why-block {
        padding: 32px 24px;
    }

    .card-img-wrap {
        height: 180px;
    }

    .card-body {
        padding: 20px 20px 24px;
    }

    .card-number {
        font-size: 72px;
    }

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

    .contact-info-container {
        grid-row: 2;
    }

    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        padding: 32px 20px;
    }

    .footer-logo, .footer-socials, .footer-info, .footer-copy, .footer-top {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-logo {
        order: 1;
    }

    .footer-socials {
        order: 2;
    }

    .footer-info {
        order: 3;
        flex-direction: column;
        gap: 8px;
    }

    .footer-divider {
        display: none;
    }

    .footer-copy {
        order: 4;
    }

    .footer-top {
        order: 5;
        font-size: 12px;
        color: rgba(240, 238, 232, 0.25);
        margin-top: 4px;
    }
}