:root {
    --ink: #1d2421;
    --ink-soft: #2e3934;
    --muted: #5f6a65;
    --paper: #fbfaf7;
    --surface: #ffffff;
    --surface-warm: #f5efe5;
    --line: #d9d0c2;
    --forest: #17624f;
    --forest-dark: #103d34;
    --steel: #2f5366;
    --clay: #a76033;
    --amber: #d79b5b;
    --shadow: 0 22px 55px rgba(29, 36, 33, 0.13);
    --shadow-soft: 0 12px 32px rgba(29, 36, 33, 0.08);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

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

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid rgba(215, 155, 91, 0.75);
    outline-offset: 3px;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.narrow {
    width: min(920px, calc(100% - 40px));
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 20;
    padding: 10px 14px;
    background: var(--ink);
    color: white;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(251, 250, 247, 0.95);
    border-bottom: 1px solid rgba(217, 208, 194, 0.9);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(1280px, calc(100% - 40px));
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 232px;
    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    background: var(--forest);
    color: white;
    font-weight: 900;
    border-radius: var(--radius);
    box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.12);
}

.brand strong,
.footer-brand {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.brand small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.78rem;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 2px;
}

.nav a {
    flex: 0 0 auto;
    padding: 10px 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.91rem;
    border-radius: 6px;
}

.nav a:hover,
.nav a:focus {
    background: var(--surface-warm);
    color: var(--ink);
}

.header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 15px;
    background: var(--ink);
    color: white;
    font-weight: 850;
    text-decoration: none;
    border-radius: var(--radius);
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(29, 36, 33, 0.16);
}

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

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(217, 208, 194, 0.88);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
    white-space: nowrap;
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 7px 6px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    text-decoration: none;
}

.language-switcher a:hover,
.language-switcher a:focus {
    color: var(--ink);
    background: var(--surface-warm);
}

.language-switcher a.is-active {
    color: white;
    background: var(--forest);
}

.mobile-menu {
    display: none;
}

.mobile-menu summary {
    list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-action-bar {
    display: none;
}

.messages {
    position: fixed;
    right: 20px;
    top: 96px;
    z-index: 30;
    width: min(420px, calc(100% - 40px));
}

.message {
    margin: 0 0 10px;
    padding: 14px 16px;
    background: #eef7f2;
    border: 1px solid #b8d7c9;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero {
    position: relative;
    min-height: 690px;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #121a17;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(18, 26, 23, 0.93), rgba(18, 26, 23, 0.62) 48%, rgba(18, 26, 23, 0.22)),
        linear-gradient(0deg, rgba(18, 26, 23, 0.74), rgba(18, 26, 23, 0.05) 44%);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.photo-picture {
    display: block;
}

.photo-image {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    background: #121a17;
}

.photo-image-hero {
    object-position: center center;
}

.photo-placeholder {
    position: relative;
    display: block;
    width: 100%;
    min-height: 260px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(23, 98, 79, 0.18), rgba(47, 83, 102, 0.16)),
        repeating-linear-gradient(32deg, rgba(29, 36, 33, 0.08) 0 12px, rgba(29, 36, 33, 0.025) 12px 24px),
        linear-gradient(180deg, #f0e7d9, #e4d8c7);
    border: 1px solid rgba(154, 135, 112, 0.48);
    border-radius: var(--radius);
    color: var(--ink);
}

.photo-placeholder::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.36);
}

.photo-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 34%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 110px);
    opacity: 0.72;
}

.photo-placeholder-name {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    max-width: calc(100% - 32px);
    padding: 6px 9px;
    overflow: hidden;
    color: rgba(29, 36, 33, 0.76);
    background: rgba(251, 250, 247, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.photo-placeholder-hero {
    height: 100%;
    min-height: 690px;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(100deg, #17211d, #24312c 52%, #46503e),
        repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.08) 0 18px, rgba(255, 255, 255, 0.02) 18px 36px);
}

.photo-placeholder-hero .photo-placeholder-name {
    color: rgba(255, 255, 255, 0.62);
    background: rgba(18, 26, 23, 0.34);
    border-color: rgba(255, 255, 255, 0.13);
}

.photo-placeholder-card {
    min-height: 230px;
    border-width: 0 0 1px;
    border-radius: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 126px 0 68px;
    color: white;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--clay);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0;
}

