:root {
    --caz-ink: #101214;
    --caz-ink-2: #202629;
    --caz-muted: #66716e;
    --caz-line: #dfe6e3;
    --caz-soft: #f4f8f6;
    --caz-accent: #2fbf9b;
    --caz-accent-dark: #238c73;
    --caz-white: #ffffff;
}

body {
    color: var(--caz-muted);
    background: var(--caz-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--caz-ink);
    letter-spacing: 0;
}

a {
    color: var(--caz-accent-dark);
}

a:hover {
    color: var(--caz-ink);
}

.text-primary {
    color: var(--caz-accent) !important;
}

.text-secondary {
    color: var(--caz-ink) !important;
}

.bg-primary {
    background-color: var(--caz-accent) !important;
}

.bg-secondary,
.bg-dark {
    background-color: var(--caz-ink) !important;
}

.bg-light {
    background-color: var(--caz-soft) !important;
}

.btn {
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0;
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease;
}

.btn:active {
    transform: translateY(1px) scale(.99);
}

.btn-primary {
    color: var(--caz-white);
    background-color: var(--caz-ink);
    border-color: var(--caz-ink);
    box-shadow: 0 14px 30px rgba(16, 18, 20, .18);
}

.btn-primary:hover,
.btn-primary:focus {
    color: var(--caz-white);
    background-color: var(--caz-ink-2);
    border-color: var(--caz-ink-2);
    box-shadow: 0 18px 36px rgba(16, 18, 20, .22);
    transform: translateY(-1px);
}

.btn-outline-light {
    border-color: rgba(255,255,255,.55);
}

.btn-light {
    color: var(--caz-ink);
}

.site-topbar {
    background: var(--caz-ink);
    color: rgba(255,255,255,.82);
    font-size: 14px;
}

.site-topbar i {
    color: var(--caz-accent);
}

.site-nav {
    border-bottom: 1px solid var(--caz-line);
    background: var(--caz-white);
}

.brand-logo {
    width: 230px;
    max-width: 76vw;
    height: auto;
}

.brand-logo-footer {
    width: 230px;
    max-width: 100%;
    height: auto;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--caz-ink);
    font-size: 16px;
    padding: 28px 14px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--caz-accent-dark);
}

.navbar-toggler {
    border-color: var(--caz-line);
    border-radius: 4px;
    width: 46px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.navbar-light .navbar-toggler-icon {
    width: 25px;
    height: 20px;
    background-image:
        linear-gradient(var(--caz-ink), var(--caz-ink)),
        linear-gradient(var(--caz-ink), var(--caz-ink)),
        linear-gradient(var(--caz-ink), var(--caz-ink));
    background-repeat: no-repeat;
    background-size: 25px 2px;
    background-position: center 1px, center 9px, center 17px;
}

.hero {
    position: relative;
    min-height: 74dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--caz-ink);
}

.hero-photo,
.page-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16,18,20,.88) 0%, rgba(16,18,20,.62) 43%, rgba(16,18,20,.20) 100%);
}

.hero-content,
.page-hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: var(--caz-accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    color: var(--caz-white);
    font-size: clamp(2.25rem, 5.8vw, 4.9rem);
    line-height: .98;
    max-width: 760px;
    overflow-wrap: normal;
}

.hero p {
    color: rgba(255,255,255,.82);
    font-size: 1.16rem;
    max-width: 610px;
    overflow-wrap: normal;
}

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

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 680px;
    border-top: 1px solid rgba(255,255,255,.22);
    margin-top: 34px;
    padding-top: 24px;
    gap: 22px;
}

.hero-proof strong {
    color: var(--caz-white);
    display: block;
    font-size: 1.5rem;
}

.hero-proof span {
    color: rgba(255,255,255,.72);
    font-size: .93rem;
}

.contact-strip {
    margin-top: -46px;
    position: relative;
    z-index: 2;
}

.contact-strip-item {
    min-height: 126px;
    padding: 28px;
    color: var(--caz-white);
}

.contact-strip-item h5,
.contact-strip-item p {
    color: inherit;
}

.contact-strip-item.alt {
    background: var(--caz-ink-2);
}

.section-title {
    color: var(--caz-ink);
}

.section-title::before {
    background: var(--caz-ink);
}

.section-title::after {
    background: var(--caz-accent);
}

.lead-copy {
    color: var(--caz-muted);
    font-size: 1.09rem;
    line-height: 1.8;
}

.image-frame {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 8px;
}

.image-frame img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    max-width: 260px;
    padding: 18px 20px;
    border-left: 4px solid var(--caz-accent);
    background: rgba(255,255,255,.92);
    color: var(--caz-ink);
    box-shadow: 0 18px 38px rgba(16,18,20,.16);
}

