/* ==========================================================================
   COMPONENTS.CSS
   Rodrigo Berganza Professional Brand
   Cleaned, improved and aligned with the current index structure.
   ========================================================================== */

/* ==========================================================================
   01. Header & Navigation
   ========================================================================== */

.siteHeader {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition:
        background .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.siteHeader.scrolled {
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    border-color: rgba(15, 23, 42, .08);
}

.headerInner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark);
    font-weight: 900;
    letter-spacing: -.025em;
}

.brandIcon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: -.05em;
    box-shadow: 0 12px 24px rgba(44, 143, 255, .22);
}

.brandText {
    white-space: nowrap;
}

.mainNav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 750;
}

.mainNav a {
    position: relative;
    padding: 8px 0;
    transition: color .25s ease;
}

.mainNav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 999px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.mainNav a:hover {
    color: var(--secondary);
}

.mainNav a:hover::after {
    transform: scaleX(1);
}

.menuToggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    position: relative;
    z-index: 120;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.menuToggle span {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-dark);
    transform: translateX(-50%);
    transition:
        top .25s ease,
        transform .25s ease;
}

.menuToggle span:first-child {
    top: 18px;
}

.menuToggle span:last-child {
    top: 26px;
}

.menuToggle.active span:first-child {
    top: 22px;
    transform: translateX(-50%) rotate(45deg);
}

.menuToggle.active span:last-child {
    top: 22px;
    transform: translateX(-50%) rotate(-45deg);
}

body.menu-open {
    overflow: hidden;
}

/* ==========================================================================
   02. Buttons & Shared Links
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 850;
    line-height: 1;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        color var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.btn.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 16px 30px rgba(21, 58, 99, .18);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(21, 58, 99, .24);
}

.btn.secondary {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--border);
}

.btn.secondary:hover {
    color: var(--secondary);
    border-color: rgba(44, 143, 255, .34);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.textLink {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary);
    font-weight: 900;
    white-space: nowrap;
    transition:
        color .25s ease,
        transform .25s ease;
}

.textLink:hover {
    color: var(--primary);
    transform: translateX(3px);
}

/* ==========================================================================
   03. Hero
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 34px;
    background:
        radial-gradient(circle at 82% 18%, rgba(44, 143, 255, .16), transparent 31%),
        radial-gradient(circle at 14% 84%, rgba(21, 58, 99, .08), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.hero::before {
    content: "";
    position: absolute;
    top: 13%;
    left: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid rgba(44, 143, 255, .12);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    right: -180px;
    bottom: 5%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(21, 58, 99, .06);
    pointer-events: none;
}

.heroGrid {
    position: relative;
    z-index: 2;
    min-height: 680px;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
    gap: 72px;
}

.heroContent {
    max-width: 760px;
}

.heroContent h1 {
    margin-bottom: 28px;
    font-size: clamp(3.4rem, 6vw, 6.8rem);
    line-height: .92;
    letter-spacing: -.075em;
    color: var(--primary-dark);
}

.heroContent h1 span {
    display: block;
    color: var(--secondary);
}

.heroIntro {
    max-width: 690px;
    margin-bottom: 0;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.75;
}

.heroActions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 24px;
}

.heroLinks {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 800;
}

.heroLinks a {
    position: relative;
    padding-bottom: 2px;
    transition:
        color .25s ease,
        transform .25s ease;
}

.heroLinks a:hover {
    color: var(--secondary);
    transform: translateY(-1px);
}

.heroLinks span {
    width: 4px;
    height: 4px;
    flex: 0 0 4px;
    border-radius: 50%;
    background: var(--secondary);
}

.heroVisual {
    position: relative;
    min-height: 580px;
    display: grid;
    place-items: center;
}

.heroGlow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(44, 143, 255, .28) 0%,
            rgba(44, 143, 255, .08) 48%,
            transparent 72%
        );
    filter: blur(4px);
}

.heroPhoto {
    position: relative;
    z-index: 2;
    width: min(100%, 440px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, .9);
    border-radius: 42px;
    box-shadow:
        0 40px 100px rgba(15, 23, 42, .22),
        0 12px 30px rgba(44, 143, 255, .12);
    transform: rotate(1.2deg);
}

.heroPhoto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.heroBadge {
    position: absolute;
    z-index: 3;
    min-width: 190px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .84);
    box-shadow: 0 20px 45px rgba(15, 23, 42, .13);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.heroBadge:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 55px rgba(15, 23, 42, .17);
}

.heroBadge strong {
    display: block;
    margin-bottom: 3px;
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 900;
}

.heroBadge span {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.35;
}

.heroBadgeTop {
    top: 72px;
    left: -34px;
}

.heroBadgeBottom {
    right: -26px;
    bottom: 88px;
}

.heroStats {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: var(--border);
    box-shadow: var(--shadow-soft);
}

.heroStat {
    min-height: 132px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, .96);
    transition:
        background .25s ease,
        transform .25s ease;
}

.heroStat:hover {
    background: #fff;
    transform: translateY(-2px);
}

.heroStats strong {
    margin-bottom: 7px;
    color: var(--primary-dark);
    font-size: 1.05rem;
    font-weight: 900;
}

.heroStats span {
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
}

/* ==========================================================================
   04. Professional Impact
   ========================================================================== */

.impactSection {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: var(--primary-dark);
}

.impactSection::before {
    content: "";
    position: absolute;
    top: -220px;
    right: -140px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(44, 143, 255, .22), transparent 68%);
    pointer-events: none;
}

.impactSection::after {
    content: "";
    position: absolute;
    left: -180px;
    bottom: -260px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    pointer-events: none;
}

.impactSection .container {
    position: relative;
    z-index: 2;
}

.impactIntro {
    max-width: 860px;
    margin-bottom: 56px;
}

.impactIntro h2 {
    max-width: 820px;
    margin-bottom: 24px;
    color: #fff;
}

.impactIntro p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 1.05rem;
}

.impactGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.impactCard {
    position: relative;
    min-height: 330px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 28px;
    background: rgba(255, 255, 255, .055);
    transition:
        transform .35s ease,
        background .35s ease,
        border-color .35s ease;
}

.impactCard::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .06);
}

.impactCard:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .075);
    border-color: rgba(44, 143, 255, .34);
}

.impactCardFeatured {
    background:
        linear-gradient(
            145deg,
            rgba(44, 143, 255, .28),
            rgba(255, 255, 255, .06)
        );
}

.impactNumber {
    display: block;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, .24);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
}

.impactLabel {
    display: inline-block;
    margin-bottom: 14px;
    color: #70b4ff;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.impactCard h3 {
    max-width: 500px;
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.impactCard p {
    max-width: 530px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .62);
    font-size: .94rem;
}

/* ==========================================================================
   05. Expertise
   ========================================================================== */

#expertise {
    position: relative;
}



/* ==========================================================================
   Expertise
   ========================================================================== */

.expertiseSection {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(44, 143, 255, .08),
            transparent 28%
        ),
        #ffffff;
}

.expertiseHeader {
    max-width: none;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: end;
}

.expertiseHeader h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.expertiseHeader > p {
    max-width: 520px;
    margin-bottom: 5px;
    font-size: 1.02rem;
}

.expertiseLayout {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 22px;
    align-items: stretch;
}

.expertiseFeatured {
    position: relative;
    min-height: 100%;
    padding: 44px;
    overflow: hidden;

    border-radius: 32px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(44, 143, 255, .35),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            var(--primary-dark),
            #204f7d
        );

    color: #ffffff;

    box-shadow:
        0 30px 75px rgba(15, 23, 42, .2);
}

.expertiseFeatured::before {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -110px;

    width: 300px;
    height: 300px;

    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
}

.expertiseFeatured::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;

    width: 170px;
    height: 170px;

    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
}

.expertiseFeatured > * {
    position: relative;
    z-index: 2;
}

.expertiseIcon {
    width: 72px;
    height: 72px;

    margin: 38px 0 52px;

    display: grid;
    place-items: center;

    border-radius: 24px;

    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.14);

    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 900;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.expertiseFeatured .expertiseIndex {
    color: rgba(255,255,255,.34);
}

.expertiseFeatured .expertiseCategory {
    color: #70b4ff;
}

.expertiseFeatured h3 {
    max-width: 520px;
    margin-bottom: 20px;

    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3.3rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.expertiseFeatured p {
    max-width: 540px;
    margin-bottom: 30px;

    color: rgba(255,255,255,.68);
    font-size: 1rem;
}

.expertiseGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.expertiseItem {
    position: relative;
    min-height: 310px;
    padding: 30px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 28px;

    background: rgba(255,255,255,.96);

    box-shadow: var(--shadow-soft);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.expertiseItem::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(44, 143, 255, .12),
            transparent 68%
        );
}

.expertiseItem:hover {
    transform: translateY(-6px);
    border-color: rgba(44,143,255,.25);
    box-shadow: var(--shadow-strong);
}

.expertiseItem > * {
    position: relative;
    z-index: 2;
}

.expertiseItemTop {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 44px;
}

.expertiseIndex {
    color: rgba(21, 58, 99, .28);
    font-size: 2.7rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.07em;
}

.expertiseSymbol {
    min-width: 50px;
    height: 50px;
    padding: 0 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: #eef6ff;
    color: var(--secondary);

    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.expertiseCategory {
    display: inline-block;
    margin-bottom: 12px;

    color: var(--secondary);

    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.expertiseItem h3 {
    margin-bottom: 14px;

    color: var(--primary-dark);
    font-size: 1.35rem;
    letter-spacing: -.025em;
}

.expertiseItem p {
    margin-bottom: 24px;
    font-size: .91rem;
}

.expertiseTags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin: auto 0 0;
    padding: 0;

    list-style: none;
}

.expertiseTags li {
    padding: 8px 11px;

    border-radius: 999px;

    background: #f8fafc;
    border: 1px solid var(--border);

    color: var(--primary-dark);

    font-size: .7rem;
    font-weight: 800;
}

.expertiseFeatured .expertiseTags li {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.12);
    color: rgba(255,255,255,.82);
}

/* Technology panel */

.technologyPanel {
    margin-top: 24px;
    padding: 40px;

    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 48px;

    border: 1px solid var(--border);
    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8fbff
        );

    box-shadow: var(--shadow-soft);
}

