:root {
    --bg: #fafafa;
    --bg-soft: #f2f2f0;
    --text: #1a1a1a;
    --text-secondary: #555;
    --accent: #398183;
    --accent-light: #e8f4f4;
    --accent-dark: #2c6668;
    --accent2: #4db8a4;
    --border: rgba(0, 0, 0, 0.07);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --radius: 16px
}

.oxmo-realisations-widget * {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

/* Scoped cursor styles to avoid conflict if not in widget */
.oxmo-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform .2s ease, background .2s ease;
    top: 0;
    left: 0;
    display: none;
    /* Hidden by default until JS active */
}

.oxmo-cursor.active {
    display: block;
}

.oxmo-cursor.hover {
    transform: scale(2.5);
    background: rgba(57, 129, 131, 0.1)
}

.oxmo-cursor-dot {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10001;
    top: 0;
    left: 0;
    display: none;
}

.oxmo-cursor-dot.active {
    display: block;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 60px 50px 80px;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(57, 129, 131, .05) 0%, transparent 70%);
    top: -15%;
    right: -10%;
    border-radius: 50%;
    animation: floatBlob 12s ease-in-out infinite
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(77, 184, 164, .04) 0%, transparent 70%);
    bottom: -10%;
    left: -5%;
    border-radius: 50%;
    animation: floatBlob 10s ease-in-out infinite reverse
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    33% {
        transform: translate(30px, -20px) scale(1.05)
    }

    66% {
        transform: translate(-20px, 15px) scale(.97)
    }
}

.hero-deco {
    position: absolute;
    border: 1px solid var(--border);
    border-radius: 50%;
    opacity: .5
}

.hero-deco:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation: floatBlob 8s ease-in-out infinite
}

.hero-deco:nth-child(2) {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 10%;
    animation: floatBlob 6s ease-in-out infinite reverse
}

.hero-deco:nth-child(3) {
    width: 50px;
    height: 50px;
    top: 25%;
    right: 15%;
    border-color: var(--accent);
    opacity: .15;
    animation: floatBlob 10s ease-in-out infinite
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: var(--accent-light);
    border-radius: 100px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp .8s ease .2s forwards;
    position: relative;
    z-index: 1
}

.hero-badge .badge-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.4)
    }
}

.hero-badge span {
    font-size: .72rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase
}

.hero-title {
    /* font-size: clamp(3rem, 10vw, 8rem); Handled by Elementor Typography Control */
    line-height: 1;
    text-align: center;
    font-weight: 700;
    letter-spacing: -3px;
    position: relative;
    z-index: 1
}

.hero-title .word {
    display: inline-block;
    overflow: hidden
}

.hero-title .word span {
    display: inline-block;
    transform: translateY(120%);
    animation: heroReveal 1s cubic-bezier(.22, 1, .36, 1) forwards
}

.hero-title .word:nth-child(1) span {
    animation-delay: .3s
}

.hero-title .word:nth-child(2) span {
    animation-delay: .45s
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 700
}

@keyframes heroReveal {
    to {
        transform: translateY(0)
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-top: 32px;
    max-width: 520px;
    text-align: center;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp .8s ease .6s forwards;
    position: relative;
    z-index: 1
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeInUp .8s ease .9s forwards
}

.scroll-indicator span {
    font-size: .6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary)
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--border);
    position: relative;
    overflow: hidden
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollDown 1.5s ease infinite
}

@keyframes scrollDown {
    0% {
        top: -100%
    }

    100% {
        top: 100%
    }
}

.marquee-container {
    padding: 22px 0;
    background: var(--bg-soft);
    overflow: hidden
}

.marquee {
    display: flex;
    animation: marquee 25s linear infinite;
    white-space: nowrap
}

.marquee-item {
    font-size: .72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    padding: 0 35px;
    flex-shrink: 0
}

.marquee-item .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 35px;
    vertical-align: middle
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 70px 60px;
    max-width: 1200px;
    margin: 0 auto
}

.stat {
    text-align: center;
    position: relative
}

.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--border)
}

.stat-number {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1
}

.stat-number span {
    color: var(--accent)
}

.stat-label {
    font-size: .7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-top: 12px
}

.projects-section {
    padding: 100px 60px 60px;
    max-width: 1400px;
    margin: 0 auto
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border)
}

.section-title {
    /* font-size: clamp(1.8rem, 4vw, 3.2rem); Handled by Elementor Typography Control */
    font-weight: 700;
    line-height: 1.2;
    max-width: 550px
}

.section-title em {
    font-style: normal;
    color: var(--accent);
    position: relative
}

.section-title em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-light);
    z-index: -1;
    border-radius: 2px
}

.section-counter {
    font-size: .72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-align: right
}

.section-counter .big {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1
}

.project {
    margin-bottom: 120px
}

.project-inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(.22, 1, .36, 1)
}

