body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Instrument Sans", sans-serif;
    background-color: #fff2ee;
    background-image:
        linear-gradient(135deg, rgba(246, 216, 203, 0.48) 0%, rgba(246, 216, 203, 0) 34%),
        linear-gradient(315deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 42%),
        repeating-linear-gradient(90deg, rgba(182, 72, 24, 0.018) 0 1px, transparent 1px 88px);
    background-attachment: fixed;
    min-height: 100vh;
}

a{
    text-decoration: none;
    color: #1e1e1e;
    transition: 0.2s;
}

a:hover{
    font-weight: 500;
    color: black;
    transition: 0.2s;
}

.btn{
    padding: 0.7rem 1.4rem;
    border-radius: 100px;
    background-color: #b64818;
    color: white;
    font-weight: 500;
    width: fit-content;

    transition: transform 0.2s;
}

.btn:hover{
    color: white;
    transform: scale(1.1);
    cursor: pointer;
}

/* TYPOGRAPHY */

p{
    margin: 0;
}

h1{
    font-size: clamp(3rem, 6vw, 5rem);
    font-family: "Buda";
    font-weight: 700;
    /* color: #b45127; */
    margin: 0;
}

section{
    padding: 7rem 7rem;
}


/* HERO SECTION */

#hero{
    /* min-height: 100vh; */
    padding: 7rem 7rem;

    display: flex;
}

.hero-left{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-right{
    width: 50%;
    min-width: 0;
    display: flex;
}

.hero-img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.hero-toast{
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 1rem;
    padding: 10px 20px;
    /* border: solid 2px #af603d;
    border-radius: 100px; */
    background-color: #f6d8cb;

    /* color: #af603d; */
}

.hero-left-p{
    max-width: 60%;
}


/* FEATURED SERVICES */

#featured-services{
    padding-top: 3rem;
}

#products-section,
#gallery-section{
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(246, 216, 203, 0.16));
}

#gallery-section{
    background-image:
        linear-gradient(120deg, rgba(246, 216, 203, 0.24), rgba(255, 255, 255, 0.08)),
        repeating-linear-gradient(0deg, rgba(142, 54, 21, 0.015) 0 1px, transparent 1px 72px);
}

