
/* =========================================================
   URBIO — LIGHTING ECOSYSTEM
   31 / 38 / 31 layout
   ========================================================= */
.urbio-lighting-ecosystem,
.urbio-lighting-ecosystem * {
    box-sizing: border-box;
}

.urbio-lighting-ecosystem {
    --urbio-orange: #EC571A;
    --urbio-black: #080808;
    --urbio-card: #101010;
    --urbio-border: rgba(255, 255, 255, 0.13);
    position: relative;
    width: 100%;
    padding: 0 0 50px;
    color: #fff;
    background:
        radial-gradient(circle at 50% 48%, rgba(236, 87, 26, .075), transparent 42%),
        #080808;
    font-family: "Exo 2", sans-serif;
    overflow: hidden;
}

.urbio-lighting-ecosystem::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}

/* =========================================================
   GRID
   ========================================================= */
.urbio-lighting-grid {
    position: relative;
    z-index: 2;
    width: min(1600px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(320px, 1fr)
        minmax(460px, 1.25fr)
        minmax(320px, 1fr);
    gap: 16px;
    align-items: stretch;
}

/* =========================================================
   GENERAL CARD
   ========================================================= */
.urbio-lighting-card {
    position: relative;
    min-width: 0;
    min-height: 690px;
    display: block;
    color: #fff !important;
    background: var(--urbio-card);
    border: 1px solid var(--urbio-border);
    border-radius: 22px;
    text-decoration: none !important;
    overflow: hidden;
    isolation: isolate;
    transition:
        transform .48s cubic-bezier(.2, .75, .25, 1),
        border-color .35s ease,
        box-shadow .48s ease;
}

.urbio-lighting-card:hover {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-7px);
}

/* =========================================================
   SIDE CARDS
   ========================================================= */
.urbio-lighting-card--side:hover {
    border-color: rgba(236, 87, 26, .48);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, .42),
        0 0 36px rgba(236, 87, 26, .07);
}

.urbio-lighting-card__background {
    position: absolute;
    z-index: -3;
    inset: 0 0 auto;
    width: 100%;
    height: 475px !important;
    object-fit: cover;
    object-position: center;
    filter: saturate(.84) brightness(.86);
    transform: scale(1.01);
    transition:
        transform 1.05s cubic-bezier(.2, .75, .25, 1),
        filter .65s ease;
}

.urbio-lighting-card--side:hover .urbio-lighting-card__background {
    filter: saturate(1) brightness(.92);
    transform: scale(1.065);
}

.urbio-lighting-card__overlay {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(5, 5, 5, .04) 0%,
            rgba(5, 5, 5, .09) 42%,
            rgba(5, 5, 5, .78) 67%,
            rgba(5, 5, 5, .98) 81%,
            #080808 100%
        );
}

.urbio-lighting-card--side::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0;
    background: linear-gradient(145deg, rgba(236, 87, 26, .18), transparent 36%);
    transition: opacity .4s ease;
}

.urbio-lighting-card--side:hover::after {
    opacity: 1;
}

/* =========================================================
   SHARED CONTENT
   ========================================================= */
.urbio-lighting-card__content {
    position: absolute;
    z-index: 10;
    left: 28px;
    right: 28px;
    bottom: 28px;
}

.urbio-card-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: var(--urbio-orange);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.urbio-lighting-card__content h3 {
    margin: 0 0 16px;
    color: #fff;
    font-family: "Exo 2", sans-serif;
    font-size: clamp(38px, 3.1vw, 52px);
    font-weight: 400;
    line-height: .94;
    letter-spacing: -.045em;
}

.urbio-lighting-card__content p {
    max-width: 340px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .64);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.58;
}

.urbio-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    max-width: 100%;
    padding: 13px 24px;
    color: #080808 !important;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 8px;
    font-family: "Exo 2", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
        background-color .28s ease,
        color .28s ease,
        border-color .28s ease,
        transform .28s ease;
}

