/* ============================================================
   MDN GENERAL CONTRACTOR LLC
   DIGITAL BUSINESS CARD
============================================================ */

:root{

    --mdnc-bg:#020713;
    --mdnc-bg-2:#061327;

    --mdnc-navy:#061a38;
    --mdnc-navy-light:#0b2853;

    --mdnc-red:#d80b20;
    --mdnc-red-bright:#ff1834;
    --mdnc-red-soft:#ff5368;

    --mdnc-blue:#2478ff;
    --mdnc-blue-dark:#1255b8;

    --mdnc-white:#ffffff;

    --mdnc-text:#d8e1ec;
    --mdnc-muted:#8e9aad;

    --mdnc-border:rgba(255,255,255,.10);

}


/* ============================================================
   RESET
============================================================ */

*{
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{

    margin:0;

    min-width:320px;

    min-height:100vh;

    color:var(--mdnc-white);

    background:
        var(--mdnc-bg);

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    font-size:14px;

}


/* ============================================================
   BACKGROUND
============================================================ */

.mdn-card-background{

    position:fixed;

    inset:0;

    overflow:hidden;

    pointer-events:none;

    background:

        radial-gradient(
            circle at 20% 0%,
            rgba(36,120,255,.15),
            transparent 30%
        ),

        radial-gradient(
            circle at 100% 25%,
            rgba(255,24,52,.12),
            transparent 32%
        ),

        linear-gradient(
            145deg,
            #01040c,
            #061327 50%,
            #020713
        );

}


/* ============================================================
   GRID
============================================================ */

.mdn-card-background__grid{

    position:absolute;

    inset:0;

    opacity:.35;

    background-image:

        linear-gradient(
            rgba(255,255,255,.018) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.018) 1px,
            transparent 1px
        );

    background-size:48px 48px;

}


/* ============================================================
   GLOWS
============================================================ */

.mdn-card-background__glow{

    position:absolute;

    border-radius:50%;

    filter:blur(45px);

}


.mdn-card-background__glow--red{

    width:480px;
    height:480px;

    right:-280px;
    top:-160px;

    background:
        rgba(255,24,52,.15);

}


.mdn-card-background__glow--blue{

    width:520px;
    height:520px;

    left:-330px;
    bottom:-300px;

    background:
        rgba(36,120,255,.13);

}


/* ============================================================
   PAGE
============================================================ */

.mdn-card-page{

    width:100%;

    min-height:100vh;

    position:relative;

    z-index:2;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:
        50px 20px;

}


/* ============================================================
   MAIN CARD
============================================================ */

.mdn-digital-card{

    width:min(100%, 600px);

    position:relative;

    overflow:hidden;

    padding:
        31px;

    border:
        1px solid rgba(255,255,255,.11);

    border-radius:28px;

    background:

        radial-gradient(
            circle at 100% 0%,
            rgba(255,24,52,.075),
            transparent 30%
        ),

        linear-gradient(
            145deg,
            rgba(8,27,57,.97),
            rgba(3,12,28,.98)
        );

    box-shadow:
        0 35px 100px rgba(0,0,0,.48),
        inset 0 1px 0 rgba(255,255,255,.045);

}


/* ============================================================
   TOP ACCENT
============================================================ */

.mdn-digital-card__accent{

    width:130px;
    height:3px;

    position:absolute;

    top:0;
    left:50%;

    transform:
        translateX(-50%);

    border-radius:
        0 0 8px 8px;

    background:
        linear-gradient(
            90deg,
            var(--mdnc-blue),
            var(--mdnc-red-bright)
        );

    box-shadow:
        0 0 22px rgba(255,24,52,.40);

}


/* ============================================================
   HEADER
============================================================ */

.mdn-card-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

}


/* ============================================================
   LOGO
============================================================ */

.mdn-card-logo{

    min-width:0;

    display:flex;

    align-items:center;

    gap:14px;

}


.mdn-card-logo__image{

    width:66px;
    height:66px;

    flex:0 0 66px;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius:16px;

    background:
        rgba(255,255,255,.035);

}


.mdn-card-logo__image img{

    width:88%;
    height:88%;

    display:block;

    object-fit:contain;

}


.mdn-card-logo__text{

    min-width:0;

    display:flex;

    flex-direction:column;

}


.mdn-card-logo__text span{

    color:#fff;

    font-size:27px;

    font-weight:800;

    line-height:1;

    letter-spacing:-.04em;

}


