/* ═══════════════════════════════════════════════════════════
   FONTS & DESIGN TOKENS
═══════════════════════════════════════════════════════════ */
@font-face {
    font-family: 'Soligant';
    src: url('fonts/Soligant.otf') format('opentype'),
        url('fonts/Soligant.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Griffiths';
    src: url('fonts/Griffiths.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #06000f;
    --bg-2: #0d0020;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --purple: #b026ff;
    --purple-mid: #7b2fff;
    --purple-dark: #3d0080;
    --pink: #ff26b0;
    --white: #ffffff;
    --gray: rgba(255, 255, 255, 0.52);
    --gray-dim: rgba(255, 255, 255, 0.15);
    --border: rgba(255, 255, 255, 0.09);
    /* Helvetica system stack — crisp, classic, no CDN */
    --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-title: 'Soligant', var(--font);
    --font-serif: 'Playfair Display', serif;
    --nav-h: 72px;
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
    --testi-color: #b026ff;
    --testi-color2: #ff26b0;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden !important;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
    /* Back to ultra-clean Helvetica */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

body {
    background-color: var(--bg);
    color: var(--white);
    font-family: var(--font);
    line-height: 1.65;
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Single font stack for everything */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.cta-title,
.service-cta-title,
.nav-brand,
.footer-brand-huge,
.mobile-link,
.slide-quote,
.slide-quote-mark,
.section-tag,
.btn-primary,
.btn-outline,
.btn-ghost,
.btn-primary-sm,
button {
    font-family: var(--font);
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL BACKGROUND — Fixed purple glow & restricted grid
═══════════════════════════════════════════════════════════ */
.global-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: #040008;
}

/* Square grid lines — visible across the entire page */
.global-grid {
    position: fixed;
    /* Changed from absolute to fixed for total stability */
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 55px 55px;
    pointer-events: none;
}

/* Wide, soft purple wave/glow at the top — tuned to reference image */
.global-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 140% 75% at 50% -10%,
            #a119d5 0%,
            #620a91 35%,
            #1e003a 65%,
            transparent 95%);
}

/* Bottom fade to pure black to ensure content grounds perfectly */
.global-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, #040008 100%);
}

/* All content sits above the fixed background */
.navbar,
section,
footer {
    position: relative;
    z-index: 1;
}

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

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

button {
    cursor: pointer;
    font-family: var(--font);
}

/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATION CLASSES
═══════════════════════════════════════════════════════════ */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--easing), transform 0.5s var(--easing);
    will-change: transform, opacity;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.5s var(--easing), transform 0.5s var(--easing);
    will-change: transform, opacity;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.5s var(--easing), transform 0.5s var(--easing);
    will-change: transform, opacity;
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger delays */
.reveal-up:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal-up:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal-up:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal-up:nth-child(5) {
    transition-delay: 0.4s;
}

/* Progressive blur — JS writes inline filter/opacity on each section */
.section-blur {
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
}

@media (max-width: 768px) {
    .section-blur {
        transition: none !important;
        will-change: auto !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   CONTAINER
═══════════════════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff7b54, #ff5e3a, #ff9f00);
    background-size: 200% auto;
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 24px rgba(255, 94, 58, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(255, 123, 84, 0.6);
}

.btn-primary.btn-large {
    padding: 20px 48px;
    font-size: 1.05rem;
}

.btn-primary-sm {
    display: inline-block;
    background: linear-gradient(135deg, #ff7b54, #ff5e3a);
    background-size: 200% auto;
    color: var(--white);
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 16px rgba(255, 94, 58, 0.35);
    transition: all 0.4s ease;
    text-transform: uppercase;
}

.btn-primary-sm:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 123, 84, 0.5);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--gray);
    padding: 16px 0;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.btn-ghost:hover {
    color: var(--white);
}

.btn-outline,
.btn-outline-small,
.btn-outline-sm {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    border-radius: 999px;
    font-weight: 500;
    overflow: hidden;
    background: rgba(6, 0, 15, 0.5);
    cursor: pointer;
    border: none;
    z-index: 1;
    text-decoration: none;
}

.btn-outline {
    padding: 14px 28px;
    font-size: 0.85rem;
}

.btn-outline-small,
.btn-outline-sm {
    padding: 12px 24px;
    font-size: 0.8rem;
}

/* Inner masking layer for outline button */
.btn-outline::after,
.btn-outline-small::after,
.btn-outline-sm::after {
    content: '';
    position: absolute;
    inset: 1px;
    /* Creates the 1px border */
    background: var(--bg);
    border-radius: 999px;
    z-index: -1;
    transition: background 0.3s;
}

/* Spinning conic gradient for the border */
.btn-outline::before,
.btn-outline-small::before,
.btn-outline-sm::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: conic-gradient(transparent, transparent, transparent, var(--white));
    transform: translate(-50%, -50%);
    animation: borderSpin 2.5s linear infinite;
    z-index: -2;
}