.urbio-lighting-card:hover .urbio-card-btn {
    color: #fff !important;
    background: var(--urbio-orange);
    border-color: var(--urbio-orange);
    transform: translateY(-1px);
}

/* =========================================================
   SMART CARD — NEW VERTICAL ARCHITECTURE
   ========================================================= */
.urbio-lighting-card--smart {
    min-height: 690px;
    background:
        radial-gradient(circle at 50% 30%, rgba(236, 87, 26, .13), transparent 39%),
        linear-gradient(145deg, #171717 0%, #101010 48%, #090909 100%);
    border-color: rgba(236, 87, 26, .4);
    box-shadow:
        0 32px 82px rgba(0, 0, 0, .46),
        0 0 45px rgba(236, 87, 26, .055);
}

.urbio-lighting-card--smart:hover {
    border-color: rgba(236, 87, 26, .72);
    box-shadow:
        0 38px 92px rgba(0, 0, 0, .54),
        0 0 60px rgba(236, 87, 26, .11);
}

.urbio-smart-grid {
    position: absolute;
    z-index: -4;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .027) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .027) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 64%, transparent 86%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 64%, transparent 86%);
}

.urbio-smart-glow {
    position: absolute;
    z-index: -3;
    top: -40px;
    left: 50%;
    width: 470px;
    height: 390px;
    border-radius: 50%;
    background: rgba(236, 87, 26, .13);
    filter: blur(95px);
    transform: translateX(-50%);
    transition: opacity .65s ease, transform .75s ease;
}

.urbio-lighting-card--smart:hover .urbio-smart-glow {
    opacity: 1;
    transform: translateX(-50%) scale(1.12);
}

.urbio-smart-stage {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
    right: 18px;
    height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.urbio-smart-visual {
    position: relative;
    width: min(500px, 96%);
    aspect-ratio: 1.55 / 1;
}

/* Vertical transition between diagram and text */
.urbio-smart-fade {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    top: 300px;
    height: 220px;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(10, 10, 10, .38) 24%,
            rgba(9, 9, 9, .87) 61%,
            rgba(8, 8, 8, .98) 100%
        );
}

.urbio-smart-card__content {
    z-index: 12;
    bottom: 28px;
}

.urbio-smart-card__content h3 {
    font-size: clamp(40px, 3.25vw, 54px);
}

.urbio-smart-card__content h3 span {
    color: var(--urbio-orange);
}

.urbio-smart-card__content p {
    max-width: 475px;
}

/* =========================================================
   SMART DIAGRAM
   ========================================================= */
.urbio-orbit {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.urbio-orbit--outer {
    width: 72%;
    height: 112%;
}

.urbio-orbit--inner {
    width: 43%;
    height: 67%;
    border-color: rgba(236, 87, 26, .25);
}

.urbio-orbit--outer::before,
.urbio-orbit--outer::after,
.urbio-orbit--inner::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    background: var(--urbio-orange);
    border-radius: 50%;
    box-shadow:
        0 0 0 5px rgba(236, 87, 26, .075),
        0 0 15px rgba(236, 87, 26, .65);
}

.urbio-orbit--outer::before {
    top: 10%;
    right: 15%;
}

.urbio-orbit--outer::after {
    bottom: 8%;
    left: 21%;
}

.urbio-orbit--inner::after {
    top: 49%;
    right: -4px;
}

.urbio-orbit-line {
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    width: 76%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .095), transparent);
    transform-origin: center;
}

.urbio-orbit-line--one {
    transform: translate(-50%, -50%) rotate(25deg);
}

.urbio-orbit-line--two {
    transform: translate(-50%, -50%) rotate(-27deg);
}

.urbio-smart-core {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 50%;
    width: 132px;
    height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background:
        radial-gradient(circle at 40% 30%, rgba(255, 255, 255, .075), transparent 35%),
        #111;
    border: 1px solid rgba(236, 87, 26, .65);
    border-radius: 50%;
    box-shadow:
        0 0 0 12px rgba(236, 87, 26, .04),
        0 0 38px rgba(236, 87, 26, .2),
        inset 0 0 30px rgba(236, 87, 26, .05);
    transform: translate(-50%, -50%);
    transition: transform .45s ease, box-shadow .45s ease;
}