.technologyIntro h3 {
    max-width: 420px;
    margin-bottom: 0;

    color: var(--primary-dark);
    font-size: clamp(1.5rem, 2.5vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

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

.technologyGroup {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
}

.technologyGroup strong {
    width: 100%;
    margin-bottom: 4px;

    color: var(--primary-dark);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.technologyGroup span {
    padding: 8px 11px;

    border-radius: 10px;

    background: #ffffff;
    border: 1px solid var(--border);

    color: var(--muted);

    font-size: .73rem;
    font-weight: 750;
}

/* ==========================================================================
   06. Case Studies
   ========================================================================== */

.caseStudies {
    overflow: hidden;
}

.caseStudyList {
    display: grid;
    gap: 110px;
}

.caseStudy {
    display: grid;
    grid-template-columns: 1.04fr .96fr;
    align-items: center;
    gap: 72px;
}

.caseStudy.reverse .caseStudyVisual {
    order: 2;
}

.caseStudy.reverse .caseStudyContent {
    order: 1;
}

.caseStudyVisual {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 36px;
    background:
        radial-gradient(circle at 75% 20%, rgba(44, 143, 255, .24), transparent 34%),
        linear-gradient(145deg, var(--primary-dark), #204f7d);
    box-shadow: var(--shadow-strong);
}

.caseStudyVisual::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    transform: translate(-45%, -45%);
}

.caseStudyContent {
    max-width: 600px;
}

.caseStudyIndex {
    display: block;
    margin-bottom: 17px;
    color: var(--secondary);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.caseStudyContent h3 {
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.caseStudyLead {
    margin-bottom: 30px;
    color: var(--text);
    font-size: 1.05rem;
}

.caseStudyDetails {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 28px;
}

.caseStudyDetails > div {
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.caseStudyDetails strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.caseStudyDetails p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.55;
}

.caseStudyTech {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.caseStudyTech li {
    padding: 9px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--primary-dark);
    font-size: .75rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.caseStudyNote {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    font-style: italic;
}

/* Browser Mockup */

.browserMockup {
    position: relative;
    z-index: 2;
    width: 84%;
    overflow: hidden;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 35px 80px rgba(0, 0, 0, .35);
    transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
}

.browserBar {
    height: 36px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eef2f7;
}

.browserBar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.browserScreen {
    min-height: 360px;
    display: grid;
    grid-template-columns: 72px 1fr;
}

.mockSidebar {
    background: var(--primary-dark);
}

.mockContent {
    padding: 26px;
    background: #f8fafc;
}

.mockHeader {
    width: 58%;
    height: 24px;
    margin-bottom: 26px;
    border-radius: 7px;
    background: #dbeafe;
}

.mockCards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.mockCards span {
    height: 78px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
}

.mockTable {
    display: grid;
    gap: 10px;
}

.mockTable span {
    height: 22px;
    border-radius: 6px;
    background: #e7edf4;
}

/* SaaS Mockup */

.saasMockup {
    position: relative;
    z-index: 2;
    width: 84%;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 35px 80px rgba(0, 0, 0, .34);
    transform: perspective(1200px) rotateY(7deg) rotateX(2deg);
}

.saasTopbar {
    height: 54px;
    background: #fff;
    border-bottom: 1px solid #edf2f7;
}

.saasBody {
    min-height: 340px;
    display: grid;
    grid-template-columns: 88px 1fr;
}

.saasMenu {
    padding: 22px 14px;
    display: grid;
    align-content: start;
    gap: 12px;
    background: var(--primary-dark);
}

.saasMenu span {
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .11);
}

.saasWorkspace {
    padding: 28px;
    background: #f5f8fc;
}

.saasWelcome {
    height: 88px;
    margin-bottom: 18px;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.saasGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.saasGrid span {
    height: 88px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
}

/* Mobile Mockup */

.mobileMockup {
    position: relative;
    z-index: 2;
    width: 250px;
    padding: 12px;
    border-radius: 42px;
    background: #111827;
    box-shadow: 0 35px 80px rgba(0, 0, 0, .4);
    transform: rotate(4deg);
}

.mobileSpeaker {
    width: 70px;
    height: 6px;
    margin: 2px auto 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
}

.mobileScreen {
    min-height: 430px;
    padding: 22px;
    border-radius: 31px;
    background: linear-gradient(180deg, #eef6ff, #fff);
}

.mobileHeader {
    width: 72%;
    height: 20px;
    margin-bottom: 28px;
    border-radius: 7px;
    background: #bfdbfe;
}

.mobileProfile {
    height: 120px;
    margin-bottom: 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.mobileActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.mobileActions span {
    height: 78px;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08);
}

.mobileNav {
    height: 48px;
    margin-top: 24px;
    border-radius: 18px;
    background: #e2e8f0;
}

/* ==========================================================================
   07. Experience
   ========================================================================== */

.timeline {
    position: relative;
    display: grid;
    gap: 18px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: linear-gradient(var(--secondary), rgba(44, 143, 255, .12));
}

.timelineItem {
    position: relative;
    margin-left: 42px;
    padding: 28px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.timelineItem::before {
    content: "";
    position: absolute;
    left: -33px;
    top: 31px;
    width: 14px;
    height: 14px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 0 1px rgba(44, 143, 255, .18);
}

.timelineItem span {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary);
    font-size: .82rem;
    font-weight: 900;
}

.timelineItem h3 {
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.timelineItem p {
    margin-bottom: 0;
}

/* ==========================================================================
   08. Resume
   ========================================================================== */

.resumeBox {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 48px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(44, 143, 255, .11), transparent 34%),
        #fff;
    box-shadow: var(--shadow-soft);
}

.resumeBox::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(44, 143, 255, .1);
    border-radius: 50%;
}

.resumeBox > * {
    position: relative;
    z-index: 2;
}

.resumeBox h2 {
    margin-bottom: 12px;
}

.resumeBox p {
    margin-bottom: 0;
}

.resumeActions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   09. Contact
   ========================================================================== */

.contactBox {
    position: relative;
    max-width: 880px;
    margin-inline: auto;
    padding: 64px 48px;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(44, 143, 255, .12);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 50% 0%, rgba(44, 143, 255, .12), transparent 32%),
        #fff;
    box-shadow: var(--shadow-soft);
}

.contactBox::before,
.contactBox::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 1px solid rgba(44, 143, 255, .08);
}

.contactBox::before {
    left: -90px;
    top: -90px;
}

.contactBox::after {
    right: -90px;
    bottom: -90px;
}

.contactBox > * {
    position: relative;
    z-index: 2;
}

.contactBox h2 {
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 18px;
}

.contactBox p {
    max-width: 680px;
    margin: 0 auto 28px;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.siteFooter {
    padding: 34px 0;
    background: var(--primary-dark);
    color: #fff;
}

.footerInner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footerInner p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
}

.footerInner a {
    color: rgba(255, 255, 255, .86);
    font-weight: 800;
    transition: color .25s ease;
}

.footerInner a:hover {
    color: #fff;
}

/* ==========================================================================
   11. Responsive
   ========================================================================== */

@media (max-width: 1050px) {
    .heroGrid {
        grid-template-columns: 1fr 1fr;
        gap: 42px;
    }

    .heroContent h1 {
        font-size: clamp(3rem, 6vw, 5.2rem);
    }

    .heroBadgeTop {
        left: -10px;
    }

    .heroBadgeBottom {
        right: -6px;
    }

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

}

@media (max-width: 950px) {
    .caseStudy,
    .caseStudy.reverse {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .caseStudy.reverse .caseStudyVisual,
    .caseStudy.reverse .caseStudyContent {
        order: initial;
    }

    .caseStudyContent {
        max-width: 760px;
    }

    .caseStudyVisual {
        min-height: 460px;
    }
}

@media (max-width: 820px) {
    .hero {
        padding-top: 52px;
    }

    .heroGrid {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .heroContent {
        max-width: 100%;
    }

    .heroContent h1 {
        max-width: 720px;
    }

    .heroVisual {
        min-height: 520px;
    }

    .heroPhoto {
        width: min(88%, 420px);
        transform: none;
    }

    .heroBadgeTop {
        top: 40px;
        left: 4%;
    }

    .heroBadgeBottom {
        right: 3%;
        bottom: 54px;
    }
}

@media (max-width: 800px) {
    .impactSection {
        padding: 90px 0;
    }

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

    .impactCard {
        min-height: 280px;
    }
}

@media (max-width: 760px) {
    .brandText {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .menuToggle {
        display: block;
    }

    .mainNav {
        position: fixed;
        top: 76px;
        left: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 0;
        max-height: calc(100dvh - 96px);
        overflow-y: auto;
        padding: 14px;
        border: 1px solid var(--border);
        border-radius: 22px;
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: var(--shadow-strong);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition:
            opacity .25s ease,
            visibility .25s ease,
            transform .25s ease;
    }

    .mainNav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mainNav a {
        padding: 15px;
        border-radius: 14px;
        color: var(--primary-dark);
    }

    .mainNav a::after {
        display: none;
    }

    .mainNav a:hover {
        color: var(--secondary);
        background: var(--light);
    }

    .resumeBox,
    .footerInner {
        flex-direction: column;
        align-items: flex-start;
    }

    .contactBox {
        padding: 52px 34px;
    }
}

@media (max-width: 600px) {
    .caseStudyList {
        gap: 78px;
    }

    .caseStudyVisual {
        min-height: 360px;
        border-radius: 28px;
    }

    .browserMockup,
    .saasMockup {
        width: 94%;
        transform: none;
    }

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

    .browserScreen {
        grid-template-columns: 55px 1fr;
    }

    .mockContent,
    .saasWorkspace {
        padding: 17px;
    }

    .mobileMockup {
        width: 210px;
    }

    .mobileScreen {
        min-height: 360px;
    }


    .timeline::before {
        left: 12px;
    }

    .timelineItem {
        margin-left: 32px;
        padding: 24px;
    }

    .timelineItem::before {
        left: -27px;
    }
}

@media (max-width: 560px) {
    .hero {
        padding-top: 38px;
    }

    .heroGrid {
        gap: 34px;
    }

    .heroContent h1 {
        font-size: clamp(2.75rem, 15vw, 4.2rem);
    }

    .heroIntro {
        font-size: 1rem;
    }

    .heroActions {
        display: grid;
    }

    .heroActions .btn {
        width: 100%;
    }

    .heroVisual {
        min-height: 440px;
    }

    .heroPhoto {
        width: 88%;
        border-width: 5px;
        border-radius: 30px;
    }

    .heroBadge {
        min-width: 155px;
        padding: 14px 16px;
        border-radius: 17px;
    }

    .heroBadgeTop {
        top: 18px;
        left: 0;
    }

    .heroBadgeBottom {
        right: 0;
        bottom: 26px;
    }

    .heroStats {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .heroStat {
        min-height: 105px;
        padding: 22px;
    }

    .impactSection {
        padding: 72px 0;
    }

    .impactIntro {
        margin-bottom: 38px;
    }

    .impactCard {
        min-height: auto;
        padding: 28px;
    }

    .impactNumber {
        margin-bottom: 38px;
        font-size: 2.6rem;
    }

    .resumeBox,
    .contactBox {
        padding: 30px;
    }

    .resumeActions {
        width: 100%;
        display: grid;
    }

    .resumeActions .btn {
        width: 100%;
    }

    .contactBox .btn {
        width: 100%;
        word-break: break-word;
        text-align: center;
    }
}

@media (max-width: 1000px) {
    .expertiseHeader {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .expertiseHeader > p {
        max-width: 720px;
    }

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

    .expertiseFeatured {
        min-height: 520px;
    }

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

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

    .expertiseFeatured {
        min-height: auto;
        padding: 32px;
    }

    .expertiseIcon {
        margin: 30px 0 42px;
    }

    .expertiseItem {
        min-height: auto;
    }

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

@media (max-width: 520px) {
    .expertiseFeatured,
    .expertiseItem,
    .technologyPanel {
        padding: 26px;
        border-radius: 24px;
    }

    .expertiseFeatured h3 {
        font-size: 2rem;
    }

    .expertiseItemTop {
        margin-bottom: 34px;
    }

    .expertiseIndex {
        font-size: 2.3rem;
    }
}
/* ===========================
   Hero Links
=========================== */

.heroLinks {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 8px;

    color: var(--muted);
    font-size: .92rem;
    font-weight: 700;
}

.heroLinks a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(255,255,255,.85);
    border: 1px solid rgba(15,23,42,.08);

    color: var(--primary-dark);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.heroLinks a:hover {
    color: white;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    border-color: transparent;

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(44,143,255,.28);
}

.heroLinks span {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: rgba(44,143,255,.35);
}

/* Responsive */

@media (max-width:640px){

    .heroLinks{
        gap:10px;
    }

    .heroLinks a{
        padding:9px 15px;
        font-size:.85rem;
    }

    .heroLinks span{
        display:none;
    }

}
.heroLinks a i{
    margin-right:8px;
    font-size:.9rem;
}
/* ==========================================================================
   Expertise compatibility fix
   Supports the original HTML structure
   ========================================================================== */

#expertise {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(44, 143, 255, .08),
            transparent 28%
        ),
        #ffffff;
}

#expertise .sectionHeader {
    max-width: 780px;
    margin-bottom: 48px;
}

#expertise .sectionHeader h2 {
    margin-bottom: 0;
}

.cardGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.expertiseCard {
    position: relative;
    min-width: 0;
    min-height: 235px;

    display: flex;
    flex-direction: column;

    padding: 30px;
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow-soft);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.expertiseCard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );
}

.expertiseCard::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -55px;

    width: 145px;
    height: 145px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(44, 143, 255, .12),
            transparent 68%
        );

    pointer-events: none;
}

.expertiseCard:hover {
    transform: translateY(-6px);
    border-color: rgba(44, 143, 255, .28);
    box-shadow: var(--shadow-strong);
}

.expertiseCard h3 {
    position: relative;
    z-index: 2;

    margin-bottom: 14px;

    color: var(--primary-dark);
    font-size: 1.25rem;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.expertiseCard p {
    position: relative;
    z-index: 2;

    margin: 0;

    color: var(--muted);
    font-size: .92rem;
    line-height: 1.65;
}

@media (max-width: 1050px) {
    .cardGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .expertiseCard {
        min-height: auto;
        padding: 26px;
    }
}
/* ==========================================================================
   ISOLATED EXPERTISE SECTION
   ========================================================================== */

.rbExpertise {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 94% 8%,
            rgba(44, 143, 255, .09),
            transparent 28%
        ),
        #fff;
}

.rbExpertiseHeader {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 64px;
    align-items: end;
    margin-bottom: 52px;
}

.rbExpertiseHeader h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.rbExpertiseHeader > p {
    max-width: 520px;
    margin: 0 0 4px;
    font-size: 1.02rem;
}

.rbExpertiseLayout {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
    gap: 22px;
    align-items: stretch;
}

.rbExpertiseFeatured {
    position: relative;
    min-width: 0;
    min-height: 642px;
    padding: 44px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(44, 143, 255, .38),
            transparent 34%
        ),
        linear-gradient(145deg, var(--primary-dark), #204f7d);
    box-shadow: 0 30px 75px rgba(15, 23, 42, .2);
}

.rbExpertiseFeatured::before,
.rbExpertiseFeatured::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    pointer-events: none;
}

.rbExpertiseFeatured::before {
    right: -110px;
    bottom: -110px;
    width: 300px;
    height: 300px;
}

.rbExpertiseFeatured::after {
    right: -45px;
    bottom: -45px;
    width: 170px;
    height: 170px;
}

.rbExpertiseFeatured > * {
    position: relative;
    z-index: 2;
}

.rbExpertiseIcon {
    width: 72px;
    height: 72px;
    margin: 42px 0 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 24px;
    background: rgba(255, 255, 255, .11);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    backdrop-filter: blur(14px);
}

.rbExpertiseFeatured h3 {
    max-width: 510px;
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(2rem, 3vw, 3.3rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.rbExpertiseFeatured p {
    max-width: 530px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, .68);
    font-size: 1rem;
}

.rbExpertiseGrid {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.rbExpertiseCard {
    position: relative;
    min-width: 0;
    min-height: 310px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow-soft);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.rbExpertiseCard::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(44, 143, 255, .12),
            transparent 68%
        );
    pointer-events: none;
}

.rbExpertiseCard:hover {
    transform: translateY(-6px);
    border-color: rgba(44, 143, 255, .25);
    box-shadow: var(--shadow-strong);
}

.rbExpertiseCard > * {
    position: relative;
    z-index: 2;
}

.rbExpertiseCardTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 42px;
}

.rbExpertiseNumber {
    color: rgba(21, 58, 99, .27);
    font-size: 2.7rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.07em;
}

.rbExpertiseFeatured .rbExpertiseNumber {
    color: rgba(255, 255, 255, .32);
}

.rbExpertiseSymbol {
    min-width: 50px;
    height: 50px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #eef6ff;
    color: var(--secondary);
    font-size: .72rem;
    font-weight: 900;
}

.rbExpertiseCategory {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.rbExpertiseFeatured .rbExpertiseCategory {
    color: #70b4ff;
}

.rbExpertiseCard h3 {
    margin-bottom: 14px;
    color: var(--primary-dark);
    font-size: 1.35rem;
    line-height: 1.18;
    letter-spacing: -.025em;
}

.rbExpertiseCard p {
    margin-bottom: 24px;
    font-size: .91rem;
}

.rbExpertiseTags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}

.rbExpertiseTags li {
    padding: 8px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--primary-dark);
    font-size: .7rem;
    font-weight: 800;
}

.rbExpertiseFeatured .rbExpertiseTags li {
    color: rgba(255, 255, 255, .84);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .12);
}

