:root {
    --ink: #1f2937;
    --ink-soft: #4b5563;
    --steel: #9ca3af;
    --paper: #f3efe7;
    --cream: #f3efe7;
    --sand: #e7d7c1;
    --copper: #b8865b;
    --copper-dark: #9b6a40;
    --white: #fffdfa;
    --line: rgba(31, 41, 55, 0.12);
    --shadow: 0 24px 80px rgba(31, 41, 55, 0.14);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background:
        radial-gradient(
            circle at 20% 12%,
            rgba(184, 134, 91, 0.2),
            transparent 32rem
        ),
        radial-gradient(
            circle at 86% 18%,
            rgba(156, 163, 175, 0.16),
            transparent 24rem
        ),
        linear-gradient(135deg, #f8f5ef 0%, #f3efe7 44%, #fffdfa 100%);
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background-image:
        linear-gradient(rgba(184, 134, 91, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 134, 91, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(
        circle at center,
        rgba(0, 0, 0, 0.45),
        transparent 70%
    );
}

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

button {
    font: inherit;
}

.page-shell {
    width: min(1120px, calc(100% - 32px));
    min-height: calc(100vh - 48px);
    margin: 24px auto;
    overflow: hidden;
    background: rgba(255, 253, 250, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 96px;
    padding: 18px 40px;
    background: rgba(255, 253, 250, 0.9);
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
}

.brand__logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.brand__name {
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    letter-spacing: -0.06em;
}

.brand__name span,
.hero__title span,
.site-footer p span {
    color: var(--copper);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 0;
    height: 2px;
    content: "";
    background: var(--copper);
    transition: width 180ms ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.language-switcher {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: rgba(243, 239, 231, 0.82);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.language-switcher__button {
    display: grid;
    place-items: center;
    min-width: 42px;
    padding: 8px 10px;
    color: var(--ink-soft);
    cursor: pointer;
    background: transparent;
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.language-switcher__button:hover,
.language-switcher__button.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--copper), var(--copper-dark));
    box-shadow: 0 10px 22px rgba(184, 134, 91, 0.28);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
    border-radius: 999px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    align-items: center;
    min-height: 620px;
    padding: clamp(48px, 7vw, 96px) clamp(32px, 6vw, 74px);
}

.hero__content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(0.8rem, 1.4vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 56px;
    height: 2px;
    content: "";
    background: var(--copper);
}

.hero__title {
    margin: 0 0 12px;
    font-size: clamp(4rem, 11vw, 7.6rem);
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.hero__text {
    max-width: 640px;
    margin: 0 0 42px;
    color: var(--ink);
    font-size: clamp(1.13rem, 2.1vw, 1.45rem);
    line-height: 1.65;
}

.contact-card {
    display: inline-grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    min-width: min(420px, 100%);
    overflow: hidden;
    color: var(--ink);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    background: rgba(255, 253, 250, 0.74);
    border: 1px solid rgba(31, 41, 55, 0.16);
    border-radius: 6px;
    box-shadow: 0 18px 42px rgba(31, 41, 55, 0.08);
}

.contact-card__icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--copper), var(--copper-dark));
}

.contact-card__icon svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.contact-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    align-items: center;
    padding: 0 28px;
}

.contact-card__details a {
    color: inherit;
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.contact-card__details span,
.phone-reveal {
    color: var(--ink-soft);
    font-weight: 700;
}

.phone-reveal {
    padding: 0;
    color: var(--copper-dark);
    background: none;
    border: 0;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.phone-reveal:hover,
.phone-reveal:focus-visible {
    color: var(--ink);
}

.phone-reveal:focus-visible {
    outline: 2px solid var(--copper);
    outline-offset: 4px;
}

.hero__visual {
    position: relative;
    display: grid;
    min-height: 460px;
    place-items: center;
}

.hero__visual::before {
    position: absolute;
    width: min(440px, 84vw);
    aspect-ratio: 1;
    content: "";
    background: radial-gradient(
        circle,
        rgba(184, 134, 91, 0.12),
        transparent 68%
    );
    border: 1px solid rgba(184, 134, 91, 0.1);
    transform: rotate(45deg);
}

.hero__logo {
    position: relative;
    z-index: 1;
    width: min(390px, 78vw);
    filter: drop-shadow(0 26px 20px rgba(31, 41, 55, 0.18));
}

.agreement-teaser {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 40px clamp(32px, 6vw, 74px);
    background:
        linear-gradient(90deg, rgba(14, 116, 144, 0.08), transparent 58%),
        rgba(255, 253, 250, 0.78);
    border-top: 1px solid var(--line);
}

.section-eyebrow {
    margin: 0 0 10px;
    color: #0e7490;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.agreement-teaser h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
}

.agreement-teaser p:last-child {
    max-width: 700px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.65;
}

.text-link-wrap {
    margin: 0;
}

.text-link {
    color: #164e63;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(22, 78, 99, 0.36);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.text-link:hover {
    color: #0e7490;
    text-decoration-color: currentColor;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 74px;
    font-size: 1rem;
    background: linear-gradient(
        90deg,
        rgba(243, 239, 231, 0.92),
        rgba(231, 215, 193, 0.6)
    );
}

.site-footer p {
    margin: 0;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 700;
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.footer-social:hover,
.footer-social:focus-visible {
    color: #0e7490;
    transform: translateY(-1px);
}

.footer-social:focus-visible {
    outline: 2px solid rgba(14, 116, 144, 0.42);
    outline-offset: 4px;
    border-radius: 6px;
}

.footer-social__icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

@media (max-width: 860px) {
    .page-shell {
        width: min(480px, calc(100% - 24px));
        min-height: calc(100vh - 24px);
        margin: 12px auto;
    }

    .site-header {
        position: relative;
        flex-wrap: wrap;
        min-height: 86px;
        padding: 16px 22px;
    }

    .brand__logo {
        width: 50px;
        height: 50px;
    }

    body.app-ready .menu-toggle {
        display: block;
    }

    .primary-nav {
        display: grid;
        width: 100%;
        gap: 16px;
    }

    body.app-ready .primary-nav {
        position: absolute;
        top: 86px;
        right: 12px;
        left: 12px;
        z-index: 5;
        width: auto;
        padding: 20px;
        pointer-events: none;
        background: rgba(255, 253, 250, 0.96);
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: 0 20px 60px rgba(31, 41, 55, 0.16);
        opacity: 0;
        transform: translateY(-10px);
        transition:
            opacity 180ms ease,
            transform 180ms ease;
    }

    body.app-ready .primary-nav.open {
        pointer-events: auto;
        opacity: 1;
        transform: translateY(0);
    }

    .language-switcher {
        justify-content: space-between;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 32px 34px 34px;
        text-align: center;
    }

    .hero__visual {
        grid-row: 1;
        min-height: 230px;
    }

    .hero__logo {
        width: min(230px, 70vw);
    }

    .hero__title {
        font-size: clamp(3rem, 16vw, 4.7rem);
    }

    .eyebrow {
        justify-content: center;
        width: 100%;
        font-size: 0.76rem;
        letter-spacing: 0.14em;
    }

    .eyebrow::before {
        width: 28px;
    }

    .hero__text {
        margin-bottom: 32px;
        font-size: 1.02rem;
    }

    .contact-card {
        grid-template-columns: 56px minmax(0, 1fr);
        min-width: 0;
        width: 100%;
        font-size: 0.92rem;
        text-align: left;
    }

    .contact-card__icon {
        width: 56px;
        height: 56px;
    }

    .contact-card__icon svg {
        width: 28px;
        height: 28px;
    }

    .contact-card__details {
        padding: 0 16px;
    }

    .agreement-teaser {
        grid-template-columns: 1fr;
        padding: 32px 34px;
        text-align: left;
    }

    .site-footer {
        display: grid;
        justify-items: center;
        gap: 10px;
        padding: 24px;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .page-shell {
        width: calc(100% - 16px);
    }

    .site-header,
    .hero {
        padding-right: 18px;
        padding-left: 18px;
    }

    .brand__name {
        font-size: 1.25rem;
    }

    .brand__logo {
        width: 42px;
        height: 42px;
    }
}