@keyframes borderSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════════════════════════ */
.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gray);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--white);
}

.highlight {
    background: linear-gradient(135deg, #ff7b54, #ff9f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.serif-highlight {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    text-transform: none;
    font-weight: 700;
    font-size: 1.1em;
    padding-right: 0.1em;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: background 0.4s, border-bottom 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
    background: rgba(6, 0, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--white);
    display: flex;
    align-items: center;
    z-index: 2;
}

.brand-logo {
    height: 60px;
    width: auto;
    color: var(--white);
    transition: color 0.3s ease;
}

.nav-brand:hover .brand-logo {
    color: var(--purple);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
    transition: color 0.3s;
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.nav-cta {
    background: linear-gradient(135deg, #ff7b54, #ff5e3a, #ff9f00);
    background-size: 200% auto;
    color: var(--white);
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.70rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(255, 94, 58, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-cta:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 94, 58, 0.5);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(6, 0, 15, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-link {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    transition: color 0.3s;
}

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

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    overflow: hidden;
}



.hero-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Glowing blobs */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatShape 8s ease-in-out infinite;
    will-change: transform;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--purple);
    top: -120px;
    right: 8%;
    animation-delay: 0s;
    opacity: 0.55;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--pink);
    top: 22%;
    right: 22%;
    animation-delay: 2s;
    opacity: 0.45;
}

.shape-3 {
    width: 380px;
    height: 380px;
    background: var(--purple-mid);
    bottom: 5%;
    right: 2%;
    animation-delay: 4s;
    opacity: 0.45;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: #8b00ff;
    top: 55%;
    right: 38%;
    animation-delay: 1s;
    opacity: 0.35;
}

.shape-5 {
    width: 260px;
    height: 260px;
    background: var(--purple);
    bottom: 18%;
    right: 12%;
    animation-delay: 3s;
    opacity: 0.4;
}

@keyframes floatShape {

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

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* 3D Cubes */
.cube {
    position: absolute;
    transform-style: preserve-3d;
    animation: rotateCube 12s linear infinite;
    will-change: transform;
}

.cube-1 {
    right: 8%;
    top: 15%;
    width: 100px;
    height: 100px;
    animation-duration: 14s;
}

.cube-2 {
    right: 30%;
    top: 8%;
    width: 60px;
    height: 60px;
    animation-duration: 10s;
    animation-direction: reverse;
}

.cube-3 {
    right: 18%;
    top: 55%;
    width: 80px;
    height: 80px;
    animation-duration: 16s;
    animation-delay: 2s;
}

@keyframes rotateCube {
    from {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1.5px solid rgba(176, 38, 255, 0.6);
    background: rgba(176, 38, 255, 0.06);
    backdrop-filter: blur(2px);
}

.cube-front {
    transform: translateZ(50px);
}

.cube-back {
    transform: rotateY(180deg) translateZ(50px);
}

.cube-left {
    transform: rotateY(-90deg) translateZ(50px);
}

.cube-right {
    transform: rotateY(90deg) translateZ(50px);
}

.cube-top {
    transform: rotateX(90deg) translateZ(50px);
}

.cube-bottom {
    transform: rotateX(-90deg) translateZ(50px);
}

.cube-2 .cube-face {
    border-color: rgba(255, 38, 176, 0.6);
    background: rgba(255, 38, 176, 0.04);
}

.cube-2 .cube-front {
    transform: translateZ(30px);
}

.cube-2 .cube-back {
    transform: rotateY(180deg) translateZ(30px);
}

.cube-2 .cube-left {
    transform: rotateY(-90deg) translateZ(30px);
}

.cube-2 .cube-right {
    transform: rotateY(90deg) translateZ(30px);
}

.cube-2 .cube-top {
    transform: rotateX(90deg) translateZ(30px);
}

.cube-2 .cube-bottom {
    transform: rotateX(-90deg) translateZ(30px);
}

.cube-3 .cube-face {
    border-color: rgba(123, 47, 255, 0.5);
    background: rgba(123, 47, 255, 0.05);
}

.cube-3 .cube-front {
    transform: translateZ(40px);
}

.cube-3 .cube-back {
    transform: rotateY(180deg) translateZ(40px);
}

.cube-3 .cube-left {
    transform: rotateY(-90deg) translateZ(40px);
}

.cube-3 .cube-right {
    transform: rotateY(90deg) translateZ(40px);
}

.cube-3 .cube-top {
    transform: rotateX(90deg) translateZ(40px);
}

.cube-3 .cube-bottom {
    transform: rotateX(-90deg) translateZ(40px);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 40px 120px;
    max-width: 750px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gray);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    color: var(--white);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
}

.stat {
    display: flex;
    flex-direction: column;
    padding: 0 24px;
}

.stat:first-child {
    padding-left: 0;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--white);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--gray);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════ */
.about {
    padding: 140px 0;
    position: relative;
}


.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-img-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.15), rgba(255, 38, 176, 0.1));
}

