:root {
    --brand: #415058;
    --brand-600: #334048;
    --brandLight: #7a8389;
    --ring: 0 10px 25px rgba(65, 80, 88, .18);
}

/* Utilities */
.bg-brand {
    background: var(--brand)
}

.text-brand {
    color: var(--brand)
}

.text-brand-600 {
    color: var(--brand-600)
}

.bg-brand-light {
    background: var(--brandLight)
}

.container {
    max-width: 72rem;
    margin-inline: auto;
    padding-inline: 1rem
}

.section {
    padding-block: 4rem
}

.section .section-eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700;
    font-size: .8rem;
    color: var(--brandLight)
}

.section h2 {
    font-size: clamp(1.6rem, 2.3vw, 2.2rem);
    color: var(--brand);
    font-weight: 800;
    margin-top: .35rem
}

.lede {
    color: #64748b
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--brand);
    color: #fff;
    padding: .65rem 1rem;
    border-radius: .6rem;
    box-shadow: var(--ring);
    transition: .2s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: var(--brand-600)
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border-radius: .6rem;
    border: 1.5px solid var(--brand);
    color: var(--brand);
    background: #fff;
}

.btn-outline:hover {
    background: #f8fafc
}

.btn-soft {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .9rem;
    border-radius: .55rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}

.btn-light {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border-radius: .6rem;
    background: white;
    color: var(--brand);
    border: 1px solid #e2e8f0
}

/* Header nav links */
.nav-link {
    padding: .5rem .8rem;
    border-radius: .5rem;
    color: #334155
}

.nav-link:hover {
    color: var(--brand);
    background: #f1f5f9
}

.nav-link-mobile {
    display: block;
    padding: .75rem 1rem;
    border-radius: .6rem;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155
}

.nav-link-mobile:hover {
    background: #f8fafc
}

/* Hero / Carousel */
.hero {
    margin-top: 0
}

.carousel {
    position: relative
}

.carousel-track {
    position: relative;
    height: clamp(360px, 58vw, 560px);
    overflow: hidden
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease;
    display: flex;
    align-items: center;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
}

.slide .container {
    position: relative;
    color: #fff;
    z-index: 2
}

.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .25));
}

.slide h1 {
    font-size: clamp(28px, 5vw, 48px);
    line-height: 1.12;
    margin: 10px 0 10px;
    font-weight: 800
}

.slide p {
    max-width: 60ch;
    color: #f8fafc
}

.eyebrow {
    color: #f97316;
    font-weight: 800;
    letter-spacing: .12em;
    font-size: .8rem;
    text-transform: uppercase
}

.slide .cta-row {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.slide.is-active {
    opacity: 1
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.is-active {
    opacity: 1;
}

.slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slide-content {
    /* position: relative; */
    z-index: 2;
    color: #fff;
}


.align-right {
    display: flex;
    justify-content: flex-end
}

.ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 44px;
    width: 44px;
    border-radius: 999px;
    border: 0;
    background: #fff;
    color: var(--brand);
    display: grid;
    place-content: center;
    box-shadow: var(--ring);
    cursor: pointer
}

.prev {
    left: 14px
}

.next {
    right: 14px
}

.dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    gap: 8px;
    justify-content: center
}

.dots button {
    height: 10px;
    width: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, .65);
    cursor: pointer
}

.dots button.is-active {
    background: #fff;
    width: 28px
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1.1fr .9fr
    }
}

.about-text p {
    color: #475569;
    margin-top: 10px
}

.check-list {
    margin-top: 14px;
    display: grid;
    gap: 8px;
    color: #334155
}

.check-list i {
    color: #16a34a;
    margin-right: .4rem
}

.about-collage {
    position: relative;
    min-height: 320px
}

.about-collage .img-a,
.about-collage .img-b {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--ring)
}

.about-collage .img-a {
    top: 0;
    left: 0;
    width: 62%;
    transform: rotate(-2deg)
}

