/***** GLOBAL *****/

/* fonts */
@font-face {
    font-family: "Stack Sans Text";
    src: url("../vendor/fonts/stack-sans-text/stack-sans-text-latin-ext.woff2") format("woff2");
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Stack Sans Text";
    src: url("../vendor/fonts/stack-sans-text/stack-sans-text-latin.woff2") format("woff2");
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* variables */
:root {
    --main-color: #000000;
    --main-text-color: #ffffff;
    --second-color: #ffffff;
    --second-text-color: #000000;
    --third-color: #fafafa;
    --third-text-color: #000000;
    --dark-color: #303030;
    --muted-color: #5e5a56;
    --accent-color: #fdcb28;
    --line-color: rgb(0 0 0 / 10%);
    --light-line-color: rgb(255 255 255 / 20%);
    --overlay-color: rgb(0 0 0 / 45%);
    --glass-color: rgb(255 255 255 / 12%);
    --radius-small: 8px;
    --radius: 12px;
    --radius-large: 20px;
    --section-space: clamp(64px, 8.5vw, 120px);
    --bleed-space: max(25px, calc((100vw - 1440px) / 2 + 25px));
}

/* typography */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--second-color);
    color: var(--second-text-color);
    font-family: "Stack Sans Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .heading {
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.2;
}

h1,
h1.heading {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.045em;
}

h3 {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

a,
a:hover {
    color: inherit;
}

.text {
    color: var(--muted-color);
}

.spec-font {
    font-family: ui-serif, Georgia, "Times New Roman", serif;
}

/* layout */
.container {
    max-width: 1440px;
    padding-left: 25px;
    padding-right: 25px;
}

main {
    flex: 1 0 auto;
}

/* buttons */
.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.875em 1.125em;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.t-btn:focus-visible {
    outline-style: solid;
    outline-width: 2px;
    outline-offset: 2px;
}

.t-btn.theme {
    background: var(--main-color);
    color: var(--main-text-color);
}

.t-btn.theme:hover {
    background: var(--dark-color);
    color: var(--main-text-color);
}

.t-btn.theme:focus-visible {
    outline-color: var(--main-color);
    box-shadow: 0 0 0 2px var(--main-text-color);
}

.t-btn.theme2 {
    background: var(--second-color);
    color: var(--second-text-color);
}

.t-btn.theme2:hover {
    background: var(--third-color);
    border-color: var(--line-color);
    color: var(--second-text-color);
}

.t-btn.theme2:focus-visible {
    outline-color: var(--second-text-color);
    box-shadow: 0 0 0 2px var(--second-color);
}

.t-btn.theme3 {
    background: var(--third-color);
    color: var(--third-text-color);
}

.t-btn.theme3:hover {
    background: var(--main-color);
    color: var(--main-text-color);
}

.t-btn.theme3:focus-visible {
    outline-color: var(--third-text-color);
    box-shadow: 0 0 0 2px var(--third-color);
}

/* reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* section head */
.section-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 56px;
}

