:root {
    --bg: #fbfaf6;
    --surface: #fffdf8;
    --surface-strong: #ffffff;
    --ink: #23221f;
    --muted: #706b61;
    --soft: #f2eee6;
    --line: #e6dfd2;
    --line-strong: #d9cfbd;
    --olive: #62674e;
    --olive-dark: #4f553e;
    --gold: #b68645;
    --gold-soft: #eee5d7;
    --shadow: 0 24px 70px rgba(47, 43, 34, 0.1);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Inter", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 10% 4%, rgba(184, 134, 69, 0.09), transparent 26rem),
        linear-gradient(180deg, #fffefa 0%, var(--bg) 52%, #f7f3ec 100%);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

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

.icon-sprite {
    display: none;
}

.icon {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 250, 246, 0.88);
    border-bottom: 1px solid rgba(230, 223, 210, 0.7);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 82px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    width: max-content;
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.3vw, 32px);
    color: #25241f;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
    transition: color 180ms ease, border-color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--gold);
    border-color: currentColor;
    outline: none;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.language-switcher {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.62);
}

.mobile-language-switcher {
    display: none;
}

.site-nav .mobile-login-button {
    display: none;
}

.lang-switch-btn {
    min-width: 42px;
    min-height: 42px;
    border: 0;
    background: transparent;
    color: var(--olive-dark);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.lang-switch-btn.is-active {
    background: var(--olive);
    color: #fffdf7;
    cursor: default;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-strong);
    color: var(--ink);
    cursor: pointer;
}

.menu-toggle .icon-close {
    display: none;
}

.menu-open .menu-toggle .icon-menu {
    display: none;
}

.menu-open .menu-toggle .icon-close {
    display: block;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.button-primary {
    background: var(--olive);
    color: #fffdf7;
    box-shadow: 0 12px 26px rgba(79, 85, 62, 0.2);
}

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

.button-secondary {
    background: rgba(255, 255, 255, 0.65);
    border-color: var(--line-strong);
    color: #2e2b25;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: var(--olive);
    color: var(--olive-dark);
}

.button .icon {
    width: 16px;
    height: 16px;
}

.hero {
    position: relative;
    padding: clamp(34px, 5vw, 62px) 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: start;
    gap: clamp(38px, 5vw, 70px);
}

.hero-copy {
    padding: 12px 0 56px clamp(0px, 2vw, 28px);
}

.kicker {
    margin: 0 0 26px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.25;
    text-transform: uppercase;
}

.hero-title {
    max-width: 680px;
    margin: 0;
    font-family: var(--serif);
    font-size: 78px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 0.93;
}

.hero-text {
    max-width: 580px;
    margin: 28px 0 0;
    color: #4d4942;
    font-size: 15px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 33px;
}

.hero-art {
    position: relative;
    min-height: clamp(400px, 43vw, 520px);
    overflow: hidden;
    border-radius: 34px 0 0 0;
    background: var(--soft);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.hero-art img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
}

.trust-wrap {
    position: relative;
    z-index: 5;
    margin-top: -10px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.trust-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 17px;
    min-height: 92px;
    padding: 25px 29px;
    align-items: center;
}

.trust-item+.trust-item {
    border-left: 1px solid var(--line);
}

.trust-item .icon {
    width: 30px;
    height: 30px;
    color: var(--gold);
}

.trust-title,
.service-card h3 {
    margin: 0;
    color: #28251f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.trust-item p,
.service-card p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.section {
    padding: clamp(42px, 6vw, 72px) 0 0;
}

.section-header {
    margin-bottom: 25px;
}

.section-title {
    margin: 0;
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.03;
}

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

.service-card {
    position: relative;
    min-height: 166px;
    padding: 29px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 18px 48px rgba(48, 43, 34, 0.05);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: 0 24px 60px rgba(48, 43, 34, 0.08);
}

details.service-card summary {
    list-style: none;
    cursor: pointer;
}

details.service-card summary::-webkit-details-marker {
    display: none;
}

details.service-card[open] {
    grid-column: span 3;
}

.service-body,
.about-more {
    margin-top: 24px;
    color: #4f4a42;
    font-size: 14px;
    line-height: 1.8;
}

details.about-more summary {
    list-style: none;
    cursor: pointer;
}

details.about-more summary::-webkit-details-marker {
    display: none;
}

.service-body p,
.about-more p,
.rich-text p {
    margin: 0 0 1em;
}

.service-toggle {
    display: inline-flex;
    margin-top: 16px;
    color: var(--olive-dark);
    font-size: 13px;
    font-weight: 700;
}

.icon-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 17px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f7f1e6, #ede4d6);
    color: #a57b43;
    box-shadow: 0 14px 26px rgba(116, 91, 56, 0.12);
}

.icon-bubble .icon {
    width: 25px;
    height: 25px;
}

.about-panel {
    display: grid;
    grid-template-columns: minmax(320px, 460px) 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 58px rgba(52, 47, 38, 0.06);
}

.about-photo {
    min-height: 430px;
    background: #d8d5d0;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%);
}

.about-content {
    padding: clamp(32px, 4.5vw, 54px);
}

.about-content .section-title {
    max-width: 780px;
    margin-bottom: 22px;
}

.about-content>p {
    max-width: 760px;
    margin: 0 0 30px;
    color: #504b43;
    line-height: 1.85;
}

.about-role {
    margin-top: -12px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}

.about-lists {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
}

.about-list h3 {
    margin: 0 0 10px;
    font-size: 13px;
}

.about-list ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
}