.rbTechnologyPanel {
    margin-top: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
    gap: 48px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: linear-gradient(145deg, #fff, #f8fbff);
    box-shadow: var(--shadow-soft);
}

.rbTechnologyIntro h3 {
    max-width: 420px;
    margin-bottom: 0;
    color: var(--primary-dark);
    font-size: clamp(1.5rem, 2.5vw, 2.3rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.rbTechnologyGroups {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
}

.rbTechnologyGroup {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
}

.rbTechnologyGroup strong {
    width: 100%;
    margin-bottom: 4px;
    color: var(--primary-dark);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rbTechnologyGroup span {
    padding: 8px 11px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--muted);
    font-size: .73rem;
    font-weight: 750;
}

@media (max-width: 1000px) {
    .rbExpertiseHeader,
    .rbExpertiseLayout,
    .rbTechnologyPanel {
        grid-template-columns: 1fr;
    }

    .rbExpertiseHeader {
        gap: 20px;
    }

    .rbExpertiseHeader > p {
        max-width: 720px;
    }

    .rbExpertiseFeatured {
        min-height: 500px;
    }
}

@media (max-width: 700px) {
    .rbExpertiseGrid,
    .rbTechnologyGroups {
        grid-template-columns: 1fr;
    }

    .rbExpertiseFeatured {
        min-height: auto;
        padding: 32px;
    }

    .rbExpertiseCard {
        min-height: auto;
    }

    .rbTechnologyPanel {
        padding: 30px;
    }
}

@media (max-width: 520px) {
    .rbExpertiseFeatured,
    .rbExpertiseCard,
    .rbTechnologyPanel {
        padding: 26px;
        border-radius: 24px;
    }

    .rbExpertiseFeatured h3 {
        font-size: 2rem;
    }

    .rbExpertiseIcon {
        margin: 30px 0 40px;
    }

    .rbExpertiseCardTop {
        margin-bottom: 34px;
    }

    .rbExpertiseNumber {
        font-size: 2.3rem;
    }
}

/* ==========================================================================
   EMERGENCY OVERRIDE — CURRENT RB EXPERTISE
   Debe ser el último bloque de components.css
   ========================================================================== */

.rbExpertise,
.rbExpertise * {
    box-sizing: border-box;
}

.rbExpertise {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    padding: 110px 0 !important;
    overflow: hidden !important;
    background:
        radial-gradient(
            circle at 95% 8%,
            rgba(44, 143, 255, .09),
            transparent 28%
        ),
        #ffffff !important;
}

.rbExpertise > .container {
    display: block !important;
    width: min(100% - 40px, var(--container)) !important;
    max-width: var(--container) !important;
    margin-inline: auto !important;
}

/* Encabezado */

.rbExpertiseHeader {
    display: grid !important;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(280px, .85fr) !important;
    align-items: end !important;
    gap: 64px !important;

    width: 100% !important;
    max-width: none !important;
    margin: 0 0 52px !important;
}

.rbExpertiseHeader > div,
.rbExpertiseHeader > p {
    min-width: 0 !important;
}

.rbExpertiseHeader h2 {
    max-width: 760px !important;
    margin: 0 !important;
}

.rbExpertiseHeader > p {
    max-width: 520px !important;
    margin: 0 0 4px !important;
    font-size: 1.02rem !important;
    line-height: 1.7 !important;
}

/* Composición principal */

.rbExpertiseLayout {
    display: grid !important;
    grid-template-columns:
        minmax(320px, .9fr)
        minmax(0, 1.1fr) !important;
    align-items: stretch !important;

    width: 100% !important;
    gap: 22px !important;
}

/* Tarjeta destacada */

.rbExpertiseFeatured {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 642px !important;

    padding: 44px !important;
    overflow: hidden !important;

    border: 0 !important;
    border-radius: 32px !important;

    color: #ffffff !important;

    background:
        radial-gradient(
            circle at 88% 8%,
            rgba(44, 143, 255, .38),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            var(--primary-dark),
            #204f7d
        ) !important;

    box-shadow:
        0 30px 75px rgba(15, 23, 42, .20) !important;
}

.rbExpertiseFeatured > * {
    position: relative !important;
    z-index: 2 !important;
}

.rbExpertiseFeatured::before,
.rbExpertiseFeatured::after {
    content: "" !important;
    position: absolute !important;
    display: block !important;

    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 50% !important;

    pointer-events: none !important;
}

.rbExpertiseFeatured::before {
    right: -110px !important;
    bottom: -110px !important;
    width: 300px !important;
    height: 300px !important;
}

.rbExpertiseFeatured::after {
    right: -45px !important;
    bottom: -45px !important;
    width: 170px !important;
    height: 170px !important;
}

.rbExpertiseIcon {
    width: 72px !important;
    height: 72px !important;
    flex: 0 0 72px !important;

    display: grid !important;
    place-items: center !important;

    margin: 42px 0 54px !important;

    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 24px !important;

    background: rgba(255, 255, 255, .11) !important;
    color: #ffffff !important;

    font-size: 1.25rem !important;
    font-weight: 900 !important;
}

.rbExpertiseFeatured h3 {
    max-width: 510px !important;
    margin: 0 0 20px !important;

    color: #ffffff !important;

    font-size: clamp(2rem, 3vw, 3.3rem) !important;
    line-height: 1 !important;
    letter-spacing: -.05em !important;
}

.rbExpertiseFeatured p {
    max-width: 530px !important;
    margin: 0 0 30px !important;

    color: rgba(255, 255, 255, .70) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

/* Cuadrícula derecha */

.rbExpertiseGrid {
    display: grid !important;
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;

    min-width: 0 !important;
    width: 100% !important;
    gap: 22px !important;
}

.rbExpertiseCard {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;

    min-width: 0 !important;
    width: 100% !important;
    min-height: 310px !important;

    padding: 30px !important;
    overflow: hidden !important;

    border: 1px solid var(--border) !important;
    border-radius: 28px !important;

    background: rgba(255, 255, 255, .98) !important;
    box-shadow: var(--shadow-soft) !important;

    transform: none;
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease !important;
}

.rbExpertiseCard:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(44, 143, 255, .25) !important;
    box-shadow: var(--shadow-strong) !important;
}

.rbExpertiseCard > * {
    position: relative !important;
    z-index: 2 !important;
}

.rbExpertiseCardTop {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;

    width: 100% !important;
    margin: 0 0 42px !important;
}

.rbExpertiseNumber {
    display: inline-block !important;

    color: rgba(21, 58, 99, .27) !important;

    font-size: 2.7rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: -.07em !important;
}

.rbExpertiseFeatured .rbExpertiseNumber {
    color: rgba(255, 255, 255, .32) !important;
}

.rbExpertiseSymbol {
    min-width: 50px !important;
    height: 50px !important;
    padding: 0 10px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 16px !important;

    background: #eef6ff !important;
    color: var(--secondary) !important;

    font-size: .72rem !important;
    font-weight: 900 !important;
}

.rbExpertiseCategory {
    display: inline-block !important;
    margin: 0 0 12px !important;

    color: var(--secondary) !important;

    font-size: .7rem !important;
    font-weight: 900 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
}

.rbExpertiseFeatured .rbExpertiseCategory {
    color: #70b4ff !important;
}

.rbExpertiseCard h3 {
    margin: 0 0 14px !important;

    color: var(--primary-dark) !important;

    font-size: 1.35rem !important;
    line-height: 1.18 !important;
    letter-spacing: -.025em !important;
}

.rbExpertiseCard p {
    margin: 0 0 24px !important;

    color: var(--muted) !important;

    font-size: .91rem !important;
    line-height: 1.65 !important;
}

/* Etiquetas */

.rbExpertiseTags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;

    width: 100% !important;
    margin: auto 0 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.rbExpertiseTags li {
    display: inline-flex !important;

    margin: 0 !important;
    padding: 8px 11px !important;

    border: 1px solid var(--border) !important;
    border-radius: 999px !important;

    background: #f8fafc !important;
    color: var(--primary-dark) !important;

    font-size: .7rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.rbExpertiseFeatured .rbExpertiseTags li {
    color: rgba(255, 255, 255, .84) !important;
    background: rgba(255, 255, 255, .08) !important;
    border-color: rgba(255, 255, 255, .12) !important;
}

/* Panel tecnológico */

.rbTechnologyPanel {
    display: grid !important;
    grid-template-columns:
        minmax(240px, .7fr)
        minmax(0, 1.3fr) !important;
    align-items: start !important;

    width: 100% !important;
    margin: 24px 0 0 !important;
    padding: 40px !important;
    gap: 48px !important;

    border: 1px solid var(--border) !important;
    border-radius: 30px !important;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8fbff
        ) !important;

    box-shadow: var(--shadow-soft) !important;
}

.rbTechnologyIntro,
.rbTechnologyGroups,
.rbTechnologyGroup {
    min-width: 0 !important;
}

.rbTechnologyIntro h3 {
    max-width: 420px !important;
    margin: 0 !important;

    color: var(--primary-dark) !important;

    font-size: clamp(1.5rem, 2.5vw, 2.3rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -.04em !important;
}

.rbTechnologyGroups {
    display: grid !important;
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;
    gap: 28px 32px !important;
}

.rbTechnologyGroup {
    display: flex !important;
    flex-wrap: wrap !important;
    align-content: flex-start !important;
    gap: 8px !important;
}

.rbTechnologyGroup strong {
    display: block !important;
    width: 100% !important;
    margin: 0 0 4px !important;

    color: var(--primary-dark) !important;

    font-size: .8rem !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.rbTechnologyGroup span {
    display: inline-flex !important;

    padding: 8px 11px !important;

    border: 1px solid var(--border) !important;
    border-radius: 10px !important;

    background: #ffffff !important;
    color: var(--muted) !important;

    font-size: .73rem !important;
    font-weight: 750 !important;
}

/* Asegura visibilidad aunque falle IntersectionObserver */

.rbExpertise .reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Responsive */

@media (max-width: 1000px) {
    .rbExpertiseHeader,
    .rbExpertiseLayout,
    .rbTechnologyPanel {
        grid-template-columns: 1fr !important;
    }

    .rbExpertiseHeader {
        gap: 20px !important;
    }

    .rbExpertiseFeatured {
        min-height: 500px !important;
    }
}

@media (max-width: 700px) {
    .rbExpertise {
        padding: 80px 0 !important;
    }

    .rbExpertiseGrid,
    .rbTechnologyGroups {
        grid-template-columns: 1fr !important;
    }

    .rbExpertiseFeatured {
        min-height: auto !important;
        padding: 32px !important;
    }

    .rbExpertiseCard {
        min-height: auto !important;
    }

    .rbTechnologyPanel {
        padding: 30px !important;
    }
}

@media (max-width: 520px) {
    .rbExpertise > .container {
        width: min(100% - 28px, var(--container)) !important;
    }

    .rbExpertiseFeatured,
    .rbExpertiseCard,
    .rbTechnologyPanel {
        padding: 25px !important;
        border-radius: 24px !important;
    }

    .rbExpertiseFeatured h3 {
        font-size: 2rem !important;
    }

    .rbExpertiseIcon {
        margin: 30px 0 40px !important;
    }

    .rbExpertiseCardTop {
        margin-bottom: 34px !important;
    }

    .rbExpertiseNumber {
        font-size: 2.3rem !important;
    }
}
/* ==========================================================================
   Experience
   ========================================================================== */

.experienceSection {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(44, 143, 255, .07),
            transparent 24%
        ),
        #ffffff;
}

.experienceHeader {
    max-width: 820px;
}

.experienceHeader p {
    max-width: 680px;
    margin-bottom: 0;
}

.experienceTimeline {
    position: relative;
    display: grid;
    gap: 26px;
}

.experienceTimeline::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 205px;
    width: 2px;
    background:
        linear-gradient(
            to bottom,
            var(--secondary),
            rgba(44, 143, 255, .10)
        );
}

.experienceItem {
    position: relative;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 52px;
}

.experienceItem::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 198px;
    width: 14px;
    height: 14px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow:
        0 0 0 1px rgba(44, 143, 255, .18),
        0 8px 20px rgba(44, 143, 255, .22);
}

.experienceMeta {
    padding-top: 28px;
    text-align: right;
}

.experienceYear {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: .9rem;
    font-weight: 900;
}

.experienceType {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef6ff;
    color: var(--secondary);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.experienceContent {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.experienceContent:hover {
    transform: translateY(-4px);
    border-color: rgba(44, 143, 255, .22);
    box-shadow: var(--shadow-strong);
}

.experienceContent h3 {
    margin-bottom: 4px;
    color: var(--primary-dark);
    font-size: 1.65rem;
    letter-spacing: -.035em;
}

.experienceContent h4 {
    margin: 0 0 18px;
    color: var(--secondary);
    font-size: .95rem;
    font-weight: 850;
}

.experienceContent > p {
    max-width: 760px;
    margin-bottom: 20px;
}

.experienceContent ul {
    display: grid;
    gap: 9px;
    margin: 0 0 24px;
    padding-left: 20px;
    color: var(--muted);
}

.experienceContent li {
    padding-left: 4px;
    line-height: 1.55;
}

.experienceContent li::marker {
    color: var(--secondary);
}

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

.experienceTags span {
    padding: 8px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--primary-dark);
    font-size: .7rem;
    font-weight: 800;
}

@media (max-width: 850px) {
    .experienceTimeline::before {
        left: 11px;
    }

    .experienceItem {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-left: 38px;
    }

    .experienceItem::before {
        top: 31px;
        left: 4px;
    }

    .experienceMeta {
        padding-top: 0;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .experienceItem {
        padding-left: 30px;
    }

    .experienceContent {
        padding: 26px;
        border-radius: 24px;
    }

    .experienceContent h3 {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   Credentials
   ========================================================================== */

.credentialsSection {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(44, 143, 255, .08),
            transparent 28%
        ),
        var(--light);
}

.credentialsHeader {
    max-width: 850px;
}

.credentialsHeader p {
    max-width: 720px;
    margin-bottom: 0;
}

.credentialsLayout {
    display: grid;
    grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
    gap: 22px;
    align-items: stretch;
}

/* Education */

.educationCard {
    position: relative;
    min-width: 0;
    padding: 42px;
    overflow: hidden;

    border-radius: 32px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(44, 143, 255, .36),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            var(--primary-dark),
            #204f7d
        );

    box-shadow:
        0 30px 75px rgba(15, 23, 42, .20);
}

.educationCard::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -100px;

    width: 280px;
    height: 280px;

    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .08);
}

.educationCard > * {
    position: relative;
    z-index: 2;
}

.educationTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 50px;
}

.educationLabel {
    color: #70b4ff;

    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.educationYear {
    color: rgba(255, 255, 255, .42);

    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -.06em;
}

.educationIcon {
    width: 74px;
    height: 74px;

    margin-bottom: 42px;

    display: grid;
    place-items: center;

    border-radius: 24px;

    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .14);

    color: #ffffff;

    font-size: 1rem;
    font-weight: 900;
}

.educationCard h3 {
    margin-bottom: 12px;

    color: #ffffff;

    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.educationCard h4 {
    margin: 0 0 22px;

    color: #70b4ff;

    font-size: .95rem;
    line-height: 1.5;
}

.educationCard > p {
    margin-bottom: 34px;

    color: rgba(255, 255, 255, .68);
}

.educationRecognition {
    padding: 20px;

    border-radius: 20px;

    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .10);
    margin-top: 15px;
}

.educationRecognition span {
    display: block;
    margin-bottom: 6px;

    color: rgba(255, 255, 255, .52);

    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.educationRecognition strong {
    color: #ffffff;

    font-size: .88rem;
    line-height: 1.45;
}

/* Certifications */

.certificationsGrid {
    min-width: 0;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.certificationCard {
    position: relative;
    min-width: 0;
    min-height: 255px;

    padding: 28px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 26px;

    background: #ffffff;

    box-shadow: var(--shadow-soft);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.certificationCard::after {
    content: "";
    position: absolute;
    right: -55px;
    bottom: -55px;

    width: 140px;
    height: 140px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(44, 143, 255, .11),
            transparent 68%
        );
}

.certificationCard:hover {
    transform: translateY(-6px);
    border-color: rgba(44, 143, 255, .24);
    box-shadow: var(--shadow-strong);
}

.certificationCard > * {
    position: relative;
    z-index: 2;
}

.certificationTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-bottom: 30px;
}

.certificationCode {
    min-width: 48px;
    height: 48px;
    padding: 0 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #eef6ff;
    color: var(--secondary);

    font-size: .7rem;
    font-weight: 900;
}

.certificationYear {
    color: rgba(21, 58, 99, .30);

    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -.06em;
}

.certificationProvider {
    display: block;
    margin-bottom: 10px;

    color: var(--secondary);

    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.certificationCard h3 {
    margin-bottom: 12px;

    color: var(--primary-dark);

    font-size: 1.15rem;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.certificationCard p {
    margin: 0;

    font-size: .88rem;
    line-height: 1.6;
}

/* Responsive */

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

    .educationCard {
        min-height: 540px;
    }
}

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

    .educationCard {
        min-height: auto;
    }
}

@media (max-width: 520px) {
    .educationCard,
    .certificationCard {
        padding: 26px;
        border-radius: 24px;
    }

    .educationCard h3 {
        font-size: 2rem;
    }

    .educationTop {
        margin-bottom: 38px;
    }
}

/* ==========================================================================
   Closing Section — Resume & Contact
   ========================================================================== */

.closingSection {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(44, 143, 255, .08),
            transparent 26%
        ),
        linear-gradient(
            180deg,
            #f8fbff,
            #ffffff
        );
}

.closingGrid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
    gap: 22px;
    align-items: stretch;
}