.section-head.center {
    align-items: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head .text {
    max-width: 520px;
    font-size: 1.125rem;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.eyebrow svg {
    width: 18px;
    height: 18px;
}

/* page hero */
.page-hero {
    padding-top: clamp(120px, 12vw, 170px);
    padding-bottom: var(--section-space);
}

/* slider track */
.track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.track::-webkit-scrollbar {
    display: none;
}

.track > * {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.track.bleed {
    padding-left: var(--bleed-space);
    padding-right: var(--bleed-space);
    scroll-padding-left: var(--bleed-space);
}

/* project card */
.project-card {
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 24px;
    height: 100%;
    padding: 16px;
    border-radius: var(--radius-large);
    background: var(--third-color);
}

.project-card .image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 420px;
    border-radius: var(--radius);
    object-fit: cover;
}

.project-card .body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 8px;
}

.project-card .title {
    margin-bottom: 8px;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.project-card .text {
    color: var(--muted-color);
}

.project-card .more {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    text-decoration: none;
}

.project-card .more svg {
    transition: transform 0.3s ease;
}

.project-card .more:hover svg {
    transform: translateX(6px);
}

@media (max-width: 575.98px) {
    .project-card {
        grid-template-columns: 1fr;
    }

    .project-card .image {
        min-height: 0;
        max-height: none;
        aspect-ratio: 4 / 3;
    }

    .project-card .body {
        padding: 0 8px 8px;
    }
}

/* check list */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.check-list li {
    display: flex;
    gap: 12px;
}

.check-list svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 2px;
}

.check-list .title {
    margin-bottom: 8px;
}

/* faq list */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-list details {
    border-radius: var(--radius);
    background: var(--second-color);
}

.faq-list summary {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    list-style: none;
    cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary:focus-visible {
    border-radius: var(--radius);
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}

.faq-list summary svg {
    flex: 0 0 auto;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.faq-list details[open] summary svg {
    transform: rotate(180deg);
}

.faq-list .question {
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.faq-list .answer {
    padding: 0 24px 24px;
    color: var(--muted-color);
}

/* benefits */
.benefits-section {
    position: relative;
    min-height: clamp(520px, 63vw, 912px);
    background: url("../images/benefits.jpg") center / cover no-repeat;
}

.benefits-section .point {
    position: absolute;
}

.benefits-section .point:nth-child(1) {
    top: 53%;
    left: 66%;
}

.benefits-section .point:nth-child(2) {
    top: 66%;
    left: 40%;
}

.benefits-section .point:nth-child(3) {
    top: 78%;
    left: 56%;
}

.benefits-section .hotspot {
    display: block;
    padding: 0.5em;
    border: 1px solid var(--main-text-color);
    border-radius: 50%;
    background: var(--glass-color);
    cursor: pointer;
    transform: translate(-50%, -50%);
}

.benefits-section .hotspot span {
    display: block;
    padding: 0.5em;
    border-radius: 50%;
    background: var(--main-text-color);
}

.benefits-section .hotspot:focus-visible {
    outline: 2px solid var(--main-text-color);
    outline-offset: 3px;
}

.benefits-section .card {
    position: absolute;
    bottom: 56px;
    left: 0;
    width: 380px;
    padding: 24px;
    border: 0;
    border-radius: var(--radius);
    background: var(--second-color);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%);
    transition: 0.3s ease;
}

.benefits-section .card::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    height: 40px;
    border-left: 2px dashed var(--main-text-color);
}

.benefits-section .point.active .card {
    opacity: 1;
    visibility: visible;
}

.benefits-section .card .title {
    margin-bottom: 8px;
}

@media (max-width: 767.98px) {
    .benefits-section {
        padding-top: 60vw;
        padding-left: 25px;
        padding-right: 25px;
        padding-bottom: 25px;
    }

    .benefits-section .points {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .benefits-section .point {
        position: static;
    }

    .benefits-section .hotspot {
        display: none;
    }

    .benefits-section .card {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .benefits-section .card::after {
        display: none;
    }
}

/* cta */
.contact-section {
    position: relative;
    isolation: isolate;
    padding-top: clamp(80px, 10vw, 147px);
    background: linear-gradient(var(--overlay-color), var(--overlay-color)), url("../images/cta.jpg") center / cover no-repeat;
    color: var(--main-text-color);
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    backdrop-filter: blur(8px);
}

.contact-section .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 520px;
    margin: 0 auto clamp(64px, 9vw, 121px);
    text-align: center;
}

.contact-section .text {
    color: inherit;
}

.contact-section .content .t-btn {
    margin-top: 8px;
}

.contact-section .items {
    border-top: 1px solid var(--light-line-color);
    background: var(--glass-color);
}

.contact-section .item {
    display: flex;
    gap: 16px;
    height: 100%;
    padding: 32px 24px;
}

.contact-section .col-md-4 + .col-md-4 .item {
    border-left: 1px solid var(--light-line-color);
}

.contact-section .item svg {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
}

.contact-section .item .title {
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 600;
}

.contact-section .item .text {
    font-size: 0.9375rem;
}

@media (max-width: 767.98px) {
    .contact-section .col-md-4 + .col-md-4 .item {
        border-left: 0;
        border-top: 1px solid var(--light-line-color);
    }
}

/***** HEADER *****/

/* header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.header > .container {
    position: relative;
    z-index: 10;
}

.header .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
}

.header.overlay > .container {
    color: var(--main-text-color);
}

/* logo */
.header .logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.header .logo svg {
    width: 30px;
    height: 30px;
}

/* navigation */
.header .navigation .list {
    display: flex;
    gap: 8px;
}

.header .navigation a {
    display: block;
    padding: 0.4em 0.7em;
    border-radius: var(--radius-small);
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s ease;
}

.header .navigation a:hover,
.header .navigation a[aria-current="page"] {
    background: var(--third-color);
}

.header.overlay > .container .navigation a:hover,
.header.overlay > .container .navigation a[aria-current="page"] {
    background: var(--glass-color);
}

/* actions */
.header .actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header .menu-btn {
    display: inline-flex;
    padding: 0.5em;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

.header .menu-btn svg {
    display: block;
}

/* offcanvas */
.header .offcanvas {
    --bs-offcanvas-width: 320px;
    --bs-offcanvas-bg: var(--second-color);
    --bs-offcanvas-color: var(--second-text-color);
}

.header .offcanvas-header {
    justify-content: space-between;
}

.header .offcanvas-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.header .offcanvas .list {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.header .offcanvas .navigation a {
    padding-left: 0.5em;
}

.header .offcanvas .t-btn {
    width: 100%;
}

/***** HOME *****/

/* hero */
.home-page .hero-section {
    display: flex;
    min-height: 100vh;
    padding: 150px 0 50px;
    background: linear-gradient(var(--overlay-color), var(--overlay-color)), url("../images/hero-home.jpg") center / cover no-repeat;
    color: var(--main-text-color);
}

.home-page .hero-section .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
}

.home-page .hero-section .heading {
    margin-bottom: 32px;
    font-size: clamp(2.75rem, 6.5vw, 4.875rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.home-page .hero-section .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-page .hero-section .bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.home-page .hero-section .more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.home-page .hero-section .news {
    display: flex;
    gap: 24px;
    width: min(472px, 100%);
    padding: 16px;
    border-radius: var(--radius);
    background: var(--glass-color);
    backdrop-filter: blur(12px);
    text-decoration: none;
}

.home-page .hero-section .news .image {
    flex: 0 0 auto;
    width: 136px;
    height: 136px;
    border-radius: var(--radius-small);
    object-fit: cover;
}

.home-page .hero-section .news .body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 16px;
}

.home-page .hero-section .news .title {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
}

.home-page .hero-section .news .meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
}

@media (max-width: 575.98px) {
    .home-page .hero-section .news .image {
        width: 88px;
        height: 88px;
    }

    .home-page .hero-section .news .title {
        font-size: 1rem;
    }
}

/* about */
.home-page .about-section {
    padding: var(--section-space) 0;
}

.home-page .about-section .row {
    margin-bottom: 72px;
}

.home-page .about-section .heading {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    letter-spacing: -0.04em;
}

.home-page .about-section .card {
    position: relative;
    width: min(612px, 85vw);
    height: clamp(420px, 44vw, 640px);
    overflow: hidden;
    border: 0;
    border-radius: var(--radius);
    background: var(--main-color);
}

.home-page .about-section .card .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-page .about-section .card .body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 96px 40px 40px;
    background: linear-gradient(transparent, var(--main-color) 60%);
    color: var(--main-text-color);
}

.home-page .about-section .card .title {
    margin-bottom: 16px;
    font-weight: 600;
}

.home-page .about-section .card .text {
    max-width: 400px;
    color: inherit;
    opacity: 0.75;
}

/* services */
.home-page .services-section .panel {
    padding: clamp(40px, 8vw, 120px) clamp(24px, 3.5vw, 50px);
    border-radius: var(--radius-large);
    background: var(--third-color);
}

.home-page .services-section .images {
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: start;
    gap: 24px;
}

.home-page .services-section .image {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
}

.home-page .services-section .image:first-child {
    aspect-ratio: 384 / 557;
}

.home-page .services-section .image:last-child {
    aspect-ratio: 261 / 308;
}

.home-page .services-section .list {
    columns: 2 240px;
    column-gap: 40px;
    margin-bottom: 40px;
}

.home-page .services-section .list li {
    margin-bottom: 12px;
    font-size: 1.125rem;
    break-inside: avoid;
}

.home-page .services-section .list a {
    display: flex;
    gap: 12px;
    text-decoration: none;
}

.home-page .services-section .list a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-page .services-section .list svg {
    flex: 0 0 auto;
    margin-top: 2px;
}

/* process */
.home-page .process-section {
    padding: var(--section-space) 0;
}

.home-page .process-section .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.home-page .process-section .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 96px;
    padding: 26px;
    border: 0;
    border-radius: var(--radius);
    background: var(--third-color);
}

.home-page .process-section .number {
    font-size: 2.75rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
}

.home-page .process-section .title {
    margin-bottom: 12px;
    font-weight: 600;
}

.home-page .process-section .image {
    grid-column: 3 / 5;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .home-page .process-section .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-page .process-section .image {
        grid-column: 1 / -1;
        grid-row: auto;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 575.98px) {
    .home-page .process-section .grid {
        grid-template-columns: 1fr;
    }

    .home-page .process-section .card {
        gap: 40px;
    }
}

/* projects */
.home-page .projects-section {
    padding: var(--section-space) 0;
}

.home-page .projects-section .head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 56px;
}

.home-page .projects-section .section-head {
    margin-bottom: 0;
}

.home-page .projects-section .arrows {
    display: flex;
    gap: 8px;
}

.home-page .projects-section .arrow {
    display: inline-flex;
    padding: 0.75em;
    border: 0;
    border-radius: var(--radius);
    background: var(--main-color);
    color: var(--main-text-color);
    cursor: pointer;
    transition: 0.3s ease;
}

.home-page .projects-section .arrow:hover {
    background: var(--dark-color);
}

.home-page .projects-section .arrow:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}

.home-page .projects-section .arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.home-page .projects-section .project-card {
    width: min(660px, 85vw);
    height: auto;
}

/***** ABOUT *****/

/* hero */
.about-page .hero-section {
    overflow: hidden;
}

.about-page .hero-section .gallery {
    display: grid;
    grid-template-columns: 1fr 1.84fr 1fr;
    align-items: center;
    gap: 24px;
    width: 104%;
    margin-left: -2%;
    margin-bottom: 72px;
}

.about-page .hero-section .gallery .image {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 360 / 425;
}

.about-page .hero-section .gallery .image:nth-child(2) {
    aspect-ratio: 663 / 602;
}

@media (max-width: 767.98px) {
    .about-page .hero-section .gallery {
        gap: 12px;
        width: 170%;
        margin-left: -35%;
        margin-bottom: 48px;
    }
}

.about-page .hero-section .intro {
    max-width: 840px;
    margin: 0 auto;
    color: var(--muted-color);
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.3;
    text-align: center;
}

/* why */
.about-page .why-section {
    padding-bottom: var(--section-space);
}

.about-page .why-section .media {
    position: relative;
}

.about-page .why-section .media > .image {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 660 / 675;
}

.about-page .why-section .contact {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border-radius: var(--radius-small);
    background: var(--second-color);
}

.about-page .why-section .thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-small);
    object-fit: cover;
}

