/*======================================================================

MANSURGE COMPONENT
MC-10

NEWSLETTER

Version : 1.0

======================================================================*/

.ms-newsletter{

    position:relative;

    overflow:hidden;

    background:var(--ms-bg);

    padding:140px 0;

}

.ms-newsletter::before{

    content:"";

    position:absolute;

    inset:0;

    pointer-events:none;

    background:

    radial-gradient(

        circle at top left,

        rgba(197,165,114,.05),

        transparent 60%

    ),

    radial-gradient(

        circle at bottom right,

        rgba(197,165,114,.04),

        transparent 55%

    );

}

.ms-newsletter-layout{

    position:relative;

    z-index:2;

}

.ms-newsletter-box{

    position:relative;

    overflow:hidden;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:72px;

    padding:72px;

    border-radius:32px;

    background:linear-gradient(

        135deg,

        rgba(23,30,31,.96),

        rgba(13,17,17,.98)

    );

    border:1px solid rgba(197,165,114,.18);

    transition:

        border-color .40s ease,

        box-shadow .40s ease,

        transform .40s ease;

}

.ms-newsletter-box:hover{

    transform:translateY(-4px);

    border-color:rgba(197,165,114,.35);

    box-shadow:0 24px 56px rgba(0,0,0,.30);

}

.ms-newsletter-content{

    flex:1;

    max-width:720px;

}

.ms-newsletter-subtitle{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 18px;

    margin-bottom:28px;

    border-radius:999px;

    background:rgba(197,165,114,.08);

    border:1px solid rgba(197,165,114,.18);

    color:var(--ms-gold);

    font-size:14px;

    font-weight:600;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.ms-newsletter-title{

    color:var(--ms-white);

    font-size:clamp(34px,4vw,54px);

    font-weight:700;

    line-height:1.10;

    letter-spacing:-.02em;

    margin-bottom:24px;

}

.ms-newsletter-description{

    color:var(--ms-text-soft);

    font-size:clamp(16px,1.8vw,19px);

    line-height:1.9;

}

.ms-newsletter-form{

    display:flex;

    flex-wrap:wrap;

    gap:16px;

    margin-top:42px;

}

.ms-newsletter-input{

    flex:1;

    min-width:260px;

    height:58px;

    padding:0 22px;

    border-radius:999px;

    border:1px solid rgba(197,165,114,.18);

    background:rgba(255,255,255,.03);

    color:var(--ms-white);

    font-size:16px;

    transition:

        border-color .30s ease,

        background .30s ease;

}

.ms-newsletter-input::placeholder{

    color:var(--ms-text-soft);

}

.ms-newsletter-input:focus{

    outline:none;

    border-color:rgba(197,165,114,.40);

    background:rgba(255,255,255,.05);

}

.ms-newsletter-side{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:20px;

    min-width:260px;

}

.ms-newsletter-icon{

    display:flex;

    align-items:center;

    justify-content:center;

    width:110px;

    height:110px;

    border-radius:50%;

    background:rgba(197,165,114,.08);

    border:1px solid rgba(197,165,114,.18);

    color:var(--ms-gold);

    transition:

        transform .40s ease,

        border-color .40s ease,

        background .40s ease;

}

.ms-newsletter-box:hover .ms-newsletter-icon{

    transform:scale(1.06);

    border-color:rgba(197,165,114,.35);

    background:rgba(197,165,114,.12);

}

.ms-newsletter-icon svg{

    width:48px;

    height:48px;

}

.ms-newsletter-badge{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:8px 16px;

    border-radius:999px;

    background:rgba(197,165,114,.08);

    border:1px solid rgba(197,165,114,.18);

    color:var(--ms-gold);

    font-size:13px;

    font-weight:600;

    letter-spacing:.08em;

    text-transform:uppercase;

}

.ms-newsletter-note{

    max-width:260px;

    text-align:center;

    color:var(--ms-text-soft);

    font-size:15px;

    line-height:1.8;

}

.ms-newsletter-divider{

    width:1px;

    align-self:stretch;

    background:

    linear-gradient(

        180deg,

        transparent,

        rgba(197,165,114,.20),

        transparent

    );

}

.ms-newsletter-footer{

    display:flex;

    justify-content:center;

    margin-top:64px;

}

.ms-newsletter-link{

    display:inline-flex;

    align-items:center;

    gap:12px;

    color:var(--ms-gold);

    font-size:15px;

    font-weight:600;

    text-decoration:none;

    transition:

        color .30s ease,

        transform .30s ease;

}

.ms-newsletter-link svg{

    width:16px;

    height:16px;

    transition:transform .30s ease;

}

.ms-newsletter-link:hover{

    color:var(--ms-white);

}

.ms-newsletter-link:hover svg{

    transform:translateX(5px);

}

@media (max-width:1024px){

    .ms-newsletter{

        padding:110px 0;

    }

    .ms-newsletter-box{

        flex-direction:column;

        gap:48px;

        padding:56px;

        text-align:center;

    }

    .ms-newsletter-content{

        max-width:100%;

    }

    .ms-newsletter-form{

        justify-content:center;

    }

    .ms-newsletter-divider{

        width:100%;

        height:1px;

        background:

        linear-gradient(

            90deg,

            transparent,

            rgba(197,165,114,.20),

            transparent

        );

    }

}

@media (max-width:767px){

    .ms-newsletter{

        padding:84px 0;

    }

    .ms-newsletter-box{

        padding:34px;

        gap:36px;

    }

    .ms-newsletter-form{

        flex-direction:column;

    }

    .ms-newsletter-input{

        width:100%;

        min-width:0;

    }

    .ms-newsletter-form .ms-btn{

        width:100%;

        justify-content:center;

    }

    .ms-newsletter-icon{

        width:88px;

        height:88px;

    }

    .ms-newsletter-icon svg{

        width:38px;

        height:38px;

    }

}

.ms-newsletter-input:focus-visible,
.ms-newsletter-form .ms-btn:focus-visible,
.ms-newsletter-link:focus-visible{

    outline:2px solid var(--ms-gold);

    outline-offset:4px;

}