/* Resume panel */

.resumePanel {
    position: relative;
    min-width: 0;
    min-height: 620px;

    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(250px, .92fr);
    gap: 40px;
    align-items: center;

    padding: 48px;
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 34px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(44, 143, 255, .13),
            transparent 34%
        ),
        #ffffff;

    box-shadow: var(--shadow-strong);
}

.resumePanel::before {
    content: "";
    position: absolute;
    left: -100px;
    bottom: -100px;

    width: 250px;
    height: 250px;

    border-radius: 50%;
    border: 1px solid rgba(44, 143, 255, .08);
}

.resumePanel > * {
    position: relative;
    z-index: 2;
}

.resumePanelContent h2 {
    margin-bottom: 20px;

    font-size: clamp(2rem, 3.5vw, 3.6rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.resumePanelContent > p {
    max-width: 600px;
    margin-bottom: 30px;
}

.resumePanelActions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-bottom: 28px;
}

.resumePanelNote {
    display: flex;
    align-items: center;
    gap: 14px;

    max-width: 500px;
}

.resumePanelNote > span {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background: #eef6ff;
    color: var(--secondary);

    font-size: .7rem;
    font-weight: 900;
}

.resumePanelNote p {
    margin: 0;

    font-size: .82rem;
    line-height: 1.5;
}

/* Resume document mockup */

.resumeDocument {
    position: relative;

    width: 100%;
    max-width: 310px;
    min-height: 430px;

    margin-left: auto;
    padding: 30px;

    overflow: hidden;

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 35px 70px rgba(15, 23, 42, .20);

    transform:
        perspective(1100px)
        rotateY(-8deg)
        rotateX(2deg);
}

.resumeDocument::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 7px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );
}

.resumeDocumentTop {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 30px;
}

.resumeDocumentTop > span {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--secondary)
        );

    color: #ffffff;

    font-size: .7rem;
    font-weight: 900;
}

.resumeDocumentTop strong,
.resumeDocumentTop small {
    display: block;
}

.resumeDocumentTop strong {
    margin-bottom: 4px;

    color: var(--primary-dark);

    font-size: .78rem;
}

.resumeDocumentTop small {
    color: var(--muted);

    font-size: .55rem;
}

.resumeDocumentLine {
    width: 72%;
    height: 8px;

    margin-bottom: 10px;

    border-radius: 999px;

    background: #e7edf4;
}

.resumeDocumentLineWide {
    width: 100%;
}

.resumeDocumentLineShort {
    width: 46%;
}

.resumeDocumentSection {
    display: grid;
    gap: 11px;

    margin: 32px 0;
}

.resumeDocumentSection span {
    height: 28px;

    border-radius: 8px;

    background: #f1f5f9;
}

.resumeDocumentColumns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.resumeDocumentColumns > div {
    display: grid;
    gap: 10px;
}

.resumeDocumentColumns span {
    height: 18px;

    border-radius: 6px;

    background: #e7edf4;
}

/* Contact panel */

.contactPanel {
    position: relative;
    min-width: 0;
    min-height: 620px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 46px;
    overflow: hidden;

    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            var(--primary-dark),
            #204f7d
        );

    color: #ffffff;

    box-shadow:
        0 30px 75px rgba(15, 23, 42, .22);
}

.contactPanel::before,
.contactPanel::after {
    content: "";
    position: absolute;

    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .07);

    pointer-events: none;
}

.contactPanel::before {
    top: -110px;
    right: -110px;

    width: 280px;
    height: 280px;
}

.contactPanel::after {
    left: -90px;
    bottom: -90px;

    width: 220px;
    height: 220px;
}

.contactPanel > * {
    position: relative;
    z-index: 2;
}

.contactPanelGlow {
    position: absolute;
    top: -130px;
    right: -100px;

    width: 340px;
    height: 340px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(44, 143, 255, .42),
            transparent 68%
        );

    z-index: 1;
}

.contactPanel .eyebrow {
    color: #70b4ff;
}

.contactPanel h2 {
    margin-bottom: 22px;

    color: #ffffff;

    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.contactPanel > p {
    margin-bottom: 30px;

    color: rgba(255, 255, 255, .68);
}

.contactEmail {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 28px;
    padding: 18px;

    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 20px;

    background: rgba(255, 255, 255, .08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.contactEmail:hover {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .20);
}

.contactEmailIcon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background: rgba(255, 255, 255, .12);

    font-size: 1.1rem;
}

.contactEmail small,
.contactEmail strong {
    display: block;
}

.contactEmail small {
    margin-bottom: 4px;

    color: rgba(255, 255, 255, .48);

    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contactEmail strong {
    color: #ffffff;

    font-size: .9rem;
    word-break: break-word;
}

.contactLinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 32px;
}

.contactLinks a {
    padding: 9px 13px;

    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 999px;

    color: rgba(255, 255, 255, .76);

    font-size: .72rem;
    font-weight: 800;

    transition:
        color .25s ease,
        background .25s ease;
}

.contactLinks a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, .10);
}

.availabilityStatus {
    display: flex;
    align-items: center;
    gap: 10px;

    color: rgba(255, 255, 255, .68);

    font-size: .76rem;
    font-weight: 750;
}

.availabilityStatus span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #34d399;

    box-shadow:
        0 0 0 6px rgba(52, 211, 153, .10);
}

/* Responsive */

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

    .contactPanel {
        min-height: auto;
    }
}

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

    .resumeDocument {
        max-width: 360px;
        margin: 20px auto 0;
        transform: none;
    }
}

@media (max-width: 560px) {
    .resumePanel,
    .contactPanel {
        min-height: auto;
        padding: 30px;
        border-radius: 26px;
    }

    .resumePanelActions {
        display: grid;
    }

    .resumePanelActions .btn {
        width: 100%;
    }

    .resumeDocument {
        min-height: 390px;
        padding: 24px;
    }

    .contactEmail {
        align-items: flex-start;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.siteFooter {
    position: relative;
    overflow: hidden;
    padding: 76px 0 30px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(44, 143, 255, .18),
            transparent 30%
        ),
        var(--primary-dark);
    color: #ffffff;
}

.siteFooter::before {
    content: "";
    position: absolute;
    left: -160px;
    bottom: -230px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
    pointer-events: none;
}

.siteFooter .container {
    position: relative;
    z-index: 2;
}

.footerMain {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: 80px;
    padding-bottom: 54px;
}

.footerBrand {
    max-width: 550px;
}

.footerBrand .brand {
    margin-bottom: 24px;
    color: #ffffff;
}

.footerBrand .brandIcon {
    box-shadow: none;
}

.footerBrand p {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: .95rem;
}

.footerNavigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
}

.footerColumn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footerColumn strong {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.footerColumn a {
    color: rgba(255, 255, 255, .62);
    font-size: .88rem;
    font-weight: 700;
    transition:
        color .25s ease,
        transform .25s ease;
}

.footerColumn a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.footerBottom {
    padding-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footerBottom p {
    margin: 0;
    color: rgba(255, 255, 255, .42);
    font-size: .78rem;
}

.backToTop {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    font-weight: 850;
    transition:
        color .25s ease,
        transform .25s ease;
}

.backToTop span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.backToTop:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 800px) {
    .footerMain {
        grid-template-columns: 1fr;
        gap: 46px;
    }
}

@media (max-width: 560px) {
    .siteFooter {
        padding-top: 58px;
    }

    .footerNavigation {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footerBottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
section[id],
article[id] {
    scroll-margin-top: 96px;
}

/* ==========================================================================
   Featured Projects
   ========================================================================== */

.projectsSection {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 96% 8%,
            rgba(44, 143, 255, .08),
            transparent 28%
        ),
        #ffffff;
}

.projectsSection .sectionHeader {
    max-width: 850px;
}

.projectsSection .sectionHeader p {
    max-width: 720px;
    margin-bottom: 0;
}

.projectShowcase {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(320px, .86fr)
        minmax(0, 1.14fr);

    gap: 72px;
    align-items: center;

    padding: 64px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 38px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(44, 143, 255, .13),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f8fbff
        );

    box-shadow: var(--shadow-strong);
}

.projectShowcase::before {
    content: "";
    position: absolute;
    left: -140px;
    bottom: -180px;

    width: 360px;
    height: 360px;

    border-radius: 50%;
    border: 1px solid rgba(44, 143, 255, .08);

    pointer-events: none;
}

.projectShowcase > * {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Project Content
   ========================================================================== */

.projectContent {
    min-width: 0;
}

.projectType {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 18px;
    padding: 8px 12px;

    border: 1px solid rgba(44, 143, 255, .14);
    border-radius: 999px;

    background: #eef6ff;
    color: var(--secondary);

    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.projectType::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--secondary);

    box-shadow:
        0 0 0 5px rgba(44, 143, 255, .10);
}

.projectContent h3 {
    max-width: 620px;
    margin-bottom: 22px;

    color: var(--primary-dark);

    font-size: clamp(2.3rem, 4vw, 4.4rem);
    line-height: .98;
    letter-spacing: -.065em;
}

.projectLead {
    max-width: 610px;
    margin-bottom: 34px;

    color: var(--text);

    font-size: 1.06rem;
    line-height: 1.75;
}

.projectBlock {
    padding-top: 20px;
    margin-top: 20px;

    border-top: 1px solid var(--border);
}

.projectBlock h4 {
    margin: 0 0 9px;

    color: var(--primary-dark);

    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.projectBlock p {
    max-width: 620px;
    margin: 0;

    font-size: .91rem;
    line-height: 1.65;
}

.techStack {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 30px;
}

.techStack span {
    display: inline-flex;
    align-items: center;

    padding: 9px 13px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: #ffffff;
    color: var(--primary-dark);

    font-size: .72rem;
    font-weight: 800;

    box-shadow:
        0 8px 18px rgba(15, 23, 42, .05);
}

/* ==========================================================================
   Project Visual
   ========================================================================== */

.projectVisual {
    position: relative;

    min-width: 0;
    min-height: 590px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 32px;

    background:
        radial-gradient(
            circle at 78% 15%,
            rgba(44, 143, 255, .28),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            var(--primary-dark),
            #204f7d
        );

    box-shadow:
        0 34px 80px rgba(15, 23, 42, .24);
}

.projectVisual::before,
.projectVisual::after {
    content: "";
    position: absolute;

    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .07);

    pointer-events: none;
}

.projectVisual::before {
    width: 360px;
    height: 360px;

    top: -190px;
    right: -120px;
}

.projectVisual::after {
    width: 250px;
    height: 250px;

    left: -130px;
    bottom: -120px;
}

/* ==========================================================================
   Browser Mockup
   ========================================================================== */

.projectVisual .browserMockup {
    position: relative;
    z-index: 2;

    width: 88%;
    max-width: 690px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 40px 90px rgba(0, 0, 0, .36);

    transform:
        perspective(1300px)
        rotateY(-6deg)
        rotateX(2deg);

    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.projectShowcase:hover .browserMockup {
    transform:
        perspective(1300px)
        rotateY(-2deg)
        rotateX(0deg)
        translateY(-6px);

    box-shadow:
        0 48px 105px rgba(0, 0, 0, .42);
}

.browserTop {
    height: 42px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    gap: 7px;

    background: #eef2f7;
    border-bottom: 1px solid #e4e9f0;
}

.browserTop span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #cbd5e1;
}

.browserTop span:first-child {
    background: #fda4af;
}

.browserTop span:nth-child(2) {
    background: #fde68a;
}

.browserTop span:nth-child(3) {
    background: #86efac;
}

/* ==========================================================================
   Dashboard Mockup
   ========================================================================== */

.dashboardMockup {
    min-height: 430px;
    padding: 24px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 96px 170px 1fr;
    gap: 15px;

    background:
        linear-gradient(
            180deg,
            #f8fafc,
            #f3f7fb
        );
}

.metric {
    position: relative;

    overflow: hidden;

    border: 1px solid #edf1f5;
    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 10px 24px rgba(15, 23, 42, .06);
}

.metric::before {
    content: "";

    position: absolute;
    left: 16px;
    top: 18px;

    width: 42%;
    height: 8px;

    border-radius: 999px;

    background: #dce7f3;
}

.metric::after {
    content: "";

    position: absolute;
    left: 16px;
    bottom: 18px;

    width: 58%;
    height: 24px;

    border-radius: 8px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );

    opacity: .82;
}

