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

/* fonts */
@font-face {
    font-family: "Google Sans";
    src: url("../vendor/fonts/google-sans/google-sans-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 400 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Google Sans";
    src: url("../vendor/fonts/google-sans/google-sans-latin-wght-normal.woff2") format("woff2");
    font-weight: 400 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: #5492cf;
    --main-text-color: #ffffff;
    --second-color: #0d1f4b;
    --second-text-color: #ffffff;
    --third-color: color-mix(in srgb, var(--main-color) 6%, var(--fourth-color));
    --third-text-color: #0a1a3f;
    --fourth-color: #ffffff;
    --fourth-text-color: #0a1a3f;
    --border-color: color-mix(in srgb, var(--second-color) 18%, transparent);
    --soft-border-color: color-mix(in srgb, var(--second-color) 10%, transparent);
    --muted-color: color-mix(in srgb, var(--fourth-text-color) 72%, transparent);
    --radius: 10px;
}

/* typography */
body {
    font-family: "Google Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    background: var(--fourth-color);
    color: var(--fourth-text-color);
}

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

h1,
.h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2,
.h2 {
    font-size: 1.875rem;
    line-height: 1.25;
}

h3,
.h3 {
    font-size: 1.375rem;
    line-height: 1.3;
}

h4,
.h4 {
    font-size: 1.125rem;
    line-height: 1.35;
}

h5,
.h5 {
    font-size: 1.0625rem;
    line-height: 1.4;
}

h6,
.h6 {
    font-size: 0.9375rem;
    line-height: 1.4;
}

p {
    margin: 0;
}

a,
a:hover {
    color: inherit;
    text-decoration: none;
}

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

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

blockquote {
    margin: 0;
}

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

.spec-font {
    font-family: inherit;
}

.logo {
    display: inline-block;
    line-height: 0;
}

.logo img {
    width: auto;
    height: 56px;
}

/* bootstrap card reset */
.card {
    --bs-card-bg: transparent;
    --bs-card-border-width: 0;
    --bs-card-border-radius: 0;
    color: inherit;
}

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

main section {
    padding-top: 56px;
    padding-bottom: 56px;
}

.t-alt {
    background: var(--third-color);
}

/* buttons */
.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    padding: 11px 18px;
    border: 0;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s ease;
}

.t-btn svg {
    flex: none;
    width: 16px;
    height: 16px;
}

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

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

.t-btn.theme:focus-visible {
    outline: 3px solid var(--second-color);
    outline-offset: 3px;
}

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

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

.t-btn.theme2:focus-visible {
    outline: 3px solid var(--main-color);
    outline-offset: 3px;
}

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

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

.t-btn.theme3:focus-visible {
    outline: 3px solid var(--fourth-color);
    outline-offset: 3px;
}

/* section head */
.t-head {
    max-width: 720px;
    margin-bottom: 32px;
}

.t-head .subtitle {
    display: block;
    margin-bottom: 6px;
    color: var(--main-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.t-head .text {
    margin-top: 10px;
    color: var(--muted-color);
}

.t-head.row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    max-width: none;
}

/* grid (stĺpce sa prispôsobia šírke) */
.t-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}

.t-grid.cols-4 {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

/* card */
.t-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border: 1px solid var(--soft-border-color);
    border-radius: var(--radius);
    background: var(--fourth-color);
    transition: border-color 0.2s ease;
}

a.t-card:hover {
    border-color: var(--main-color);
}

a.t-card:focus-visible {
    outline: 3px solid var(--main-color);
    outline-offset: 2px;
}

.t-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: var(--third-color);
    color: var(--main-color);
}

.t-card .icon svg {
    width: 22px;
    height: 22px;
}

.t-card .text {
    color: var(--muted-color);
    font-size: 0.9375rem;
}

