:root {
    --ink: #0C0C0C;
    --paper: #FFFFFF;
    --signal: #E8390E;
    --signal-light: #FF5733;
    --mist: #B8B4AC;
    --card: #FFFFFF;
    --border: rgba(12, 12, 12, 0.1);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(12, 12, 12, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#nav.scrolled {
    box-shadow: 0 4px 24px rgba(12, 12, 12, 0.08);
}

/* ── HAMBURGER ── */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
#mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

#mobile-menu.open {
    transform: translateX(0);
}

/* ── REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ── HERO ── */
.hero-bg {
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 57, 14, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* ── MARQUEE ── */
.marquee-wrap {
    overflow: hidden;
    background: var(--signal);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0) }
    100% { transform: translateX(-50%) }
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--signal);
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 14px 28px;
    border-radius: 4px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    touch-action: manipulation;
}

.btn-primary:hover {
    background: #c42e08;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(232, 57, 14, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--ink);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 13px 28px;
    border-radius: 4px;
    border: 1.5px solid var(--ink);
    transition: background 0.25s, color 0.25s, transform 0.2s;
    cursor: pointer;
    text-decoration: none;
    touch-action: manipulation;
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-1px);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 13px 28px;
    border-radius: 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    transition: background 0.25s, transform 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* ── SERVICE CARDS ── */
.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--signal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(12, 12, 12, 0.08);
    border-color: rgba(232, 57, 14, 0.2);
}

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

/* ── WORK CARDS ── */
.work-card {
    border-radius: 8px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(12, 12, 12, 0.12);
}

.work-card .thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .thumb img {
    transform: scale(1.05);
}

/* ── SEO BADGE ── */
.seo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(232, 57, 14, 0.08);
    border: 1px solid rgba(232, 57, 14, 0.2);
    color: var(--signal);
    border-radius: 99px;
    padding: 5px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 400;
}

.seo-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--signal);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1) }
    50% { opacity: 0.5; transform: scale(1.3) }
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}
.faq-icon {
    width: 28px;
    height: 28px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
    font-size: 1rem;
}
.faq-item.open .faq-icon {
    background: var(--signal);
    border-color: var(--signal);
    color: white;
    transform: rotate(45deg);
}
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-body-inner {
    padding: 0 0 20px;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(12, 12, 12, 0.6);
    font-weight: 400;
}

/* ── PROCESS STEPS ── */
.step-line {
    width: 2px;
    background: linear-gradient(to bottom, var(--signal) 0%, rgba(232, 57, 14, 0.1) 100%);
    height: 100%;
    margin-left: 19px;
    opacity: 0.3;
}
.step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}
.reveal.visible .step-dot {
    border-color: var(--signal);
    background: var(--signal);
    color: white;
    box-shadow: 0 0 0 6px rgba(232, 57, 14, 0.1);
}

/* ── STAT ── */
.stat-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2.5rem, 7vw, 4rem);
    line-height: 1;
    color: var(--ink);
}

/* ── TESTIMONIAL ── */
.testi-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
}

/* ── FORM ── */
.form-field {
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 14px 16px;
    width: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    background: white;
    color: var(--ink);
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
}
.form-field:focus {
    border-color: var(--signal);
    box-shadow: 0 0 0 3px rgba(232, 57, 14, 0.1);
}

/* ── FOOTER ── */
footer { background: var(--ink); }

/* ── STICKY CTA (Mobile) ── */
#sticky-cta { display: none; }
@media (max-width: 767px) {
    #sticky-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 80;
        padding: 12px 16px;
        background: rgba(246, 243, 238, 0.95);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--border);
        gap: 10px;
    }
    #sticky-cta a {
        flex: 1;
        text-align: center;
        justify-content: center;
        font-size: 0.85rem;
        padding: 12px 16px;
    }
    body { padding-bottom: 72px; }
}

/* ── SCROLL TO TOP ── */
#scroll-top {
    position: fixed;
    bottom: 90px;
    right: 16px;
    z-index: 80;
    width: 44px;
    height: 44px;
    background: var(--ink);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 4px 16px rgba(12, 12, 12, 0.25);
}
#scroll-top.show { opacity: 1; transform: scale(1); }
@media (min-width: 768px) { #scroll-top { bottom: 24px; right: 24px; } }

/* ── TAG ── */
.tag {
    display: inline-block;
    background: rgba(12, 12, 12, 0.06);
    color: rgba(12, 12, 12, 0.6);
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
}

/* ── SECTION LABEL ── */
.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--signal);
}

/* ── HEADING ── */
h2.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    line-height: 1.1;
}
.text-gradient {
    background: linear-gradient(135deg, var(--signal) 0%, #ff7043 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── WHATSAPP FLOAT ── */
#whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}
@media (max-width: 767px) {
    #whatsapp-float { bottom: 80px; left: 16px; width: 50px; height: 50px; }
}

/* Animation */
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 9s ease-in-out infinite; animation-delay: 2s; }
