.brnd-ms {
    position: relative;
    min-height: 100vh;
    color: #fff;
    font-family: inherit;
    overflow: hidden;
    background: black;
    animation: squared 1s ease backwards;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
@keyframes squared{
    0%{clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
}
    80%{clip-path: polygon(25% 25%, 75% 25%, 75% 75%, 25% 75%);
}
    100%{clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);}
}

.brnd-ms__bg {
    position: absolute;
    inset: 0;
    z-index: 0
}

.brnd-ms__bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease
}

.brnd-ms__bg-layer.is-visible {
    opacity: 1
}

.brnd-ms__bg:after {
    content: "";
    position: absolute;
    inset: 0;
/*    background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .55) 100%)*/
}

.brnd-ms__header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
/*    padding: 24px 32px;*/
    padding: 2vw;
    animation: fade-down .8s ease;
}
@keyframes fade-down{
    from{transform: translateY(-20px);opacity:0;}
    to{transform: translateY(0);opacity:1;}
}
@keyframes fade-up{
    from{transform: translateY(20px);opacity:0;}
    to{transform: translateY(0);opacity:1;}
}
@keyframes fade-left{
    from{transform: translateX(50px);opacity:0;}
    to{transform: translateX(0);opacity:1;}
}
@keyframes fade-right{
    from{transform: translateX(-50px);opacity:0;}
    to{transform: translateX(0);opacity:1;}
}

.brnd-ms__logo-left {
    display: flex;
    gap: 16px;
    align-items: flex-start
}

.brnd-ms__logo-left img {
    height: 34px;
    width: auto
}

.brnd-ms__logo-sub span {
    opacity: .75
}

.brnd-ms__logo-right img {
    height: 34px;
    width: auto
}

.brnd-ms__main {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center
}

.brnd-ms__details {
    margin-left: auto;
    width: min(550px, 45vw);
/*    padding: 120px 48px 140px 24px;*/
    text-align: right;
    overflow: hidden;
}

.brnd-ms__badge-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px
}

.brnd-ms__badge {
    max-width: 240px;
    height: auto;
    display: none
}

.brnd-ms__badge.is-on {
    display: inline-block
}

.brnd-ms__title {
    font-size: 44px;
    letter-spacing: .5px;
    margin: 0 100px 20px 0;
    animation: fade-down .5s ease;
    animation-delay: .5s;
  animation-fill-mode: backwards;
}

.brnd-ms__bullets {
    font-size: 1.2em;
    line-height: 1.8;
    opacity: .95;
    margin: 50px 50px 20px 0;
    font-family: 'FbPragmati', sans-serif;
    animation: fade-down .5s ease;
    animation-delay: 0.8s;
  animation-fill-mode: backwards;
    font-weight: bold;

}

.brnd-ms__bullets p {
    position: relative;
    padding-right: 18px;
        margin: 0 0 20px;
    line-height: 1.2;
}

.brnd-ms__bullets p:before {
    content: "";
    position: absolute;
    right: 0;
    top: .4em;
    width: 100px;
    height: 9px;
    transform: translateX(100px);
    background: #fff;
    opacity: .9
}

.brnd-ms__price {
    margin-top: 30px;
    background: #fff;
    color: #111;
    border-radius: 0 0 0  20px;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    padding: 10px 100px 10px 20px;
    font-weight: bold;
    transition: all .3s ease;
    animation: fade-left 1s ease;
    animation-delay: 1.2s;
  animation-fill-mode: backwards;
}

.brnd-ms__price-num {
    font-size: 5em;
    line-height: 1;
}

.brnd-ms__price-suffix {
    font-size: 2em;
    font-weight: 700
}

.brnd-ms__actions {
    margin-top: 18px;
    display: none;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap
}

.brnd-ms__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: transform .15s ease, opacity .15s ease
}

.brnd-ms__btn:hover {
    transform: translateY(-1px)
}

.brnd-ms__btn--solid {
    background: #ff6a00;
    color: #fff
}

.brnd-ms__btn--ghost {
    border: 2px solid rgba(255, 255, 255, .7);
    color: #fff;
    background: transparent
}

.brnd-ms__form {
    position: absolute;
    left: 2vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: min(420px, 36vw);
    font-family: 'FbPragmati', sans-serif; 
    
    
}

.brnd-ms__form-card {
    background: rgba(0, 0, 0, .3);
    border: 2px solid #ffffff;
    border-radius: 0 20px;
    padding: 20px;
    backdrop-filter:blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all .3s ease;
    animation: fade-right 1s ease;
    animation-delay: 1.5s;
  animation-fill-mode: backwards;
}
.brnd-ms__form-card:hover {
        border: 2px solid #ff6a00;
    background: rgba(0, 0, 0, .1);
}

