:root {
    --bg: #f7f9f4;
    --surface: #ffffff;
    --ink: #20242a;
    --muted: #5e6872;
    --line: #d9dfd3;
    --accent: #d64222;
    --accent-dark: #9a2f1a;
    --orange: #d96a1e;
    --yellow: #f7b801;
    --green: #4d9b58;
    --teal: #087f8d;
    --blue: #2f5fc6;
    --rose: #d93f75;
    --paint-gradient: linear-gradient(90deg, #e8502f 0 18%, #f7b801 18% 36%, #4d9b58 36% 54%, #088c9b 54% 72%, #3167d8 72% 100%);
    --shadow: 0 22px 55px rgba(32, 36, 42, 0.14);
    --radius: 8px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(247, 184, 1, 0.09), rgba(247, 249, 244, 0) 24rem),
        var(--bg);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

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

a {
    color: inherit;
}

code {
    font-size: 0.95em;
    background: rgba(47, 123, 131, 0.1);
    border: 1px solid rgba(47, 123, 131, 0.18);
    border-radius: 4px;
    padding: 0.12rem 0.35rem;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 20;
    background: var(--ink);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 6px;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem max(1.25rem, calc((100vw - var(--max)) / 2));
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid rgba(32, 35, 38, 0.08);
    backdrop-filter: blur(16px);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: var(--paint-gradient);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    border: 1px solid var(--line);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    line-height: 1.1;
    font-size: 1rem;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.site-nav a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.78rem;
    border-radius: 6px;
    color: var(--muted);
    font-weight: 650;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--ink);
    background: rgba(232, 80, 47, 0.1);
    outline: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: min(820px, 84svh);
    display: grid;
    align-items: end;
    background-image:
        linear-gradient(90deg, rgba(18, 20, 22, 0.74), rgba(18, 20, 22, 0.34) 48%, rgba(18, 20, 22, 0.12)),
        linear-gradient(135deg, rgba(232, 80, 47, 0.38), rgba(247, 184, 1, 0.2) 36%, rgba(8, 140, 155, 0.24) 68%, rgba(49, 103, 216, 0.16)),
        linear-gradient(0deg, rgba(18, 20, 22, 0.4), rgba(18, 20, 22, 0)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 10px;
    background: var(--paint-gradient);
    z-index: 0;
}

.hero__inner {
    position: relative;
    z-index: 1;
    width: min(var(--max), calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 6rem 0 5rem;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #ffe7a8;
}

.hero h1 {
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.24);
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
}

h1 {
    max-width: 880px;
    font-size: clamp(2.45rem, 7vw, 5.9rem);
    letter-spacing: 0;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    letter-spacing: 0;
}

h3 {
    font-size: 1.12rem;
}

.hero__lead {
    max-width: 720px;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.hero__shots {
    width: min(820px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero__shots a {
    --shot-color: var(--accent);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-bottom: 5px solid var(--shot-color);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.hero__shots a:nth-child(2) {
    --shot-color: var(--teal);
}

.hero__shots a:nth-child(3) {
    --shot-color: var(--yellow);
}

.hero__shots img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease, opacity 220ms ease;
}

.hero__shots a:hover img,
.hero__shots a:focus-visible img {
    opacity: 0.9;
    transform: scale(1.04);
}

.hero__shots a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0.78rem 1.05rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button--primary {
    background: linear-gradient(135deg, #c83a20, #9e2f76);
    color: #fff;
    box-shadow: 0 14px 30px rgba(200, 58, 32, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: linear-gradient(135deg, #9b2e19, #84295f);
    outline: none;
}

.button--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.08);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    outline: none;
}

.button--secondary {
    background: linear-gradient(135deg, var(--teal), var(--blue));
    color: #fff;
}

.facts {
    width: min(var(--max), calc(100% - 2.5rem));
    position: relative;
    z-index: 2;
    margin: -2.2rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.fact {
    --fact-color: var(--accent);
    background: #fff;
    border: 1px solid rgba(32, 36, 42, 0.08);
    border-top: 5px solid var(--fact-color);
    padding: 1.15rem;
    box-shadow: var(--shadow);
}

.fact:nth-child(2) {
    --fact-color: var(--teal);
}

.fact:nth-child(3) {
    --fact-color: var(--yellow);
}

.fact strong {
    display: block;
    font-size: 1.15rem;
}

.fact span {
    color: var(--muted);
}

.section,
.gallery-section,
.contact-section {
    padding: clamp(4rem, 8vw, 7.5rem) max(1.25rem, calc((100vw - var(--max)) / 2));
}

.section--intro,
.section--split,
.color-advice,
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.section--muted {
    background:
        linear-gradient(90deg, rgba(232, 80, 47, 0.08), rgba(247, 184, 1, 0.12) 34%, rgba(8, 140, 155, 0.09) 67%, rgba(49, 103, 216, 0.08)),
        #f2f6ec;
}

.section__heading {
    max-width: 820px;
    margin-bottom: 2rem;
}

.section__heading p,
.section__copy p {
    color: var(--muted);
    font-size: 1.04rem;
}

.section__heading--light {
    color: #fff;
}

.section__heading--light p {
    color: rgba(255, 255, 255, 0.76);
}

.quality-panel,
.calc-panel {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.quality-panel::before,
.calc-panel::before,
.contact-form::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: var(--paint-gradient);
}

.quality-panel ul {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
}

.quality-panel li + li {
    margin-top: 0.6rem;
}

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

.service-card,
.reference-card,
.tips article {
    background: #fff;
    border: 1px solid rgba(32, 35, 38, 0.1);
    border-radius: var(--radius);
}

.service-card {
    --card-color: var(--accent);
    position: relative;
    overflow: hidden;
    min-height: 152px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 5px solid var(--card-color);
    padding: 1.1rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84)),
        var(--surface);
    box-shadow: 0 16px 38px rgba(32, 36, 42, 0.08);
}

.service-card span {
    width: 44px;
    height: 8px;
    border-radius: 999px;
    background: var(--card-color);
}

.service-card:nth-child(2),
.service-card:nth-child(7) {
    --card-color: var(--teal);
}

.service-card:nth-child(3),
.service-card:nth-child(8) {
    --card-color: var(--green);
}

.service-card:nth-child(4) {
    --card-color: var(--blue);
}

.service-card:nth-child(5) {
    --card-color: var(--yellow);
}

.service-card:nth-child(6) {
    --card-color: var(--rose);
}

.steps {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    list-style: none;
}

.steps li {
    --step-color: var(--accent);
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    background: #fff;
    border: 1px solid rgba(32, 36, 42, 0.1);
    border-left: 6px solid var(--step-color);
    border-radius: var(--radius);
    padding: 1.1rem;
}

.steps li:nth-child(2) {
    --step-color: var(--teal);
}

.steps li:nth-child(3) {
    --step-color: var(--yellow);
}

.steps li:nth-child(4) {
    --step-color: var(--green);
}

.steps strong {
    color: var(--accent-dark);
}

.steps span {
    color: var(--muted);
}

.gallery-section {
    background:
        linear-gradient(180deg, rgba(232, 80, 47, 0.18), rgba(8, 140, 155, 0.16) 44%, rgba(32, 36, 42, 0) 78%),
        #20242a;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.4rem;
}

.filter-button {
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #c83a20, #066f7c);
    outline: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: #111;
    color: #fff;
    text-decoration: none;
}

.gallery-item[hidden] {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease, opacity 220ms ease;
}

.gallery-item span {
    position: absolute;
    left: 0.6rem;
    bottom: 0.6rem;
    max-width: calc(100% - 1.2rem);
    border-radius: 4px;
    padding: 0.22rem 0.42rem;
    background: rgba(0, 0, 0, 0.64);
    font-size: 0.78rem;
    font-weight: 800;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    opacity: 0.82;
    transform: scale(1.04);
}

.gallery-item:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.reference-card {
    --reference-color: var(--accent);
    border-top: 5px solid var(--reference-color);
    padding: 1.1rem;
    box-shadow: 0 14px 34px rgba(32, 36, 42, 0.07);
}

.reference-card:nth-child(3n + 2) {
    --reference-color: var(--teal);
}

.reference-card:nth-child(3n + 3) {
    --reference-color: var(--yellow);
}

.reference-card p {
    margin: 0.65rem 0 0;
    color: var(--muted);
}

.tips {
    display: grid;
    gap: 0.8rem;
}

.tips article {
    position: relative;
    padding: 1rem;
    border-left: 6px solid var(--teal);
    box-shadow: 0 14px 32px rgba(32, 36, 42, 0.07);
}

.tips article:nth-child(1) {
    border-left-color: var(--accent);
    background: #fff7f2;
}

.tips article:nth-child(2) {
    border-left-color: var(--orange);
    background: #fff8e6;
}

.tips article:nth-child(3) {
    border-left-color: var(--green);
    background: #f3fbef;
}

.tips article:nth-child(4) {
    border-left-color: var(--teal);
    background: #effbfc;
}

.tips article:nth-child(5) {
    border-left-color: var(--blue);
    background: #f2f6ff;
}

.tips p {
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.calc-panel p {
    color: var(--muted);
}

.credentials {
    padding-top: 0;
}

.document-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px));
    gap: 1rem;
}

.document-strip a {
    display: grid;
    gap: 0.65rem;
    color: var(--ink);
    text-decoration: none;
}

.document-strip img {
    width: 100%;
    aspect-ratio: 4 / 5.4;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.document-strip span {
    color: var(--muted);
    font-weight: 750;
}

.contact-section {
    background:
        linear-gradient(135deg, rgba(232, 80, 47, 0.28), rgba(8, 140, 155, 0.2) 48%, rgba(49, 103, 216, 0.22)),
        #1f2b2d;
    color: #fff;
}

.contact-copy p {
    color: rgba(255, 255, 255, 0.78);
}

.contact-list {
    display: grid;
    gap: 0.8rem;
    margin: 2rem 0 0;
}

.contact-list div {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 1rem;
}

.contact-list dt {
    color: rgba(255, 255, 255, 0.58);
}

.contact-list dd {
    margin: 0;
    font-weight: 800;
}

.contact-form {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 1rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
}

.contact-form h3 {
    font-size: 1.5rem;
}

.contact-form label {
    display: grid;
    gap: 0.35rem;
    color: #394045;
    font-weight: 750;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #cfd4d2;
    border-radius: 6px;
    padding: 0.72rem 0.8rem;
    color: var(--ink);
    background: #fbfbf8;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--teal);
    outline: 3px solid rgba(8, 140, 155, 0.18);
}

.hidden-field {
    position: absolute;
    left: -100vw;
}

.form-message {
    margin: 0;
    border-radius: 6px;
    padding: 0.85rem;
    font-weight: 700;
}

.form-message p {
    margin: 0;
}

.form-message p + p {
    margin-top: 0.4rem;
}

.form-message--success {
    color: #175e3b;
    background: #e7f4eb;
}

.form-message--error {
    color: #842918;
    background: #ffe8e1;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem max(1.25rem, calc((100vw - var(--max)) / 2));
    background: #151819;
    color: rgba(255, 255, 255, 0.74);
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(8, 10, 11, 0.9);
}

.lightbox[hidden] {
    display: none;
}

.lightbox figure {
    margin: 0;
    display: grid;
    justify-items: center;
    gap: 0.8rem;
}

.lightbox img {
    max-height: 84svh;
    width: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
}

.lightbox figcaption {
    color: #fff;
    text-align: center;
    font-weight: 750;
}

.lightbox__close,
.lightbox__nav {
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
}

.lightbox__close::before,
.lightbox__close::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 20px;
    width: 20px;
    height: 2px;
    background: #fff;
}

.lightbox__close::before {
    transform: rotate(45deg);
}

.lightbox__close::after {
    transform: rotate(-45deg);
}

.lightbox__nav {
    position: relative;
    width: 52px;
    height: 52px;
}

.lightbox__nav::before {
    content: "";
    position: absolute;
    top: 18px;
    width: 14px;
    height: 14px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
}

.lightbox__nav--prev::before {
    left: 20px;
    transform: rotate(-45deg);
}

.lightbox__nav--next::before {
    right: 20px;
    transform: rotate(135deg);
}

.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__nav:hover,
.lightbox__nav:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

@media (max-width: 1020px) {
    .services-grid,
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .reference-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 780px) {
    .site-header {
        min-height: 68px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.5rem);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.65rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #fff;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        color: var(--ink);
    }

    .hero {
        min-height: 84svh;
        background-position: center;
    }

    .hero__inner {
        width: min(100% - 2rem, var(--max));
        padding: 5rem 0 3.5rem;
    }

    .hero__shots {
        gap: 0.45rem;
    }

    .facts,
    .section--intro,
    .section--split,
    .color-advice,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .facts {
        width: calc(100% - 2rem);
        grid-template-columns: 1fr;
    }

    .services-grid,
    .reference-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps li {
        grid-template-columns: 1fr;
    }

    .contact-list div {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }

    .document-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer {
        flex-direction: column;
    }

    .lightbox {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 0.35rem;
        padding: 0.65rem;
    }

    .lightbox__nav {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .brand small {
        display: none;
    }

    .hero__actions,
    .button {
        width: 100%;
    }

    .hero__shots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .document-strip {
        grid-template-columns: 1fr;
    }
}