.about-img-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px solid rgba(176, 38, 255, 0.4);
    animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {

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

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

.avatar-inner {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.about-img-badge {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(176, 38, 255, 0.2);
    border: 1px solid rgba(176, 38, 255, 0.4);
    backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    gap: 8px;
    font-size: clamp(0.7rem, 3.5vw, 0.8rem);
    font-weight: 600;
    white-space: nowrap;
    color: var(--white);
    width: max-content;
    max-width: 90%;
}

.about-text .section-title {
    margin-bottom: 28px;
}

.about-body {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.about-text .btn-outline {
    margin-bottom: 40px;
}




/* ═══════════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════════ */
.services {
    padding: 140px 0;
    position: relative;
}


.services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.services-header .section-title {
    max-width: 850px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.service-card {
    background: var(--bg);
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: background 0.3s;
    position: relative;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(176, 38, 255, 0.12);
    border: 1px solid rgba(176, 38, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
}

.service-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.65;
    flex: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--purple);
    border: 1px solid rgba(176, 38, 255, 0.3);
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

.service-card-cta {
    background: linear-gradient(135deg, #1a0035, #0d001a);
    justify-content: space-between;
}

.service-cta-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--white);
}

/* ═══════════════════════════════════════════════════════════
   EXCELLENCE
═══════════════════════════════════════════════════════════ */
.excellence {
    padding: 140px 0;
    position: relative;
    /* overflow removed to allow sticky */
}


.excellence-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.exc-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    will-change: transform, opacity;
}

.exc-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--purple);
    top: -100px;
    right: -100px;
}

.exc-glow-2 {
    width: 300px;
    height: 300px;
    background: var(--pink);
    bottom: 0;
    right: 30%;
}

.excellence-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: start;
}

.excellence-text .section-title {
    margin-bottom: 40px;
}

.excellence-features {
    display: flex;
    flex-direction: column;
    gap: 100px;
    /* Even more space between points */
    padding-bottom: 250px;
    /* Much more room at the bottom for the cards to "travel" */
}

.exc-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.exc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--purple);
    margin-top: 7px;
    flex-shrink: 0;
}

.exc-feature strong {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.exc-feature p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

.excellence-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.exc-card-large {
    position: sticky;
    top: 160px;
    z-index: 2;
    align-self: start;
}

.exc-card-small {
    position: sticky;
    top: 220px;
    z-index: 3;
    align-self: start;
    margin-top: -60px;
    /* Overlap effect */
}

.exc-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 28px;
    position: relative;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-card);
    transition: transform 0.4s var(--easing), box-shadow 0.4s;
}

.exc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(176, 38, 255, 0.15);
}

.exc-card-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gray);
}

.exc-card-sub {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 4px;
}

.exc-visual {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    will-change: transform, opacity;
}

.exc-visual-1 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    bottom: -40px;
    right: -40px;
    opacity: 0.5;
}

.exc-visual-2 {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--purple-mid), var(--purple));
    bottom: -30px;
    right: -30px;
    opacity: 0.4;
}

/* ═══════════════════════════════════════════════════════════
   PORTFOLIO / WORKS
═══════════════════════════════════════════════════════════ */
.works {
    padding: 140px 0;
    position: relative;
    overflow: visible;
    /* Prevents ghost scrollbars on some devices */
}


.works-header {
    margin-bottom: 64px;
}

.works-header .section-title {
    max-width: 700px;
}

.works-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.work-item {
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    transition: transform 0.4s var(--easing), box-shadow 0.4s;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

/* Inner masking for Portfolio */
.work-item::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg);
    border-radius: 16px;
    z-index: -1;
}

/* Animated border for Portfolio */
.work-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 80%, rgba(255, 255, 255, 0.8) 100%);
    transform: translate(-50%, -50%);
    animation: borderSpin 4s linear infinite;
    z-index: -2;
}

.work-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

.work-item-large {
    grid-row: span 1;
}

.work-img {
    height: 320px;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.work-item-large .work-img,
#work2 .work-img {
    height: 400px;
}

.work-img-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-shape {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.ws1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 20%;
    animation: spin 20s linear infinite;
}

.ws2 {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    animation: spin 15s linear infinite reverse;
}

.ws3 {
    width: 160px;
    height: 160px;
    top: 30%;
    left: 30%;
    animation: spin 18s linear infinite;
}

.ws4 {
    width: 180px;
    height: 180px;
    animation: spin 22s linear infinite;
}

.ws5 {
    width: 100px;
    height: 100px;
    top: 60%;
    left: 60%;
    animation: spin 12s linear infinite reverse;
}

.ws6 {
    width: 150px;
    height: 150px;
    top: 25%;
    left: 25%;
    animation: spin 16s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.work-info {
    padding: 20px 24px;
}

.work-type {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--gray);
    text-transform: uppercase;
}