.metric:nth-child(2)::after {
    width: 44%;

    background:
        linear-gradient(
            90deg,
            #34d399,
            #10b981
        );
}

.metric:nth-child(3)::after {
    width: 68%;

    background:
        linear-gradient(
            90deg,
            #8b5cf6,
            #6366f1
        );
}

/* ==========================================================================
   Chart
   ========================================================================== */

.chart {
    position: relative;

    grid-column: span 2;

    overflow: hidden;

    border: 1px solid #edf1f5;
    border-radius: 17px;

    background:
        linear-gradient(
            to bottom,
            transparent 24%,
            rgba(148, 163, 184, .13) 25%,
            transparent 26%,
            transparent 49%,
            rgba(148, 163, 184, .13) 50%,
            transparent 51%,
            transparent 74%,
            rgba(148, 163, 184, .13) 75%,
            transparent 76%
        ),
        #ffffff;

    box-shadow:
        0 10px 24px rgba(15, 23, 42, .06);
}

.chart::before {
    content: "";

    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 30px;

    height: 100px;

    background:
        linear-gradient(
            135deg,
            transparent 0 8%,
            var(--secondary) 9% 11%,
            transparent 12% 21%,
            var(--secondary) 22% 24%,
            transparent 25% 36%,
            var(--secondary) 37% 39%,
            transparent 40% 54%,
            var(--secondary) 55% 57%,
            transparent 58% 71%,
            var(--secondary) 72% 74%,
            transparent 75% 84%,
            var(--secondary) 85% 87%,
            transparent 88%
        );

    opacity: .82;
}

.chart::after {
    content: "";

    position: absolute;
    left: 24px;
    bottom: 18px;

    width: 120px;
    height: 9px;

    border-radius: 999px;

    background: #dce7f3;
}

/* ==========================================================================
   Map
   ========================================================================== */

.map {
    position: relative;

    overflow: hidden;

    border: 1px solid #edf1f5;
    border-radius: 17px;

    background:
        linear-gradient(
            30deg,
            transparent 44%,
            rgba(148, 163, 184, .18) 45% 47%,
            transparent 48%
        ),
        linear-gradient(
            -28deg,
            transparent 44%,
            rgba(148, 163, 184, .15) 45% 47%,
            transparent 48%
        ),
        linear-gradient(
            72deg,
            transparent 54%,
            rgba(148, 163, 184, .12) 55% 57%,
            transparent 58%
        ),
        #eef4f8;

    box-shadow:
        0 10px 24px rgba(15, 23, 42, .06);
}

.map::before {
    content: "GIS MAP";

    position: absolute;
    left: 15px;
    top: 14px;

    color: rgba(21, 58, 99, .52);

    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.map span {
    position: absolute;

    width: 14px;
    height: 14px;

    border: 4px solid #ffffff;
    border-radius: 50%;

    background: var(--secondary);

    box-shadow:
        0 6px 14px rgba(44, 143, 255, .3);
}

.map span:first-child {
    left: 23%;
    top: 38%;
}

.map span:nth-child(2) {
    left: 56%;
    top: 26%;
}

.map span:nth-child(3) {
    left: 72%;
    top: 58%;
}

.map span:nth-child(4) {
    left: 42%;
    top: 70%;
}

.map span:nth-child(5) {
    left: 17%;
    top: 75%;
}

/* ==========================================================================
   Bottom Dashboard Area
   ========================================================================== */

.dashboardMockup::before {
    content: "";

    grid-column: 1 / -1;

    border: 1px solid #edf1f5;
    border-radius: 17px;

    background:
        repeating-linear-gradient(
            to bottom,
            #ffffff 0,
            #ffffff 35px,
            #edf1f5 36px,
            #ffffff 37px
        );

    box-shadow:
        0 10px 24px rgba(15, 23, 42, .05);
}

/* ==========================================================================
   Subtle Animation
   ========================================================================== */

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

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

.projectVisual .browserMockup {
    animation: dashboardFloat 6s ease-in-out infinite;
}

.projectShowcase:hover .browserMockup {
    animation-play-state: paused;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
    .projectShowcase {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .projectVisual {
        min-height: 540px;
    }

    .projectVisual .browserMockup {
        max-width: 760px;
    }
}

@media (max-width: 760px) {
    .projectShowcase {
        padding: 36px;
        border-radius: 30px;
    }

    .projectVisual {
        min-height: 430px;
        border-radius: 26px;
    }

    .projectVisual .browserMockup {
        width: 94%;
        transform: none;
        animation: none;
    }

    .projectShowcase:hover .browserMockup {
        transform: none;
    }

    .dashboardMockup {
        min-height: 350px;
        padding: 16px;
        grid-template-rows: 76px 135px 1fr;
        gap: 10px;
    }
}

@media (max-width: 560px) {
    .projectShowcase {
        padding: 26px;
        border-radius: 26px;
    }

    .projectContent h3 {
        font-size: 2.2rem;
    }

    .projectVisual {
        min-height: 340px;
    }

    .browserTop {
        height: 34px;
    }

    .dashboardMockup {
        min-height: 275px;
        padding: 11px;
        grid-template-rows: 62px 105px 1fr;
        gap: 7px;
    }

    .metric::before {
        left: 10px;
        top: 12px;
        height: 6px;
    }

    .metric::after {
        left: 10px;
        bottom: 12px;
        height: 17px;
    }

    .chart::before {
        left: 12px;
        right: 12px;
        bottom: 20px;
        height: 68px;
    }

    .chart::after {
        left: 12px;
        bottom: 10px;
        width: 70px;
        height: 6px;
    }

    .map span {
        width: 10px;
        height: 10px;
        border-width: 3px;
    }
}
/* ==========================================================================
   Project 2 — Is On Code SaaS visualization
   ========================================================================== */

.projectShowcase + .projectShowcase {
    margin-top: 110px;
}

.projectShowcaseReverse {
    grid-template-columns:
        minmax(0, 1.14fr)
        minmax(320px, .86fr);
}

.projectShowcaseReverse .projectVisual {
    order: 1;
}

.projectShowcaseReverse .projectContent {
    order: 2;
}

.projectContributions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}

.projectContributions span {
    position: relative;
    padding: 9px 13px 9px 29px;
    border: 1px solid rgba(44, 143, 255, .13);
    border-radius: 999px;
    background: #eef6ff;
    color: var(--primary-dark);
    font-size: .71rem;
    font-weight: 800;
}

.projectContributions span::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary);
    transform: translateY(-50%);
}

.projectLink {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: var(--secondary);
    font-size: .84rem;
    font-weight: 900;
    transition:
        color .25s ease,
        transform .25s ease;
}

.projectLink span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(44, 143, 255, .16);
    border-radius: 50%;
    background: #eef6ff;
}

.projectLink:hover {
    color: var(--primary);
    transform: translateX(3px);
}

/* Visual container */

.projectVisualSaas {
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(241, 23, 255, .22),
            transparent 28%
        ),
        radial-gradient(
            circle at 84% 14%,
            rgba(25, 227, 255, .25),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #0a1630,
            #142f54
        );
}

/* Product shell */

.saasProductMockup {
    position: relative;
    z-index: 2;
    width: 89%;
    max-width: 720px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 24px;
    background: #f5f8fc;
    box-shadow:
        0 42px 95px rgba(0, 0, 0, .4);
    transform:
        perspective(1300px)
        rotateY(6deg)
        rotateX(2deg);
    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.projectShowcaseReverse:hover .saasProductMockup {
    transform:
        perspective(1300px)
        rotateY(2deg)
        translateY(-6px);
    box-shadow:
        0 50px 110px rgba(0, 0, 0, .46);
}

/* Top bar */

.saasProductTopbar {
    height: 58px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr) auto;
    align-items: center;
    gap: 20px;
    background: #fff;
    border-bottom: 1px solid #e7edf4;
}

.saasProductBrand {
    display: flex;
    align-items: center;
    gap: 9px;
}

.saasProductBrand span {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background:
        linear-gradient(
            135deg,
            #19e3ff,
            #8e5bff,
            #f117ff
        );
    color: #fff;
    font-size: .55rem;
    font-weight: 900;
}

.saasProductBrand strong {
    color: #153a63;
    font-size: .72rem;
}

.saasProductSearch {
    width: min(100%, 230px);
    height: 31px;
    justify-self: center;
    border-radius: 10px;
    background: #f1f5f9;
}

.saasProductUser {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            #dbeafe,
            #bfdbfe
        );
}

/* Main layout */

.saasProductBody {
    min-height: 430px;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
}

.saasProductSidebar {
    padding: 20px 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    background: #102a49;
}

.saasProductSidebar span {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
}

.saasProductSidebar span.active {
    background:
        linear-gradient(
            135deg,
            rgba(25, 227, 255, .9),
            rgba(142, 91, 255, .9)
        );
    box-shadow:
        0 8px 20px rgba(25, 227, 255, .18);
}

.saasProductWorkspace {
    position: relative;
    padding: 22px;
    background:
        linear-gradient(
            180deg,
            #f6f9fd,
            #edf3f9
        );
}

/* Welcome */

.saasProductWelcome {
    min-height: 82px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-radius: 18px;
    background:
        radial-gradient(
            circle at 86% 10%,
            rgba(25, 227, 255, .25),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #153a63,
            #2c8fff
        );
    box-shadow:
        0 14px 28px rgba(21, 58, 99, .16);
}

.saasProductWelcome small,
.saasProductWelcome strong {
    display: block;
}

.saasProductWelcome small {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .58);
    font-size: .5rem;
}

.saasProductWelcome strong {
    color: #fff;
    font-size: .83rem;
}

.saasProductWelcome > span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
}

/* Stats */

.saasProductStats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
    margin: 14px 0;
}

.saasStat {
    min-height: 78px;
    padding: 14px;
    border: 1px solid #e7edf4;
    border-radius: 15px;
    background: #fff;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, .05);
}

.saasStat > span {
    display: block;
    width: 27px;
    height: 27px;
    margin-bottom: 9px;
    border-radius: 9px;
    background: #dbeafe;
}

.saasStat:nth-child(2) > span {
    background: #d1fae5;
}

.saasStat:nth-child(3) > span {
    background: #ede9fe;
}

.saasProductStats strong,
.saasProductStats small {
    display: block;
    border-radius: 999px;
}

.saasProductStats strong {
    width: 48%;
    height: 8px;
    margin-bottom: 6px;
    background: #cbd5e1;
}

.saasProductStats small {
    width: 70%;
    height: 5px;
    background: #e7edf4;
}

/* Calendar and activity */

.saasProductMain {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(145px, .7fr);
    gap: 12px;
}

.saasProductCalendar,
.saasProductActivity {
    min-height: 170px;
    padding: 15px;
    border: 1px solid #e7edf4;
    border-radius: 17px;
    background: #fff;
    box-shadow:
        0 8px 18px rgba(15, 23, 42, .05);
}

.saasCalendarHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}

.saasCalendarHeader strong {
    width: 76px;
    height: 8px;
    border-radius: 999px;
    background: #cbd5e1;
}

.saasCalendarHeader span {
    width: 28px;
    height: 22px;
    border-radius: 8px;
    background: #eef6ff;
}

.saasCalendarGrid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.saasCalendarGrid span {
    aspect-ratio: 1;
    border-radius: 7px;
    background: #f1f5f9;
}

.saasCalendarGrid span:nth-child(5),
.saasCalendarGrid span:nth-child(10) {
    background:
        linear-gradient(
            135deg,
            rgba(25, 227, 255, .75),
            rgba(44, 143, 255, .75)
        );
}

.saasCalendarGrid span:nth-child(12) {
    background:
        linear-gradient(
            135deg,
            rgba(142, 91, 255, .65),
            rgba(241, 23, 255, .65)
        );
}

.saasProductActivity > strong {
    display: block;
    width: 72px;
    height: 8px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: #cbd5e1;
}

.saasActivityItem {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
}

.saasActivityItem > span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: #dbeafe;
}

.saasActivityItem:nth-child(3) > span {
    background: #d1fae5;
}

.saasActivityItem:nth-child(4) > span {
    background: #ede9fe;
}

.saasProductActivity b,
.saasProductActivity small {
    display: block;
    border-radius: 999px;
}

.saasProductActivity b {
    width: 62px;
    height: 6px;
    margin-bottom: 5px;
    background: #cbd5e1;
}

.saasProductActivity small {
    width: 86px;
    height: 5px;
    background: #e7edf4;
}

