/* CSS Document */

/* Images as Background Images */

.octane-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.octane-background img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.octane-content {
    position: relative;
    height: 100%;
}

.octane-position {
    position: relative;
}


/* hero */

.hero .octane-background img {
    object-position: 0% 60%;
}

.hero .octane-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 160px 20px 186px 20px;
    gap: 20px;
}

.hero .octane-content::before, .hero .octane-content::after {
    content: none;
}

.firm-title {
    font-family: var(--main-font);
    font-size: clamp(1.944rem, 2.604vw + 0.833rem, 3.611rem);
    font-weight: bold;
    margin-bottom: 0px;
    text-wrap: balance;
    color: rgba(26, 26, 26, 0.90);
}

.header-1 {
    font-size: 2.7rem;
    font-family: var(--title-font);
    font-weight: 700;
    color: rgba(26, 26, 26, 0.90);
    line-height: 56px;
    text-wrap: balance;
}

.hero p {
    font-size: 1rem;
    color: var(--style-main);
}

.hero-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.main-link {
    padding: 4px 12px;
    border-width: 1px;
    font-size: .8rem;
    min-width: 185px;
    text-align: center;
    border-style: solid;
    border-radius: 4px;
    font-family: var(--btn-font);
    font-weight: 600;
    line-height: 24px;
}

.hero-links a:nth-of-type(odd) {
    border-color: var(--style-sec);
    background: var(--style-sec);
}

.hero-links a:nth-of-type(odd):hover {
    background: var(--style-main);
    color: var(--style-tri);
}

.hero-links a:nth-of-type(even) {
    border-color: var(--style-sec);
    background: transparent;
}

.hero-links a:nth-of-type(even):hover {
    background: white;
    color: var(--style-main);
}

@media(max-width: 768px) {
    .hero .octane-content {
        padding: 70px 20px;
        gap: 0px;
    }

    .header-1 {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .hero p {
        font-size: .9rem;
    }

    .hero-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}



/* services */

.pad {
    padding-block: 100px;
}

.center-title {
    text-align: center;
}

.titles-pad {
    padding-block: 40px;
}

.titles-pad p {
    font-size: 1rem;
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
    text-wrap: balance;
    color: rgba(0,0,0,.7);
}

.services-flex {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin-inline: auto;
}

.service-card {
    width: 328px;
    border: 1px solid #D9D9D9;
    background: #FFF;
    padding: 35px 40px;
    transition: .3s;
}

.service-card:hover {
    border-color: var(--style-quad);
    background: var(--style-quad);
}

.service-card image {
    transition: .3s;
}

.service-card:hover image {
    filter: brightness(00%) saturate(0%) contrast(100%);
    opacity: .9;
}

.service-title-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.header-4 {
    font-family: var(--sec-font);
    font-weight: 600;
    line-height: 1.3;
    font-size: 1rem;
}

.service-title-icon .header-4 {
    margin: 0px;
}

.service-text {
    color: rgba(0,0,0,.7);
    font-size: 0.7rem;
}


@media(max-width: 1024px) {
    .pad {
        padding-block: 70px;
    }

    .services-flex {
        gap: 10px;
    }
}

@media(max-width: 768px) {
    .pad {
        padding-block: 40px;
    }   

    .service-text {
        text-align: left;
    }

    .titles-pad {
        padding-block: 20px;
    }

    .services p {
        font-size: .9rem;
    }
}





/* about */

.about {
    background: linear-gradient(0deg, rgba(205,165,97,1) 0%, rgba(238,221,170,1) 45%, rgba(249,247,242,1) 45%, rgba(249,247,242,1) 100%);
}

.pad-med {
    padding-block: 80px;
}

.about p {
    font-size: 1rem;
    color: rgba(0,0,0,.9);
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 50px;
}

.about img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    width: 100%;
}

@media(max-width: 768px) {
    .pad-med {
        padding-block: 40px;
    }
    
    .about p {
        font-size: .9rem;
    }
}



/* Reviews */

.reviews {
    background: #f3f3f3;
}

.intro-text {
    color: rgba(0,0,0,.7);
    max-width: 860px;
    margin-inline: auto;
    text-wrap: balance;
    text-align: center;
    font-size: 1rem;
}

.reviews-flex {
    display: flex;
    gap: 33px;
    justify-content: center;
    flex-wrap: wrap;
}

.review {
    background: white;
    padding: 30px 35px;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    width: 327px;
}

.review-text {
    font-size: .8rem;
    color: rgba(0,0,0,.7);
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review img {
    width: 50px;
    height: 50px;
    border: 1px solid #D9D9D9;
    border-radius: 100%;
    object-fit: cover;
}

.review-name {
    color: var(--style-sec);
    font-family: var(--sec-font);
    font-weight: 600;
    font-size: .8rem;
    margin-bottom: 5px;
}

.review-title {
    font-size: .8rem;
    color: #252b42;
    font-weight: 600;
    margin: 0;
}

@media(max-width: 768px) {
    .intro-text {
        font-size: .9rem;
    }
    
    .reviews-flex {
        gap: 10px;
    }
}



/* team */

.team-members {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 80px;
}

.member {
    width: 305px;
}

.member img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    object-position: top;
    margin-bottom: 30px;
}

.member-name {
    font-size: 1rem;
    color: rgba(0,0,0,.9);
    text-align: center;
    margin-bottom: 10px;
}

.member-title {
    margin: 0;
    font-size: .8rem;
    text-align: center;
    color: rgba(0,0,0,.7);
    font-family: var(--sec-font);
    font-weight: 700;
}

@media(max-width: 768px) {
    .team-members {
        margin-top: 30px;
    }
}


/* consult */

.consult-wrap {
    max-width: 600px;
    width: 100%;
}

.consult input:not([type="submit"]), .consult select, .consult textarea {
    border-radius: 5px;
    border: 1px solid #BDBDBD;
    padding: 11px 20px!important;
}

.consult ::placeholder, .consult select {
    color: #BDBDBD!important;
    font-family: var(--btn-font);
    font-weight: 600;
}

.consult-subtitle {
    color: rgba(0,0,0,.9);
    font-size: .8rem;
    font-family: var(--sec-font);
    font-weight: 700;
}

.consult img {
    object-position: 0% 20%;
}

@media(max-width: 768px) {
    .consult {
        background: #f3f3f3;
    }
    
    .consult img {
        display: none;
    }
}



/* cta */

.cta {
    background: #F9F7F2;
}

.pad-sm {
    padding-block: 60px;
}

.header-3 {
    font-size: 1.3rem;
    color: rgba(0,0,0,.9);
    font-family: var(--sec-font);
    font-weight: 600;
}

.cta p {
    font-size: .667rem;
    max-width: 730px;
    color: rgba(0,0,0,.7);
}

.cta-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.cta-flex::before, .cta-flex::after {
    content: none;
}

.cta-link {
    background: #d9d9d9;
    border: 1px solid #d9d9d9;
}

.cta-link:hover {
    background: var(--style-main);
    color: #D9D9D9;
    border: 1px solid #d9d9d9;
}

@media(max-width: 768px) {
    .cta-flex {
        flex-direction: column;
    }
}