.about-page .why-section .label {
    color: var(--muted-color);
    font-size: 0.875rem;
}

.about-page .why-section .contact a {
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
}

.about-page .why-section .or {
    font-weight: 600;
}

.about-page .why-section .content {
    display: flex;
    flex-direction: column;
    gap: 72px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767.98px) {
    .about-page .why-section .contact {
        position: static;
        flex-wrap: wrap;
        margin-top: 16px;
        padding: 0;
    }

    .about-page .why-section .thumb,
    .about-page .why-section .or {
        display: none;
    }

    .about-page .why-section .content {
        gap: 40px;
    }
}

/* values */
.about-page .values-section {
    padding: var(--section-space) 0;
    background: var(--third-color);
}

.about-page .values-section .card {
    border: 0;
    background: none;
}

.about-page .values-section .image {
    width: 100%;
    margin-bottom: 28px;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 440 / 322;
}

.about-page .values-section .title {
    margin-bottom: 12px;
    font-weight: 600;
}

/* certificates */
.about-page .certificates-section {
    padding: var(--section-space) 0;
    scroll-margin-top: 24px;
}

.about-page .certificates-section .certificate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    padding: 56px 24px;
    border: 1px dashed var(--line-color);
    border-radius: var(--radius);
    background: var(--third-color);
    text-align: center;
}