.work-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 6px;
    letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS — SLIDER
═══════════════════════════════════════════════════════════ */
.testimonials {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}


/* Full-bleed color wash that transitions per slide */
.testi-slider-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 50%,
            rgba(var(--testi-rgb, 176, 38, 255), 0.14) 0%,
            transparent 70%);
    transition: background 0.8s ease;
    pointer-events: none;
    z-index: 0;
}

/* Header row: tag + nav buttons */
.testi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.testi-nav {
    display: flex;
    gap: 12px;
}

.testi-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.testi-btn:hover {
    background: var(--testi-color, var(--purple));
    border-color: transparent;
    transform: scale(1.08);
}

/* Slider viewport */
.testi-track-wrap {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testi-track {
    display: flex;
    transition: transform 0.75s var(--easing);
    will-change: transform;
}

/* Individual slide */
.testi-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    padding: 72px 72px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slide-quote-mark {
    font-size: 7rem;
    line-height: 0.8;
    font-family: var(--font);
    font-weight: 800;
    color: var(--testi-color, var(--purple));
    opacity: 0.3;
    margin-bottom: 8px;
    transition: color 0.6s ease;
    user-select: none;
}

.slide-quote {
    font-family: var(--font);
    font-size: clamp(1.3rem, 2.8vw, 2.1rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    quotes: none;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

.slide-author {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.slide-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.4);
}

.slide-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.slide-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    background: var(--purple);
    /* Default, will be overridden by inline styles */
    text-transform: uppercase;
}

.slide-info {
    flex: 1;
}

.slide-info strong {
    display: block;
    font-weight: 700;
    font-size: 1rem;
}

.slide-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

.slide-stars {
    color: #f5c518;
    font-size: 1rem;
    letter-spacing: 3px;
    margin-left: auto;
}

/* Progress dots */
.testi-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}

/* NOTE: duplicate .container removed — see top of file */

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: width 0.4s var(--easing), background 0.4s ease;
    padding: 0;
}

.testi-dot.active {
    width: 32px;
    background: var(--testi-color, var(--purple));
}

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════ */

.cta-section {
    padding: 160px 0;
    position: relative;
    overflow: hidden;
    /* Contain floating avatars so they don't push page horizontally */
}

/* Extra purple glow centered in CTA */
.cta-section::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(120, 0, 220, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.cta-actions {
    margin-bottom: 40px;
}

.cta-clients {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--gray);
}

.client-avatars {
    display: flex;
}

.client-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    margin-left: -10px;
}

.client-avatar:first-child {
    margin-left: 0;
}

.ca1 {
    background: linear-gradient(135deg, #b026ff, #ff26b0);
}

.ca2 {
    background: linear-gradient(135deg, #7b2fff, #26b0ff);
}

.ca3 {
    background: linear-gradient(135deg, #ff6b26, #b026ff);
}

.ca4 {
    background: linear-gradient(135deg, #26b0ff, #7b2fff);
}

/* ═══════════════════════════════════════════════════════════
   CTA CONTACT FORM
═══════════════════════════════════════════════════════════ */
.cta-form-wrapper {
    margin: 40px auto 0;
    max-width: 600px;
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 48px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    /* Contains the spinning border */
}

/* Inner mask for form wrapper */
.cta-form-wrapper::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: rgba(6, 0, 15, 0.98);
    border-radius: 20px;
    z-index: -1;
}

/* Animated border for form wrapper */
.cta-form-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 80%, rgba(255, 255, 255, 0.8) 100%);
    transform: translate(-50%, -50%);
    animation: borderSpin 4s linear infinite;
    z-index: -2;
    will-change: transform;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* Success Message Styles */
.cta-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    animation: fadeInSuccess 0.5s ease forwards;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--purple);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.4);
}

.cta-success-message h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-success-message p {
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 400px;
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(6, 0, 15, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    padding: 18px 24px;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--purple);
    background: rgba(6, 0, 15, 0.8);
    box-shadow: 0 0 16px rgba(176, 38, 255, 0.2);
}