.mdn-card-logo__text strong{

    margin-top:5px;

    color:
        var(--mdnc-muted);

    font-size:14px;

    font-weight:600;

}


/* ============================================================
   SHARE
============================================================ */

.mdn-card-share{

    width:48px;
    height:48px;

    flex:0 0 48px;

    display:grid;

    place-items:center;

    border:
        1px solid rgba(255,255,255,.10);

    border-radius:13px;

    color:#fff;

    background:
        rgba(255,255,255,.035);

    cursor:pointer;

    font-size:15px;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;

}


.mdn-card-share:hover{

    transform:
        translateY(-2px);

    border-color:
        rgba(255,24,52,.28);

    background:
        rgba(255,24,52,.08);

}


/* ============================================================
   PROFILE
============================================================ */

.mdn-card-profile{

    padding:
        40px 0 31px;

}


.mdn-card-profile__eyebrow{

    margin-bottom:13px;

    display:flex;

    align-items:center;

    gap:10px;

    color:
        var(--mdnc-red-soft);

    font-size:14px;

    font-weight:800;

    letter-spacing:.09em;

}


.mdn-card-profile__eyebrow span{

    width:34px;
    height:2px;

    background:
        var(--mdnc-red-bright);

}


.mdn-card-profile h1{

    margin:
        0 0 13px;

    color:#fff;

    font-size:
        clamp(
            37px,
            8vw,
            54px
        );

    line-height:.98;

    letter-spacing:-.05em;

}


.mdn-card-profile p{

    max-width:500px;

    margin:0;

    color:
        #b7c3d2;

    font-size:15px;

    line-height:1.75;

}


.mdn-card-profile__language{

    width:fit-content;

    min-height:38px;

    margin-top:18px;

    padding:
        0 12px;

    display:flex;

    align-items:center;

    gap:8px;

    border:
        1px solid rgba(36,120,255,.15);

    border-radius:10px;

    color:#a9c8ff;

    background:
        rgba(36,120,255,.06);

    font-size:14px;

    font-weight:700;

}


/* ============================================================
   PRIMARY ACTIONS
============================================================ */

.mdn-card-actions{

    display:flex;

    flex-direction:column;

    gap:8px;

}


/* ============================================================
   ACTION
============================================================ */

.mdn-card-action{

    min-height:74px;

    padding:
        10px 13px;

    display:grid;

    grid-template-columns:
        47px 1fr 20px;

    align-items:center;

    gap:13px;

    border:
        1px solid var(--mdnc-border);

    border-radius:15px;

    color:#fff;

    background:
        rgba(255,255,255,.028);

    text-decoration:none;

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;

}


.mdn-card-action:hover{

    transform:
        translateX(4px);

    border-color:
        rgba(255,255,255,.18);

    background:
        rgba(255,255,255,.045);

}


.mdn-card-action--primary{

    border-color:
        rgba(255,24,52,.19);

    background:
        linear-gradient(
            90deg,
            rgba(255,24,52,.10),
            rgba(255,255,255,.025)
        );

}


/* ============================================================
   ACTION ICON
============================================================ */

.mdn-card-action__icon{

    width:47px;
    height:47px;

    display:grid;

    place-items:center;

    border-radius:12px;

    color:#fff;

    background:
        linear-gradient(
            135deg,
            var(--mdnc-red-soft),
            var(--mdnc-red)
        );

    box-shadow:
        0 10px 25px rgba(216,11,32,.16);

}


.mdn-card-action:nth-child(2)
.mdn-card-action__icon{

    background:
        linear-gradient(
            135deg,
            var(--mdnc-blue),
            var(--mdnc-blue-dark)
        );

    box-shadow:
        0 10px 25px rgba(36,120,255,.16);

}


.mdn-card-action:nth-child(3)
.mdn-card-action__icon{

    background:
        linear-gradient(
            135deg,
            #30be67,
            #159447
        );

    box-shadow:
        0 10px 25px rgba(28,171,84,.15);

}


/* ============================================================
   ACTION CONTENT
============================================================ */

.mdn-card-action__content{

    min-width:0;

    display:flex;

    flex-direction:column;

}


.mdn-card-action__content small{

    color:
        var(--mdnc-muted);

    font-size:14px;

    font-weight:700;

}


.mdn-card-action__content strong{

    margin-top:3px;

    overflow:hidden;

    color:#fff;

    font-size:15px;

    text-overflow:ellipsis;

}