.t-card .more {
    margin-top: auto;
    padding-top: 6px;
    color: var(--main-color);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* project card */
.t-project {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--soft-border-color);
    border-radius: var(--radius);
    background: var(--fourth-color);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.t-project:hover {
    border-color: var(--main-color);
}

.t-project:focus-visible {
    outline: 3px solid var(--main-color);
    outline-offset: 2px;
}

.t-project .image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.t-project .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-project .body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px 20px;
}

.t-project .meta {
    color: var(--main-color);
    font-size: 0.8125rem;
    font-weight: 500;
}

.t-project .text {
    color: var(--muted-color);
    font-size: 0.9375rem;
}

/* faq */
.t-faq {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-width: 0;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-active-color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 860px;
}

.t-faq .accordion-item {
    border: 1px solid var(--soft-border-color);
    border-radius: var(--radius);
    background: var(--fourth-color);
    color: inherit;
    overflow: hidden;
}

.t-faq .accordion-button {
    gap: 12px;
    padding: 16px 20px;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
}

.t-faq .accordion-button::after {
    display: none;
}

.t-faq .accordion-button:focus-visible {
    outline: 3px solid var(--main-color);
    outline-offset: -3px;
}

.t-faq .accordion-button .icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: auto;
    color: var(--main-color);
    transition: transform 0.25s ease;
}

.t-faq .accordion-button .icon svg {
    width: 18px;
    height: 18px;
}

.t-faq .accordion-button:not(.collapsed) .icon {
    transform: rotate(180deg);
}

.t-faq .accordion-body {
    padding: 0 20px 18px;
    color: var(--muted-color);
    font-size: 0.9375rem;
}

/* filter */
.t-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.t-filter button {
    padding: 7px 16px;
    border: 1px solid var(--border-color);
    border-radius: 200px;
    background: transparent;
    color: inherit;
    font-size: 0.9375rem;
    transition: 0.2s ease;
    cursor: pointer;
}

.t-filter button:hover,
.t-filter button.active {
    border-color: var(--main-color);
    background: var(--main-color);
    color: var(--main-text-color);
}

.t-filter button:focus-visible {
    outline: 3px solid var(--second-color);
    outline-offset: 2px;
}

/* hero */
main section.t-hero {
    padding: 0;
}

.t-hero .banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 380px;
    background: var(--second-color);
    color: var(--second-text-color);
    overflow: hidden;
}

.t-hero.large .banner {
    min-height: 480px;
}

.t-hero .banner > .container {
    position: relative;
    z-index: 1;
}

.t-hero .image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t-hero .banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--second-color) 62%, transparent);
}

.t-hero .content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    max-width: 720px;
    padding: 120px 0 48px;
}

.t-hero .title {
    color: var(--second-text-color);
}

.t-hero .text {
    max-width: 560px;
    font-size: 1.0625rem;
    opacity: 0.95;
}

.t-hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.t-hero .crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 0.875rem;
    opacity: 0.9;
}

.t-hero .crumbs li + li::before {
    content: "/";
    margin-right: 8px;
    opacity: 0.6;
}

.t-hero .crumbs a:hover {
    text-decoration: underline;
}

/* content with sidebar */
.t-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
}

.t-detail .aside {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.t-detail .block + .block {
    margin-top: 36px;
}

.t-detail .block > .title {
    margin-bottom: 12px;
    font-size: 1.375rem;
}

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

.t-detail .block .text + .text {
    margin-top: 10px;
}

.t-box {
    padding: 22px;
    border: 1px solid var(--soft-border-color);
    border-radius: var(--radius);
    background: var(--third-color);
}

.t-box .links {
    margin-top: 10px;
}

.t-box .links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--soft-border-color);
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.t-box .links a:hover {
    color: var(--main-color);
}

.t-box .links svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.t-box .links li:last-child a {
    border-bottom: 0;
}

.t-callout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--second-color);
    color: var(--second-text-color);
}

.t-callout .text {
    font-size: 1rem;
    font-weight: 500;
}