.about-page .certificates-section .certificate svg {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
}

.about-page .certificates-section .title {
    font-weight: 600;
}

/* team */
.about-page .team-section {
    padding: var(--section-space) 0;
}

.about-page .team-section .grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.3fr;
    gap: 32px;
}

.about-page .team-section .image {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
}

.about-page .team-section .image.main {
    height: 100%;
    min-height: 480px;
}

.about-page .team-section .middle {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-page .team-section .middle .image {
    aspect-ratio: 310 / 270;
}

.about-page .team-section .middle .title {
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.about-page .team-section .middle .text {
    margin-top: auto;
    color: inherit;
}

.about-page .team-section .middle strong {
    font-weight: 600;
}

.about-page .team-section .side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding-left: 32px;
    border-left: 1px solid var(--line-color);
}

.about-page .team-section .side .text {
    margin-bottom: 24px;
    color: inherit;
}

.about-page .team-section .side .image {
    max-width: 310px;
    aspect-ratio: 310 / 185;
}

@media (max-width: 991.98px) {
    .about-page .team-section .grid {
        grid-template-columns: 1fr;
    }

    .about-page .team-section .image.main {
        min-height: 0;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .about-page .team-section .side {
        padding-left: 0;
        border-left: 0;
    }
}

/***** SERVICES *****/

/* services */
.services-page .hero-section .card {
    display: block;
    border: 0;
    background: none;
    text-decoration: none;
}

.services-page .hero-section .media {
    display: block;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: var(--radius);
}

.services-page .hero-section .image {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 11.5;
    transition: transform 0.5s ease;
}

.services-page .hero-section .card:hover .image {
    transform: scale(1.03);
}

.services-page .hero-section .label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.services-page .hero-section .label::before {
    content: "";
    padding: 0.35em;
    background: var(--accent-color);
}

.services-page .hero-section .title {
    margin-bottom: 8px;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.services-page .hero-section .text {
    display: block;
}

/* info */
.services-page .info-section {
    padding: var(--section-space) 0;
    background: var(--third-color);
}

.services-page .info-section .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    height: 100%;
}

.services-page .info-section .section-head {
    margin-bottom: 0;
}

.services-page .info-section .image {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    object-fit: cover;
}

/***** SERVICE *****/

/* hero */
.service-page .hero-section {
    padding-bottom: 0;
}

.back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    text-decoration: none;
}

.back svg {
    width: 18px;
    height: 18px;
}

.back:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.service-page .hero-section .image {
    width: 100%;
    height: clamp(280px, 42vw, 620px);
    border-radius: var(--radius-large);
    object-fit: cover;
}

/* details */
.service-page .details-section {
    padding: var(--section-space) 0;
}

.service-page .details-section .heading {
    margin-bottom: 24px;
}

.service-page .details-section .lead-text {
    margin-bottom: 32px;
    color: var(--muted-color);
    font-size: 1.125rem;
}

.service-page .details-section .includes li {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--line-color);
    font-size: 1.125rem;
    font-weight: 500;
}