.panel {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 18px 54px rgba(52, 47, 38, 0.05);
}

.cooperation-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) 1.3fr;
    gap: 34px;
    padding: 34px 38px;
    align-items: start;
}

.cooperation-panel .section-title {
    font-size: 40px;
}

.cooperation-panel p {
    max-width: 720px;
    margin: 0;
    color: #4f4a42;
    line-height: 1.8;
}

.case-panel {
    display: block;
    padding: 38px;
    overflow: hidden;
}

.case-copy {
    max-width: 760px;
}

.case-copy .section-title {
    margin-bottom: 18px;
}

.case-copy p {
    margin: 0 0 25px;
    color: #4e4941;
    line-height: 1.85;
}

.rich-text {
    color: #4e4941;
    line-height: 1.85;
}

.contact-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 3vw, 34px);
    padding: 38px;
    align-items: start;
    margin-bottom: 30px;
}

.contact-copy .section-title {
    margin-bottom: 17px;
}

.contact-copy p {
    max-width: 520px;
    margin: 0;
    color: #504b43;
    line-height: 1.85;
}

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

.contact-method {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(220px, 1.1fr);
    gap: 18px;
    align-items: stretch;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.64);
}

.contact-details {
    min-width: 0;
}

.contact-map {
    min-height: 190px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 190px;
    border: 0;
}

.contact-method .icon {
    width: 22px;
    height: 22px;
    color: var(--gold);
    margin-bottom: 10px;
}

.contact-method h3 {
    margin: 0 0 5px;
    font-size: 12px;
    font-weight: 700;
}

.contact-method p {
    display: block;
    margin: 0;
    color: #605a50;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.contact-method a {
    color: #605a50;
    overflow-wrap: anywhere;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--ink);
    padding: 13px 14px;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(182, 134, 69, 0.16);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #918a7f;
}

.contact-form .wide {
    grid-column: 1 / -1;
}

.contact-form textarea {
    min-height: 138px;
    resize: vertical;
}

.contact-form .button {
    justify-self: start;
    min-width: 158px;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 26px 0 34px;
    color: #6c665c;
    font-size: 13px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--gold);
    outline: none;
}

@media (max-width: 1000px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
        min-height: 70px;
    }

    .brand {
        font-size: 26px;
    }

    .hero-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 62px;
    }

    .hero-copy {
        padding-bottom: 0;
    }

    .hero-art {
        min-height: 390px;
    }

    .trust-wrap {
        margin-top: 24px;
    }

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

    .trust-item:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .trust-item:nth-child(4) {
        border-top: 1px solid var(--line);
    }

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

    details.service-card[open] {
        grid-column: span 2;
    }

    .case-panel {
        padding: 32px;
    }

    .section-title {
        font-size: 38px;
    }

    .about-panel {
        grid-template-columns: 1fr;
    }

    .about-photo {
        min-height: 500px;
    }

    .cooperation-panel {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: inline-flex;
        grid-column: 3;
        justify-self: end;
    }

    .site-nav {
        position: fixed;
        inset: 70px 0 auto 0;
        display: grid;
        justify-content: stretch;
        gap: 0;
        padding: 16px 20px 24px;
        background: rgba(251, 250, 246, 0.97);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px rgba(35, 34, 31, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 220ms ease, opacity 220ms ease;
    }

    .menu-open .site-nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        min-height: 46px;
        border-bottom: 1px solid var(--line);
    }

    .mobile-language-switcher {
        display: inline-flex;
        justify-self: start;
        margin-top: 16px;
    }

    .site-nav .mobile-login-button {
        display: inline-flex;
        justify-self: start;
        margin-top: 16px;
    }

    .header-actions {
        display: none;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 28px), 1210px);
    }

    .hero {
        padding-top: 28px;
    }

    .hero-title {
        font-size: 50px;
        line-height: 1.03;
    }

    .section-title,
    .cooperation-panel .section-title {
        font-size: 34px;
    }

    .hero-art {
        min-height: 320px;
        border-radius: 22px 0 0 0;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .trust-strip,
    .services-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-method {
        grid-template-columns: 1fr;
    }

    .trust-item+.trust-item {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .service-card {
        min-height: 0;
        padding: 25px;
    }

    details.service-card[open] {
        grid-column: span 1;
    }

    .about-photo {
        min-height: 410px;
    }

    .about-content,
    .cooperation-panel,
    .case-panel,
    .contact-panel {
        padding: 25px;
    }

}

@media (max-width: 370px) {
    .hero-title {
        font-size: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
