/* ============================================
   Projects — listing, cards, detail hero
   ============================================ */

/* ---- Listing hero ---- */
.projects-listing-hero {
    position: relative;
    padding: 56px 0 48px;
    color: #fff;
    overflow: hidden;
}

.projects-listing-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1628 0%, #152a4a 45%, var(--primary) 140%);
}

.projects-listing-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 40%, transparent);
}

.projects-listing-hero .container {
    position: relative;
    z-index: 1;
}

.projects-listing-hero .detail-breadcrumb a,
.projects-listing-hero .detail-breadcrumb span {
    color: rgba(255,255,255,0.75);
}

.projects-listing-hero-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.projects-listing-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.projects-listing-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    color: #fff;
}

.projects-listing-hero p {
    max-width: 560px;
    margin: 0;
    opacity: 0.88;
    line-height: 1.6;
}

.projects-listing-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.projects-listing-stat {
    padding: 16px 22px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(12px);
    text-align: center;
    min-width: 100px;
}

.projects-listing-stat strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
}

.projects-listing-stat span {
    font-size: 12px;
    opacity: 0.8;
}

.projects-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.projects-pill {
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.9);
}

.projects-pill--active {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    font-weight: 600;
}

.projects-listing-body {
    padding: 56px 0 72px;
    background: #f4f7fb;
}

/* ---- Grid ---- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.projects-grid--home {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.projects-grid--related {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ---- Cards ---- */
.project-card {
    position: relative;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    background: linear-gradient(135deg, rgba(32,114,243,0.35), transparent 55%, rgba(99,102,241,0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-card-glow {
    opacity: 1;
}

.project-card-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover .project-card-inner {
    box-shadow: 0 20px 48px rgba(32, 114, 243, 0.12);
    border-color: rgba(32, 114, 243, 0.2);
}

/* Card cover image */
.project-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #e8edf5, #f8fafc);
}

.project-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.45s ease;
}

.project-card:hover .project-card-image {
    transform: scale(1.05);
}

.project-card-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.55) 100%);
    pointer-events: none;
}

.project-card-media-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: var(--dark);
    backdrop-filter: blur(8px);
}

.project-card-head--below-media {
    padding-top: 16px;
}

.project-card--has-media .project-card-head--below-media {
    justify-content: flex-end;
}

.project-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 22px 0;
    gap: 12px;
}

.project-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(32,114,243,0.12), rgba(32,114,243,0.04));
    border: 1px solid rgba(32,114,243,0.12);
}

.project-card--teal .project-card-icon {
    color: #0d9488;
    background: linear-gradient(135deg, rgba(13,148,136,0.12), rgba(13,148,136,0.04));
    border-color: rgba(13,148,136,0.12);
}

.project-card--purple .project-card-icon {
    color: #7c3aed;
    background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(124,58,237,0.04));
    border-color: rgba(124,58,237,0.12);
}

.project-card-stat {
    text-align: right;
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}

.project-card-stat strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
}

.project-card-body {
    flex: 1;
    padding: 16px 22px;
}

.project-card-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    margin-bottom: 10px;
}

.project-card-body h3 {
    font-size: 1.2rem;
    margin: 0 0 8px;
    color: var(--dark);
    letter-spacing: -0.01em;
}

.project-card-tagline {
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    margin: 0 0 10px;
    line-height: 1.45;
}

.project-card-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 14px;
    line-height: 1.55;
}

.project-card-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-card-features li {
    font-size: 13px;
    color: #475569;
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.project-card-features li i {
    color: var(--primary);
    font-size: 10px;
    margin-top: 5px;
}

.project-card-footer {
    padding: 0 22px 22px;
    margin-top: auto;
}

.project-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary) 0%, #4f6ef7 100%);
    box-shadow: 0 8px 24px rgba(32, 114, 243, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(32, 114, 243, 0.35);
}

.project-card--teal .project-card-btn {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25);
}

.project-card--purple .project-card-btn {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.project-card-link:hover {
    gap: 12px;
}

.project-card--compact .project-card-desc {
    display: none;
}

/* ---- Homepage section ---- */
.home-projects-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.home-projects-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(32,114,243,0.08), transparent),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(99,102,241,0.06), transparent),
        linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.home-projects-section .container {
    position: relative;
    z-index: 1;
}

.home-projects-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.home-projects-head h2 {
    margin: 8px 0 10px;
    letter-spacing: -0.02em;
}

.home-projects-head p {
    max-width: 580px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.home-projects-cta {
    margin-top: 44px;
}

.home-projects-cta-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 28px 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--dark) 0%, #1a3358 55%, var(--primary) 150%);
    color: #fff;
    box-shadow: 0 20px 50px rgba(32, 114, 243, 0.2);
}

.home-projects-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.home-projects-cta-inner strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.home-projects-cta-inner span {
    font-size: 14px;
    opacity: 0.88;
}