.mdn-card-action > i{

    color:
        #75849a;

    font-size:12px;

}


/* ============================================================
   BUSINESS INFORMATION
============================================================ */

.mdn-card-info{

    margin-top:25px;

    padding:
        22px 0;

    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:15px;

    border-top:
        1px solid rgba(255,255,255,.075);

    border-bottom:
        1px solid rgba(255,255,255,.075);

}


.mdn-card-info__item{

    display:flex;

    align-items:flex-start;

    gap:11px;

}


.mdn-card-info__item > span{

    width:41px;
    height:41px;

    flex:0 0 41px;

    display:grid;

    place-items:center;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius:11px;

    color:
        var(--mdnc-red-soft);

    background:
        rgba(255,255,255,.025);

}


.mdn-card-info__item > div{

    display:flex;

    flex-direction:column;

}


.mdn-card-info__item small{

    color:
        var(--mdnc-muted);

    font-size:14px;

    font-weight:700;

}


.mdn-card-info__item strong{

    margin-top:2px;

    color:#fff;

    font-size:14px;

}


.mdn-card-info__item em{

    margin-top:3px;

    color:#8f9caf;

    font-size:14px;

    font-style:normal;

}


/* ============================================================
   SECTION TITLE
============================================================ */

.mdn-card-section-title{

    margin-bottom:15px;

    display:flex;

    align-items:flex-end;

    justify-content:space-between;

    gap:20px;

}


.mdn-card-section-title > span{

    color:
        var(--mdnc-red-soft);

    font-size:14px;

    font-weight:800;

    letter-spacing:.08em;

}


.mdn-card-section-title > strong{

    color:#fff;

    font-size:15px;

}


/* ============================================================
   SERVICES
============================================================ */

.mdn-card-services{

    padding:
        25px 0;

}


.mdn-card-services__grid{

    display:flex;

    flex-wrap:wrap;

    gap:7px;

}


.mdn-card-services__grid > span{

    min-height:37px;

    padding:
        0 11px;

    display:inline-flex;

    align-items:center;

    gap:7px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius:30px;

    color:#b7c2d0;

    background:
        rgba(255,255,255,.025);

    font-size:14px;

}


.mdn-card-services__grid i{

    color:
        var(--mdnc-red-soft);

}


/* ============================================================
   SOCIAL
============================================================ */

.mdn-card-social-section{

    padding:
        23px 0;

    border-top:
        1px solid rgba(255,255,255,.075);

}


.mdn-card-social{

    display:flex;

    flex-wrap:wrap;

    gap:9px;

}


.mdn-card-social a{

    width:48px;
    height:48px;

    display:grid;

    place-items:center;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius:13px;

    color:#fff;

    background:
        rgba(255,255,255,.03);

    text-decoration:none;

    font-size:17px;

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;

}


.mdn-card-social a:hover{

    transform:
        translateY(-3px);

    border-color:
        rgba(255,24,52,.28);

    background:
        rgba(255,24,52,.08);

}


.mdn-card-social a.is-hidden{

    display:none;

}


/* ============================================================
   TOOL BUTTONS
============================================================ */

.mdn-card-tools{

    display:grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:10px;

}


.mdn-card-tool{

    min-height:69px;

    padding:
        10px 14px;

    display:flex;

    align-items:center;

    gap:12px;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius:14px;

    color:#fff;

    background:
        rgba(255,255,255,.025);

    cursor:pointer;

    font-family:inherit;

    text-align:left;

    transition:
        transform .25s ease,
        background .25s ease;

}


.mdn-card-tool:hover{

    transform:
        translateY(-3px);

    background:
        rgba(255,255,255,.045);

}


.mdn-card-tool > i{

    width:39px;
    height:39px;

    flex:0 0 39px;

    display:grid;

    place-items:center;

    border-radius:10px;

    color:
        var(--mdnc-red-soft);

    background:
        rgba(255,24,52,.08);

}


.mdn-card-tool--primary > i{

    color:#8ab4ff;

    background:
        rgba(36,120,255,.09);

}


.mdn-card-tool > span{

    display:flex;

    flex-direction:column;

}


.mdn-card-tool small{

    color:
        var(--mdnc-muted);

    font-size:14px;

    font-weight:700;

}


.mdn-card-tool strong{

    margin-top:2px;

    color:#fff;

    font-size:14px;

}


/* ============================================================
   PROJECT CTA
============================================================ */