.btn-submit {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════
   FLOATING AVATAR CIRCLES + PULSE RINGS (CTA section)
═══════════════════════════════════════════════════════════ */
.float-avatars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Wrapper for each avatar + its rings */
.float-av {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatBob 6s ease-in-out infinite;
}

/* Positions matching the reference image */
.float-av-1 {
    top: 5%;
    left: 4%;
    --av-s: 110px;
    animation-delay: 0s;
}

.float-av-2 {
    top: 42%;
    left: 0%;
    --av-s: 130px;
    animation-delay: 1.2s;
}

.float-av-3 {
    bottom: 3%;
    left: 3%;
    --av-s: 100px;
    animation-delay: 2.1s;
}

.float-av-4 {
    top: 4%;
    right: 4%;
    --av-s: 120px;
    animation-delay: 0.6s;
}

.float-av-5 {
    top: 40%;
    right: 0%;
    --av-s: 132px;
    animation-delay: 1.8s;
}

.float-av-6 {
    bottom: 2%;
    right: 3%;
    --av-s: 108px;
    animation-delay: 2.7s;
}

/* Partially cut off at left/right edges */
.float-av-2 {
    transform: translateX(-22%);
}

.float-av-3 {
    transform: translateX(-25%);
}

.float-av-5 {
    transform: translateX(22%);
}

.float-av-6 {
    transform: translateX(25%);
}

/* The visible gradient circle */
.av-circle {
    width: var(--av-s, 120px);
    height: var(--av-s, 120px);
    border-radius: 50%;
    overflow: hidden;
    /* clips the photo into a circle */
    position: relative;
    z-index: 2;
    box-shadow: 0 0 36px rgba(176, 38, 255, 0.45);
    border: 2.5px solid rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
}

.av-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Expanding ring that pulses outward */
.pulse-ring {
    display: none;
    /* Disabled for extreme performance */
}

.pulse-ring.delay1 {
    animation-delay: 1.4s;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes floatBob {

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

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

/* Overrides for the clipped avatars – floatBob vs translateX combined */
.float-av-2 {
    animation-name: floatBobLeft2;
}

.float-av-3 {
    animation-name: floatBobLeft3;
}

.float-av-5 {
    animation-name: floatBobRight5;
}

.float-av-6 {
    animation-name: floatBobRight6;
}

@keyframes floatBobLeft2 {

    0%,
    100% {
        transform: translateX(-22%) translateY(0px)
    }

    50% {
        transform: translateX(-22%) translateY(-14px)
    }
}

@keyframes floatBobLeft3 {

    0%,
    100% {
        transform: translateX(-25%) translateY(0px)
    }

    50% {
        transform: translateX(-25%) translateY(-14px)
    }
}

@keyframes floatBobRight5 {

    0%,
    100% {
        transform: translateX(22%) translateY(0px)
    }

    50% {
        transform: translateX(22%) translateY(-14px)
    }
}

@keyframes floatBobRight6 {

    0%,
    100% {
        transform: translateX(25%) translateY(0px)
    }

    50% {
        transform: translateX(25%) translateY(-14px)
    }
}

/* Responsive: hide avatars on very small screens */
@media (max-width: 480px) {
    .float-avatars {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.faq-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(123, 47, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.faq-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 72px;
}

.faq-intro {
    font-size: 1rem;
    color: var(--gray);
    margin-top: 20px;
    line-height: 1.7;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

.faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--purple), #26b0ff);
    transition: width 0.4s ease;
    z-index: 1;
}

.faq-item.open::before {
    width: 100%;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 28px 0;
    text-align: left;
    gap: 24px;
    transition: color 0.3s;
}

.faq-question span:first-child {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    letter-spacing: -0.01em;
    transition: color 0.3s;
    font-family: var(--font);
}

.faq-item.open .faq-question span:first-child,
.faq-question:hover span:first-child {
    color: var(--white);
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Plus icon via pseudo-elements */
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-icon::before {
    width: 12px;
    height: 1.5px;
}

.faq-icon::after {
    width: 1.5px;
    height: 12px;
}

.faq-item.open .faq-icon {
    background: rgba(176, 38, 255, 0.15);
    border-color: rgba(176, 38, 255, 0.4);
    transform: rotate(45deg);
}

.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after {
    background: var(--purple);
}

.faq-question:hover .faq-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease,
                padding 0.35s ease;
    opacity: 0;
    padding-bottom: 0;
}

.faq-answer.open {
    max-height: 400px;
    opacity: 1;
    padding-bottom: 28px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.85;
}

.faq-answer p strong {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
    padding: 80px 0 0;
    background: transparent !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 60px;
}

.footer-contact {
    margin-bottom: 24px;
}

.footer-contact-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gray-dim);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.footer-contact a {
    font-size: 0.85rem;
    color: var(--white);
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--purple);
}

.footer-contact span {
    font-size: 0.85rem;
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.social-links a {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--purple);
}

.footer-nav-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gray-dim);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 0.85rem;
    color: var(--gray);
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--white);
}

.newsletter-desc {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 0.85rem;
    color: var(--white);
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-form button {
    background: #a855f7;
    color: var(--white);
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    text-transform: uppercase;
}


.newsletter-form button:hover {
    background: #9333ea;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
    position: relative;
    border-top: 1px solid var(--border);
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--gray);
    text-align: center;
    letter-spacing: 0.02em;
}

.footer-brand-huge {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.07);
    user-select: none;
    line-height: 1;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-meta a {
    font-size: 0.82rem;
    color: var(--gray);
    transition: color 0.3s;
}

.footer-meta a:hover {
    color: var(--white);
}



/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