/* ---- Process ---- */
.projects-process {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #dde5f0;
}

.projects-process h2 {
    text-align: center;
    margin-bottom: 36px;
}

.projects-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.projects-process-step {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e6ecf5;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.projects-process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.projects-process-step h3 {
    font-size: 1.05rem;
    margin: 0 0 8px;
}

.projects-process-step p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

/* ============================================
   Project detail — premium hero & layout
   ============================================ */

.detail-project .header-trust-bar {
    display: none;
}

.detail-project {
    background: #f0f4fa;
}

.project-hero {
    position: relative;
    padding: 48px 0 88px;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.project-hero--blue {
    background: linear-gradient(145deg, #060d1a 0%, #0f2344 38%, #1a4fad 72%, #2072f3 120%);
}

.project-hero--teal {
    background: linear-gradient(145deg, #041515 0%, #0a2e2e 38%, #0f766e 72%, #14b8a6 120%);
}

.project-hero--purple {
    background: linear-gradient(145deg, #0c0618 0%, #1e1045 40%, #4c1d95 72%, #7c3aed 115%);
}

.project-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.project-hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.project-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    animation: projectOrbFloat 12s ease-in-out infinite;
}

.project-hero-orb-1 {
    width: 480px;
    height: 480px;
    top: -160px;
    right: -100px;
    background: rgba(99, 102, 241, 0.4);
}

.project-hero-orb-2 {
    width: 360px;
    height: 360px;
    bottom: -80px;
    left: -60px;
    background: rgba(32, 114, 243, 0.35);
    animation-delay: -4s;
}

.project-hero-orb-3 {
    width: 220px;
    height: 220px;
    top: 40%;
    left: 45%;
    background: rgba(255, 255, 255, 0.08);
    animation-delay: -8s;
}

@keyframes projectOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -16px) scale(1.05); }
}

.project-hero-grid {
    position: absolute;
    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: 64px 64px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000, transparent);
}

.project-hero .container {
    position: relative;
    z-index: 1;
}

.project-hero .detail-breadcrumb {
    margin-bottom: 32px;
}

.project-hero .detail-breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.project-hero .detail-breadcrumb a:hover {
    color: #fff;
}

.project-hero .detail-breadcrumb li.active span {
    color: #a5d8ff;
    font-weight: 600;
}

.project-hero .detail-breadcrumb li {
    color: rgba(255,255,255,0.45);
}

.project-hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 420px;
    gap: 56px;
    align-items: center;
}

.project-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-hero-badge,
.project-hero-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(12px);
    color: #fff;
}

.project-hero-badge--accent {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08));
    border-color: rgba(255,255,255,0.28);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.project-hero-badge--accent i {
    color: #fde047;
}

/* Override global h1 dark color */
.project-hero h1.project-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin: 0 0 18px;
    color: #fff;
    text-shadow: 0 2px 40px rgba(0,0,0,0.25);
}

.project-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.88);
    margin: 0 0 32px;
    max-width: 520px;
    font-weight: 400;
}

.project-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.project-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
    border: none;
    cursor: pointer;
}

.project-hero-btn--primary {
    color: var(--primary);
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.project-hero-btn--primary:hover {
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}

.project-hero-btn--whatsapp {
    color: #fff;
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
}

.project-hero-btn--whatsapp:hover {
    color: #fff;
    transform: translateY(-2px);
}

.project-hero-btn--ghost {
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
}

.project-hero-btn--ghost:hover {
    color: #fff;
    background: rgba(255,255,255,0.14);
    transform: translateY(-2px);
}

.project-hero-stack {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.project-hero-stack-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-hero-stack-tag {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    transition: background 0.2s;
}

.project-hero-stack-tag:hover {
    background: rgba(255,255,255,0.12);
}

/* Showcase card */
.project-hero-visual {
    position: relative;
}

.project-hero-showcase {
    position: relative;
    padding: 12px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(24px);
    box-shadow:
        0 32px 80px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.25);
    overflow: hidden;
}

.project-hero-showcase-glow {
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    pointer-events: none;
}

.project-hero-showcase--image {
    padding: 10px;
}

.project-hero-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.project-hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 260px;
    object-fit: cover;
    object-position: top center;
}

.project-hero-image-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255,255,255,0.18) 0%, transparent 42%, transparent 100%);
    pointer-events: none;
}

.project-hero-stat-float {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 12px 18px;
    border-radius: 16px;
    text-align: center;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.project-hero-stat-float .project-hero-stat-value {
    font-size: 1.75rem;
}

.project-hero-stat-float .project-hero-stat-label {
    font-size: 11px;
}

.project-hero-icon-ring {
    width: 100px;
    height: 100px;
    margin: 20px auto;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.project-hero-stat-card {
    text-align: center;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    margin: 0 10px 14px;
}

.project-hero-stat-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #fff;
}

.project-hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
    display: block;
}

