@import 'general.css';
/***hero section**/
/**
font-family: 'Madellin Medium';
font-family: 'Madellin Semi Bold';
font-family: 'Madellin Regular';
**/
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Madellin Regular';
    color: #212121;
}
.container {
    max-width: 127rem;
    padding: 0 5rem;
    margin-inline: auto;
}
.site-btn {
    font-family: 'Madellin Semi Bold';
    font-size: 1.8rem;
    padding: 0 5.5rem;
    border: 1px solid #991411;
    height: 7rem;
    line-height: 6.8rem;
    display: inline-block;
    color: #991411;
    transition: all 0.5s;
}
.site-btn:hover {
    background-color: #991411;
    color: #fff;
}
.site-btn img {
    margin-left: 1.5rem;
}
.site-btn:hover img {
    filter: brightness(21);
}
.hero-section {
    background: linear-gradient(360deg, #FEFBF4 0%, #ECE4D1 100%);
}
.hero-section .hero-grid {
    display: flex;
    align-items: center;
}
.hero-section .hero-grid .hero-left {
    flex: 0 0 43%;
    max-width: 43%;
    background-blend-mode: luminosity;
    mix-blend-mode: luminosity;
    backdrop-filter: blur(2px);
}
.hero-section .hero-grid .hero-right {
    flex: 0 0 57%;
    max-width: 57%;
    padding-left: 8.8rem;
    padding-block: 3rem;
}
.hero-section .hero-grid .hero-right h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: normal;
    font-family: 'Madellin Regular';
    margin: 0 0 3rem;
}
.hero-section .hero-grid .hero-right .greetings {
    font-family: 'Madellin Medium';
    display: block;
    line-height: 1.2;
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}
.hero-section .hero-grid .hero-right p {
    font-family: 'Madellin Regular';   
    line-height: 1.2;
    font-size: 2.4rem;
    margin-bottom: 5rem;
}
.intro-section {
    padding: 11rem 0 8rem;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg, #D5C4A1 50.17%, rgba(213, 196, 161, 0) 100%);
    border-image-slice: 1;
}
.intro-section .container {
    position: relative;
}
.intro-section p {
    font-size: 4rem;
    line-height: 1.3;
    text-align: center;
    font-family: 'Madellin Regular';  
    margin-bottom: 3rem;
    max-width: 93rem;
    margin-inline: auto;
    
}
.intro-section .container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 37%;
    transform: translate(-50%, -50%);
    width: 59rem;
    height: 66.7rem;
    background: url(../images/intro-bg.svg);
    z-index: -1;
    background-size: contain;
    background-repeat: no-repeat;
}
    
.intro-section p strong {
    font-family: 'Madellin Semi Bold';
    color: #991411;
}
.website-section {
    padding: 10rem 0 8rem;
}
.website-section h2{
    font-family: 'Madellin Semi Bold';
    text-align: center;
    font-size: 4.6rem;
    line-height: 1.12;
    margin-bottom: 6rem;
}
.website-block-grid {
    display: flex;
    gap: 3rem;
    justify-content: space-between;
}
.website-block-grid .website-block-item{
    flex: 0 0 calc(47% - 1.5rem);
    max-width: calc(47% - 1.5rem);
}
.website-block-grid .website-block-item > img {
    margin-bottom: 3rem;
}
.website-block-grid .website-block-item h3 {
    font-family: 'Madellin Medium';
    font-size: 3.8rem;
    line-height: 1.2;
    margin: 0 0 1rem;
}
.website-block-grid .website-block-item p {
    font-family: 'Madellin Regular';
    font-size: 1.8rem;
    color: rgba(33, 33, 33, 0.7);
    line-height: 1.5;
    min-height: 9rem;
    margin: 0 0 2.5rem;
    max-width: 33rem;
}
.site-footer {
    padding: 8rem 0;
    background: url(../images/footer-bg.jpg) no-repeat center center/cover;
    position: relative;
}
.site-footer::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 125px;
    left: 0;
    top: 0;
    background: linear-gradient(0deg, rgba(254, 251, 244, 0) 0%, #FFFEFC 100%);
}
.site-footer .container {
    position: relative;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between; 
}
.footer-left p {
    font-size: 2.6rem;
    line-height: 1.3;
}
.footer-right ul {
    display: flex;
    gap: 2.4rem;
}

@media (max-width: 991px) {
    
    .site-footer {
        padding: 6rem 0;
    }
    .site-footer::before {
        height: 60px;
    }
    .container {
        padding: 0 2rem; 
    }
    .hero-section .hero-grid {
        flex-direction: column-reverse;
    }
    .hero-section .hero-grid .hero-left,
    .hero-section .hero-grid .hero-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
    .hero-section .hero-grid .hero-right {
        padding-top: 3rem;
    }
    .intro-section .container::before {
        display: none;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .website-block-grid {
        flex-direction: column;
    }
    .website-block-grid .website-block-item {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    .website-block-grid .website-block-item p {
        max-width: 100%;
        text-align: center;
        min-height: auto;
    }
    .intro-section {
    padding: 8rem 0;
    }
}
@media (max-width: 767px) {
    .website-section {
        padding: 8rem 0;
    }
    .intro-section {
        padding-bottom: 6rem;
    }
    .site-btn {
        padding: 0 3rem;
        height: 6rem;
        line-height: 5.8rem;
    }
    .hero-section .hero-grid .hero-right h1 {
        font-size: 2.8rem;
    }
    .hero-section .hero-grid .hero-right .greetings,.hero-section .hero-grid .hero-right p,.footer-left p {
        font-size: 2rem;
    }
    .intro-section p 
    {
        font-size: 3rem;
    }
    .hero-section .hero-grid .hero-left, .hero-section .hero-grid .hero-right{
        text-align: center;
    }
    .website-section h2 {
        font-size: 3.6rem;
    }
    .website-block-grid .website-block-item h3{
        font-size: 3.2rem;
    }
}