.hero .eyebrow,
.cta-band .eyebrow,
.split-section .eyebrow {
    color: #f2b77c;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
    hyphens: manual;
}

h1 {
    max-width: 930px;
    margin: 0;
    font-size: 5rem;
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: 3rem;
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.22;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 770px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.28rem;
}

.page-hero .hero-lead {
    color: var(--ink-soft);
}

.page-hero h1,
.page-title h1 {
    font-size: 4.5rem;
}

.hero-actions,
.section-action {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font: inherit;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--forest);
    color: white;
    box-shadow: 0 14px 28px rgba(23, 98, 79, 0.22);
}

.button-primary:hover,
.button-primary:focus {
    background: var(--forest-dark);
}

.button-secondary {
    border-color: rgba(29, 36, 33, 0.16);
    background: var(--surface);
    color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus {
    border-color: rgba(23, 98, 79, 0.34);
}

.button-light {
    background: white;
    color: var(--ink);
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 820px;
    padding: 0;
    margin: 34px 0 0;
    list-style: none;
}

.trust-list li {
    padding: 8px 11px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 760;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    max-width: 780px;
    padding: 0;
    margin: 24px 0 28px;
    list-style: none;
}

.hero-points li {
    padding: 8px 11px;
    background: #f5efe5;
    border: 1px solid rgba(154, 135, 112, 0.28);
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 780;
}

.hero-points + .button {
    margin-top: 0;
}

.hero-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 1030px;
    margin-top: 28px;
}

.hero-proof {
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

.hero-proof strong {
    display: block;
    color: white;
    font-size: 0.95rem;
    line-height: 1.16;
}

.hero-proof span {
    display: block;
    margin-top: 5px;
    font-size: 0.86rem;
    line-height: 1.28;
}

.section {
    padding: 90px 0;
}

.muted {
    background: var(--surface-warm);
}

.section-heading {
    max-width: 820px;
    margin-bottom: 34px;
}

.section-heading h2 + p {
    margin-top: 16px;
}

.cards {
    display: grid;
    gap: 18px;
}

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

.card,
.case-card,
.process-step,
.quote-aside,
.contact-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.card {
    position: relative;
    min-height: 250px;
    padding: 30px 26px 28px;
    overflow: hidden;
    counter-increment: card;
}

.cards {
    counter-reset: card;
}

.card::before {
    content: "0" counter(card);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
    margin-bottom: 42px;
    background: #edf4f1;
    color: var(--forest);
    border: 1px solid #cfe1da;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.86rem;
}

.card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--forest), var(--steel), var(--clay));
}

.card p,
.process-step p,
.case-card p,
.quote-aside p,
.contact-panel p,
.realization p {
    color: var(--muted);
}

.text-link {
    color: var(--forest);
    font-weight: 850;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.light-link {
    color: #ffd09d;
}

.split-section {
    background:
        linear-gradient(90deg, #16211e, #1f2c27 58%, #f5efe5 58%, #f5efe5);
    color: white;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
    gap: 48px;
    align-items: center;
}

.split-section p:not(.eyebrow),
.split-section .check-list {
    color: rgba(255, 255, 255, 0.82);
}

.split-section .button-primary {
    background: #f2b77c;
    color: #1b2420;
    box-shadow: none;
}

.split-section .button-primary:hover,
.split-section .button-primary:focus {
    background: #ffd09d;
}

.feature-image,
.page-hero-image {
    margin: 0;
}

.feature-image img,
.page-hero-image img,
.feature-image .photo-placeholder,
.page-hero-image .photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.check-list {
    display: grid;
    gap: 11px;
    padding: 0;
    margin: 22px 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 27px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 0.48em;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--forest);
    border-bottom: 2px solid var(--forest);
    transform: rotate(-45deg);
}

.split-section .check-list li::before,
.quote-aside .check-list li::before {
    border-color: var(--amber);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.process-step {
    position: relative;
    min-height: 245px;
    padding: 24px;
    box-shadow: none;
}

.process-step span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 42px;
    background: var(--steel);
    color: white;
    border-radius: 50%;
    font-weight: 900;
}

.process-step::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    top: 78px;
    height: 1px;
    background: var(--line);
}