/* Mobile-style bottom navigation */

.saasProductNav {
    display: none;
}

/* Animation */

@keyframes saasProductFloat {
    0%,
    100% {
        transform:
            perspective(1300px)
            rotateY(6deg)
            rotateX(2deg)
            translateY(0);
    }

    50% {
        transform:
            perspective(1300px)
            rotateY(6deg)
            rotateX(2deg)
            translateY(-7px);
    }
}

.saasProductMockup {
    animation: saasProductFloat 6.5s ease-in-out infinite;
}

.projectShowcaseReverse:hover .saasProductMockup {
    animation-play-state: paused;
}

/* Responsive */

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

    .projectShowcaseReverse .projectVisual,
    .projectShowcaseReverse .projectContent {
        order: initial;
    }

    .saasProductMockup {
        max-width: 780px;
    }
}

@media (max-width: 760px) {
    .saasProductMockup {
        width: 94%;
        transform: none;
        animation: none;
    }

    .projectShowcaseReverse:hover .saasProductMockup {
        transform: none;
    }

    .saasProductBody {
        grid-template-columns: 55px minmax(0, 1fr);
    }

    .saasProductWorkspace {
        padding: 15px;
    }
}

@media (max-width: 560px) {
    .projectShowcase + .projectShowcase {
        margin-top: 74px;
    }

    .saasProductTopbar {
        grid-template-columns: auto 1fr auto;
        padding: 0 11px;
        gap: 10px;
    }

    .saasProductBrand strong {
        display: none;
    }

    .saasProductBody {
        display: block;
        min-height: 360px;
    }

    .saasProductSidebar {
        display: none;
    }

    .saasProductWorkspace {
        padding: 11px 11px 64px;
    }

    .saasProductWelcome {
        min-height: 70px;
    }

    .saasProductStats {
        gap: 7px;
    }

    .saasStat {
        min-height: 65px;
        padding: 10px;
    }

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

    .saasProductActivity {
        display: none;
    }

    .saasProductCalendar {
        min-height: 140px;
    }

    .saasProductNav {
        position: absolute;
        left: 11px;
        right: 11px;
        bottom: 10px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        border: 1px solid #e7edf4;
        border-radius: 15px;
        background: rgba(255, 255, 255, .94);
        box-shadow:
            0 10px 24px rgba(15, 23, 42, .08);
    }

    .saasProductNav span {
        width: 20px;
        height: 20px;
        border-radius: 7px;
        background: #e2e8f0;
    }

    .saasProductNav span.active {
        background:
            linear-gradient(
                135deg,
                #19e3ff,
                #8e5bff
            );
    }
}
/* ==========================================================================
   Project 3 — Attendance & Check-In visualization
   ========================================================================== */

.projectVisualAttendance {
    background:
        radial-gradient(
            circle at 18% 10%,
            rgba(52, 211, 153, .20),
            transparent 29%
        ),
        radial-gradient(
            circle at 88% 16%,
            rgba(44, 143, 255, .26),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #0d233d,
            #1b4b70
        );
}

.attendanceProductMockup {
    position: relative;
    z-index: 2;

    width: 88%;
    max-width: 720px;
    min-height: 530px;

    display: grid;
    grid-template-columns: minmax(210px, .72fr) minmax(250px, 1.28fr);
    align-items: center;
    gap: 34px;
}

/* Phone */

.attendancePhone {
    position: relative;

    width: 230px;
    padding: 10px;

    justify-self: center;

    border-radius: 38px;

    background: #111827;

    box-shadow:
        0 38px 80px rgba(0, 0, 0, .42);

    transform: rotate(-3deg);
}

.attendancePhoneTop {
    height: 24px;
    display: grid;
    place-items: center;
}

.attendancePhoneTop span {
    width: 66px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}

.attendancePhoneScreen {
    position: relative;
    min-height: 470px;
    padding: 18px 16px 68px;
    overflow: hidden;
    border-radius: 29px;
    background:
        linear-gradient(
            180deg,
            #f4f9ff,
            #ffffff
        );
}

.attendanceMobileHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.attendanceMobileHeader small,
.attendanceMobileHeader strong {
    display: block;
}

.attendanceMobileHeader small {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: .5rem;
}

.attendanceMobileHeader strong {
    color: var(--primary-dark);
    font-size: .82rem;
}

.attendanceMobileHeader > span {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

/* Current status */

.attendanceStatusCard {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 13px;
    padding: 14px;
    border-radius: 16px;
    color: #fff;
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(255, 255, 255, .18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #153a63,
            #2c8fff
        );
    box-shadow: 0 12px 24px rgba(21, 58, 99, .18);
}

.attendanceStatusDot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 5px rgba(52, 211, 153, .14);
}

.attendanceStatusCard small,
.attendanceStatusCard strong {
    display: block;
}

.attendanceStatusCard small {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, .56);
    font-size: .45rem;
}

.attendanceStatusCard strong {
    color: #fff;
    font-size: .72rem;
}

.attendanceStatusTime {
    color: rgba(255, 255, 255, .85);
    font-size: .72rem;
    font-weight: 900;
}

/* Actions */

.attendanceActionGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 12px;
}

.attendanceAction {
    min-height: 75px;
    padding: 11px;
    border: 1px solid #e7edf4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.attendanceActionIcon {
    display: block;
    width: 25px;
    height: 25px;
    margin-bottom: 8px;
    border-radius: 9px;
    background: #fef3c7;
}

.attendanceAction:nth-child(2) .attendanceActionIcon {
    background: #fee2e2;
}

.attendanceActionGrid strong,
.attendanceActionGrid small {
    display: block;
}

.attendanceActionGrid strong {
    margin-bottom: 3px;
    color: var(--primary-dark);
    font-size: .6rem;
}

.attendanceActionGrid small {
    color: var(--muted);
    font-size: .43rem;
}

/* Weekly hours */

.attendanceHoursCard {
    margin-bottom: 12px;
    padding: 13px;
    border: 1px solid #e7edf4;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.attendanceHoursHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.attendanceHoursHeader strong {
    color: var(--primary-dark);
    font-size: .58rem;
}

.attendanceHoursHeader span {
    color: var(--secondary);
    font-size: .62rem;
    font-weight: 900;
}

.attendanceProgress {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7edf4;
}

.attendanceProgress span {
    display: block;
    width: 88%;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            #2c8fff 0 88%,
            #8e5bff 88%
        );
}

.attendanceHoursLegend {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 9px;
}

.attendanceHoursLegend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: .43rem;
}

.attendanceHoursLegend i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2c8fff;
}

.attendanceHoursLegend span:nth-child(2) i {
    background: #8e5bff;
}

/* Timeline */

.attendanceTimeline {
    padding: 13px;
    border: 1px solid #e7edf4;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.attendanceTimelineHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.attendanceTimelineHeader strong {
    color: var(--primary-dark);
    font-size: .58rem;
}

.attendanceTimelineHeader span {
    color: var(--secondary);
    font-size: .43rem;
    font-weight: 800;
}

.attendanceTimelineItem {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.attendanceTimelineItem:last-child {
    margin-bottom: 0;
}

.attendanceTimelineItem > span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #34d399;
}

.attendanceTimelineItem:nth-child(3) > span {
    background: #f59e0b;
}

.attendanceTimelineItem:nth-child(4) > span {
    background: #2c8fff;
}

.attendanceTimeline strong,
.attendanceTimeline small {
    display: block;
}

.attendanceTimeline strong {
    margin-bottom: 2px;
    color: var(--primary-dark);
    font-size: .5rem;
}

.attendanceTimeline small {
    color: var(--muted);
    font-size: .4rem;
}

.attendanceTimeline b {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #eef6ff;
    color: var(--secondary);
    font-size: .45rem;
}

/* Bottom nav */

.attendanceBottomNav {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border: 1px solid #e7edf4;
    border-radius: 16px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}

.attendanceBottomNav span {
    width: 18px;
    height: 18px;
    border-radius: 7px;
    background: #e2e8f0;
}

.attendanceBottomNav span.active {
    background:
        linear-gradient(
            135deg,
            #34d399,
            #2c8fff
        );
}

/* Analytics card */

.attendanceAnalyticsCard {
    position: relative;
    min-height: 340px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 25px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 36px 75px rgba(0, 0, 0, .28);
    transform: rotate(2deg);
}

.attendanceAnalyticsTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.attendanceAnalyticsTop small,
.attendanceAnalyticsTop strong {
    display: block;
}

.attendanceAnalyticsTop small {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: .58rem;
}

.attendanceAnalyticsTop strong {
    color: var(--primary-dark);
    font-size: 1.45rem;
    letter-spacing: -.05em;
}

.attendanceAnalyticsTop > span {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: #eef6ff;
}

/* Bar chart */

.attendanceChart {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 10px 4px 0;
    border-bottom: 1px solid #e7edf4;
}

.attendanceChart span {
    flex: 1;
    height: var(--attendance-height);
    min-height: 14px;
    border-radius: 7px 7px 2px 2px;
    background:
        linear-gradient(
            180deg,
            #19e3ff,
            #2c8fff
        );
    box-shadow: 0 8px 16px rgba(44, 143, 255, .14);
}

.attendanceChart span:nth-child(5) {
    background:
        linear-gradient(
            180deg,
            #8e5bff,
            #f117ff
        );
}

.attendanceChartLabels {
    display: flex;
    justify-content: space-between;
    padding: 8px 6px 0;
}

.attendanceChartLabels span {
    color: var(--muted);
    font-size: .52rem;
    font-weight: 700;
}

.attendanceAnalyticsStats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 22px;
}

.attendanceStat {
    padding: 14px;
    border-radius: 14px;
    background: #f8fafc;
}

.attendanceAnalyticsStats small,
.attendanceAnalyticsStats strong {
    display: block;
}

.attendanceAnalyticsStats small {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: .52rem;
}

.attendanceAnalyticsStats strong {
    color: var(--primary-dark);
    font-size: .9rem;
}

/* Animation */

@keyframes attendancePhoneFloat {
    0%,
    100% {
        transform: rotate(-3deg) translateY(0);
    }

    50% {
        transform: rotate(-3deg) translateY(-7px);
    }
}

@keyframes attendanceAnalyticsFloat {
    0%,
    100% {
        transform: rotate(2deg) translateY(0);
    }

    50% {
        transform: rotate(2deg) translateY(6px);
    }
}

.attendancePhone {
    animation: attendancePhoneFloat 6.2s ease-in-out infinite;
}

.attendanceAnalyticsCard {
    animation: attendanceAnalyticsFloat 6.8s ease-in-out infinite;
}

.projectShowcase:hover .attendancePhone,
.projectShowcase:hover .attendanceAnalyticsCard {
    animation-play-state: paused;
}

/* Responsive */

@media (max-width: 1080px) {
    .attendanceProductMockup {
        max-width: 760px;
    }
}

@media (max-width: 760px) {
    .attendanceProductMockup {
        grid-template-columns: 1fr 1fr;
        width: 94%;
        gap: 18px;
    }

    .attendancePhone {
        width: 205px;
        transform: none;
        animation: none;
    }

    .attendanceAnalyticsCard {
        transform: none;
        animation: none;
    }
}

@media (max-width: 560px) {
    .projectVisualAttendance {
        min-height: 620px;
    }

    .attendanceProductMockup {
        grid-template-columns: 1fr;
        align-items: start;
        min-height: 560px;
    }

    .attendancePhone {
        width: 205px;
        margin: 0 auto;
    }

    .attendanceAnalyticsCard {
        width: 92%;
        min-height: 250px;
        margin: -40px auto 0;
        padding: 18px;
    }

    .attendanceChart {
        height: 105px;
    }
}
/* ==========================================================================
   Project 4 — GIS Mapping visualization
   ========================================================================== */

.projectVisualMap {
    background:
        radial-gradient(
            circle at 18% 14%,
            rgba(52, 211, 153, .18),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 12%,
            rgba(44, 143, 255, .28),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #0b2038,
            #17456a
        );
}

.gisProductMockup {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 760px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 42px 95px rgba(0, 0, 0, .42);

    transform:
        perspective(1300px)
        rotateY(6deg)
        rotateX(2deg);

    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.projectShowcaseReverse:hover .gisProductMockup {
    transform:
        perspective(1300px)
        rotateY(2deg)
        translateY(-6px);

    box-shadow:
        0 50px 110px rgba(0, 0, 0, .48);
}

/* Topbar */

.gisTopbar {
    height: 58px;
    padding: 0 18px;

    display: grid;
    grid-template-columns: auto minmax(140px, 1fr) auto;
    align-items: center;
    gap: 20px;

    background: #ffffff;
    border-bottom: 1px solid #e7edf4;
}

.gisBrand {
    display: flex;
    align-items: center;
    gap: 9px;
}

.gisBrand > span {
    width: 31px;
    height: 31px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #34d399,
            #2c8fff
        );
}

.gisBrand strong {
    color: var(--primary-dark);
    font-size: .72rem;
}

.gisSearch {
    width: min(100%, 250px);
    height: 31px;

    justify-self: center;

    border-radius: 10px;
    background: #f1f5f9;
}

.gisTopActions {
    display: flex;
    gap: 8px;
}

.gisTopActions span {
    width: 31px;
    height: 31px;

    border-radius: 10px;
    background: #eef6ff;
}

/* Main body */

.gisBody {
    min-height: 460px;

    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
}

/* Sidebar */

.gisSidebar {
    padding: 18px;

    background:
        linear-gradient(
            180deg,
            #f8fafc,
            #f1f5f9
        );

    border-right: 1px solid #e7edf4;
}

.gisSidebarTitle {
    width: 74%;
    height: 9px;

    margin-bottom: 22px;

    border-radius: 999px;
    background: #cbd5e1;
}

.gisFilter {
    min-height: 44px;
    margin-bottom: 9px;
    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 12px;

    background: #ffffff;
    border: 1px solid #e7edf4;
}

.gisFilter.active {
    background: #eef6ff;
    border-color: rgba(44, 143, 255, .16);
}

.gisFilter span {
    width: 62%;
    height: 7px;

    border-radius: 999px;
    background: #d8e1eb;
}