.project-hero-features-wrap {
    padding: 14px 16px 16px;
    border-radius: 18px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.08);
    margin: 0 4px 4px;
}

.project-hero-features-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.project-hero-mini-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-hero-mini-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    padding: 7px 0;
    color: rgba(255,255,255,0.92);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.project-hero-mini-features li:first-child {
    border-top: none;
    padding-top: 0;
}

.project-hero-mini-features li i {
    color: #4ade80;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ---- Detail body ---- */
.project-detail-body {
    padding: 0 0 88px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
}

.project-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.project-detail-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.project-panel {
    background: #fff;
    border-radius: 22px;
    border: 1px solid #e8edf5;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.project-panel:hover {
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.project-panel-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.project-panel-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(32,114,243,0.15), rgba(32,114,243,0.06));
    color: var(--primary);
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(32, 114, 243, 0.15);
}

.project-panel-head h2 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
}

.project-panel-body {
    padding: 24px 28px;
}

.project-panel-body--with-image {
    display: grid;
    grid-template-columns: minmax(200px, 340px) 1fr;
    gap: 28px;
    align-items: start;
}

.project-panel-preview {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6ecf5;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.project-panel-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.project-panel-text p {
    color: #475569;
    line-height: 1.75;
    margin: 0 0 16px;
}

.project-panel-body p {
    color: #475569;
    line-height: 1.75;
    margin: 0 0 16px;
}

.project-panel-body p:last-child {
    margin-bottom: 0;
}

.project-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px 24px 24px;
}

.project-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #eef2f7;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.project-feature-item:hover {
    border-color: rgba(32,114,243,0.3);
    box-shadow: 0 8px 24px rgba(32,114,243,0.1);
    transform: translateY(-2px);
}

.project-feature-num {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.7;
    flex-shrink: 0;
    margin-top: 2px;
}

.project-feature-item strong {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
}

.project-tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 24px 24px;
}

.project-tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(32,114,243,0.08), rgba(99,102,241,0.06));
    border: 1px solid rgba(32,114,243,0.15);
}

.project-tech-pill i {
    font-size: 6px;
}

.project-launch-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 36px 40px;
    border-radius: 22px;
    background: linear-gradient(135deg, #2072f3 0%, #4f46e5 55%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(32, 114, 243, 0.35);
    position: relative;
    overflow: hidden;
}

.project-launch-band::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
    pointer-events: none;
}

.project-launch-band h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.project-launch-band p {
    margin: 0;
    opacity: 0.9;
    font-size: 15px;
}

.project-launch-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---- Sidebar ---- */
.project-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.project-sidebar-card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid #e8edf5;
    padding: 26px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.project-sidebar-card--cta {
    background: linear-gradient(160deg, #0a1628 0%, #152a4a 45%, #2072f3 180%);
    color: #fff;
    border: none;
    text-align: center;
    box-shadow: 0 20px 50px rgba(32, 114, 243, 0.25);
}

.project-sidebar-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.project-sidebar-card--cta h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.project-sidebar-card--cta p {
    font-size: 13px;
    opacity: 0.85;
    margin: 0 0 20px;
    line-height: 1.5;
}

.project-sidebar-card h4 {
    margin: 0 0 16px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-sidebar-card--facts ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-sidebar-card--facts li {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
    font-size: 13px;
}

.project-sidebar-card--facts li:last-child {
    border-bottom: none;
}

.project-sidebar-card--facts li i {
    color: var(--primary);
}

.project-sidebar-card--facts li span {
    color: #64748b;
}

.project-sidebar-card--facts li strong {
    color: var(--dark);
    font-size: 12px;
    text-align: right;
}

.project-sidebar-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #eef2f7;
}

.project-sidebar-contact:last-child {
    border-bottom: none;
}

.project-sidebar-contact i {
    color: var(--primary);
    width: 18px;
}

.project-sidebar-contact:hover {
    color: var(--primary);
}

/* ---- Related ---- */
.project-related {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid #dde5f0;
}

.project-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.project-related-head h2 {
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .project-hero-layout,
    .project-detail-layout {
        grid-template-columns: 1fr;
    }

    .project-hero-visual {
        max-width: 100%;
    }

    .project-hero-layout {
        gap: 36px;
    }

    .project-detail-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .projects-process-grid,
    .project-features-grid {
        grid-template-columns: 1fr;
    }

    .home-projects-head,
    .projects-listing-hero-inner,
    .project-related-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-projects-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-launch-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-panel-body--with-image {
        grid-template-columns: 1fr;
    }

    .project-hero {
        padding-bottom: 48px;
    }

    .project-detail-body {
        margin-top: 0;
        padding-top: 32px;
    }
}