.case-card {
    overflow: hidden;
}

.case-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.case-card .photo-placeholder {
    aspect-ratio: 4 / 3;
}

.case-card div {
    padding: 22px;
}

.case-category {
    margin: 0 0 8px;
    color: var(--clay);
    font-weight: 900;
    font-size: 0.82rem;
    text-transform: uppercase;
}

.cta-band {
    padding: 58px 0;
    background:
        linear-gradient(90deg, var(--forest-dark), #263f4c);
    color: white;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.page-hero,
.page-title {
    padding: 74px 0 46px;
}

.page-hero {
    background:
        linear-gradient(180deg, #f7f2ea, #fbfaf7);
    border-bottom: 1px solid var(--line);
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
    gap: 48px;
    align-items: center;
}

.page-title {
    background:
        linear-gradient(180deg, #f7f2ea, #fbfaf7);
    border-bottom: 1px solid rgba(217, 208, 194, 0.55);
}

.page-title + .section {
    padding-top: 64px;
}

.page-title p {
    max-width: 780px;
    color: var(--muted);
    font-size: 1.12rem;
}

.service-sections {
    display: grid;
    gap: 20px;
}

.guide-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: 36px;
    align-items: start;
}

.guide-sections {
    display: grid;
    gap: 20px;
}

.guide-aside {
    position: sticky;
    top: 100px;
    padding: 28px;
    background: var(--ink);
    color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.guide-aside .photo-picture,
.guide-aside .photo-placeholder {
    width: 100%;
    margin: 0 0 22px;
    overflow: hidden;
    border-radius: calc(var(--radius) - 2px);
    box-shadow: none;
}

.guide-aside .photo-image,
.guide-aside .photo-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
}

.guide-aside h2 {
    font-size: 2rem;
}

.guide-aside p {
    color: rgba(255, 255, 255, 0.78);
}

.guide-aside .check-list li {
    color: rgba(255, 255, 255, 0.92);
}

.guide-aside .check-list li::before {
    border-color: var(--amber);
}

.guide-block {
    grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.62fr);
}

.avoid-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.avoid-list li {
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    font-weight: 780;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.related-card {
    display: grid;
    gap: 10px;
    min-height: 190px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    box-shadow: var(--shadow-soft);
}

.related-card:hover,
.related-card:focus {
    border-color: rgba(23, 98, 79, 0.38);
    transform: translateY(-1px);
}

.related-card strong {
    font-size: 1.35rem;
    line-height: 1.18;
}

.related-card p {
    margin: 0;
    color: var(--muted);
}

.service-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    gap: 36px;
    padding: 38px 0;
    border-bottom: 1px solid var(--line);
}

.service-block:first-child {
    padding-top: 0;
}

.service-block:last-child {
    border-bottom: 0;
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    padding: 20px 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

summary {
    cursor: pointer;
    font-weight: 850;
}

details p {
    margin-bottom: 0;
    color: var(--muted);
}

.realization-list {
    display: grid;
    gap: 28px;
}

.realization {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 0 0 32px;
    border-bottom: 1px solid var(--line);
}

.realization:last-child {
    border-bottom: 0;
}

.realization img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

.realization .photo-placeholder {
    aspect-ratio: 4 / 3;
}

.meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 22px 0;
    list-style: none;
}

.meta-list li {
    padding: 6px 10px;
    background: var(--surface-warm);
    border: 1px solid rgba(217, 208, 194, 0.75);
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.9rem;
}

.case-study-facts {
    display: grid;
    gap: 10px;
    margin: 20px 0 24px;
}

.case-study-facts div {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 14px;
    background: rgba(245, 239, 229, 0.72);
    border: 1px solid rgba(217, 208, 194, 0.8);
    border-radius: var(--radius);
}

.case-study-facts dt {
    color: var(--clay);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.case-study-facts dd {
    margin: 0;
    color: var(--muted);
}

.quote-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(300px, 360px);
    gap: 28px;
    align-items: start;
}

.quote-form {
    position: relative;
    padding: 30px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.quote-form::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--forest), var(--steel), var(--clay));
}