/* ── Mobile Menu Link Animation ── */
.mobile-link {
    font-size: clamp(2rem, 8vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    transition: color 0.3s, opacity 0.4s, transform 0.4s;
    opacity: 0;
    transform: translateY(20px);
    display: block;
}

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

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

.mobile-menu-cta {
    margin-top: 8px;
    background: linear-gradient(135deg, #ff7b54, #ff5e3a, #ff9f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {

    /* Force background grid visibility on tablet & boost contrast for Retina */
    .global-bg {
        transform: translateZ(0);
        /* Hardware acceleration for iOS */
    }

    .global-grid {
        display: block !important;
        opacity: 1 !important;
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
    }

    .hero,
    .about,
    .services,
    .excellence,
    .works,
    .testimonials,
    .cta-section,
    .footer {
        background: transparent !important;
    }

    /* Navbar Symmetry Fix */
    .navbar {
        padding: 0 40px !important;
        /* Force symmetry */
    }

    .nav-brand {
        padding-left: 0;
        margin-left: 0;
    }

    .nav-right {
        padding-right: 0;
        margin-right: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-card {
        height: auto;
        padding: 60px 20px 80px;
    }

    .excellence-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .excellence-cards {
        gap: 24px;
        /* Inherits vertical sticky stack from desktop */
    }

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

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        /* Restored to 4 columns for iPad */
        gap: 30px;
    }

    .works-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    /* Pattern: 100% - 50% - 50% - 100% */
    #work1 {
        grid-column: span 2;
    }

    #work1 .work-img {
        height: 380px;
    }

    #work2,
    #work3 {
        grid-column: span 1;
    }

    #work2 .work-img,
    #work3 .work-img {
        height: 280px;
    }

    #work4 {
        grid-column: span 2;
    }

    #work4 .work-img {
        height: 380px;
    }

    .cta-inner {
        padding: 60px 40px;
    }

    /* Brutal Performance Optimization for Form Area */
    .cta-form-wrapper {
        background: rgba(14, 5, 23, 0.95) !important;
        /* Solid elegant dark background */
        backdrop-filter: none !important;
        /* Disable expensive blur */
        -webkit-backdrop-filter: none !important;
        border: 1px solid rgba(255, 255, 255, 0.08);
        /* Fallback subtle border */
    }

    /* Restore conic-gradient animation */
    .cta-form-wrapper::before {
        display: block !important;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .cta-form {
        grid-template-columns: 1fr;
    }
}