.urbio-lighting-card--smart:hover .urbio-smart-core {
    transform: translate(-50%, -50%) scale(1.045);
    box-shadow:
        0 0 0 14px rgba(236, 87, 26, .05),
        0 0 52px rgba(236, 87, 26, .27),
        inset 0 0 34px rgba(236, 87, 26, .07);
}

.urbio-smart-core__signal {
    position: absolute;
    inset: -1px;
    border: 1px solid rgba(236, 87, 26, .43);
    border-radius: 50%;
    animation: urbioCoreSignal 2.8s ease-out infinite;
}

.urbio-smart-core__icon {
    width: 55px;
    height: 55px;
    margin-bottom: -2px;
    object-fit: contain;
}

.urbio-smart-core strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .08em;
}

.urbio-smart-core > span:last-child {
    margin-top: 6px;
    color: rgba(255, 255, 255, .46);
    font-size: 7px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.urbio-smart-node {
    position: absolute;
    z-index: 7;
    min-width: 122px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    color: #fff;
    background: rgba(15, 15, 15, .9);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 11px 28px rgba(0, 0, 0, .25);
    transition:
        border-color .32s ease,
        background-color .32s ease,
        transform .42s cubic-bezier(.2, .75, .25, 1),
        box-shadow .32s ease;
}

.urbio-smart-node__icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--urbio-orange);
    background: rgba(236, 87, 26, .1);
    border: 1px solid rgba(236, 87, 26, .22);
    border-radius: 9px;
}