.form-intro {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 1.02rem;
}

.file-prompt {
    margin: -6px 0 22px;
    padding: 13px 15px;
    background: #f2eadf;
    border: 1px solid rgba(217, 208, 194, 0.9);
    border-radius: var(--radius);
    color: var(--ink-soft);
}

.file-prompt strong {
    color: var(--ink);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.optional-fields {
    margin: 0 0 22px;
    padding: 18px;
    background: #f8f4ed;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.optional-fields summary {
    font-weight: 900;
}

.optional-fields > p {
    margin: 10px 0 18px;
    color: var(--muted);
}

.field-message,
.field-attachments,
.field-consent {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 850;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    background: white;
    color: var(--ink);
    border: 1px solid #cfc6b9;
    border-radius: 6px;
    font: inherit;
}

.form-control:focus {
    border-color: var(--forest);
    box-shadow: 0 0 0 4px rgba(23, 98, 79, 0.12);
    outline: 0;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.field small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.88rem;
}

.field-checkbox {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
}

.field-checkbox label {
    grid-column: 2;
    margin: 0;
}

.field-checkbox input {
    grid-column: 1;
    grid-row: 1;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--forest);
}

.field-checkbox small,
.field-checkbox .field-error {
    grid-column: 2;
}

.field-error,
.form-errors {
    color: #9a2d21;
}

.quote-aside,
.contact-panel {
    padding: 28px;
}

.quote-aside {
    position: sticky;
    top: 100px;
    background: #17211e;
    color: white;
    border-color: rgba(255, 255, 255, 0.08);
}

.quote-aside h2,
.contact-panel h2 {
    font-size: 2rem;
}

.quote-aside p {
    color: rgba(255, 255, 255, 0.78);
}

.quote-aside .check-list li {
    color: rgba(255, 255, 255, 0.9);
}

.contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
}

.contact-panel dl {
    display: grid;
    gap: 10px;
}

.contact-panel dt {
    font-weight: 850;
}

.contact-panel dd {
    margin: 0 0 12px;
}

.contact-panel.accent {
    background: var(--surface-warm);
}

.site-footer {
    padding: 54px 0;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 32px;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: white;
    font-size: 1rem;
}

.footer-brand {
    margin-top: 0;
    color: white;
    font-weight: 850;
}

@media (max-width: 1100px) {
    .brand {
        min-width: 198px;
    }

    .nav a {
        padding-inline: 7px;
        font-size: 0.86rem;
    }

    .language-switcher a {
        min-width: 30px;
        padding-inline: 5px;
    }
}

@media (max-width: 980px) {
    .header-inner {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .brand {
        flex: 1;
    }

    .header-actions {
        margin-left: auto;
    }

    .nav {
        order: 3;
        width: 100%;
        flex: 0 0 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 6px;
        padding-bottom: 2px;
    }

    .nav a {
        background: rgba(255, 255, 255, 0.58);
        border: 1px solid rgba(217, 208, 194, 0.72);
    }

    .hero-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 760px;
    }

    .three,
    .process-grid,
    .split,
    .page-hero-grid,
    .guide-grid,
    .related-grid,
    .quote-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 3.6rem;
    }

    h2 {
        font-size: 2.45rem;
    }

    .hero,
    .photo-placeholder-hero {
        min-height: 640px;
    }

    .split-section {
        background: #16211e;
    }

    .service-block,
    .guide-block,
    .realization {
        grid-template-columns: 1fr;
    }

    .quote-aside,
    .guide-aside {
        position: static;
    }

    .guide-aside {
        order: -1;
    }
}