.brnd-ms__form-title {
    font-size: 3em;
    font-weight: 800;
    color: #ff6a00;
    text-align: right;
    margin-bottom: 14px;
    font-family: 'FbPragmati', sans-serif; 
	font-weight: bold; 
    line-height: 1;
}

.brnd-ms__form-sub {
    margin-top: 10px;
    font-size: 16px;
/*    opacity: .8;*/
    text-align: center;
}

.brnd-ms select[name="agency"] option:first-child {
  display: none;
}

.brnd-ms__model-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    z-index: 6;
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    animation: fade-up 1.3s ease;
    animation-delay: 1.5s;
  animation-fill-mode: backwards;
}

.brnd-ms__model-btn {
/*    min-width: min(480px, 42vw);*/
/*    max-width: 520px;*/
    width:auto;
    border: 1px solid rgba(255, 255, 255, .75);
    font-size:2em;
    background: transparent;
    color: #fff;
    border-radius: 0 12px;
    padding: 5px 30px;
/*    font-weight: 800;*/
    letter-spacing: .3px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, opacity .2s ease, padding .5s ease;
}

.brnd-ms__model-btn:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, .25)
}

.brnd-ms__model-btn.is-active {
    background: rgba(255, 106, 0, .18);
    border-color: #ff6a00;
            padding:5px 100px;
    border-width: 2px;

}

.brnd-ms.is-switching .brnd-ms__details {
    opacity: .0;
    transform: translateX(8px);
    transition: opacity .25s ease, transform .25s ease
}

.brnd-ms__details {
    opacity: 1;
    transform: none;
    transition: opacity .35s ease, transform .35s ease
}

.brnd-ms__mob-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    font-size: 48px;
    cursor: pointer;
        line-height:0;
}
.brnd-ms__mob-arrow:hover, .brnd-ms__mob-arrow:focus {
    background: transparent;
}

.brnd-ms__mob-arrow--prev {
    left: 12px
}

.brnd-ms__mob-arrow--next {
    right: 12px
}

.brnd-ms__mobile-nextwrap {
    display: none;
    position: relative;
/*    z-index: 6;*/
    padding: 50px 20px;
    }

.brnd-ms__mobile-next {
    width: 100%;
    border: 2px solid #ff6a00;
    background: transparent;
    color: #ff6a00;
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 1.5em;
    font-weight: 900;
    cursor: pointer;
    border-radius: 0 20px;
    font-family: 'FbPragmati', sans-serif;
    animation: fade-up 1.3s ease;
    animation-delay: 1.5s;
  animation-fill-mode: backwards;
}
.brnd-ms__mobile-next:hover {
    background: #ff6a00;
    color: white;
}

.brnd-ms__mobile-next-caret {
    display: inline-block;
    margin-right: 8px
}

/* CF7 basics */
.brnd-ms .wpcf7 form {
    direction: rtl
}

.brnd-ms .wpcf7 input[type="text"],
.brnd-ms .wpcf7 input[type="email"],
.brnd-ms .wpcf7 input[type="tel"],
.brnd-ms .wpcf7 select {
    width: 100%;
    border-radius: 0 0 0 20px ;
    border: 0;
    padding: 12px 12px;
    margin-bottom: 10px;
    font-size:18px;
    text-align: right;
}

.brnd-ms .wpcf7 .brnd-ms__row p {    
    margin-bottom: 0;
}
.brnd-ms .wpcf7 .brnd-ms__row {
    display: flex;
    gap: 10px;
    
}

.brnd-ms .wpcf7 .brnd-ms__col {
    flex: 1
}

.brnd-ms .wpcf7 .wpcf7-submit {
    width: 100%;
    background: #ff6a00;
    border: 0;
    color: #fff;
    font-weight: 900;
    border-radius: 0 20px;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5em;
    transition: all .3s ease;
}
.brnd-ms .wpcf7 .wpcf7-submit:hover {
    background: #fff;
    color: #ff6a00;
}

.divider{
    width:400px; height:3px; background:#FF6600;
    animation: grow-width 1.5s ease;
    transform-origin: center;
    animation-delay: .5s;
  animation-fill-mode: backwards;
}
@keyframes grow-width{
    from{width:0%;}
    to{width:100%;}
}

.wpcf7-spinner {
    position: absolute;
    right: -10px;
    bottom: 10px;
    background-color: transparent;
    border: 2px solid #ff6a00;
}
.wpcf7-spinner::before{
    background-color: #fff;
}

.wpcf7-not-valid-tip{
    color: #ff6a00;
    position: absolute;
    top: -2px;
    left: 20px;
}

.brnd-ms_mob-next-m {
    left: 20px;
    border: 1px solid #ff6a00;
    border-radius: 10px;
    text-align: center;
}

button.brnd-ms__mob-arrow.brnd-ms__mob-arrow--prev, button.brnd-ms__mob-arrow.brnd-ms__mob-arrow--next{
    display: none;
}