.urbio-smart-node__icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.urbio-smart-node > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.urbio-smart-node small {
    color: rgba(255, 255, 255, .4);
    font-size: 6px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.urbio-smart-node strong {
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.urbio-smart-node--protocol {
    top: 6%;
    left: 4%;
}

.urbio-smart-node--sensors {
    top: 9%;
    right: 3%;
}

.urbio-smart-node--controllers {
    bottom: 7%;
    left: 3%;
}

.urbio-smart-node--app {
    right: 4%;
    bottom: 5%;
}

.urbio-lighting-card--smart:hover .urbio-smart-node {
    background: rgba(20, 20, 20, .95);
    border-color: rgba(236, 87, 26, .38);
    box-shadow:
        0 15px 34px rgba(0, 0, 0, .34),
        0 0 22px rgba(236, 87, 26, .055);
}

.urbio-lighting-card--smart:hover .urbio-smart-node--protocol {
    transform: translate(-4px, -4px);
}

.urbio-lighting-card--smart:hover .urbio-smart-node--sensors {
    transform: translate(4px, -4px);
}

.urbio-lighting-card--smart:hover .urbio-smart-node--controllers {
    transform: translate(-4px, 4px);
}

.urbio-lighting-card--smart:hover .urbio-smart-node--app {
    transform: translate(4px, 4px);
}

@keyframes urbioCoreSignal {
    0% {
        opacity: .65;
        transform: scale(1);
    }
    75%,
    100% {
        opacity: 0;
        transform: scale(1.34);
    }
}

/* =========================================================
   SMALL DESKTOP
   ========================================================= */
@media (max-width: 1280px) {
    .urbio-lighting-ecosystem {
        padding-left: 28px;
        padding-right: 28px;
    }

    .urbio-lighting-grid {
        grid-template-columns:
            minmax(270px, 1fr)
            minmax(420px, 1.22fr)
            minmax(270px, 1fr);
    }

    .urbio-lighting-card,
    .urbio-lighting-card--smart {
        min-height: 660px;
    }

    .urbio-lighting-card__background {
        height: 450px !important;
    }

    .urbio-smart-stage {
        height: 360px;
    }

    .urbio-smart-visual {
        width: min(445px, 96%);
    }

    .urbio-smart-fade {
        top: 280px;
    }

    .urbio-smart-core {
        width: 120px;
        height: 120px;
    }

    .urbio-smart-node {
        min-width: 108px;
        padding: 8px 9px;
    }

    .urbio-smart-node__icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .urbio-smart-node strong {
        font-size: 9px;
    }
}

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1024px) {
    .urbio-lighting-ecosystem {
        padding: 70px 24px 80px;
    }

    .urbio-lighting-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .urbio-lighting-card--smart {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 700px;
    }

    .urbio-lighting-card--side {
        min-height: 590px;
    }

    .urbio-lighting-card__background {
        height: 410px !important;
    }

    .urbio-smart-stage {
        height: 405px;
    }

    .urbio-smart-visual {
        width: min(560px, 90%);
    }

    .urbio-smart-fade {
        top: 320px;
    }

    .urbio-smart-card__content p {
        max-width: 560px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px) {
    .urbio-lighting-ecosystem {
        padding: 64px 14px 70px;
    }

    .urbio-lighting-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .urbio-lighting-card {
        border-radius: 18px;
    }

    .urbio-lighting-card--smart {
        order: 1;
        min-height: 690px;
    }

    .urbio-lighting-card--side {
        min-height: 540px;
    }

    .urbio-lighting-grid .urbio-lighting-card--side:first-child {
        order: 2;
    }

    .urbio-lighting-grid .urbio-lighting-card--side:last-child {
        order: 3;
    }

    .urbio-lighting-card__background {
        height: 390px !important;
    }

    .urbio-lighting-card__content {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .urbio-lighting-card__content h3 {
        font-size: 42px;
    }

    .urbio-card-btn {
        min-width: 0;
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .urbio-smart-stage {
        top: 12px;
        left: 10px;
        right: 10px;
        height: 360px;
    }

    .urbio-smart-visual {
        width: min(410px, 100%);
    }

    .urbio-smart-fade {
        top: 270px;
        height: 220px;
    }

    .urbio-smart-core {
        width: 110px;
        height: 110px;
    }

    .urbio-smart-core__icon {
        width: 46px;
        height: 46px;
    }

    .urbio-smart-node {
        min-width: 96px;
        gap: 6px;
        padding: 7px 8px;
    }

    .urbio-smart-node__icon {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }

    .urbio-smart-node small {
        font-size: 5px;
    }

    .urbio-smart-node strong {
        font-size: 8px;
    }

    .urbio-smart-node--protocol {
        left: 0;
    }

    .urbio-smart-node--sensors {
        right: 0;
    }

    .urbio-smart-node--controllers {
        left: 0;
    }

    .urbio-smart-node--app {
        right: 0;
    }

    .urbio-smart-card__content h3 {
        font-size: 43px;
    }
}

@media (max-width: 420px) {
    .urbio-lighting-card--smart {
        min-height: 660px;
    }

    .urbio-smart-stage {
        height: 330px;
    }

    .urbio-smart-fade {
        top: 245px;
    }

    .urbio-smart-node {
        min-width: 82px;
        padding: 7px;
    }

    .urbio-smart-node__icon {
        display: none;
    }

    .urbio-smart-core {
        width: 100px;
        height: 100px;
    }

    .urbio-smart-card__content h3 {
        font-size: 38px;
    }

    .urbio-smart-card__content p {
        font-size: 11px;
        line-height: 1.5;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .urbio-lighting-card,
    .urbio-lighting-card *,
    .urbio-lighting-card::before,
    .urbio-lighting-card::after {
        animation: none !important;
        transition: none !important;
    }
}

.urbio-lighting-ecosystem .urbio-smart-node__icon svg,
.urbio-lighting-ecosystem .urbio-smart-node__icon svg *{fill:none!important;stroke:currentColor!important;stroke-linecap:round!important;stroke-linejoin:round!important}


/* =========================================================
   V1.1 — SMART DIAGRAM MOBILE = DESKTOP-LIKE
   Pastreaza toate iconitele si structura vizuala pe telefon.
   ========================================================= */
@media (max-width: 767px) {

    .urbio-lighting-card--smart {
        min-height: 720px !important;
    }

    .urbio-smart-stage {
        top: 10px !important;
        left: 8px !important;
        right: 8px !important;
        height: 375px !important;
        overflow: visible !important;
    }

    .urbio-smart-visual {
        width: min(390px, 100%) !important;
        aspect-ratio: 1.45 / 1 !important;
        overflow: visible !important;
    }

    .urbio-orbit--outer {
        width: 78% !important;
        height: 118% !important;
    }

    .urbio-orbit--inner {
        width: 46% !important;
        height: 70% !important;
    }

    .urbio-smart-core {
        width: 116px !important;
        height: 116px !important;
    }

    .urbio-smart-core__icon {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: -2px !important;
    }

    .urbio-smart-core strong {
        font-size: 12px !important;
    }

    .urbio-smart-core > span:last-child {
        margin-top: 6px !important;
        font-size: 6px !important;
        letter-spacing: .08em !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .urbio-smart-node {
        min-width: 98px !important;
        gap: 6px !important;
        padding: 7px 8px !important;
        border-radius: 10px !important;
    }

    .urbio-smart-node__icon {
        display: inline-flex !important;
        width: 28px !important;
        height: 28px !important;
        flex: 0 0 28px !important;
        border-radius: 8px !important;
    }

    .urbio-smart-node__icon svg {
        display: block !important;
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        min-height: 15px !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.45 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    .urbio-smart-node__icon svg *,
    .urbio-smart-node__icon svg path,
    .urbio-smart-node__icon svg rect,
    .urbio-smart-node__icon svg circle {
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.45 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    .urbio-smart-node small {
        font-size: 5px !important;
        line-height: 1 !important;
        letter-spacing: .07em !important;
        white-space: nowrap !important;
    }

    .urbio-smart-node strong {
        font-size: 8px !important;
        line-height: 1.05 !important;
        white-space: nowrap !important;
    }

    .urbio-smart-node--protocol {
        top: 5% !important;
        left: 0 !important;
    }

    .urbio-smart-node--sensors {
        top: 7% !important;
        right: 0 !important;
    }

    .urbio-smart-node--controllers {
        bottom: 4% !important;
        left: 0 !important;
    }

    .urbio-smart-node--app {
        right: 0 !important;
        bottom: 3% !important;
    }

    .urbio-smart-fade {
        top: 285px !important;
        height: 220px !important;
    }

    .urbio-smart-card__content {
        left: 22px !important;
        right: 22px !important;
        bottom: 22px !important;
    }
}

/* Very small phones: NU mai ascundem iconitele. */
@media (max-width: 420px) {

    .urbio-lighting-card--smart {
        min-height: 700px !important;
    }

    .urbio-smart-stage {
        height: 350px !important;
        left: 6px !important;
        right: 6px !important;
    }

    .urbio-smart-visual {
        width: min(350px, 100%) !important;
    }

    .urbio-smart-node {
        min-width: 88px !important;
        padding: 6px 7px !important;
        gap: 5px !important;
    }

    .urbio-smart-node__icon {
        display: inline-flex !important;
        width: 26px !important;
        height: 26px !important;
        flex: 0 0 26px !important;
    }

    .urbio-smart-node__icon svg {
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        min-height: 14px !important;
    }

    .urbio-smart-node small {
        font-size: 4.5px !important;
    }

    .urbio-smart-node strong {
        font-size: 7.5px !important;
    }

    .urbio-smart-core {
        width: 108px !important;
        height: 108px !important;
    }

    .urbio-smart-core__icon {
        width: 44px !important;
        height: 44px !important;
    }

    .urbio-smart-fade {
        top: 265px !important;
    }
}