.service-page .details-section .includes svg {
    flex: 0 0 auto;
    margin-top: 2px;
}

.service-page .details-section .panel {
    padding: clamp(24px, 3vw, 40px);
    border-radius: var(--radius-large);
    background: var(--third-color);
}

.service-page .details-section .panel .title {
    margin-bottom: 24px;
    font-size: 1.75rem;
    letter-spacing: -0.04em;
}

.service-page .details-section .check-list {
    gap: 16px;
    margin-bottom: 32px;
}

/* projects */
.service-page .projects-section {
    padding: var(--section-space) 0;
    background: var(--third-color);
}

.service-page .projects-section .project-card {
    background: var(--second-color);
}

/* others */
.service-page .others-section {
    padding: var(--section-space) 0;
}

.service-page .others-section .heading {
    margin-bottom: 32px;
}

.service-page .others-section .list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--line-color);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.service-page .others-section .list a:hover {
    color: var(--muted-color);
}

/***** PROJECTS *****/

/* info */
.projects-page .info-section {
    padding: var(--section-space) 0;
    background: var(--third-color);
}

.projects-page .info-section .image {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.projects-page .info-section .section-head {
    margin-bottom: 40px;
}

/***** PROJECT *****/

/* hero */
.project-page .hero-section .info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    height: 100%;
}

.project-page .hero-section .heading {
    margin: 24px 0 12px;
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}

.project-page .hero-section .facts {
    margin: 0;
}

.project-page .hero-section .facts > div {
    padding: 20px 0;
    border-top: 1px solid var(--line-color);
}

.project-page .hero-section .facts dt {
    margin-bottom: 8px;
    color: var(--muted-color);
    font-weight: 400;
}

.project-page .hero-section .facts dd {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
}

.project-page .hero-section .scope li + li {
    margin-top: 6px;
}

.project-page .hero-section .scope a {
    text-underline-offset: 4px;
}

.project-page .hero-section .main-image {
    width: 100%;
    height: clamp(320px, 50vw, 680px);
    border-radius: var(--radius-large);
    object-fit: cover;
}

/* photos */
.project-page .hero-section .photos {
    columns: 3 280px;
    column-gap: 24px;
    margin-top: 24px;
}

.project-page .hero-section .photos .image {
    width: 100%;
    margin-bottom: 24px;
    border-radius: var(--radius);
    break-inside: avoid;
}