.mdn-card-project{

    min-height:78px;

    margin-top:25px;

    padding:
        14px 16px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    border:
        1px solid rgba(255,24,52,.18);

    border-radius:16px;

    color:#fff;

    background:

        radial-gradient(
            circle at 100% 0%,
            rgba(255,24,52,.13),
            transparent 45%
        ),

        rgba(255,24,52,.055);

    text-decoration:none;

    transition:
        transform .3s ease,
        border-color .3s ease;

}


.mdn-card-project:hover{

    transform:
        translateY(-3px);

    border-color:
        rgba(255,24,52,.32);

}


.mdn-card-project > div{

    display:flex;

    flex-direction:column;

}


.mdn-card-project small{

    color:
        var(--mdnc-red-soft);

    font-size:14px;

    font-weight:800;

}


.mdn-card-project strong{

    margin-top:3px;

    color:#fff;

    font-size:17px;

}


.mdn-card-project > span{

    width:44px;
    height:44px;

    flex:0 0 44px;

    display:grid;

    place-items:center;

    border-radius:11px;

    color:#fff;

    background:
        linear-gradient(
            135deg,
            var(--mdnc-red-soft),
            var(--mdnc-red)
        );

}


/* ============================================================
   FOOTER
============================================================ */

.mdn-card-footer{

    margin-top:25px;

    padding-top:18px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;

    border-top:
        1px solid rgba(255,255,255,.07);

}


.mdn-card-footer span{

    color:#96a3b5;

    font-size:14px;

}


.mdn-card-footer small{

    color:#647287;

    font-size:14px;

}


/* ============================================================
   TOAST
============================================================ */

.mdn-card-toast{

    min-height:49px;

    padding:
        0 16px;

    position:fixed;

    z-index:9999;

    left:50%;
    bottom:25px;

    display:flex;

    align-items:center;

    gap:9px;

    border:
        1px solid rgba(255,255,255,.11);

    border-radius:30px;

    color:#fff;

    background:
        rgba(5,18,39,.96);

    box-shadow:
        0 20px 50px rgba(0,0,0,.35);

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transform:
        translate(-50%,20px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;

}


.mdn-card-toast.is-visible{

    opacity:1;

    visibility:visible;

    transform:
        translate(-50%,0);

}


.mdn-card-toast i{

    color:#4ed37c;

}


/* ============================================================
   TABLET
============================================================ */

@media(max-width:700px){

    .mdn-card-page{

        align-items:flex-start;

        padding:
            20px 12px;

    }


    .mdn-digital-card{

        padding:
            25px 20px;

        border-radius:22px;

    }


    .mdn-card-profile{

        padding:
            34px 0 27px;

    }


    .mdn-card-info{

        grid-template-columns:1fr;

    }

}


/* ============================================================
   MOBILE
============================================================ */

@media(max-width:480px){

    .mdn-card-page{

        padding:0;

    }


    .mdn-digital-card{

        width:100%;

        min-height:100vh;

        padding:
            23px 16px 28px;

        border:0;

        border-radius:0;

        box-shadow:none;

    }


    .mdn-card-logo__image{

        width:57px;
        height:57px;

        flex-basis:57px;

    }


    .mdn-card-logo__text span{

        font-size:24px;

    }


    .mdn-card-logo__text strong{

        font-size:14px;

    }


    .mdn-card-share{

        width:44px;
        height:44px;

        flex-basis:44px;

    }


    .mdn-card-profile h1{

        font-size:40px;

    }


    .mdn-card-action{

        grid-template-columns:
            44px minmax(0,1fr) 17px;

    }


    .mdn-card-action__icon{

        width:44px;
        height:44px;

    }


    .mdn-card-action__content strong{

        font-size:14px;

    }


    .mdn-card-tools{

        grid-template-columns:1fr;

    }


    .mdn-card-section-title{

        align-items:flex-start;

        flex-direction:column;

        gap:4px;

    }


    .mdn-card-footer{

        align-items:flex-start;

        flex-direction:column;

        gap:4px;

    }

}


/* ============================================================
   ACCESSIBILITY
============================================================ */

a:focus-visible,
button:focus-visible{

    outline:
        2px solid var(--mdnc-red-bright);

    outline-offset:4px;

}


/* ============================================================
   REDUCED MOTION
============================================================ */

@media(prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{

        scroll-behavior:auto !important;

        transition-duration:.01ms !important;

        animation-duration:.01ms !important;

    }

}