/* ── Smartphone Large (≤ 768px) ── */
@media (max-width: 768px) {

    /* Navbar */
    .container {
        padding: 0 24px;
    }

    .navbar {
        padding: 0 24px;
        height: 60px;
    }

    .brand-logo {
        height: 40px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    /* Move hamburger to the LEFT: logo goes right */
    .navbar {
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
        cursor: pointer;
        order: -1;
        /* ensures it's first (left) */
    }

    /* Hero */
    .hero {
        min-height: 100svh;
        align-items: flex-end;
    }

    .hero-content {
        padding: 80px 24px 60px;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(2.8rem, 12vw, 5rem);
        margin-bottom: 20px;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        align-items: flex-start;
    }

    .stat {
        padding: 0;
    }

    .stat-divider {
        display: none;
    }

    /* Hide 3D cubes on mobile (performance) */
    .hero-bg-shapes .cube {
        display: none;
    }

    /* About */
    .about {
        padding: 80px 0;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        /* Force children to take full width */
        gap: 40px;
    }

    .about-text {
        order: 1;
        /* Text comes first */
    }

    .about-img {
        order: 2;
        /* Image comes second */
    }

    .about-img-card {
        height: 380px;
        /* Bit more height for better proportions */
        width: 100%;
        max-width: 480px;
        /* Sufficiently wide but elegant */
        margin: 0 auto;
        padding: 0;
    }

    .avatar-ring {
        width: 180px;
        /* Slightly larger for better balance */
        height: 180px;
    }

    .avatar-inner {
        width: 140px;
        height: 140px;
    }

    .about-img-badge {
        bottom: 30px;
        font-size: 0.72rem;
        padding: 10px 18px;
        white-space: nowrap;
        /* MUST be on one line as requested */
        text-align: center;
        letter-spacing: 0.02em;
    }

    .about-text .btn-outline {
        margin-bottom: 24px;
    }

    /* Services */
    .services {
        padding: 80px 0;
    }

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

    .service-card {
        padding: 32px 24px;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .services-header .section-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    /* Restore global background & grid for mobile */
    .global-bg,
    .global-grid,
    .global-glow {
        display: block !important;
        pointer-events: none !important;
        z-index: -10;
        opacity: 1;
        /* Restore original visibility */
    }

    /* Excellence - Text Only for Mobile flow */
    .excellence {
        padding: 60px 0 0 0;
        /* Direct flow to portfolio */
        overflow: visible !important;
        touch-action: pan-y !important;
    }

    /* Completely disable localized Excellence glows to avoid interference */
    .excellence-bg,
    .exc-glow-1,
    .exc-glow-2 {
        display: none !important;
    }

    .excellence-inner {
        padding: 0 16px;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .excellence-features {
        gap: 20px;
        padding-bottom: 0px;
    }

    /* Portfolio */
    .works-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .work-item-large,
    #work1,
    #work2,
    #work3,
    #work4 {
        grid-column: span 1;
    }

    .work-item-large .work-img,
    #work2 .work-img,
    .work-img {
        height: 240px;
    }

    /* Testimonials */
    .testi-quote {
        padding: 32px 24px;
    }

    .slide-quote {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
    }

    .testi-nav {
        margin-top: 20px;
        gap: 12px;
    }

    .testi-arrow {
        width: 40px;
        height: 40px;
    }

    /* CTA Section */
    .cta-inner {
        padding: 48px 24px;
        border-radius: 16px;
    }

    .cta-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .cta-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cta-form input,
    .cta-form textarea {
        padding: 14px 16px;
    }

    .cta-form textarea {
        min-height: 120px;
    }

    .cta-form button {
        width: 100%;
    }

    /* Floating avatars: hide them on small screens */
    .cta-float-1,
    .cta-float-2,
    .cta-float-3 {
        display: none;
    }

    /* Footer - Unified 4-column layout as per image reference */
    .footer {
        padding: 80px 0 0;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        padding-bottom: 60px;
    }

    .footer-newsletter-col {
        grid-column: span 1;
        /* Reset to 1 column */
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 40px 0;
    }

    .footer-brand-huge {
        display: none !important;
        /* Hide as per second reference image */
    }
}

/* ── Smartphone Small (≤ 480px) ── */
@media (max-width: 480px) {

    .hero-title {
        font-size: clamp(2.4rem, 13vw, 3.5rem);
    }

    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }

    .hero-tag {
        font-size: 0.62rem;
    }

    .about-img-badge {
        font-size: 0.65rem;
        padding: 8px 12px;
    }

    .exc-card {
        min-height: 160px;
        padding: 20px;
    }

    .testi-quote {
        padding: 24px 16px;
    }

    .slide-quote {
        font-size: 1rem;
    }

    .slide-author-name {
        font-size: 0.85rem;
    }

    .cta-inner {
        padding: 36px 16px;
    }

    /* Footer - Compact but matching the 4-col grouping */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }

    .footer-newsletter-col {
        grid-column: span 2;
        margin-top: 20px;
    }

    .newsletter-form {
        flex-direction: row;
        gap: 10px;
    }

    .newsletter-form button {
        width: auto;
        flex-shrink: 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   MULTI-PAGE — SHARED INNER PAGE STYLES
═══════════════════════════════════════════════════════════ */

/* Active nav link */
.nav-links a.active {
    color: var(--white) !important;
    opacity: 1 !important;
}

.nav-links a.active::after {
    width: 100% !important;
    opacity: 1 !important;
}

/* ── Inner Page Hero ── */
.inner-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.inner-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(123, 47, 255, 0.15) 0%, transparent 65%);
    pointer-events: none;
}

.inner-hero .section-tag {
    margin-bottom: 20px;
}

.inner-hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 20px;
    color: var(--white);
}

.inner-hero-sub {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 0.78rem;
    color: var(--gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.breadcrumb a {
    color: var(--gray);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .sep {
    opacity: 0.3;
}

/* ── Page Sections ── */
.page-section {
    padding: 88px 0;
}

.page-section-sm {
    padding: 56px 0;
}

/* ── Intro Pillars (Home teaser) ── */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s var(--easing);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.pillar-card:hover {
    border-color: rgba(176, 38, 255, 0.3);
    transform: translateY(-6px);
    background: var(--bg-card-hover);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-num {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--purple);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.pillar-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.pillar-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

.pillar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--purple);
    transition: gap 0.3s;
}

.pillar-link:hover {
    gap: 10px;
}

/* ── Methodology Steps ── */
.method-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 56px;
    position: relative;
}

.method-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.4), transparent);
}

.method-step {
    text-align: center;
    padding: 0 32px;
    position: relative;
}

.method-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(176, 38, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--purple);
    margin: 0 auto 24px;
}

.method-step-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.method-step-desc {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ── Service Detail Cards ── */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.service-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s var(--easing);
    position: relative;
    overflow: hidden;
}

.service-detail-card:hover {
    border-color: rgba(176, 38, 255, 0.25);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.service-detail-card.card-wide {
    grid-column: span 2;
}

.sdc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(176, 38, 255, 0.12);
    border: 1px solid rgba(176, 38, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--purple);
}

.sdc-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.sdc-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.sdc-includes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 28px;
}

