@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Unbounded:wght@300;400;500;600;700;800&display=swap');

/* ============================
   DESIGN TOKENS
   ============================ */
:root {
    /* Palette intemporelle — encre, pierre, ivoire */
    --primary: #1a1a1a;
    --primary-light: #3a3a3a;
    --accent: #c8b99a;
    /* pierre lunaire */
    --accent-dark: #9a8b72;
    /* encre chaude */
    --spark: #3D6FFF;
    /* saphir électrique — bleu ultraviolet */
    --spark-light: rgba(61, 111, 255, 0.1);
    --bg: #f4f2ef;
    /* ivoire légèrement chaud */
    --text: #111111;
    --text-secondary: #6b6459;
    --white: #ffffff;
    --glass-bg: rgba(244, 242, 239, 0.55);
    --glass-bg-strong: rgba(244, 242, 239, 0.85);
    --glass-border: rgba(200, 185, 154, 0.35);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-pill: 100px;
    --transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-fast: 0.25s ease;

    /* Texture text — encre & pierre avec touche de saphir */
    --texture-gradient: linear-gradient(135deg,
            #1a1a1a 0%,
            #3D6FFF 22%,
            #1a1a1a 40%,
            #6b5f4e 60%,
            #3D6FFF 78%,
            #1a1a1a 100%);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Subtle paper grain overlay */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.03em;
}

.nav-logo {
    font-family: 'Unbounded', sans-serif;
    letter-spacing: -0.04em;
}

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

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

/* ============================
   FLOATING ORBS (Background) — subtilisés
   ============================ */
.orbs {
    position: fixed;
    top: -200px;
    left: -200px;
    right: -200px;
    bottom: -200px;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
    /* Ensure blur doesn't get clipped */
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.18;
    will-change: transform;
}

.orb-1 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle at 40% 40%, var(--spark) 0%, rgba(61, 111, 255, 0.4) 60%, transparent 80%);
    top: -150px;
    left: -150px;
}

.orb-2 {
    width: 750px;
    height: 750px;
    background: radial-gradient(circle at 60% 50%, var(--spark) 0%, rgba(61, 111, 255, 0.2) 70%, transparent 90%);
    top: 30%;
    right: -180px;
}

.orb-3 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle at 50% 60%, var(--spark) 0%, rgba(61, 111, 255, 0.3) 70%, transparent 90%);
    bottom: -50px;
    left: 15%;
}

/* ============================
   GLASSMORPHISM CLASSES
   ============================ */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -150%;
    left: -150%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(200, 185, 154, 0.08) 50%,
            transparent 55%);
    transition: all 0.6s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.glass-panel:hover::before {
    top: -100%;
    left: -100%;
}

.glass-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(244, 242, 239, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(200, 185, 154, 0.4);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ============================
   TYPOGRAPHY — TEXTURE TEXT
   ============================ */

/* Texture text effect — encre & pierre scratché */
.texture-text {
    background: var(--texture-gradient);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textureShift 8s ease-in-out infinite;
}

@keyframes textureShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

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

.section-tag {
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-top: 1rem;
    color: var(--text);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.featured-image-wrapper {
    margin-top: 5rem;
    margin-bottom: 10rem;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--glass-border);
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.featured-image-wrapper:hover .featured-image {
    transform: scale(1.05);
}

/* ============================
   CONTAINER
   ============================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 2.5rem);
    position: relative;
    z-index: 1;
}

.section {
    padding: clamp(60px, 8vw, 120px) 0;
    position: relative;
}

/* ============================
   NAVIGATION
   ============================ */
.glass-nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(244, 242, 239, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(200, 185, 154, 0.35);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 0.7rem 1.5rem;
    width: auto;
    max-width: 90vw;
    transition: var(--transition);
}

.glass-nav.scrolled {
    background: rgba(244, 242, 239, 0.92);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.logo-img {
    height: 26px;
    width: auto;
    display: block;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-links a {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--spark-light);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--bg) !important;
    padding: 0.5rem 1.4rem !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-cta:hover {
    background: var(--spark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232, 98, 58, 0.3);
}

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

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    padding: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    width: 90vw;
    max-width: 400px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: 0.75rem 1rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    color: var(--text);
}

.mobile-menu a:hover {
    background: rgba(200, 185, 154, 0.15);
    color: var(--text);
}

/* ============================
   HERO
   ============================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
    /* Safety space for overlapping stats bar */
}

/* Video background */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    /* Subtle parallax via CSS transform on scroll (handled in JS) */
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay plus dense pour lisibilité sur image claire */
    background: linear-gradient(180deg,
            rgba(244, 242, 239, 0.25) 0%,
            rgba(244, 242, 239, 0.55) 50%,
            rgba(244, 242, 239, 0.92) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
    max-width: 960px;
}

.hero-badge {
    margin-bottom: 2.5rem;
}

.hero-title {
    font-size: clamp(3.2rem, 9vw, 7rem);
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 1.75rem;
    letter-spacing: -0.04em;
    color: var(--text);
}

.hero-title .line {
    display: block;
    min-height: 1.1em;
    /* Reserve space for typewriter effect */
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
    line-height: 1.9;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--spark);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(61, 111, 255, 0.3);
}