.project-inner.visible {
    opacity: 1;
    transform: translateY(0)
}

.project:nth-child(even) .project-inner {
    grid-template-columns: .85fr 1.15fr;
    direction: rtl
}

.project:nth-child(even) .project-inner>* {
    direction: ltr
}

.project-visual {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--bg-soft);
    box-shadow: var(--shadow-lg);
    transition: box-shadow .5s ease, transform .5s ease
}

.project-visual:hover {
    box-shadow: 0 25px 70px rgba(57, 129, 131, .12);
    transform: translateY(-4px)
}

.project-browser {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 38px;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 7px;
    z-index: 3;
    border-bottom: 1px solid var(--border)
}

.browser-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%
}

.browser-dot:nth-child(1) {
    background: #ff5f57
}

.browser-dot:nth-child(2) {
    background: #ffbd2e
}

.browser-dot:nth-child(3) {
    background: #28c840
}

.browser-url {
    margin-left: auto;
    font-size: .62rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-soft);
    padding: 4px 16px;
    border-radius: 8px
}

.project-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 38px;
    position: relative
}

.mockup-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1)
}

/* Image fallback for when screenshot is used */
.mockup-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.project-visual:hover .mockup-content {
    transform: scale(1.02)
}

.project-info {
    padding: 10px 0
}

.project-number {
    display: inline-block;
    font-size: .68rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: var(--accent-light);
    border-radius: 100px
}

.project-name {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px
}

.project-name a {
    color: var(--text);
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color .3s ease
}

.project-name a:hover {
    color: var(--accent)
}

.project-name a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1)
}

.project-name a:hover::after {
    transform: scaleX(1);
    transform-origin: left
}

.project-description {
    font-size: .92rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 28px;
    max-width: 440px
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px
}

.tag {
    font-size: .65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 18px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    transition: all .3s ease
}

.tag:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent)
}

.project-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    text-decoration: none;
    padding: 12px 0;
    transition: gap .4s ease
}

.project-cta:hover {
    gap: 20px
}

.cta-arrow {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .4s cubic-bezier(.22, 1, .36, 1)
}

.project-cta:hover .cta-arrow {
    background: var(--accent);
    transform: rotate(-45deg)
}

.cta-arrow svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    transition: stroke .3s ease
}

.project-cta:hover .cta-arrow svg {
    stroke: white
}

.big-text-section {
    overflow: hidden;
    padding: 60px 0;
    background: var(--bg-soft)
}

.big-text {
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 700;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .08);
    letter-spacing: -2px;
    animation: scrollText 18s linear infinite
}

.big-text em {
    -webkit-text-stroke-color: var(--accent);
    font-style: italic
}

@keyframes scrollText {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.process-section {
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 70px
}

.process-card {
    padding: 36px 28px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: all .5s cubic-bezier(.22, 1, .36, 1);
    opacity: 0;
    transform: translateY(40px)
}

.process-card.visible {
    opacity: 1;
    transform: translateY(0)
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease
}

.process-card:hover::before {
    transform: scaleX(1)
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent
}

.process-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background .3s ease
}

.process-card:hover .process-icon {
    background: var(--accent)
}

.process-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
    transition: stroke .3s ease
}

.process-card:hover .process-icon svg {
    stroke: white
}

.process-number {
    font-size: .65rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 14px
}

.process-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--text)
}

.process-desc {
    font-size: .82rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7
}

.cta-section {
    padding: 120px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg) 0%, var(--accent-light) 100%)
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(57, 129, 131, .08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%
}

.cta-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    position: relative
}

.cta-title em {
    font-style: normal;
    color: var(--accent)
}

.cta-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 45px
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 44px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 20px rgba(57, 129, 131, .25)
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(57, 129, 131, .35)
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-dark);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1)
}

.cta-button:hover::before {
    transform: scaleX(1);
    transform-origin: left
}

.cta-button span {
    position: relative;
    z-index: 1
}

.cta-button .btn-arrow {
    position: relative;
    z-index: 1;
    transition: transform .3s ease
}

.cta-button:hover .btn-arrow {
    transform: translateX(4px)
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s cubic-bezier(.22, 1, .36, 1)
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

@media(max-width:1024px) {

    .project-inner,
    .project:nth-child(even) .project-inner {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px
    }

    .stat:nth-child(2)::after {
        display: none
    }
}

@media(max-width:768px) {
    .hero {
        padding: 60px 24px 80px
    }

    .projects-section {
        padding: 60px 24px
    }

    .process-section {
        padding: 60px 24px
    }

    .cta-section {
        padding: 80px 24px
    }

    .stats-bar {
        padding: 50px 24px
    }

    .process-grid {
        grid-template-columns: 1fr
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start
    }

    .oxmo-cursor,
    .oxmo-cursor-dot {
        display: none !important;
    }

    body {
        cursor: auto
    }

    .hero-deco {
        display: none
    }
}