/* pager */
.project-page .hero-section .pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line-color);
}

.project-page .hero-section .pager a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    text-decoration: none;
}

.project-page .hero-section .pager a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/***** CONTACT *****/

/* hero */
.contact-page .hero-section .inner {
    max-width: 1176px;
    margin: 0 auto;
}

.contact-page .hero-section .info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 30px;
    border-radius: var(--radius);
    background: var(--third-color);
    text-decoration: none;
}

.contact-page .hero-section .info .label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted-color);
}

.contact-page .hero-section .info .label svg {
    width: 16px;
    height: 16px;
}

.contact-page .hero-section .info .value {
    font-weight: 500;
}

/* form */
.contact-page .hero-section .panel {
    margin: 24px 0;
    padding: clamp(16px, 2.5vw, 36px);
    border-radius: var(--radius-large);
    background: var(--third-color);
}

.contact-page .hero-section .intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    height: 100%;
}

.contact-page .hero-section .intro .title {
    margin-bottom: 12px;
    font-size: 1.75rem;
    letter-spacing: -0.04em;
}

.contact-page .hero-section .intro .text {
    max-width: 300px;
}

.contact-page .hero-section .company {
    max-width: 370px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--second-color);
}

.contact-page .hero-section .company .name {
    margin-bottom: 16px;
    font-weight: 600;
}

.contact-page .hero-section .company dl {
    margin: 0;
}

.contact-page .hero-section .company dl > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-top: 1px solid var(--line-color);
    font-size: 0.9375rem;
}

.contact-page .hero-section .company dt {
    color: var(--muted-color);
    font-weight: 400;
}

.contact-page .hero-section .company dd {
    margin: 0;
    font-weight: 500;
    text-align: right;
}

.contact-page .hero-section .form {
    padding: clamp(20px, 3vw, 40px);
    border-radius: var(--radius);
    background: var(--second-color);
}

.contact-page .hero-section .form-label {
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-page .hero-section .form-control {
    padding: 0.9em 1em;
    border: 1px solid var(--line-color);
    border-radius: var(--radius-small);
    background: var(--third-color);
}

.contact-page .hero-section .form-control:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 1px var(--main-color);
}

.contact-page .hero-section .form .t-btn {
    margin-top: 24px;
}

.contact-page .hero-section .status {
    margin-top: 16px;
    color: var(--muted-color);
}

/* map */
.contact-page .hero-section .map {
    display: block;
    width: 100%;
    height: clamp(280px, 40vw, 480px);
    border: 0;
    border-radius: var(--radius-large);
    background: var(--third-color);
}

/* faq */
.contact-page .faq-section {
    padding: var(--section-space) 0;
    background: var(--third-color);
}

.contact-page .faq-section .faq-list {
    max-width: 848px;
    margin: 0 auto;
}

.contact-page .faq-section .number {
    flex: 0 0 72px;
    color: var(--muted-color);
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.6;
}

.contact-page .faq-section .question {
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.contact-page .faq-section .answer {
    padding-left: 120px;
    padding-right: 72px;
}

@media (max-width: 767.98px) {
    .contact-page .faq-section summary {
        gap: 16px;
        padding: 20px;
    }

    .contact-page .faq-section .number {
        flex-basis: auto;
        font-size: 1.125rem;
    }

    .contact-page .faq-section .question {
        font-size: 1.125rem;
    }

    .contact-page .faq-section .answer {
        padding: 0 20px 20px;
    }
}

/***** FOOTER *****/

/* main */
.footer {
    padding: clamp(64px, 8vw, 120px) 0 56px;
    background: var(--dark-color);
    color: var(--main-text-color);
}

.footer.dark {
    background: var(--main-color);
}

.footer .main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: clamp(48px, 7vw, 112px);
}

.footer .logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    text-decoration: none;
}

.footer .logo svg {
    width: 52px;
    height: 52px;
}

/* links */
.footer .links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 72px;
}

.footer .links .title {
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.6;
}

.footer .links li {
    margin-bottom: 12px;
    font-weight: 600;
}

.footer .links a {
    text-decoration: none;
}

.footer .links a:hover {
    opacity: 0.7;
}

/* contact */
.footer .contact .plain {
    font-weight: 400;
    opacity: 0.8;
}

/* bottom */
.footer .bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--light-line-color);
}

.footer .bottom .text {
    color: inherit;
    opacity: 0.8;
}

.footer .bottom a {
    text-decoration: none;
}