@media (max-width: 640px) {
    body:not(.page-quote) {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    .container,
    .narrow {
        width: min(100% - 28px, 1160px);
    }

    .site-header {
        position: sticky;
    }

    .mobile-action-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(251, 250, 247, 0.96);
        border-top: 1px solid rgba(217, 208, 194, 0.92);
        box-shadow: 0 -14px 32px rgba(29, 36, 33, 0.14);
        backdrop-filter: blur(14px);
    }

    .mobile-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 10px 12px;
        border-radius: var(--radius);
        font-weight: 900;
        line-height: 1.1;
        text-align: center;
        text-decoration: none;
    }

    .mobile-action-phone {
        background: var(--ink);
        color: white;
    }

    .mobile-action-quote {
        background: var(--forest);
        color: white;
    }

    .page-quote .mobile-action-bar {
        display: none;
    }

    .header-inner {
        width: min(100% - 18px, 1280px);
        min-height: 62px;
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 8px 0;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
        gap: 8px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    .brand strong {
        font-size: 0.86rem;
    }

    .brand small {
        font-size: 0.68rem;
    }

    .desktop-nav,
    .language-switcher-desktop {
        display: none;
    }

    .header-actions {
        width: auto;
        margin-left: 0;
        display: flex;
        flex: 0 0 auto;
    }

    .header-phone {
        width: auto;
        min-height: 38px;
        padding: 8px 10px;
        font-size: 0.86rem;
        box-shadow: none;
    }

    .mobile-menu {
        position: relative;
        display: block;
        flex: 0 0 auto;
    }

    .mobile-menu summary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 8px 11px;
        background: var(--surface);
        border: 1px solid rgba(217, 208, 194, 0.92);
        border-radius: var(--radius);
        color: var(--ink);
        font-weight: 900;
        cursor: pointer;
    }

    .mobile-menu-panel {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: min(328px, calc(100vw - 24px));
        padding: 10px;
        background: rgba(251, 250, 247, 0.98);
        border: 1px solid rgba(217, 208, 194, 0.95);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .language-switcher-mobile {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        margin-bottom: 8px;
    }

    .mobile-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        width: 100%;
    }

    .mobile-nav a {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        padding: 8px 10px;
        background: white;
        border: 1px solid rgba(217, 208, 194, 0.72);
        border-radius: 6px;
        text-align: left;
        text-decoration: none;
        white-space: normal;
    }

    .hero,
    .photo-placeholder-hero {
        min-height: 680px;
    }

    .hero-content {
        padding: 86px 0 46px;
    }

    .hero-media::after {
        background:
            linear-gradient(180deg, rgba(18, 26, 23, 0.48), rgba(18, 26, 23, 0.94)),
            linear-gradient(90deg, rgba(18, 26, 23, 0.72), rgba(18, 26, 23, 0.34));
    }

    h1 {
        font-size: 2.6rem;
        line-height: 1.04;
    }

    .page-hero h1,
    .page-title h1 {
        font-size: 2.28rem;
        line-height: 1.08;
    }

    h2 {
        font-size: 2.05rem;
    }

    .hero-lead,
    .page-title p {
        font-size: 1.05rem;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .trust-list {
        display: none;
    }

    .hero-proof-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 22px;
    }

    .hero-proof {
        padding: 9px 10px;
    }

    .hero-proof span {
        margin-top: 3px;
        font-size: 0.82rem;
    }

    .section,
    .page-hero,
    .page-title {
        padding: 50px 0;
    }

    .page-title + .section {
        padding-top: 34px;
    }

    .messages {
        position: static;
        width: min(100% - 28px, 420px);
        margin: 14px auto 0;
    }

    .message {
        box-shadow: 0 10px 24px rgba(29, 36, 33, 0.08);
    }

    .card,
    .quote-form,
    .quote-aside,
    .guide-aside,
    .contact-panel {
        padding: 22px;
    }

    .card {
        min-height: 0;
    }

    .card::before,
    .process-step span {
        margin-bottom: 24px;
    }

    .process-step {
        min-height: 0;
    }

    .process-step::after {
        display: none;
    }

    .cta-inner {
        display: grid;
    }

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

    .form-intro {
        margin-bottom: 16px;
    }

    .file-prompt {
        margin-top: -4px;
        padding: 12px;
    }

    .case-study-facts div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

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

    .photo-placeholder-name {
        right: 10px;
        bottom: 10px;
        max-width: calc(100% - 20px);
        font-size: 0.72rem;
    }
}