.brnd-ms__mob-model-next{
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 50%;
    transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 0 20px;

  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
    font-family: 'FbPragmati', sans-serif;
  line-height: 1;
  display: none;
      opacity: 0;
      transition: opacity 0.4s ease, transform 0.4s ease;


    
}
.brnd-ms__mob-model-next:hover, .brnd-ms__mob-model-next:focus{
    background: #ff6a00;
}

.brnd-ms__mob-model-next.is-visible {
  opacity: 1;
/*  transform: translateY(0);*/
}



@media (max-width: 768px){
  .brnd-ms__mob-model-next{ display: inline-flex; align-items: center; gap: 6px; }
}


/*tablet*/
@media (max-width: 1024px) {
    .brnd-ms__form-title {
        font-size: 2em;
    }
    .brnd-ms__title{
        margin: 0 50px 20px 0;
    }
    .divider{width:350px;}
    .brnd-ms__header img {
        width:20vw;
        height: auto;
        object-fit: contain;
    }
    .brnd-ms__form{
        width:300px;
    }
    .brnd-ms__price-num {
        font-size: 4em;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .brnd-ms__header {
        position: relative;
        background: #000;
        padding: 20px 20px;
/*        padding: 2vw;*/
        align-items: center;
    }
    

    .brnd-ms__main {
        display: block;
        min-height: auto;
    }

    .brnd-ms__bg {
        position: relative;
        height: 50vh;
        min-height: 260px
    }

    .brnd-ms__mob-arrow {
        display: block
    }

    .brnd-ms__details {
        width: 100%;
        padding: 18px 16px 14px;
        background: #000;
        text-align: center;
        margin: 0
    }

    .brnd-ms__title {
        font-size: 38px;
    }

    .brnd-ms__bullets {
        text-align: center;
        margin:20px
    }

    .brnd-ms__bullets p {
        padding-right: 0;
        padding-bottom: 12px;
        margin-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, .18)
    }

    .brnd-ms__bullets p:before {
        display: none
    }

    .brnd-ms__price {
        display: flex;
        justify-content: center;
        margin: 50px auto 50px;
        width: fit-content;
        background:black;
        color: white;
        border: 1px solid white;
        padding: 20px;
        border-radius: 0 20px;
    }
    .brnd-ms__price-num{
        font-size: 5em;
    }

    .brnd-ms__actions {
        justify-content: center;
    }

    .brnd-ms__model-nav {
        display: none
    }

    .brnd-ms__mobile-nextwrap {
        display: block;
        background: #fff;
    }

    /* fixed bottom form */
    .brnd-ms__form {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none;
        width: 100%;
        padding: 0;
        z-index: 999;
    }

    .brnd-ms__form-card {
        border-radius: 20px 20px 0 0;
        padding: 12px;
        background: #ff6a00;
        border:none;
        
    }
    .brnd-ms__form-card:hover{
        background: #ff6a00;
    }

    .brnd-ms__form-title {
        font-size: 20px;
        margin-bottom: 10px;
        text-align: center;
        color: white;
    }

    /* 2 columns fields */
    .brnd-ms .wpcf7 .brnd-ms__row {
        gap: 8px;
        width: calc(50% - 5px);
    }

    .brnd-ms .wpcf7 input,
    .brnd-ms .wpcf7 select {
        padding: 12px
    }

    /* add space so fixed form doesn't cover content */
    .brnd-ms {
        padding-bottom: 230px
    }
    
    .brnd-ms .wpcf7 form{
        display: flex;
        gap:10px;
        flex-wrap: wrap;
                
    }
    .brnd-ms .wpcf7 form p{
    width: 100%;
    }
    .brnd-ms .wpcf7 input[type="text"],
.brnd-ms .wpcf7 input[type="email"],
.brnd-ms .wpcf7 input[type="tel"],
    .brnd-ms .wpcf7 select {
        background: #ff6a00;
        color: white;
        border: 1px solid white;
        padding: 10px;
    }
    input::placeholder{
        color: white;
    }
    .brnd-ms .wpcf7 .wpcf7-submit{background:white;color:#ff6a00;font-size:1em;}
    .brnd-ms .wpcf7 .wpcf7-submit:hover{background:#ff6a00;color:#fff;border:1px solid white;}
    brnd-ms__form-sub{color:white;}
    .brnd-ms__title{margin:20px;
    }
    .brnd-ms__row:nth-child(even) {
        width: 40% !important;
    }
    .brnd-ms__row:nth-child(odd) {
        width: calc(60% - 10px) !important;
    }
    .wpcf7-not-valid-tip{
            color: #000;
        position: absolute;
        top: -2px;
        left: 0;
        width: 50px;
        line-height: .8;
        font-size: .9em;
        font-weight: bold;
    }
    .wpcf7 form .wpcf7-response-output {
    margin: 0em 0.5em 2.5em;
    }
    
}