:root {
    --dark: #11161d;
    --dark2: #1a2028;
    --gold: #c69a45;
    --gold2: #e2bd73;
    --text: #15181d;
    --muted: #6d737b;
    --soft: #f5f2ec;
    --white: #fff;
    --border: #e6e1d7
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.55
}

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

.container {
    max-width: 1180px;
    margin: auto;
    padding: 0 24px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 19, 25, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.header-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-decoration: none;
}

.logo-mark {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo small {
    display: block;
    color: var(--gold);
    font-size: 11px;
}

.nav {
    display: flex;
    gap: 28px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase
}

.nav a {
    position: relative
}

.nav a:hover,
.nav a.active {
    color: var(--gold)
}

.nav a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: .25s
}

.nav a:hover:after {
    width: 100%
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px
}

.phone {
    color: #fff;
    font-weight: 700;
    font-size: 13px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    padding: 13px 22px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    border: 1px solid transparent;
    cursor: pointer
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #fff;
    box-shadow: 0 8px 22px rgba(198, 154, 69, .25)
}

.btn-outline {
    border-color: #fff;
    color: #fff
}

.btn-line {
    border-color: var(--gold);
    color: var(--text);
    background: #fff
}

.btn-line.light {
    background: transparent;
    color: #fff
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 25px
}

.hero {
    min-height: clamp(500px, 70vh, 850px);
    display: flex;
    align-items: center;
    color: #fff;

    background-image:
        linear-gradient(90deg, rgba(10, 14, 20, 0.95), rgba(10, 14, 20, 0.55)),
        url('../img/main.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 50%;
}

.hero-content {
    width: 80%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.05;
    text-transform: uppercase;
    margin: 0 0 22px;
    font-weight: 900;
    letter-spacing: .5px
}

.hero h1 span {
    color: var(--gold)
}

.hero p {
    max-width: 520px;
    font-size: 18px;
    color: #e8e8e8
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin: 34px 0
}

.trust-row {
    display: flex;
    gap: 42px;
    margin-top: 36px;
    flex-wrap: wrap
}

.trust-row div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    align-items: center;
}

.trust-row b {
    font-size: 13px;
    grid-column: 2;
    grid-row: 1;
}

.trust-row small {
    grid-column: 2;
    grid-row: 2;
    color: #d7d7d7;
}
.section {
    padding: 78px 0
}

.soft {
    background: var(--soft)
}

.dark-section {
    background: linear-gradient(180deg, var(--dark), var(--dark2));
    color: #fff
}

.section-title {
    text-align: center;
    margin-bottom: 38px
}

.section-title h2,
.section-head h2 {
    font-size: 31px;
    text-transform: uppercase;
    margin: 0
}

.section-title:after,
.eyebrow:after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin: 14px auto 0
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px
}

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

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 14px 35px rgba(20, 20, 20, .07);
    transition: .25s;
    overflow: hidden
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(20, 20, 20, .13)
}


.card-img{
    height:50%;
    overflow:hidden;
    position:relative;
}

.card-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:.3s;
}

.service-card:hover img{
    transform:scale(1.05);
}

.card-img span {
    background: #151a22;
    color: var(--gold);
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    font-size: 24px
}

.card-body {
    padding: 22px
}

.card-body h3 {
    font-size: 17px;
    text-transform: uppercase;
    margin: 0 0 10px
}

.card-body p {
    color: var(--muted);
    font-size: 14px
}

.card-body b {
    font-size: 12px;
    color: var(--gold);
    text-transform: uppercase
}

.center {
    text-align: center;
    margin-top: 32px
}

.gradient-1 {
    background: linear-gradient(135deg, #d7d2c7, #7b817d)
}

.gradient-2 {
    background: linear-gradient(135deg, #aab6bd, #293541)
}

.gradient-3 {
    background: linear-gradient(135deg, #c8c1b0, #6c624f)
}

.gradient-4 {
    background: linear-gradient(135deg, #8d949e, #1d242d)
}

.gradient-5 {
    background: linear-gradient(135deg, #ece4d8, #a78d69)
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.work-card {
    display: grid;
    grid-template-rows: auto 1fr;
    background: #202731;
    border: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    width: 340px;
}

.work-card-compare .compare-box {
    --pos: 50%;
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 8;
    max-height: 430px;
    max-width: 300px;
    margin: 0 auto;
    overflow: hidden;
    background: #161c24;
    margin-top: 20px;
}

.work-content {
    padding: 20px;
}

.compare-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    pointer-events: none;
    user-select: none;
}

.compare-base {
    z-index: 1;
}

.compare-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    background: #fff;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
}

.compare-handle {
    position: absolute;
    top: 50%;
    left: var(--pos);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    z-index: 4;
    pointer-events: none;
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
}

.compare-handle::before {
    content: "↔";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #111;
    font-size: 18px;
    font-weight: 700;
}

.compare-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    z-index: 5;
    cursor: ew-resize;
    opacity: 0;
}

.compare-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 44px;
    height: 340px;
    background: transparent;
    border: 0;
    cursor: ew-resize;
}

.compare-range::-moz-range-thumb {
    width: 44px;
    height: 340px;
    background: transparent;
    border: 0;
    cursor: ew-resize;
}
.compare-label {
    position: absolute;
    top: 16px;
    z-index: 6;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(10, 14, 20, 0.75);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    backdrop-filter: blur(6px);
}

.compare-label-before {
    left: 16px;
}

.compare-label-before {
    left: 16px;
    background: rgba(30, 30, 30, 0.72);
}

.compare-label-after {
    right: 16px;
    background: rgba(1, 105, 111, 0.82);
}

.work-content h3 {
    margin: 0 0 10px;
}

@media (max-width: 991px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-card,
    .work-card-compare {
        grid-template-rows: 300px 1fr;
    }

    .compare-box {
        min-height: 300px;
    }
}

.meta {
    display: flex;
    gap: 22px;
    color: #cdd1d7;
    font-size: 13px
}

.why-grid {
    display: grid;
    grid-template-columns: .8fr 1.4fr;
    gap: 50px;
    align-items: center
}

.why-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    text-align: center
}

.why-items div {
    background: #fff;
    border: 1px solid var(--border);
    padding: 28px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .04)
}