.featured-heading{
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-heading h2{
    margin: 0;
    color: #8e3615;
    font-family: "Buda", serif;
    font-size: 3.5rem;
    line-height: 1;
}

.text-link{
    color: #b64818;
    font-weight: 600;
}

.text-link span{
    display: inline-block;
    margin-left: 0.35rem;
    transition: transform 0.2s;
}

.text-link:hover span{
    transform: translate(0.2rem, -0.2rem);
}

.featured-services-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.featured-service-card{
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.featured-service-card img{
    width: 100%;
    aspect-ratio: 0.82;
    object-fit: cover;
    border-radius: 16px;
}

.featured-service-card-accent img{
    border-radius: 16px 16px 16px 3rem;
}

.featured-service-detail{
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.featured-service-type{
    margin-bottom: 0.45rem;
    color: #b64818;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.featured-service-detail h3{
    margin: 0;
    color: #1e1e1e;
    font-size: 1.15rem;
    line-height: 1.15;
}

.featured-service-price{
    color: #b64818;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.featured-service-description{
    margin-top: 0.75rem;
    color: #704c42;
    font-size: 0.9rem;
    line-height: 1.45;
}


/* PRODUCTS SECTION */

.section-heading{
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-heading h2,
.contact-copy h2{
    margin: 0;
    color: #8e3615;
    font-family: "Buda", serif;
    font-size: 3.5rem;
    line-height: 1;
}

.section-heading-note{
    max-width: 18rem;
    color: #704c42;
    line-height: 1.45;
}

.products-container{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.product-card{
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-card img{
    width: 100%;
    aspect-ratio: 0.9;
    object-fit: cover;
    border-radius: 16px;
}

.product-category{
    margin-bottom: 0.45rem;
    color: #b64818;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-detail h3{
    margin: 0;
    color: #1e1e1e;
    font-size: 1.05rem;
    line-height: 1.2;
}

.product-detail{
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.product-detail > p{
    color: #b64818;
    font-weight: 700;
    white-space: nowrap;
}

/* GALLERY */

#gallery-section{
    padding-top: 3rem;
}

.gallery-heading{
    align-items: end;
}

.gallery-grid{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1fr;
    grid-auto-rows: 15rem;
    gap: 1rem;
}

.gallery-image{
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: 14px;
}

.gallery-image-tall{
    grid-row: span 2;
}

.gallery-image-wide{
    grid-column: span 2;
}

/* CONTACT AND FOOTER */

.contact-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-top: 4rem;
    background-color: #f6d8cb;
}

.contact-copy h2{
    max-width: 30rem;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
}

.contact-copy > p:last-child{
    max-width: 25rem;
    margin-top: 1.5rem;
    color: #704c42;
    line-height: 1.5;
}

.contact-links{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    align-self: stretch;
}

.contact-links a{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    min-height: 7rem;
    padding: 1.25rem;
    border-top: 1px solid #d7a899;
    color: #1e1e1e;
}

.contact-links a:nth-child(odd){
    border-right: 1px solid #d7a899;
}

.contact-links a:hover{
    color: #b64818;
}

.contact-label{
    color: #b64818;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 7rem;
    background-color: #8e3615;
    color: #fff2ee;
    font-size: 0.9rem;
}

.site-footer a{
    color: #fff2ee;
}

.site-footer a:hover{
    color: white;
}

.footer-brand{
    font-family: "Buda", serif;
    font-size: 1.6rem;
}

/* SERVICE CATALOGUE */

.catalogue{
    padding: 5rem 7rem 8rem;
}

.catalogue-header{
    max-width: 42rem;
    margin-bottom: 6rem;
}

.eyebrow{
    margin-bottom: 1rem;
    color: #b64818;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.catalogue-header h1{
    color: #8e3615;
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 0.95;
}

.catalogue-intro{
    max-width: 25rem;
    margin-top: 1.5rem;
    color: #704c42;
    font-size: 1.1rem;
    line-height: 1.5;
}

.category-section{
    display: grid;
    grid-template-columns: minmax(12rem, 0.7fr) 1.3fr;
    gap: 4rem;
    padding: 3rem 0;
    border-top: 1px solid #e2bdb0;
}

.category-heading{
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.category-number{
    color: #b64818;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.category-heading h2{
    margin: 0;
    color: #8e3615;
    font-family: "Molle", cursive;
    font-size: 2rem;
    font-weight: 400;
}

.service-list{
    border-top: 1px solid #e2bdb0;
}

.service-row{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid #e2bdb0;
}

.service-name h3{
    margin: 0;
    color: #1e1e1e;
    font-size: 1.05rem;
    font-weight: 600;
}

.service-price,
.variant-list strong{
    color: #b64818;
    font-weight: 700;
    white-space: nowrap;
}

.service-price{
    margin: 0;
}

.variant-list{
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.2rem;
    margin-top: 0.55rem;
    color: #704c42;
    font-size: 0.9rem;
}

.variant-list span{
    white-space: nowrap;
}

/* CERTIFICATIONS */

.certificates-page{
    padding: 5rem 7rem 8rem;
}

.certificates-header{
    max-width: 46rem;
    margin: 0 auto 5rem;
    text-align: center;
}

.certificates-header h1{
    color: #8e3615;
    line-height: 0.98;
}

.certificates-header > p:last-child{
    max-width: 34rem;
    margin: 1.5rem auto 0;
    color: #704c42;
    font-size: 1.05rem;
    line-height: 1.55;
}

.certificates-gallery{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem 2rem;
    max-width: 92rem;
    margin: 0 auto;
}

.certificate-card{
    min-width: 0;
}

.certificate-frame{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 26rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.78);
    border: 1px solid #e2bdb0;
    box-shadow: 0 1rem 2.5rem rgba(112, 76, 66, 0.08);
}

.certificate-frame img{
    display: block;
    width: 100%;
    height: auto;
    max-height: 38rem;
    object-fit: contain;
}

.certificate-caption{
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
    align-items: baseline;
    padding-top: 1.25rem;
}

.certificate-caption > span{
    color: #b64818;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.certificate-caption h2{
    margin: 0;
    color: #8e3615;
    font-family: "Buda", serif;
    font-size: 1.7rem;
    font-weight: 700;
}

.certificates-cta{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
    margin: 7rem auto 0;
    padding: 4rem 2rem;
    background-color: #f6d8cb;
    text-align: center;
}

.certificates-cta h2{
    margin: 0;
    color: #8e3615;
    font-family: "Buda", serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
}

@media (max-width: 1050px){
    section{
        padding-right: 4rem;
        padding-left: 4rem;
    }

    .featured-services-grid,
    .products-container{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem 1.25rem;
    }

    .category-section{
        grid-template-columns: minmax(10rem, 0.6fr) 1.4fr;
        gap: 2.5rem;
    }

    .site-footer{
        padding-right: 4rem;
        padding-left: 4rem;
    }
}

@media (max-width: 720px){
    .catalogue{
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .catalogue{
        padding-top: 3rem;
    }

    .catalogue-header{
        margin-bottom: 3rem;
    }

    .certificates-page{
        padding: 3rem 1.5rem 5rem;
    }

    .certificates-header{
        margin-bottom: 3rem;
    }

    .certificates-gallery{
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .certificate-frame{
        min-height: 0;
        padding: 0.65rem;
    }

    .certificate-caption h2{
        font-size: 1.5rem;
    }

    .certificates-cta{
        margin-top: 4rem;
        padding: 3rem 1.5rem;
    }

    #hero,
    section{
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    #hero{
        display: block;
        padding-top: 3rem;
    }

    .hero-left,
    .hero-right{
        width: 100%;
    }

    .hero-left-p{
        max-width: 100%;
    }

    .hero-right{
        margin-top: 3rem;
    }

    .hero-img{
        height: auto;
        aspect-ratio: 1.15;
    }

    .hero-left h1{
        font-size: clamp(3rem, 14vw, 4.5rem);
    }

    .featured-heading{
        align-items: start;
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .featured-heading h2{
        font-size: 2.8rem;
    }

    .featured-services-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 1rem;
    }

    .section-heading{
        align-items: start;
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .section-heading h2{
        font-size: 2.8rem;
    }

    .products-container{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 1rem;
    }

    .gallery-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 11rem;
    }

    .gallery-image-tall{
        grid-row: span 2;
    }

    .gallery-image-wide{
        grid-column: span 1;
    }

    .contact-section{
        display: block;
        margin-top: 2rem;
    }

    .contact-links{
        margin-top: 3rem;
    }

    .site-footer{
        align-items: start;
        flex-direction: column;
        padding: 2rem 1.5rem;
    }

    .category-section{
        display: block;
        padding: 2.5rem 0;
    }

    .category-heading{
        margin-bottom: 1.5rem;
    }

    .service-row{
        gap: 1rem;
    }

    .variant-list{
        display: block;
    }

    .variant-list span{
        display: block;
        margin-top: 0.3rem;
    }
}