.t-callout .phone {
    font-size: 1.375rem;
    font-weight: 500;
}

.t-callout .phone:hover {
    color: var(--main-color);
}

/* checks */
.t-checks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 10px 24px;
}

.t-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9375rem;
}

.t-checks svg {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--main-color);
}

/* machines */
.t-machines {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.t-machines .machine {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--soft-border-color);
    border-radius: var(--radius);
    background: var(--fourth-color);
    overflow: hidden;
}

.t-machines .image {
    height: 150px;
    padding: 10px;
    border-bottom: 1px solid var(--soft-border-color);
}

.t-machines .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.t-machines .body {
    padding: 16px 18px 8px;
}

.t-machines .name {
    font-size: 1.0625rem;
}

.t-machines .type {
    color: var(--muted-color);
    font-size: 0.875rem;
}

.t-machines .rows {
    margin-top: 10px;
}

.t-machines .rows li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--soft-border-color);
    font-size: 0.875rem;
}

.t-machines .price {
    flex: none;
    font-weight: 500;
    white-space: nowrap;
}

/* gallery */
.t-gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.t-gallery .item {
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: var(--third-color);
    overflow: hidden;
}

.t-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* before / after */
.t-compare {
    margin: 0;
}

.t-compare .compare {
    --pos: 50%;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.t-compare .compare img {
    display: block;
    width: 100%;
    height: auto;
}

.t-compare .compare .before {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.t-compare .compare input {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
}

.t-compare .compare .handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2px;
    margin-left: -1px;
    background: var(--fourth-color);
    color: var(--main-color);
    pointer-events: none;
}

.t-compare .compare .handle svg {
    flex: none;
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 50%;
    background: var(--fourth-color);
}

.t-compare .compare input:focus-visible ~ .handle svg {
    outline: 3px solid var(--main-color);
    outline-offset: 2px;
}

.t-compare figcaption {
    margin-top: 8px;
    color: var(--muted-color);
    font-size: 0.875rem;
}

@media (max-width: 991px) {
    .t-detail {
        grid-template-columns: 1fr;
    }

    .t-detail .aside {
        position: static;
    }
}

@media (max-width: 767px) {
    h1,
    .h1 {
        font-size: 1.875rem;
    }

    h2,
    .h2 {
        font-size: 1.5rem;
    }

    h3,
    .h3 {
        font-size: 1.25rem;
    }

    main section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .t-hero .banner,
    .t-hero.large .banner {
        min-height: 340px;
    }

    .t-hero .content {
        padding: 96px 0 32px;
    }

    .t-hero .text {
        font-size: 1rem;
    }

    .t-head.row {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

.header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    color: var(--second-text-color);
}

.header .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 10px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--second-text-color) 22%, transparent);
}

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

.header .navigation .list {
    gap: 4px;
}

.header .link {
    display: block;
    padding: 6px 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.header .link:hover {
    opacity: 0.8;
}

.header .link[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--main-color);
}

.header .link:focus-visible,
.header .logo:focus-visible,
.header .toggle:focus-visible {
    outline: 2px solid var(--second-text-color);
    outline-offset: 2px;
}

/* dropdown */
.header .link.toggle-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
}

.header .link.toggle-sub svg {
    flex: none;
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.header .link.toggle-sub[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.header .link.toggle-sub.is-current {
    box-shadow: inset 0 -2px 0 var(--main-color);
}

.header .navigation .dropdown-menu {
    min-width: 260px;
    margin-top: 10px;
    padding: 6px;
    border: 1px solid var(--soft-border-color);
    border-radius: var(--radius);
    background: var(--fourth-color);
    box-shadow: 0 10px 28px rgba(13, 31, 75, 0.1);
}

.header .navigation .dropdown-item {
    padding: 9px 12px;
    border-radius: 6px;
    background: transparent;
    color: var(--fourth-text-color);
    font-size: 0.9375rem;
    transition: 0.15s ease;
}

.header .navigation .dropdown-item:hover,
.header .navigation .dropdown-item:focus-visible,
.header .navigation .dropdown-item[aria-current="page"] {
    background: var(--third-color);
    color: var(--main-color);
}

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

.header .toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--second-text-color);
    cursor: pointer;
}

