:root {
    --ink: #20262b;
    --muted: #5f686e;
    --line: #e3e6e8;
    --soft: #f6f7f8;
    --blue: #1769aa;
    --blue2: #0e568f;
    --max: 1120px;
    --display-font: Bahnschrift, "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); line-height: 1.6; background: #fff; }
img, video { max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: auto; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.navrow { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 72px; height: 60px; object-fit: contain; }
.brand strong { font-family: var(--display-font); font-size: 1.35rem; letter-spacing: .03em; text-transform: uppercase; }
.navgroup { display: flex; align-items: center; gap: 20px; }
.nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a.active { color: var(--blue); }
.menu-toggle { background: transparent; border: 0; cursor: pointer; display: none; padding: 7px; }
.menu-toggle span { background: var(--blue); display: block; height: 2px; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; width: 24px; }

.language-picker { position: relative; }
.language-picker summary { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; column-gap: 7px; cursor: pointer; display: grid; font-size: .88rem; font-weight: 700; grid-template-columns: 26px auto 8px; list-style: none; padding: 7px 11px; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::after { border: solid var(--blue); border-width: 0 1.5px 1.5px 0; content: ""; height: 7px; justify-self: center; transform: rotate(45deg); transform-origin: center; width: 7px; }
.language-picker[open] summary { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 105, 170, .12); }
.language-picker[open] summary::after { transform: rotate(225deg); }
.language-picker img { border-radius: 50%; display: block; height: 18px; object-fit: cover; width: 26px; }
.language-menu { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 28px rgba(23, 42, 55, .16); min-width: 156px; overflow: hidden; padding: 5px; position: absolute; right: 0; top: calc(100% + 8px); z-index: 10; }
.language-menu a { align-items: center; border-radius: 5px; display: flex; gap: 10px; padding: 8px 10px; text-decoration: none; }
.language-menu a:hover, .language-menu a.current { background: var(--soft); color: var(--blue); }
.language-menu a.current { font-weight: 700; }

.hero { position: relative; min-height: 490px; display: flex; align-items: center; overflow: hidden; background: #20272c; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 24, 30, .76), rgba(15, 24, 30, .18)); }
.hero .wrap { position: relative; z-index: 1; color: #fff; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5.3rem); line-height: .98; margin: 0 0 22px; letter-spacing: .02em; }
.hero p { font-size: 1.25rem; max-width: 760px; margin: 0; }
.btn { display: inline-block; margin-top: 24px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 3px; }
.btn:hover { background: var(--blue2); }

.section { padding: 65px 0; }
.section.soft { background: var(--soft); }
.kicker { color: var(--blue); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; }
.section h2, .pagehero h1 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; margin: 8px 0 16px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 860px; }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.benefit { border-top: 3px solid var(--blue); padding: 17px 6px 0; }
.benefit h3 { margin: 0 0 7px; font-size: 1.08rem; }
.benefit p { margin: 0; color: var(--muted); }
.focus { display: grid; grid-template-columns: 1.1fr .9fr; gap: 45px; align-items: center; }
.focus img { width: 100%; border-radius: 3px; }
.focus .about-image { aspect-ratio: 1; object-fit: cover; }
.focus .home-feature-image { aspect-ratio: 1; object-fit: cover; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.step b { display: block; color: var(--blue); font-size: 1.7rem; }
.step h3 { margin: 4px 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-top: 30px; }
.company-facts { grid-template-columns: repeat(6, 1fr); }
.facts div { background: #fff; padding: 22px; text-align: center; }
.facts strong { display: block; font-size: 1.2rem; }
.pagehero { background: var(--soft); padding: 52px 0; border-bottom: 1px solid var(--line); }
.contentgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.service { margin-bottom: 42px; }
.service-title--media { min-height: 2.3em; margin-bottom: 8px; }
.service img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; margin: 0 0 18px; }
.service ul { padding-left: 20px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact { border: 1px solid var(--line); padding: 22px; }
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .92rem; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; }
.footer a { color: var(--muted); }
.legal-content { max-width: 880px; }
.legal-content h2 { margin-top: 2.2rem; }
.request-shell { max-width: 900px; }
.request-form { background: #fff; border: 1px solid var(--line); margin-top: 30px; padding: 34px; }
.form-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-field { display: grid; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label, .consent-field { font-weight: 700; }
.optional { color: var(--muted); font-size: .86rem; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea { background: #fff; border: 1px solid #b9c1c6; border-radius: 3px; color: var(--ink); font: inherit; padding: 11px 12px; width: 100%; }
.form-field textarea { min-height: 172px; resize: vertical; }
.form-field input[type="file"] { border-style: dashed; cursor: pointer; padding: 10px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .consent-field input:focus-visible { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23, 105, 170, .14); outline: 0; }
.form-help, .form-required { color: var(--muted); font-size: .9rem; margin: 0; }
.consent-field { align-items: flex-start; display: flex; font-size: .94rem; gap: 10px; margin-top: 25px; }
.consent-field input { accent-color: var(--blue); flex: 0 0 auto; height: 18px; margin: 4px 0 0; width: 18px; }
.consent-field a { color: var(--blue2); }
.form-required { margin-top: 14px; }
.form-submit { border: 0; cursor: pointer; font: inherit; margin-top: 17px; min-height: 48px; }
.form-submit:disabled { cursor: wait; opacity: .62; }
.form-alert { background: #fdf1f0; border-left: 3px solid #b33a32; color: #73231e; margin: 22px 0 0; padding: 12px 15px; }
.form-honeypot { height: 1px; left: -10000px; overflow: hidden; position: absolute; top: auto; width: 1px; }
.cookie-banner { background: rgba(20, 31, 39, .52); inset: 0; padding: 24px; position: fixed; z-index: 100; }
.cookie-banner__content { background: #fff; border-top: 4px solid var(--blue); box-shadow: 0 18px 44px rgba(12, 28, 39, .28); margin: auto; max-width: 760px; padding: 28px 30px; position: relative; top: 50%; transform: translateY(-50%); }
.cookie-banner h2 { font-size: 1.45rem; line-height: 1.2; margin: 0 0 10px; }
.cookie-banner p { color: var(--muted); margin: 0; }
.cookie-banner a { color: var(--blue2); font-weight: 700; }
.cookie-banner__choices { border-top: 1px solid var(--line); display: grid; gap: 13px; margin-top: 20px; padding-top: 18px; }
.cookie-banner__choices[hidden] { display: none; }
.cookie-banner__choices label { align-items: flex-start; display: flex; gap: 11px; }
.cookie-banner__choices input { accent-color: var(--blue); height: 18px; margin: 3px 0 0; width: 18px; }
.cookie-banner__choices span { display: grid; line-height: 1.3; }
.cookie-banner__choices small { color: var(--muted); margin-top: 3px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cookie-button { background: var(--blue); border: 1px solid var(--blue); color: #fff; cursor: pointer; font: inherit; font-weight: 700; min-height: 44px; padding: 10px 16px; }
.cookie-button:hover { background: var(--blue2); border-color: var(--blue2); }
.cookie-button--secondary { background: #fff; color: var(--blue2); }
.cookie-settings-link { background: #fff; border: 1px solid var(--line); bottom: 16px; box-shadow: 0 4px 16px rgba(12, 28, 39, .13); color: var(--blue2); cursor: pointer; font: inherit; font-size: .83rem; font-weight: 700; padding: 8px 12px; position: fixed; right: 16px; z-index: 30; }

@media (min-width: 801px) {
    .contentgrid > div { display: contents; }
    .contentgrid > div:first-child .service:first-child { order: 1; }
    .contentgrid > div:nth-child(2) .service:first-child { order: 2; }
    .contentgrid > div:first-child .service:nth-child(2) { order: 3; }
    .contentgrid > div:nth-child(2) .service:nth-child(2) { order: 4; }
    .contentgrid .service { margin-bottom: 0; }
}

@media (max-width: 800px) {
    .service-title--media { min-height: 0; }
    .hero { min-height: 430px; }
    .benefits, .process, .facts, .contacts { grid-template-columns: repeat(2, 1fr); }
    .focus, .contentgrid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .form-field--full { grid-column: auto; }
}

@media (max-width: 768px) {
    .wrap { width: calc(100% - 32px); }
    .navrow { align-items: center; flex-direction: row; gap: 8px; min-height: 0; padding: 16px 0; }
    .brand { gap: 10px; }
    .brand img { height: 50px; width: 64px; }
    .brand strong { font-size: clamp(1rem, 4.5vw, 1.2rem); line-height: 1.15; }
    .menu-toggle { display: block; margin-left: auto; }
    .nav { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(23, 42, 55, .14); display: none; left: 0; margin: 0; min-width: 0; padding: 10px 16px; position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; }
    .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .nav span { display: none; }
    .nav a { border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.25; padding: 12px 2px; text-align: left; }
    .nav a:last-of-type { border-bottom: 0; }
    .language-picker summary { min-height: 42px; padding: 8px 10px; }
    .language-picker img { height: 17px; width: 25px; }
    .language-menu { right: 0; }
    .hero { min-height: 400px; }
    .hero h1 { font-size: clamp(2.15rem, 11vw, 3rem); margin-bottom: 18px; }
    .hero p { font-size: 1.05rem; }
    .btn { min-height: 44px; padding: 11px 18px; }
    .pagehero { padding: 38px 0; }
    .section { padding: 52px 0; }
    .section h2, .pagehero h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
    .lead { font-size: 1.03rem; }
    .focus { gap: 28px; }
    .contentgrid { gap: 26px; }
    .service { margin-bottom: 34px; }
    .contact { padding: 18px; }
    .request-form { padding: 22px 18px; }
    .cookie-banner { padding: 14px; }
    .cookie-banner__content { max-height: calc(100vh - 28px); overflow-y: auto; padding: 24px 20px; }
    .cookie-banner__actions { display: grid; grid-template-columns: 1fr; }
    .cookie-button { width: 100%; }
    .footer { padding: 24px 0; }
    .footer .wrap { align-items: flex-start; flex-direction: column; gap: 6px; }
}

@media (max-width: 520px) {
    .wrap { width: calc(100% - 26px); }
    .benefits, .process, .facts, .contacts { grid-template-columns: 1fr; }
    .section { padding: 46px 0; }
    .hero { min-height: 380px; }
    .gallery { gap: 7px; }
    .language-menu { min-width: 148px; }
    .facts div { padding: 17px; }
    .footer { font-size: .88rem; }
}