.about-collage .img-b {
    bottom: 0;
    right: 0;
    width: 62%;
    transform: rotate(2deg)
}

.about-collage img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem
}

@media (min-width:768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (min-width:1024px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(2, 6, 23, .05)
}

.card-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px
}

.service-card {
    transition: .25s
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(2, 6, 23, .1)
}

.card-body {
    padding: 16px
}

.card-body h3 {
    font-weight: 700;
    color: var(--brand)
}

.card-cta {
    margin-top: 12px;
    display: flex;
    gap: 10px
}

/* Gallery */
.gallery-grid {
    columns: 1;
    column-gap: 1rem
}

@media (min-width:768px) {
    .gallery-grid {
        columns: 2
    }
}

@media (min-width:1024px) {
    .gallery-grid {
        columns: 3
    }
}

.g-item {
    break-inside: avoid;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem
}

.g-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s
}

.g-item:hover img {
    transform: scale(1.06)
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    display: grid;
    place-items: center;
    z-index: 60
}

.lightbox img {
    max-width: min(92vw, 1100px);
    max-height: 82vh;
    border-radius: 12px;
    box-shadow: var(--ring)
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    height: 44px;
    width: 44px;
    border-radius: 999px;
    background: white;
    color: var(--brand);
    display: grid;
    place-content: center;
    box-shadow: var(--ring)
}

/* Contact */
.contact-grid {
    grid-template-columns: 1fr;
    display: grid;
    gap: 2rem
}

@media (min-width:992px) {
    .contact-grid {
        grid-template-columns: .9fr 1.1fr
    }
}

.contact-list {
    margin-top: 10px;
    display: grid;
    gap: 10px;
    color: #334155
}

.form-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: .7rem;
    padding: .7rem .9rem;
    background: #fff;
    outline: none
}

.form-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(65, 80, 88, .15)
}

.card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(2, 6, 23, .05)
}

/* Footer */
.footer {
    background: var(--brand);
    color: #fff;
    padding-top: 3rem
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem
}

@media (min-width:992px) {
    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr 1fr
    }
}

.footer h4 {
    font-weight: 700;
    margin-bottom: .6rem
}

.f-links li+li {
    margin-top: .35rem
}

.f-links a {
    color: #e5e7eb
}

.f-links a:hover {
    text-decoration: underline
}

.copy {
    border-top: 1px solid rgba(255, 255, 255, .15);
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    color: #e5e7eb
}

/* Small polish */
.section-head {
    text-align: center;
    margin-bottom: 1.2rem
}

.section-head h2 {
    margin-bottom: .2rem
}

#callme {
    position: fixed;
    right: 15px;
    bottom: 100px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    opacity: 0.8;
    z-index: 9999;
}
#callme #callmeMain {
    -moz-border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    border-radius: 50% !important;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: rgb(207,8,8);
    width: 70px;
    height: 70px;
    -webkit-animation: zcwmini2 1.5s 0s ease-out infinite;
    -moz-animation: zcwmini2 1.5s 0s ease-out infinite;
    animation: zcwmini2 1.5s 0s ease-out infinite;
}
#callme #callmeMain:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(https://ss.zadarma.com/callbackWidget/images/mini.png);
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-animation: zcwphone2 1.5s linear infinite;
    -moz-animation: zcwphone2 1.5s linear infinite;
    animation: zcwphone2 1.5s linear infinite;
}
@-webkit-keyframes zcwphone {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-moz-keyframes zcwphone {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@keyframes zcwphone {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-webkit-keyframes zcwphone2 {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-moz-keyframes zcwphone2 {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@keyframes zcwphone2 {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-webkit-keyframes zcwmini {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-moz-keyframes zcwmini {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@keyframes zcwmini {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-webkit-keyframes zcwmini2 {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-moz-keyframes zcwmini2 {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@keyframes zcwmini2 {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}