/* ================================================== 
    Document Reset
================================================== */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
fieldset, form, label, legend,
caption, tfoot, thead,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline: none;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    outline: none;
    vertical-align:baseline;
    background:transparent;
    text-decoration: none;
}

ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

input:focus, textarea:focus
{
    outline: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Tinos", serif;
    font-size: 16px;
    height: 100%;
    box-sizing: border-box;
    background-color: #f7f7f7;
}

/* ================================================== 
    Header
================================================== */

.main-header {
    position: fixed;
    top: 1rem;
    left: 0;
    z-index: 1001;
    width: 100%;
}

.header-wrapper {
    width: calc(97% - 80px);
    height: 70px;
    margin: 1rem auto 0 0;
    padding: 20px 40px;
    border-radius: 22px;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    display: block;
    width: 200px;
    height: auto;
}

.burger-toggle {
    padding: 10px;
    background-color: rgba(13, 53, 18, 0.5);
}

.burger-lines {
    display: block;
    height: 26px;
    width: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #0e2431;
}

.burger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}

.burger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}
  
.burger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
} 

.burger-lines.open .line1 {
    transform: rotate(45deg);
    margin-left: 5px;
}

.burger-lines.open .line2 {
    transform: scaleY(0);
}

.burger-lines.open .line3 {
    transform: rotate(-45deg);
    margin-left: 5px;
}

.hero-wrapper {
    position: relative;
}

.swiper.heroSwiper {
    max-width: 100%;
    height: 50vh;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: 95vw;
    height: 55vh; */
    width: 90vw;
    height: 45vh;
    z-index: 10;
    background: rgba(13, 53, 18, 0.5);
    display: flex;
    justify-content: center;  
    align-items: center;
}

.hero-content p {
    width: 60%;
    font-size: 50px;
    font-weight: 800;
    line-height: 1.2;
    color: white;
}

.main-menu {
    width: 100%;
    height: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: rgb(13, 53, 18);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    overflow: hidden;
    transition: height 0.5s;
}

.main-menu.expanded {
    height: 100vh;
}

body.lock-scroll {
    height: 100%;
    overflow: hidden;
}

main.blurred {
    filter: blur(5px);
}

.menu-wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.nav-item {
    color: white;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
}