.gisFilter i {
    width: 18px;
    height: 18px;

    border-radius: 6px;
    background: #e2e8f0;
}

.gisFilter.active i {
    background: var(--secondary);
}

.gisSidebarStats {
    display: grid;
    gap: 9px;

    margin-top: 24px;
}

.gisStat {
    min-height: 64px;
    padding: 12px;

    border-radius: 13px;

    background: #ffffff;
    border: 1px solid #e7edf4;
}

.gisSidebarStats small,
.gisSidebarStats strong {
    display: block;
    border-radius: 999px;
}

.gisSidebarStats small {
    width: 58%;
    height: 6px;
    margin-bottom: 10px;
    background: #dbe4ee;
}

.gisSidebarStats strong {
    width: 42%;
    height: 18px;
    background:
        linear-gradient(
            90deg,
            #34d399,
            #2c8fff
        );
}

/* Map */

.gisMapArea {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            28deg,
            transparent 44%,
            rgba(148, 163, 184, .18) 45% 47%,
            transparent 48%
        ),
        linear-gradient(
            -34deg,
            transparent 42%,
            rgba(148, 163, 184, .16) 43% 46%,
            transparent 47%
        ),
        linear-gradient(
            74deg,
            transparent 57%,
            rgba(148, 163, 184, .12) 58% 60%,
            transparent 61%
        ),
        linear-gradient(
            180deg,
            #eaf1f5,
            #dfe9ef
        );
}

.gisMapArea::before,
.gisMapArea::after {
    content: "";
    position: absolute;

    border-radius: 50%;
    background: rgba(52, 211, 153, .10);
}

.gisMapArea::before {
    width: 190px;
    height: 190px;

    left: -60px;
    top: 60px;
}

.gisMapArea::after {
    width: 150px;
    height: 150px;

    right: -40px;
    bottom: 30px;
}

.gisMapToolbar {
    position: absolute;
    top: 16px;
    right: 16px;

    display: grid;
    gap: 7px;

    z-index: 4;
}

.gisMapToolbar span {
    width: 34px;
    height: 34px;

    border: 1px solid #dce5ed;
    border-radius: 10px;

    background: rgba(255, 255, 255, .94);

    box-shadow:
        0 8px 18px rgba(15, 23, 42, .08);
}

/* Routes */

.gisRoute {
    position: absolute;

    height: 4px;

    border-radius: 999px;

    background: rgba(44, 143, 255, .40);

    transform-origin: left center;
}

.gisRouteOne {
    width: 310px;
    left: 12%;
    top: 40%;
    transform: rotate(18deg);
}

.gisRouteTwo {
    width: 260px;
    left: 30%;
    top: 68%;
    transform: rotate(-24deg);
}

.gisRouteThree {
    width: 220px;
    left: 54%;
    top: 28%;
    transform: rotate(54deg);
}

/* Markers */

.gisMarker {
    position: absolute;
    z-index: 3;

    width: 20px;
    height: 20px;

    border: 5px solid #ffffff;
    border-radius: 50% 50% 50% 0;

    transform: rotate(-45deg);

    box-shadow:
        0 8px 18px rgba(15, 23, 42, .22);
}

.gisMarkerBlue {
    left: 22%;
    top: 34%;
    background: #2c8fff;
}

.gisMarkerGreen {
    left: 46%;
    top: 52%;
    background: #34d399;
}

.gisMarkerRed {
    left: 68%;
    top: 30%;
    background: #ef4444;
}

.gisMarkerOrange {
    left: 76%;
    top: 68%;
    background: #f59e0b;
}

.gisMarkerPurple {
    left: 36%;
    top: 74%;
    background: #8e5bff;
}

.gisMarkerSmall {
    width: 15px;
    height: 15px;
    border-width: 4px;
}

.gisMarkerSmall:nth-of-type(6) {
    left: 60%;
    top: 78%;
}

.gisMarkerSmall:nth-of-type(7) {
    left: 82%;
    top: 42%;
}

/* Info card */

.gisInfoCard {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 5;

    width: 220px;
    padding: 15px;

    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 17px;

    background: rgba(255, 255, 255, .94);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 18px 36px rgba(15, 23, 42, .16);
}

.gisInfoTop {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 14px;
}

.gisInfoTop > span {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #2c8fff,
            #34d399
        );
}

.gisInfoTop strong,
.gisInfoTop small {
    display: block;
    border-radius: 999px;
}

.gisInfoTop strong {
    width: 90px;
    height: 7px;
    margin-bottom: 6px;
    background: #cbd5e1;
}

.gisInfoTop small {
    width: 65px;
    height: 5px;
    background: #e2e8f0;
}

.gisInfoRows {
    display: grid;
    gap: 7px;
}

.gisInfoRows span {
    height: 7px;
    border-radius: 999px;
    background: #e7edf4;
}

.gisInfoRows span:nth-child(2) {
    width: 80%;
}

.gisInfoRows span:nth-child(3) {
    width: 62%;
}

.gisInfoActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;

    margin-top: 14px;
}

.gisInfoActions span {
    height: 28px;

    border-radius: 9px;

    background: #eef6ff;
}

.gisInfoActions span:last-child {
    background:
        linear-gradient(
            135deg,
            #153a63,
            #2c8fff
        );
}

/* Legend */

.gisLegend {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 4;

    display: flex;
    gap: 10px;

    padding: 9px 12px;

    border: 1px solid rgba(255, 255, 255, .70);
    border-radius: 12px;

    background: rgba(255, 255, 255, .92);

    box-shadow:
        0 10px 22px rgba(15, 23, 42, .10);
}

.gisLegend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: var(--muted);

    font-size: .48rem;
    font-weight: 700;
}

.gisLegend i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #34d399;
}

.gisLegend span:nth-child(2) i {
    background: #f59e0b;
}

.gisLegend span:nth-child(3) i {
    background: #ef4444;
}

/* Animation */

@keyframes gisFloat {
    0%,
    100% {
        transform:
            perspective(1300px)
            rotateY(6deg)
            rotateX(2deg)
            translateY(0);
    }

    50% {
        transform:
            perspective(1300px)
            rotateY(6deg)
            rotateX(2deg)
            translateY(-7px);
    }
}

.gisProductMockup {
    animation: gisFloat 6.6s ease-in-out infinite;
}

.projectShowcaseReverse:hover .gisProductMockup {
    animation-play-state: paused;
}

/* Responsive */

@media (max-width: 1080px) {
    .gisProductMockup {
        max-width: 780px;
    }
}

@media (max-width: 760px) {
    .gisProductMockup {
        width: 94%;
        transform: none;
        animation: none;
    }

    .projectShowcaseReverse:hover .gisProductMockup {
        transform: none;
    }

    .gisBody {
        grid-template-columns: 135px minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .projectVisualMap {
        min-height: 470px;
    }

    .gisTopbar {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
        padding: 0 11px;
    }

    .gisBrand strong {
        display: none;
    }

    .gisBody {
        display: block;
        min-height: 380px;
    }

    .gisSidebar {
        display: none;
    }

    .gisMapArea {
        min-height: 380px;
    }

    .gisInfoCard {
        left: 12px;
        bottom: 12px;
        width: 185px;
    }

    .gisLegend {
        right: 10px;
        bottom: 10px;
        flex-direction: column;
    }
}
/* ==========================================================================
   Project 5 — Automated Testing visualization
   ========================================================================== */

.projectVisualTesting {
    background:
        radial-gradient(
            circle at 18% 12%,
            rgba(52, 211, 153, .18),
            transparent 28%
        ),
        radial-gradient(
            circle at 88% 12%,
            rgba(139, 92, 246, .24),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            #0b1324,
            #1d2e4d
        );
}

.testingProductMockup {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 760px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 24px;

    background: #0f172a;

    box-shadow:
        0 42px 95px rgba(0, 0, 0, .46);

    transform:
        perspective(1300px)
        rotateY(-6deg)
        rotateX(2deg);

    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.projectShowcase:hover .testingProductMockup {
    transform:
        perspective(1300px)
        rotateY(-2deg)
        translateY(-6px);

    box-shadow:
        0 50px 110px rgba(0, 0, 0, .52);
}

/* Window top */

.testingWindowTop {
    height: 52px;
    padding: 0 16px;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;

    background: #111c31;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.testingWindowDots {
    display: flex;
    gap: 6px;
}

.testingWindowDots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.testingWindowDots span:first-child {
    background: #fb7185;
}

.testingWindowDots span:nth-child(2) {
    background: #facc15;
}

.testingWindowDots span:nth-child(3) {
    background: #4ade80;
}

.testingWindowTitle {
    color: rgba(255, 255, 255, .62);
    font-size: .62rem;
    font-weight: 700;
    text-align: center;
}

.testingWindowActions {
    display: flex;
    gap: 7px;
}

.testingWindowActions span {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
}

/* Body */

.testingBody {
    min-height: 460px;

    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
}

.testingSidebar {
    padding: 18px 14px;

    background: #101a2d;
    border-right: 1px solid rgba(255, 255, 255, .06);
}

.testingSidebarHeader {
    width: 70%;
    height: 8px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
}

.testingSuite {
    min-height: 42px;
    margin-bottom: 8px;
    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-radius: 11px;

    background: rgba(255, 255, 255, .035);
}

.testingSuite.active {
    background:
        linear-gradient(
            135deg,
            rgba(44, 143, 255, .18),
            rgba(139, 92, 246, .16)
        );
}

.testingSuite span {
    width: 65%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
}

.testingSuite i {
    width: 16px;
    height: 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
}

.testingSuite.active i {
    background: #4ade80;
}

/* Workspace */

.testingWorkspace {
    padding: 20px;
    background:
        linear-gradient(
            180deg,
            #111b30,
            #0d1628
        );
}

/* Summary */

.testingSummary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 14px;
}

.testingSummary > div {
    min-height: 76px;
    padding: 13px;

    display: flex;
    align-items: center;
    gap: 10px;

    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;

    background: rgba(255, 255, 255, .035);
}

.testingSummary > div > span {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 10px;
}

.testingSummaryPass > span {
    background: rgba(74, 222, 128, .18);
}

.testingSummaryFail > span {
    background: rgba(248, 113, 113, .18);
}

.testingSummaryTime > span {
    background: rgba(96, 165, 250, .18);
}

.testingSummary small,
.testingSummary strong {
    display: block;
}

.testingSummary small {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .42);
    font-size: .48rem;
}

.testingSummary strong {
    color: #fff;
    font-size: .85rem;
}

/* Main grid */

.testingMainGrid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(160px, .65fr);
    gap: 12px;
}

/* Terminal */

.testingTerminal {
    min-height: 235px;
    padding: 16px;

    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 15px;

    background: #09111f;
}

.testingTerminalHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 16px;
}

.testingTerminalHeader span {
    color: rgba(255, 255, 255, .78);
    font-size: .58rem;
    font-weight: 800;
}

.testingTerminalHeader small {
    color: rgba(255, 255, 255, .34);
    font-size: .45rem;
}

.testingTerminalLines {
    display: grid;
    gap: 10px;
}

.testingTerminalLines p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-family: Consolas, Monaco, monospace;
    font-size: .5rem;
    line-height: 1.35;
}

.testingTerminalLines p span {
    display: inline-block;
    width: 15px;
    font-weight: 900;
}

.terminalSuccess {
    color: #4ade80;
}

.terminalWarning {
    color: #facc15;
}

/* Browsers */

.testingBrowsers {
    display: grid;
    align-content: start;
    gap: 10px;
}

.testingBrowser {
    min-height: 67px;
    padding: 12px;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;

    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;

    background: rgba(255, 255, 255, .035);
}

.browserBadge {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    color: #fff;
    font-size: .55rem;
    font-weight: 900;
}

.browserChromium {
    background: linear-gradient(135deg, #2c8fff, #19e3ff);
}

.browserFirefox {
    background: linear-gradient(135deg, #f97316, #facc15);
}

.browserWebkit {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.testingBrowsers strong,
.testingBrowsers small {
    display: block;
}

.testingBrowsers strong {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .78);
    font-size: .55rem;
}

.testingBrowsers small {
    color: rgba(255, 255, 255, .34);
    font-size: .43rem;
}

.testingBrowser > span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 5px rgba(74, 222, 128, .08);
}

/* Progress */

.testingProgressPanel {
    margin-top: 12px;
    padding: 14px;

    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;

    background: rgba(255, 255, 255, .035);
}

.testingProgressHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;
}

.testingProgressHeader strong {
    color: rgba(255, 255, 255, .72);
    font-size: .55rem;
}

.testingProgressHeader span {
    color: #4ade80;
    font-size: .55rem;
    font-weight: 900;
}

.testingProgressTrack {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.testingProgressTrack span {
    display: block;
    width: 98%;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            #4ade80,
            #2c8fff,
            #8b5cf6
        );
}

.testingProgressLegend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 10px;
}

.testingProgressLegend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: rgba(255, 255, 255, .34);
    font-size: .43rem;
}

.testingProgressLegend i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
}

.testingProgressLegend span:nth-child(2) i {
    background: #2c8fff;
}

.testingProgressLegend span:nth-child(3) i {
    background: #8b5cf6;
}

/* Animation */

@keyframes testingFloat {
    0%,
    100% {
        transform:
            perspective(1300px)
            rotateY(-6deg)
            rotateX(2deg)
            translateY(0);
    }

    50% {
        transform:
            perspective(1300px)
            rotateY(-6deg)
            rotateX(2deg)
            translateY(-7px);
    }
}

.testingProductMockup {
    animation: testingFloat 6.5s ease-in-out infinite;
}

.projectShowcase:hover .testingProductMockup {
    animation-play-state: paused;
}

/* Responsive */

@media (max-width: 760px) {
    .testingProductMockup {
        width: 94%;
        transform: none;
        animation: none;
    }

    .projectShowcase:hover .testingProductMockup {
        transform: none;
    }

    .testingBody {
        grid-template-columns: 110px minmax(0, 1fr);
    }

    .testingWorkspace {
        padding: 14px;
    }
}