.why-items b {
    display: block;
    text-transform: uppercase;
    margin: 10px 0 4px
}

.why-items span {
    color: var(--muted);
    font-size: 14px
}

.refs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.refs-grid.big {
    grid-template-columns: repeat(4, 1fr)
}

.ref-card {
    background: #242b35;
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 28px;
    color: #fff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .2)
}

.quote {
    color: var(--gold);
    font-size: 44px;
    line-height: .7
}

.person {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 0 12px;
    align-items: center;
    margin-top: 20px
}

.person span {
    width: 42px;
    height: 42px;
    background: #fff;
    color: var(--dark);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900;
    grid-row: 1/3
}

.person small {
    color: #cfd3d9
}

.page-hero {
    background: linear-gradient(90deg, rgba(15, 20, 28, .95), rgba(15, 20, 28, .7)), url('../img/navrh-webu.jpg');
    background-size: cover;
    background-position: center 20%;
    color: #fff;
    padding: 115px 0 85px
}

.page-hero h1 {
    font-size: 52px;
    text-transform: uppercase;
    margin: 0 0 12px
}

.page-hero p {
    max-width: 620px;
    color: #e8e8e8
}

.eyebrow {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px
}

.eyebrow:after {
    margin: 10px 0 0
}

.service-list {
    display: grid;
    gap: 24px
}

.service-detail {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 24px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .05)
}

.service-icon {
    width: 72px;
    height: 72px;
    background: var(--dark);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 32px
}

.service-detail h2 {
    margin-top: 0
}

.service-detail ul,
.check-list {
    padding-left: 20px;
    color: var(--muted)
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 50px;
    align-items: center
}

.about-photo {
    height: 420px;
    background: linear-gradient(135deg, var(--dark), #313a46);
    align-items: center;
    justify-content: center
}

.about-photo span {
    font-size: 90px;
    color: var(--gold);
    font-weight: 900
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
    align-items: start
}

.contact-list {
    list-style: none;
    padding: 0;
    line-height: 2
}

.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 16px;
    border: 0;
    border-radius: 3px;
    font: inherit
}

.form textarea {
    grid-column: 1/-1;
    min-height: 120px
}

.form button {
    grid-column: 1/-1;
    justify-self: center;
    min-width: 230px
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.contact-cards div {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    padding: 24px
}

.contact-cards b {
    display: block;
    text-transform: uppercase;
    margin-bottom: 8px
}

.contact-cards a {
    color: var(--gold);
    font-weight: 800
}

.map {
    padding: 0 0 70px
}

.map-box {
    height: 260px;
    background: #e7e2d8;
    display: grid;
    place-items: center;
    color: #7a7468;
    border: 1px solid var(--border)
}

.footer {
    background: #10151c;
    color: #fff
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 40px
}

.footer h4 {
    color: var(--gold);
    text-transform: uppercase
}

.footer a {
    display: block;
    color: #d5d8dd;
    margin: 7px 0
}

.footer p {
    color: #c6cbd2
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 18px 24px;
    text-align: center;
    color: #aeb4bd;
    font-size: 13px
}

@media(max-width:980px) {

    .nav,
    .phone {
        display: none
    }

    .menu-btn {
        display: block
    }

    .header-actions .btn {
        display: none
    }

    .nav.open {
        display: flex;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        background: #11161d;
        flex-direction: column;
        padding: 24px
    }

    .hero h1 {
        font-size: 42px
    }

    .services-grid,
    .work-grid,
    .work-grid.large,
    .refs-grid,
    .refs-grid.big,
    .contact-cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .why-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .why-items {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:620px) {
    .container {
        padding: 0 18px
    }

    .hero {
        min-height: 560px
    }

    .hero h1,
    .page-hero h1 {
        font-size: 34px
    }

    .hero-buttons,
    .trust-row {
        flex-direction: column
    }

    .services-grid,
    .work-grid,
    .work-grid.large,
    .refs-grid,
    .refs-grid.big,
    .contact-cards,
    .why-items {
        grid-template-columns: 1fr
    }

    .form {
        grid-template-columns: 1fr
    }

    .section {
        padding: 55px 0
    }

    .section-head {
        display: block
    }

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

    .service-detail {
        grid-template-columns: 1fr
    }

    .header-inner {
        height: 70px
    }
}