.lang__switcher {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang__switcher .nav-item:first-of-type::after {
    content: "|";
    margin-inline: 10px;
}

.lock-scroll .hero-content {
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s;
}

/* ================================================== 
    Footer
================================================== */

footer {
    background-color: rgb(13, 53, 18);
    padding-top: 10%;
    width: 100%;
}

.footer-wrapper {
    background-color: #cccccc;
    padding-block: 40px;
    width: 100%;
}

.footer-line {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    width: 95%;
    margin: 0 auto 5% auto;
}

.motto-part {
    font-size: 32px;
    font-weight: 800;
    color: #464646;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.motto-part:nth-of-type(2n) {
    color: #f2f2f2;
}

.footer-logo {
    width: 30%;
}

.footer-logo img {
    display: block;
    width: 300px;
    height: auto;
    margin-bottom: 10%;
}

.footer-logo-text {
    font-size: 20px;
    line-height: 1.2;
}

.address-line {
    font-size: 24px;
    font-weight: 800;
    color: #464646;
    line-height: 1.2;
}

.address-line a {
    color: #464646;
}

.address-line a:hover {
    color: white;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 35%;
}

.footer-social .social-name {
    display: none;
}

.social-container {
    flex: 0 0 30%;
    width: 30%;
    max-width: 160px;
    border-radius: 32px;
    background-color: white;
    position: relative;
    display: flex;
    align-items: center;
    max-width: 60px;
    max-height: 60px;
}

.social-logo {
    width: 30%;
    width: 100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-logo img {
    width: 30px;
    height: auto;
}

.social-name {
    font-size: 13px;
    color: white;
    font-weight: 400;
    line-height: 1.2;
    text-align: right;
    padding-right: 10%;
    width: 75%;
}

.social-container.fb {
    background-color: #0165E1;
}

.social-container.tt {
    background-color: #000;
}

.social-container.x {
    background-color: #000;
}

.social-container.ig {
    background:linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-container.yt {
    background-color: #FF0000;
}

.social-container.li {
    background-color: #0A66C2;
}

.absolute-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
}

.footer__link {
    position: relative;
    margin-right: 1.5rem;
}

.footer__link a {
    font-size: 20px;
    font-weight: 800;
    color: #464646;
}

.footer__link:not(:last-of-type)::after {
    content: '-';
    display: block;
    position: absolute;
    margin-block: 5px;
    right: -1rem;
    bottom: -1rem;
    font-size: 44px;
    color: #464646;
}

/* ================================================== 
    Home
================================================== */

.wrapper {
    max-width: 1200px;
    padding-inline: 1rem;
    position: relative;
    margin: 0 auto;
}

section.main {
    position: relative;
    margin: 5% auto;
}

.no-header {
    margin-top: 15%;
}

.hero-image iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

.page-heading {
    font-size: 32px;
    margin-block: 5%;
}

.page-content {
    width: 90%;
    margin-bottom: 5%;
}

.page-content.cases ul {
    list-style-type: square;
}

.page-content :is(p, li, h2, h3) {
    font-size: 20px;
    line-height: 1.2;
    color: #464646;
}

.page-content :is(p, h2, ul, .img__holder, h3, .citation) {
    margin-bottom: 1rem;
    position: relative;
}

.page-content h2 {
    font-size: 24px;
}

.page-content h3 {
    font-size: 22px;
}

.page-content li {
    margin-bottom: 10px;
}

.page-content .citation {
    font-size: 16px;
    line-height: 1.2;
    font-style: italic;
    font-weight: 100;
    color: #464646;
}

.static .hero-content {
    /* background: transparent; */
    background: rgba(13, 53, 18, 0.3);
}

.static .hero-content p {
    text-align: center;
}

.btn {
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    padding: 20px 30px;
    margin-block: 2%;
    background-color: rgb(60, 117, 67);
    color: white;
    max-width: 240px;
    border-radius: 6px;
}

.btn a {
    color: white;
}

/* ================================================== 
    About
================================================== */

section.about {
    position: relative;
    margin: 5% auto;
}

.hero-image img {
    /* width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1.8; */
    width: 100%;
    height: 50vh;
    display: block;
    object-fit: cover;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, black 100%);
    opacity: 0.7;
}

.bio-line {
    width: 100%;
    display: flex;
}

.bio-image-container {
    width: 30%;
    max-width: 300px;
    margin-right: 5%;
}

.bio__img {
    border-radius: 50%;
    display: block;
    width: 300px;
    height: auto;
}

.bio-cv-container {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
    justify-content: center;
}

.bio-cv-container p {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
    margin-block: 0.5rem;
}

.bio-name {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
}

.bio-specialty {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 400;
}

.bio-specialty.sm {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 300;
}

.bio-title {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.bio-list {
    list-style: none;
    list-style-position: inside;
    padding-left: 0;
    max-width: 70%;
}

.bio-list li {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.bio-mid-banner,
.page-content .bio-mid-banner {
    margin: 5% auto;
    text-align: center;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
    color: rgb(13, 53, 18);
}

/* ================================================== 
    FAQ
================================================== */

.faq__title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: #464646;
}

.faq__content :is(p, ul, li) {
    font-size: 16px;
    line-height: 1.2;
    color: #464646;
}

.faq__content li {
    margin-bottom: 10px;
}

.faq__container {
    width: 100%;
    padding: 40px;
    border: 1.2px solid #DDDDDD;
    border-radius: 16px;
    margin-bottom: 2.5%;
}

details.faq__details[open] .faq__title{
    color: rgb(13, 53, 18);
}

details.faq__details[open] .faq__content {
    margin-top: 25px;
}

summary.faq__summary {
    position: relative;
    list-style-type: none;
    display: flex;
    flex-flow: row;
}

summary.faq__summary::after {
    content: url(../img/chevron-black.svg);
    width: 24px;
    height: 24px;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}

details.faq__details[open] summary.faq__summary::after {
    transform: rotate(90deg);
}

/* ================================================== 
    Contact
================================================== */

.contact__container {
    width: 100%;
    display: flex;
    margin-bottom: 10%;    
}

.contact__details {
    width: 30%;
    margin-right: 10%;
}

.contact__map {
    width: 60%;
}

.contact__map iframe {
    width: 100%;
    height: 400px;
}

.contact__line {
    display: flex;
    flex-flow: column;
    margin-bottom: 1rem;
}

.contact__type {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: #7d7d7d;
    /* font-style: italic; */
    margin-bottom: 5px;
}

.contact__data,
.contact__data a {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: #464646;
}

.contact__data a:hover {
    color: rgb(13, 53, 18);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ================================================== 
    Projects
================================================== */

.logos__holder {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.partner__logo {
    height: 80px;
    width: auto;
    display: block;
}

/* ================================================== 
    Cooperation
================================================== */

.gallery__coop {
    width: 100%;
    display: flex;
    margin-bottom: 5%;
}

.gallery__coop .col {
    display: flex;
    flex-flow: column;
    justify-content: center;
    gap: 1rem;
    margin-right: 1rem;
    flex: 0 0 50%;
}

/* .gallery__coop .col:last-of-type {
    background-color: white;
} */

.img__holder img {
    width: 100%;
    height: auto;
}

.img__holder {
    position: relative;
}

.img__holder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, black 100%);
    opacity: 0.7;
}

.analysis__coop {
    width: 100%;
    display: flex;
    margin-bottom: 5%;
}

.left__col.striped {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 40%;
    background: linear-gradient(
        to bottom,
        #d3e2d4,
        #d3e2d4 50%,
        #ffffff 50%,
        #ffffff
    );
    background-size: 100% 60px;
}

.left__col.striped .motto-part {
    font-size: 62px;
    font-weight: 800;
}

.left__col.striped .motto-part:nth-of-type(2n) {
    color: #777;
}

.right__col {
    flex: 0 0 65%;
    background-color: white;
}

.analysis__coop .img__holder::after,
.gallery__coop .img__holder::after {
    content: none;
}

.text_placeholder__analysis {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 5% auto;
}

.text_placeholder__analysis p {
    width: 90%;
    font-size: 22px;
    font-weight: 100;
    line-height: 1.2;
    text-align: left;

}

/* ================================================== 
    Services
================================================== */

.service__gallery.mosaic {
    display: flex;
    width: 100%;
    margin-bottom: 5%;
}

.col__service {
    display: flex;
    flex-flow: column;
    justify-content: center;
    margin-right: 1rem;
    flex: 0 0 60%;
}

.col__service:last-of-type {
    justify-content: space-between;
    flex: 0 0 40%;
}

.service__gallery.square {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 5%;
}

.service__gallery.square .img__holder {
    flex: 0 0 49%;
    margin-bottom: 2%;
}

.service__gallery.square .img__holder img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.service__gallery.trapezoid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 5%;
}

.service__gallery.trapezoid .img__holder {
    flex: 0 0 50%;
    margin-bottom: 2%;
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}

.service__gallery.trapezoid .img__holder::after {
    content: none;
}

.service__gallery.trapezoid .img__holder:nth-of-type(1),
.service__gallery.trapezoid .img__holder:nth-of-type(2n+1),
.service__gallery.trapezoid .img__holder:nth-of-type(2n+3) {
    flex: 0 0 35%;
}

.service__gallery.trapezoid .img__holder:nth-of-type(2n),
.service__gallery.trapezoid .img__holder:nth-of-type(2n+2) {
    flex: 0 0 65%;
}

.section__w_img {
    display: flex;
    justify-content: space-between;
}

.section__w_img p {
    flex: 0 0 75%;
    max-width: 75%;
    background-color: green;
    padding: 10px;
    color: white;
}

.section__w_img.plain p {
    background-color: transparent;
    color: #464646;
}

.section__w_img.plain {
    margin-bottom: 2%;
}


.section__w_img.plain .img__section {
    max-width: 30%;
}

.img__section {
    flex: 0 0 20%;
    max-width: 20%;
}

.img__section img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1024px) {
    .section__w_img {
        flex-flow: column-reverse;
    }

    .section__w_img p {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .img__section,
    .section__w_img.plain .img__section {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .bio__img {
        width: 100%;
    }
}

.service__gallery.columns {
    display: flex;
}

.service__gallery.columns .col__service {
    flex: 0 0 33%;
    max-width: 32%;  
}

.service__gallery.columns .col__service:is(:first-of-type, :last-of-type) {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.service__gallery.columns .col__service:not(:first-of-type, :last-of-type) .img__holder {
    height: 100%;
    width: 100%;
}

.service__gallery.columns .col__service:not(:first-of-type, :last-of-type) .img__holder img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media screen and (max-width: 1680px) {
    .hero-content {
        width: 100%;
        height: 100%;
    }

    .hero-image img {
        height: auto;
    }

    .nav-item {
        font-size: 50px;
    }
}

@media screen and (max-width: 1500px) {
    .social-container {
        flex: 0 0 35%;
        padding-block: 10px;
    }

    .main-menu.expanded {
        padding-top: 85px;
    }

    .nav-item {
        font-size: 35px;
    }
}

@media screen and (max-width: 1280px) {
    .hero-content {
        width: 100%;
        height: 90%;
    }

    .hero-image img {
        height: 50vh;
    }

    .social-container {
        flex: 0 0 40%;
    }

    .faq__container {
        width: calc(100% - 80px);
    }
}

@media screen and (max-width: 1024px) {
    .social-container {
        flex: 0 0 45%;
    }

    .hero-content p {
        width: 70%;
    }
}

@media screen and (max-width: 820px){
    .main-header {
        position: relative;
        top: 0;
    }
    .main-menu.expanded {
        padding-top: 0;
    }

    .hero-content {
        height: 100%;
        width: 100%;
    }

    .hero-content p {
        width: 100%;
        font-size: 40px;
    }

    .header-wrapper {
        width: calc(97% - 60px);
        margin: 0;
        border-radius: 0;
    }

    .page-content {
        width: 100%;
    }

    .bio-image-container {
        width: 50%;
    }

    .partner__logo:last-of-type {
        width: 100%;
    }

    .footer-line {
        flex-flow: column;
    }

    .footer-address {
        text-align: center;
    }

    .address-line {
        font-size: 22px;
        line-height: 1.5;
    }

    .motto-container {
        text-align: center;
    }

    .footer-logo {
        width: 100%;
    }

    .footer-logo img {
        margin: 0 auto 10% auto;
    }

    .footer-social .social-container {
        flex: 0 0 100%;
        width: 100%;
        max-width: 50px;
        padding-block: 10px;
    }

    .footer-social {
        margin-block: 5%;
        width: 100%;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding-left: 0;
        width: 90%;
        margin: 0 auto;
    }

    .footer__link:not(:last-of-type)::after {
        content: none;
    }

    .footer__link {
        margin-right: 0;
        text-align: center;
    }

    .contact__container {
        flex-flow: column-reverse;
    }

    .contact__details {
        width: 100%;
        margin-right: 0;
        margin-top: 5%;
    }

    .contact__map {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    
    .page-content :is(p, li, h2, h3) {
        font-size: 18px;
        line-height: 1.3;
    }

    .page-content {
        width: 100%;
        margin-inline: auto;
    }

    .nav-item {
        font-size: 26px;
    }

    .header-wrapper {
        margin: 0;
        border-radius: 0;
        width: calc(97% - 70px);
    }

    .hero-content {
        width: 100%;
        height: 100%;
    }

    .hero-content p {
        width: 100%;
        font-size: 25px;
    }   
    

    .bio-line {
        flex-flow: column;
        align-items: center;
    }

    .bio-image-container {
        width: 100%;
    }

    .bio-cv-container {
        align-items: center;
    }

    .bio-list {
        max-width: 100%;
    }

    .gallery__coop {
        flex-direction: column;
        gap: 1rem;
    }
}