.header .toggle svg {
    width: 26px;
    height: 26px;
}

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

.header .offcanvas .title {
    font-size: 1.125rem;
}

.header .offcanvas .list {
    flex-direction: column;
}

.header .offcanvas .link {
    padding: 12px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--second-text-color) 10%, transparent);
    font-size: 1rem;
}

.header .offcanvas .link:focus-visible {
    outline-color: var(--second-text-color);
}

.header .offcanvas .link[aria-current="page"],
.header .offcanvas .link.is-current {
    box-shadow: none;
    color: var(--main-color);
}

.header .offcanvas .toggle-sub {
    justify-content: space-between;
    width: 100%;
}

.header .offcanvas .toggle-sub:hover,
.header .offcanvas .toggle-sub.is-current {
    color: var(--second-text-color);
}

.header .offcanvas .sub {
    padding-left: 14px;
}

.header .offcanvas .sub .link {
    font-size: 0.9375rem;
    opacity: 0.9;
}

.header .offcanvas .t-btn {
    width: 100%;
    margin-top: 20px;
}

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

.home-page .about-section .box {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.home-page .about-section .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.home-page .about-section .content .subtitle {
    color: var(--main-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.home-page .about-section .content .text {
    color: var(--muted-color);
}

.home-page .about-section .image {
    border-radius: var(--radius);
    overflow: hidden;
}

.home-page .about-section .image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-page .about-section .stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.home-page .about-section .stat {
    padding: 20px 24px;
    border: 1px solid var(--soft-border-color);
    border-radius: var(--radius);
    background: var(--fourth-color);
}

.home-page .about-section .number {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
}

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

.home-page .clients-section .list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-page .clients-section .item {
    padding: 8px 16px;
    border: 1px solid var(--soft-border-color);
    border-radius: 200px;
    background: var(--fourth-color);
    font-size: 0.9375rem;
}

.home-page .clients-section .note {
    margin-top: 24px;
    color: var(--muted-color);
    font-size: 0.9375rem;
}

.home-page .clients-section .note a {
    color: var(--main-color);
    font-weight: 500;
}

.home-page .clients-section .note a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .home-page .about-section .box,
    .home-page .about-section .stats {
        grid-template-columns: 1fr;
    }
}

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

.about-page .intro-section .box {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.about-page .intro-section .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.about-page .intro-section .content .text {
    color: var(--muted-color);
}

.about-page .intro-section .image {
    border-radius: var(--radius);
    overflow: hidden;
}

.about-page .intro-section .image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-page .stats-section .stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-page .stats-section .stat {
    padding: 20px 24px;
    border: 1px solid var(--soft-border-color);
    border-radius: var(--radius);
    background: var(--fourth-color);
}

.about-page .stats-section .number {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.2;
}

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

.about-page .certs-section .image {
    display: block;
    margin-bottom: 8px;
    border: 1px solid var(--soft-border-color);
    border-radius: 6px;
    overflow: hidden;
}

.about-page .certs-section .more {
    margin-top: 28px;
}

@media (max-width: 767px) {
    .about-page .intro-section .box,
    .about-page .stats-section .stats {
        grid-template-columns: 1fr;
    }
}

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

.services-page .rental-section .t-head {
    margin-bottom: 24px;
}

/***** SERVICE DETAIL *****/

.service-detail-page .detail-section .t-faq {
    max-width: none;
}

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

.projects-page .list-section .intro {
    max-width: 720px;
    margin-bottom: 24px;
    color: var(--muted-color);
}

.projects-page .list-section .item[hidden] {
    display: none;
}

/***** PROJECT DETAIL *****/

.project-detail-page .overview {
    margin-top: 6px;
}

.project-detail-page .overview li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--soft-border-color);
    font-size: 0.9375rem;
}

.project-detail-page .overview li:last-child {
    border-bottom: 0;
}

.project-detail-page .overview .key {
    color: var(--muted-color);
}

.project-detail-page .overview .value {
    text-align: right;
    font-weight: 500;
}

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

.contact-page .form-section .form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
    padding: 24px;
    border: 1px solid var(--soft-border-color);
    border-radius: var(--radius);
    background: var(--fourth-color);
}