@media (max-width: 560px) {
    .projectVisualTesting {
        min-height: 470px;
    }

    .testingBody {
        display: block;
        min-height: 380px;
    }

    .testingSidebar {
        display: none;
    }

    .testingSummary {
        gap: 7px;
    }

    .testingSummary > div {
        min-height: 62px;
        padding: 9px;
    }

    .testingSummary > div > span {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

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

    .testingBrowsers {
        grid-template-columns: repeat(3, 1fr);
    }

    .testingBrowser {
        min-height: 58px;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .testingBrowser > span {
        display: none;
    }

    .testingTerminal {
        min-height: 200px;
    }
}
/* ==========================================================================
   Numbers That Matter
   ========================================================================== */

.numbersSection {
    position: relative;
    padding: 120px 0;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(44, 143, 255, .24),
            transparent 30%
        ),
        radial-gradient(
            circle at 12% 88%,
            rgba(142, 91, 255, .16),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #0b1f35,
            #153a63
        );

    color: #ffffff;
}

.numbersSection::before,
.numbersSection::after {
    content: "";
    position: absolute;

    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .06);

    pointer-events: none;
}

.numbersSection::before {
    top: -170px;
    right: -130px;

    width: 430px;
    height: 430px;
}

.numbersSection::after {
    left: -190px;
    bottom: -240px;

    width: 500px;
    height: 500px;
}

.numbersSection .container {
    position: relative;
    z-index: 2;
}

.numbersHeader {
    max-width: 850px;
    margin-bottom: 58px;
}

.numbersHeader .eyebrow {
    color: #70b4ff;
}

.numbersHeader h2 {
    margin-bottom: 0;

    color: #ffffff;

    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: .98;
    letter-spacing: -.06em;
}

.numbersGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.numberCard {
    position: relative;

    min-width: 0;
    min-height: 300px;

    padding: 32px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 28px;

    background: rgba(255, 255, 255, .055);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform .35s ease,
        background .35s ease,
        border-color .35s ease;
}

.numberCard::before {
    content: "";

    position: absolute;
    top: -70px;
    right: -70px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(44, 143, 255, .18),
            transparent 68%
        );
}

.numberCard:hover {
    transform: translateY(-6px);

    background: rgba(255, 255, 255, .075);
    border-color: rgba(112, 180, 255, .30);
}

.numberCardFeatured {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(25, 227, 255, .22),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            rgba(44, 143, 255, .30),
            rgba(255, 255, 255, .07)
        );
}

.numberCard > * {
    position: relative;
    z-index: 2;
}

.numberValue {
    display: block;

    margin-bottom: auto;

    color: #ffffff;

    font-size: clamp(3.4rem, 6vw, 6rem);
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.08em;
}

.numberValueText {
    max-width: 100%;

    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: .95;
    overflow-wrap: anywhere;
}

.numberCard h3 {
    margin: 54px 0 12px;

    color: #ffffff;

    font-size: 1.25rem;
    line-height: 1.15;
    letter-spacing: -.03em;
}

.numberCard p {
    margin: 0;

    color: rgba(255, 255, 255, .60);

    font-size: .9rem;
    line-height: 1.65;
}

/* Responsive */

@media (max-width: 1000px) {
    .numbersGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .numbersSection {
        padding: 82px 0;
    }

    .numbersHeader {
        margin-bottom: 40px;
    }

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

    .numberCard {
        min-height: 250px;
        padding: 28px;
    }

    .numberCard h3 {
        margin-top: 42px;
    }
}

@media (max-width: 420px) {
    .numberValueText {
        font-size: 2rem;
    }
}
/* ==========================================================================
   Engineering Philosophy
   ========================================================================== */

.engineering {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 92% 10%,
            rgba(44, 143, 255, .08),
            transparent 26%
        ),
        radial-gradient(
            circle at 8% 90%,
            rgba(142, 91, 255, .06),
            transparent 24%
        ),
        #ffffff;
}

.engineering .sectionHeader {
    max-width: 850px;
}

.engineering .sectionHeader p {
    max-width: 700px;
    margin-bottom: 0;
}

.engineeringGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.engineeringCard {
    position: relative;

    min-width: 0;
    min-height: 300px;

    padding: 32px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .98),
            rgba(248, 251, 255, .98)
        );

    box-shadow: var(--shadow-soft);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.engineeringCard::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );
}

.engineeringCard::after {
    content: "";

    position: absolute;
    right: -70px;
    bottom: -70px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(44, 143, 255, .12),
            transparent 68%
        );

    pointer-events: none;
}

.engineeringCard:hover {
    transform: translateY(-7px);

    border-color: rgba(44, 143, 255, .25);

    box-shadow:
        0 28px 65px rgba(15, 23, 42, .14);
}

.engineeringCard > * {
    position: relative;
    z-index: 2;
}

.engineeringIcon {
    width: 60px;
    height: 60px;

    margin-bottom: 34px;

    display: grid;
    place-items: center;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(44, 143, 255, .12),
            rgba(25, 227, 255, .12)
        );

    border: 1px solid rgba(44, 143, 255, .14);

    color: var(--secondary);

    font-size: 1.45rem;

    transition:
        transform .3s ease,
        background .3s ease;
}

.engineeringCard:hover .engineeringIcon {
    transform: translateY(-3px) rotate(-3deg);

    background:
        linear-gradient(
            135deg,
            rgba(44, 143, 255, .18),
            rgba(25, 227, 255, .18)
        );
}

.engineeringCard h3 {
    margin-bottom: 14px;

    color: var(--primary-dark);

    font-size: 1.35rem;
    line-height: 1.18;
    letter-spacing: -.03em;
}

.engineeringCard p {
    margin: 0;

    color: var(--muted);

    font-size: .92rem;
    line-height: 1.68;
}

/* Alternate accents */

.engineeringCard:nth-child(2) .engineeringIcon {
    background:
        linear-gradient(
            135deg,
            rgba(142, 91, 255, .12),
            rgba(241, 23, 255, .10)
        );

    border-color: rgba(142, 91, 255, .14);
}

.engineeringCard:nth-child(3) .engineeringIcon {
    background:
        linear-gradient(
            135deg,
            rgba(52, 211, 153, .12),
            rgba(16, 185, 129, .10)
        );

    border-color: rgba(52, 211, 153, .14);
}

.engineeringCard:nth-child(4) .engineeringIcon {
    background:
        linear-gradient(
            135deg,
            rgba(245, 158, 11, .12),
            rgba(251, 191, 36, .10)
        );

    border-color: rgba(245, 158, 11, .14);
}

.engineeringCard:nth-child(5) .engineeringIcon {
    background:
        linear-gradient(
            135deg,
            rgba(239, 68, 68, .10),
            rgba(244, 63, 94, .10)
        );

    border-color: rgba(239, 68, 68, .12);
}

.engineeringCard:nth-child(6) .engineeringIcon {
    background:
        linear-gradient(
            135deg,
            rgba(99, 102, 241, .12),
            rgba(59, 130, 246, .10)
        );

    border-color: rgba(99, 102, 241, .14);
}

/* Responsive */

@media (max-width: 1000px) {
    .engineeringGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .engineeringCard {
        min-height: auto;
        padding: 28px;
    }

    .engineeringIcon {
        margin-bottom: 28px;
    }
}

@media (max-width: 420px) {
    .engineeringCard {
        padding: 24px;
        border-radius: 24px;
    }

    .engineeringIcon {
        width: 54px;
        height: 54px;
        border-radius: 17px;
        font-size: 1.25rem;
    }
}

.engineeringIcon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;

    margin-bottom: 34px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(44, 143, 255, .14);
    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(44, 143, 255, .12),
            rgba(25, 227, 255, .12)
        );

    color: var(--secondary);

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.engineeringIcon svg {
    width: 28px;
    height: 28px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.engineeringCard:hover .engineeringIcon {
    transform: translateY(-4px) rotate(-3deg);

    background:
        linear-gradient(
            135deg,
            rgba(44, 143, 255, .19),
            rgba(25, 227, 255, .18)
        );

    box-shadow:
        0 14px 28px rgba(44, 143, 255, .12);
}

.engineeringCard:nth-child(1) .engineeringIcon {
    color: #2c8fff;
}

.engineeringCard:nth-child(2) .engineeringIcon {
    color: #8e5bff;
    background: rgba(142, 91, 255, .10);
    border-color: rgba(142, 91, 255, .14);
}

.engineeringCard:nth-child(3) .engineeringIcon {
    color: #10b981;
    background: rgba(52, 211, 153, .10);
    border-color: rgba(52, 211, 153, .14);
}

.engineeringCard:nth-child(4) .engineeringIcon {
    color: #f59e0b;
    background: rgba(245, 158, 11, .10);
    border-color: rgba(245, 158, 11, .14);
}

.engineeringCard:nth-child(5) .engineeringIcon {
    color: #ef4444;
    background: rgba(239, 68, 68, .09);
    border-color: rgba(239, 68, 68, .12);
}

.engineeringCard:nth-child(6) .engineeringIcon {
    color: #6366f1;
    background: rgba(99, 102, 241, .10);
    border-color: rgba(99, 102, 241, .14);
}
a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(44, 143, 255, .45);
    outline-offset: 4px;
    border-radius: 8px;
}

.menuToggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;

    position: relative;
    z-index: 120;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: #ffffff;

    cursor: pointer;
}

.menuToggle span {
    position: absolute;
    left: 50%;

    width: 20px;
    height: 2px;

    border-radius: 999px;

    background: var(--primary-dark);

    transform: translateX(-50%);

    transition:
        top .25s ease,
        transform .25s ease;
}

.menuToggle span:first-child {
    top: 18px;
}

.menuToggle span:last-child {
    top: 26px;
}

.menuToggle.active span:first-child {
    top: 22px;
    transform: translateX(-50%) rotate(45deg);
}

.menuToggle.active span:last-child {
    top: 22px;
    transform: translateX(-50%) rotate(-45deg);
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .menuToggle {
        display: block;
    }

    .mainNav {
        position: fixed;
        top: 86px;
        left: 20px;
        right: 20px;
        z-index: 110;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;

        max-height: calc(100dvh - 106px);
        padding: 14px;
        overflow-y: auto;

        border: 1px solid var(--border);
        border-radius: 22px;

        background: rgba(255, 255, 255, .98);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        box-shadow: var(--shadow-strong);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-12px);

        transition:
            opacity .25s ease,
            visibility .25s ease,
            transform .25s ease;
    }

    .mainNav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mainNav a {
        width: 100%;
        padding: 14px 16px;

        border-radius: 13px;

        color: var(--primary-dark);
    }

    .mainNav a:hover,
    .mainNav a.active {
        color: var(--secondary);
        background: var(--light);
    }

    .mainNav a::after {
        display: none;
    }
}

.brand {
    display: flex;
    align-items: center;

    text-decoration: none;

    flex-shrink: 0;
}

.brandLogo {
    display: block;

    width: auto;
    height: 46px;

    transition:
        transform .25s ease,
        opacity .25s ease,
        filter .25s ease;
}

.brand:hover .brandLogo {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

@media (max-width: 760px) {

    .brandLogo{
        height:40px;
    }

}

.rbTechnologyGroup h4 {
    width: 100%;
    margin: 0 0 4px;

    color: var(--primary-dark);

    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rbTechnologyGroup ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    width: 100%;
    margin: 0;
    padding: 0;

    list-style: none;
}

.rbTechnologyGroup li {
    padding: 8px 11px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #ffffff;
    color: var(--muted);

    font-size: .73rem;
    font-weight: 750;
}
.rbExpertiseFeatured header,
.rbExpertiseCard header,
.rbTechnologyIntro {
    margin: 0;
}

.rbExpertiseFeatured header h3,
.rbExpertiseCard header h3 {
    margin-top: 0;
}
/* ==========================================================================
   Closing Section — semantic fixes
   ========================================================================== */

.resumePanelContent header,
.contactPanel header {
    margin: 0;
}

.resumePanelContent header p,
.contactPanel header p {
    margin-bottom: 30px;
}

.resumePanelNote {
    display: flex;
    align-items: center;
    gap: 14px;

    max-width: 500px;

    font-style: normal;
}

.resumePanelNote > span {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background: #eef6ff;
    color: var(--secondary);

    font-size: .7rem;
    font-weight: 900;
}

.resumePanelNote p {
    margin: 0;

    font-size: .82rem;
    line-height: 1.5;
}

.resumeLogo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--secondary)
        );

    color: #ffffff;

    font-size: .7rem;
    font-weight: 900;
}

.contactAddress {
    margin: 0;
    font-style: normal;
}

.availabilityStatus {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0;

    color: rgba(255, 255, 255, .68);

    font-size: .76rem;
    font-weight: 750;
}

.availabilityStatus span {
    width: 9px;
    height: 9px;

    flex: 0 0 9px;

    border-radius: 50%;

    background: #34d399;

    box-shadow:
        0 0 0 6px rgba(52, 211, 153, .10);
}
/* ==========================================================================
   Additional Credentials
   ========================================================================== */

.additionalCredentials {
    margin-top: 42px;
    padding: 32px;

    display: grid;
    grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
    gap: 38px;
    align-items: start;

    border: 1px solid var(--border);
    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8fbff
        );

    box-shadow: var(--shadow-soft);
}

.additionalCredentialsIntro .eyebrow {
    display: inline-block;
    margin-bottom: 12px;
}

.additionalCredentialsIntro h3 {
    margin: 0;

    color: var(--primary-dark);

    font-size: 1.55rem;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.additionalCredentialsList {
    display: grid;
    gap: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}

.additionalCredentialsList li {
    position: relative;

    padding: 13px 0 13px 24px;

    border-bottom: 1px solid var(--border);

    color: var(--muted);

    font-size: .86rem;
    line-height: 1.5;
}

.additionalCredentialsList li:first-child {
    padding-top: 0;
}

.additionalCredentialsList li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.additionalCredentialsList li::before {
    content: "";

    position: absolute;
    left: 0;
    top: 19px;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );
}

.additionalCredentialsList li:first-child::before {
    top: 6px;
}

@media (max-width: 760px) {
    .additionalCredentials {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 26px;
    }
}