.sdc-includes li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sdc-includes li::before {
    content: '✓';
    color: var(--purple);
    font-weight: 700;
    flex-shrink: 0;
}

.sdc-price {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--purple);
    background: rgba(176, 38, 255, 0.1);
    border: 1px solid rgba(176, 38, 255, 0.2);
    border-radius: 40px;
    padding: 6px 16px;
}

/* ── Values Grid (Chi Siamo) ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s var(--easing);
}

.value-card:hover {
    border-color: rgba(176, 38, 255, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}

.value-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(176, 38, 255, 0.12);
    border: 1px solid rgba(176, 38, 255, 0.25);
    color: var(--purple);
    margin-bottom: 18px;
}

.value-icon-svg svg {
    stroke: var(--purple);
}

.value-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.value-desc {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.65;
}

/* ── About Split Layout (Chi Siamo hero) ── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
}

.about-split-img {
    position: relative;
}

.about-split-img .about-img-card {
    aspect-ratio: 3/4;
    max-height: 560px;
}

.about-split-text .section-tag {
    margin-bottom: 16px;
}

.about-split-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
}

.about-split-text p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ── Tech Stack ── */
.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

.tech-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.tech-chip:hover {
    border-color: rgba(176, 38, 255, 0.3);
    background: var(--bg-card-hover);
    color: var(--white);
}

.tech-chip span {
    font-size: 1.1rem;
}

/* ── Numbers Strip (Chi Siamo) ── */
.numbers-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 56px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 56px 0;
}

.number-item {
    text-align: center;
}

.number-value {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--white), rgba(255,255,255,0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.number-label {
    font-size: 0.82rem;
    color: var(--gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ── Project Filters ── */
.project-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 40px 0 56px;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 10px 22px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font);
}

.filter-btn:hover {
    border-color: rgba(176, 38, 255, 0.3);
    color: var(--white);
}

.filter-btn.active {
    background: var(--purple);
    border-color: var(--purple);
    color: var(--white);
}

/* ── Expanded Project Cards ── */
.projects-full-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-full-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s var(--easing);
}

.project-full-card:hover {
    border-color: rgba(176, 38, 255, 0.25);
    transform: translateY(-6px);
}

.project-full-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s var(--easing);
}

.project-full-card:hover .project-full-img {
    transform: scale(1.04);
}

.project-full-img-wrap {
    overflow: hidden;
    height: 260px;
}

.project-full-body {
    padding: 32px;
}

.project-full-type {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--purple);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.project-full-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.project-full-desc {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-results {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.result-badge {
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(176, 38, 255, 0.1);
    border: 1px solid rgba(176, 38, 255, 0.2);
    color: var(--purple);
    border-radius: 6px;
    padding: 5px 12px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.project-tag {
    font-size: 0.72rem;
    color: var(--gray);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 10px;
}

/* ── Contact Info Cards ── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

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

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s;
}

.contact-info-card:hover {
    border-color: rgba(176, 38, 255, 0.25);
    background: var(--bg-card-hover);
}

.cic-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(176, 38, 255, 0.12);
    border: 1px solid rgba(176, 38, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-size: 1.1rem;
}

.cic-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 4px;
}

.cic-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.cic-value a {
    color: var(--white);
    transition: color 0.3s;
}

.cic-value a:hover {
    color: var(--purple);
}

/* ── CTA Strip (shared across pages) ── */
.cta-strip {
    margin-top: 80px;
    padding: 64px;
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.08) 0%, rgba(123, 47, 255, 0.05) 100%);
    border: 1px solid rgba(176, 38, 255, 0.15);
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(176, 38, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-strip-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 16px;
    display: block;
}

.cta-strip-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.cta-strip-sub {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 32px;
}

/* ── Responsive: Multi-page ── */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }

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

    .method-steps::before {
        display: none;
    }

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

    .service-detail-card.card-wide {
        grid-column: span 1;
    }

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

    .about-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-split-img {
        max-width: 400px;
        margin: 0 auto;
    }

    .projects-full-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-strip {
        padding: 40px 24px;
    }

    .numbers-strip {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .inner-hero {
        padding: 120px 0 60px;
    }

    .inner-hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

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

    .project-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .cta-strip {
        padding: 32px 20px;
    }

    .tech-stack-grid {
        gap: 8px;
    }
}

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

/* ═══════════════════════════════════════════════════════════
   WHATSAPP FLOAT
═══════════════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px; /* Reduced from 60px */
    height: 45px; /* Reduced from 60px */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 24px; /* Reduced from 30px */
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float svg {
    width: 24px; /* Reduced from 35px */
    height: 24px; /* Reduced from 35px */
    fill: currentColor;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(37, 211, 102, 0.4);
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 40px; /* Reduced from 50px */
        height: 40px; /* Reduced from 50px */
    }
    .whatsapp-float svg {
        width: 22px; /* Reduced from 28px */
        height: 22px; /* Reduced from 28px */
    }
}