.contact-page .form-section .row-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 14px;
}

.contact-page .form-section input,
.contact-page .form-section textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--fourth-color);
    color: var(--fourth-text-color);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease;
}

.contact-page .form-section input:focus,
.contact-page .form-section textarea:focus {
    border-color: var(--main-color);
    outline: 2px solid var(--main-color);
    outline-offset: 1px;
}

.contact-page .form-section textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-page .form-section .consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted-color);
    font-size: 0.875rem;
}

.contact-page .form-section input[type="checkbox"] {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    padding: 0;
    accent-color: var(--main-color);
}

.contact-page .form-section .t-btn {
    align-self: flex-start;
}

.contact-page .info-section .t-card .text,
.contact-page .info-section a.text {
    display: block;
}

.contact-page .info-section a.text:hover {
    color: var(--main-color);
}

/***** DOCUMENTS *****/

.documents-page .group + .group {
    margin-top: 36px;
}

.documents-page .group .text {
    margin-top: 4px;
    color: var(--muted-color);
    font-size: 0.9375rem;
}

.documents-page .group .list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
    margin-top: 16px;
}

.documents-page .item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--soft-border-color);
    border-radius: var(--radius);
    background: var(--fourth-color);
    transition: border-color 0.2s ease;
}

.documents-page .item:hover {
    border-color: var(--main-color);
}

.documents-page .item:focus-visible {
    outline: 3px solid var(--main-color);
    outline-offset: 2px;
}

.documents-page .item .icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--third-color);
    color: var(--main-color);
}

.documents-page .item .icon svg {
    width: 20px;
    height: 20px;
}

.documents-page .item .name {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.35;
}

.documents-page .item .meta {
    flex: none;
    color: var(--muted-color);
    font-size: 0.8125rem;
    white-space: nowrap;
}

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

.footer {
    padding-top: 48px;
    background: var(--second-color);
    color: var(--second-text-color);
}

/* cta */
.footer .cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    padding: 28px 32px;
    border-radius: var(--radius);
    background: var(--main-color);
    color: var(--main-text-color);
}

.footer .cta .title {
    font-size: 1.375rem;
}

.footer .cta .text {
    margin-top: 4px;
    font-size: 0.9375rem;
    opacity: 0.95;
}

.footer .cta .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* main */
.footer .main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 32px;
    padding-bottom: 40px;
}

.footer .about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer .about .text {
    max-width: 340px;
    font-size: 0.9375rem;
    opacity: 0.85;
}

.footer .title.h6 {
    margin-bottom: 14px;
}

.footer .list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer .link {
    font-size: 0.9375rem;
    opacity: 0.85;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer a.link:hover {
    color: var(--main-color);
    opacity: 1;
}

.footer .link:focus-visible {
    outline: 2px solid var(--second-text-color);
    outline-offset: 3px;
}

/* bottom */
.footer .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid color-mix(in srgb, var(--second-text-color) 12%, transparent);
    font-size: 0.875rem;
}

.footer .docs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

@media (max-width: 991px) {
    .footer .main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .footer .cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer .main {
        grid-template-columns: 1fr;
    }

    .footer .bottom,
    .footer .docs {
        flex-direction: column;
        align-items: flex-start;
    }
}