.service-panel {
    height: 100%;
    border: 1px solid var(--caz-line);
    border-radius: 8px;
    background: var(--caz-white);
    overflow: hidden;
}

.service-panel img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.service-panel-body {
    padding: 26px;
}

.service-panel .icon-box,
.value-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--caz-ink);
    background: var(--caz-soft);
    border: 1px solid var(--caz-line);
}

.dark-band {
    background: var(--caz-ink);
    color: rgba(255,255,255,.76);
}

.dark-band h1,
.dark-band h2,
.dark-band h3,
.dark-band h4,
.dark-band h5 {
    color: var(--caz-white);
}

.dark-band .section-title {
    color: var(--caz-white);
}

.dark-band .section-title::before {
    background: var(--caz-white);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--caz-line);
    border: 1px solid var(--caz-line);
}

.stat-item {
    background: var(--caz-white);
    padding: 26px;
}

.stat-item strong {
    display: block;
    color: var(--caz-ink);
    font-size: 2rem;
    line-height: 1;
}

.work-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr 1fr;
    grid-auto-rows: 260px;
    gap: 18px;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--caz-ink);
}

.work-item.large {
    grid-row: span 2;
}

.work-item.wide {
    grid-column: span 2;
}

.work-item.full {
    grid-column: 1 / -1;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .86;
    transition: transform .45s ease, opacity .45s ease;
}

.work-item:hover img {
    transform: scale(1.04);
    opacity: .62;
}

.work-label {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: var(--caz-white);
}

.work-label h5,
.work-label p {
    color: inherit;
}

.testimonial-quote {
    border-left: 4px solid var(--caz-accent);
    background: var(--caz-soft);
    padding: 26px;
    border-radius: 0 8px 8px 0;
    min-height: 100%;
}

.page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--caz-ink);
}

.page-hero h1 {
    color: var(--caz-white);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.page-hero p {
    color: rgba(255,255,255,.82);
    max-width: 620px;
}

.breadcrumb-soft a,
.breadcrumb-soft span {
    color: rgba(255,255,255,.86);
}

.process-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-list li {
    counter-increment: step;
    position: relative;
    padding: 0 0 24px 68px;
}

.process-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: var(--caz-white);
    background: var(--caz-ink);
    font-weight: 800;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: var(--caz-accent);
}

.quote-form {
    padding: 32px;
    border: 1px solid var(--caz-line);
    border-radius: 8px;
    background: var(--caz-white);
    box-shadow: 0 22px 50px rgba(16,18,20,.08);
}

.quote-form label {
    color: var(--caz-ink);
    font-weight: 700;
    margin-bottom: 7px;
}

.quote-form .form-control {
    min-height: 52px;
    border-radius: 4px;
    border-color: var(--caz-line);
}

.quote-form textarea.form-control {
    min-height: 140px;
}

.footer {
    background: var(--caz-ink);
    color: rgba(255,255,255,.74);
}

.footer h4,
.footer h5 {
    color: var(--caz-white);
}

.footer a {
    color: rgba(255,255,255,.8);
}

.footer a:hover {
    color: var(--caz-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
}

.footer-bottom p {
    color: rgba(255,255,255,.86);
}

.footer-credits {
    color: rgba(255,255,255,.74);
    line-height: 1.7;
    margin-top: 2px;
}

.footer-credits .devartek-credit {
    color: #ff5000;
    font-weight: 700;
}

.footer-credits .devartek-credit:hover {
    color: #ff8a4a;
}

.btn-social {
    border-radius: 4px;
}

.back-to-top {
    color: var(--caz-white);
    background: var(--caz-ink);
    border-color: var(--caz-ink);
}

@media (max-width: 991.98px) {
    .site-nav {
        padding: 12px 0;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 8px 0;
    }

    .hero {
        min-height: 680px;
    }

    .hero-proof,
    .stat-grid,
    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-item,
    .work-item.large,
    .work-item.wide,
    .work-item.full {
        grid-column: auto;
        grid-row: auto;
        min-height: 260px;
    }
}

@media (max-width: 575.98px) {
    .brand-logo {
        width: 170px;
    }

    .hero {
        min-height: auto;
        padding: 56px 0 42px;
    }

    .hero::after,
    .page-hero::after {
        background: rgba(16,18,20,.76);
    }

    .hero-proof {
        gap: 16px;
        margin-top: 28px;
        padding-top: 22px;
    }

    .hero h1 {
        font-size: 2.05rem;
        line-height: 1.05;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 230px;
    }

    .contact-strip {
        margin-top: 0;
    }

    .quote-form {
        padding: 24px;
    }
}