.btn-glow {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-glass {
    background: rgba(244, 242, 239, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(200, 185, 154, 0.4);
    color: var(--text);
}

.btn-glass:hover {
    background: rgba(244, 242, 239, 0.92);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================
   STATS BAR
   ============================ */
.stats-bar {
    position: relative;
    z-index: 2;
    margin-top: -60px;
    padding: 0 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

/* Each stat cell gets its own background so overflow:hidden on grid doesn’t clip content */
.stat {
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    background: var(--glass-bg-strong);
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(61, 111, 255, 0.15);
}

/* Stat value — number + suffix centered vertically */
.stat-value {
    display: inline-flex;
    align-items: center;
    gap: 0.2em;
    line-height: normal;
    margin-bottom: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    display: inline;
    letter-spacing: -0.04em;
}

/* Infinite symbol stat */
.stat-infinity {
    font-size: 2.8rem;
    background: var(--texture-gradient);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textureShift 6s ease-in-out infinite;
    display: inline-block;
    line-height: 1.3;
    padding: 0.1em 0.2em;
    overflow: visible;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--spark);
}

.stat-text-suffix {
    font-size: 1.1rem;
    margin-left: 0.4rem;
    text-transform: lowercase;
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat:hover {
    transform: translateY(-4px);
    background: rgba(244, 242, 239, 0.9);
    box-shadow: 0 8px 25px rgba(61, 111, 255, 0.1);
    transition: all 0.3s ease;
}

.stat:hover .stat-number {
    animation: magicPulse 1s ease-in-out infinite;
}

/* ============================
   SERVICES
   ============================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.service-card {
    padding: 2.5rem;
    transition: var(--transition);
    overflow: hidden;
    background: rgba(244, 242, 239, 0.45);
    border: 1px solid rgba(200, 185, 154, 0.25);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(232, 98, 58, 0.15);
    background: rgba(244, 242, 239, 0.95);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.service-card p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    filter: grayscale(1) opacity(0.5);
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    filter: grayscale(0) opacity(1);
    color: var(--spark);
}

.service-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.service-features li {
    padding: 0.3rem 0.85rem;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.service-features li:hover {
    background: var(--spark-light);
    color: var(--spark);
    transform: translateY(-2px);
}

/* ============================
   PROCESS
   ============================ */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    perspective: 1000px;
}

.process-step {
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 24px 64px rgba(61, 111, 255, 0.12);
    z-index: 10;
    background: rgba(244, 242, 239, 0.95);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--texture-gradient);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
    animation: textureShift 8s ease-in-out infinite;
}

.process-step:hover .step-number {
    animation: textureShift 2s ease-in-out infinite;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

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

/* Hide connectors in Grid mode as they take up cells */
.process-connector {
    display: none;
}

/* ============================
   PORTFOLIO / INSTAGRAM GRID
   ============================ */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.ig-grid .portfolio-item {
    grid-row: span 1 !important;
}

.ig-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    display: block;
}

.ig-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(0.15);
}

.ig-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0);
}

.ig-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,
            rgba(17, 11, 5, 0.82) 0%,
            rgba(17, 11, 5, 0.3) 50%,
            rgba(17, 11, 5, 0.05) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.ig-caption {
    color: #f4f2ef;
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.ig-item:hover .ig-caption {
    transform: translateY(0);
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 2rem);
}

.testimonial-card {
    padding: 1.5rem;
    transition: var(--transition);
    background: rgba(244, 242, 239, 0.4);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
}

.testimonial-stars {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    letter-spacing: 3px;
    background: var(--texture-gradient);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textureShift 10s ease-in-out infinite;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
    font-weight: 400;
}

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

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(200, 185, 154, 0.4);
    filter: grayscale(0.3);
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 700;
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.testimonials-section {
    padding-bottom: 40px;
}

/* ============================
   CONTACT CTA
   ============================ */
.contact-section {
    padding: 20px 0 100px;
}

.contact-wrapper {
    text-align: center;
}

.contact-big-text {
    display: block;
    font-size: clamp(3.5rem, 13vw, 10rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 2rem 0 1rem;
    padding-bottom: 0;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: -0.04em;
    overflow: visible;
    animation: floatingContact 5s ease-in-out infinite;
}

.contact-tagline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 1rem 0 2.5rem;
    letter-spacing: -0.01em;
}

@keyframes floatingContact {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Contact Email Button Hover Effect */
#contact-email-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#contact-email-btn .btn-text-default {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}

#contact-email-btn .btn-text-hover {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 80%);
    opacity: 0;
    color: white;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
    z-index: 2;
}

#contact-email-btn:hover .btn-text-default {
    transform: translateY(-80%);
    opacity: 0;
}

#contact-email-btn:hover .btn-text-hover {
    transform: translate(-50%, -50%);
    opacity: 1;
}

/* ============================
   PARALLAX LAYERS
   ============================ */
.parallax-section {
    position: relative;
    overflow: visible;
}

.parallax-layer {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(200, 185, 154, 0.25);
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-brand p {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-secondary);
}

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

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.footer-copy p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ============================
   ANIMATIONS
   ============================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0) scale(1) rotate(0);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-scale {
    transform: scale(0.92) translateY(20px);
}

/* GPT Effect Styles */
.gpt-type {
    position: relative;
    display: inline-block;
}

.gpt-type::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent-dark);
    margin-left: 4px;
    vertical-align: middle;
    animation: gptCursor 0.8s infinite;
    opacity: 0;
}

.gpt-type.typing::after {
    opacity: 1;
}

@keyframes gptCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 0.45;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes magicPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {

    .services-grid,
    .testimonials-grid,
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .ig-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .hamburger {
        display: flex;
    }

    .stats-grid,
    .services-grid,
    .testimonials-grid,
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-connector {
        display: none;
    }

    .process-timeline {
        flex-direction: column;
        gap: 1rem;
    }

    .process-step {
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(2.5rem, 9vw, 4.5rem);
    }

    .contact-big-text {
        font-size: clamp(2.8rem, 11vw, 6rem);
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

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

    .section {
        padding: 80px 0;
    }

    .container {
        padding: 0 1.25rem;
    }
}