@font-face {
    font-family: 'sl-primary-2026';
    src: url('assets/fonts/abc123xyz.woff2') format('woff2'),
         url('assets/fonts/abc123xyz.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #6B6355;
    --color-dark: #3D3D39;
    --color-light: #E9E0D7;
    --color-bg: #F1F0EE;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.logo {
    position: relative;
    z-index: 10;
    width: 150px;
    height: auto;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
    filter: none;
}

header.header--dark .logo img {
    filter: brightness(0) invert(1);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 5px 60px;
    z-index: 100;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.4s ease, color 0.4s ease;
    color: var(--color-dark);
}

header.header--dark {
    background: linear-gradient(180deg, rgba(61,61,57,0.9) 0%, rgba(61,61,57,0.2) 100%);
    color: #fff;
}

header.menu-open {
    color: var(--color-dark);
}

header.menu-open .logo img {
    filter: none;
}

header.menu-open nav a {
    color: var(--color-dark);
}

header.menu-open .nav-menu a {
    color: var(--color-dark);
}

header.header--transparent {
    background: transparent;
}

header.header--solid {
    background: rgba(233, 224, 215, 0.9);
}

nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.lang-row {
    display: inline-flex;
    align-items: center;
}

nav a,
.lang-row,
.nav-sep-block {
    line-height: 1;
}

nav a {
    color: currentColor;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-sep {
    color: currentColor;
    opacity: 0.7;
    margin: 0 8px;
}

.nav-sep-block {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0 8px;
}

.lang-switch {
    letter-spacing: 0.12em;
}

.lang-switch.is-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #000;
}

header.header--dark nav a {
    color: #fff;
}

header.header--dark nav a:hover {
    color: #fff;
}

nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    color: currentColor;
    margin-left: auto;
    z-index: 110;
}

.nav-toggle span {
    position: absolute;
    right: 0;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s ease, width 0.3s ease, opacity 0.3s ease;
}

.nav-toggle .line-1 {
    top: 2px;
    width: 36px;
}

.nav-toggle .line-2 {
    top: 12px;
    width: 24px;
}

.nav-toggle .line-3 {
    top: 22px;
    width: 30px;
}

.nav-toggle.is-open .line-1 {
    transform: translateY(10px) rotate(45deg);
    width: 34px;
}

.nav-toggle.is-open .line-2 {
    opacity: 0;
}

.nav-toggle.is-open .line-3 {
    transform: translateY(-10px) rotate(-45deg);
    width: 34px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 190px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(107,99,85,0.5) 0%, rgba(107,99,85,0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

.hero-title {
    font-family: 'sl-primary-2026', Georgia, serif;
    font-size: 60px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 87%;
    color: #fff;
    margin-bottom: 15px;
    text-align: right;
    max-width: 560px;
    margin-right: auto;
}

.hero-title .smart {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 300;
    color: #fff;
    font-size: 60px;
}

.hero-subtitle {
    font-size: 18px;
    color: #fff;
    margin-bottom: 50px;
    max-width: 560px;
    line-height: 1.6;
    padding-right: 40px;
    margin-left: 65px;
    font-style: normal;
    font-weight: lighter;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border: 1px solid rgba(233, 224, 215, 0.8);
    color: var(--color-light);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin-left: 65px;
}

.hero-cta:hover {
    background: rgba(233, 224, 215, 0.9);
    color: var(--color-dark);
    border-color: rgba(233, 224, 215, 0.9);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 60px 0 50px 0;
}

.value-item {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-light);
    letter-spacing: 0.03em;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.value-item:hover {
    opacity: 1;
    color: #fff;
}

/* Contact Section */
.contact-section {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 75px 60px;
    border-top: 1px solid rgba(61, 61, 57, 0.12);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-header {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0;
    margin-bottom: 70px;
}

.contact-section-title {
    font-family: 'sl-primary-2026', Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    color: var(--color-dark);
    text-align: left;
    letter-spacing: -0.01em;
    line-height: 26px;
}

.contact-section-title .italic-part {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-weight: 300;
}

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

.contact-card {
    position: relative;
    background: var(--color-light);
    padding: 46px 42px 50px;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, color 0.4s ease, border-radius 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(61, 61, 57, 0.12);
    border-radius: 5rem;
}

.contact-card.is-active {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(61, 61, 57, 0.12);
    border-radius: 3rem;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-dark);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    z-index: 0;
}

.contact-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/motif.svg');
    background-repeat: repeat;
    background-size: 18px 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: inherit;
    z-index: 1;
}

.contact-card:hover::before,
.contact-card:hover::after {
    opacity: 1;
}

.contact-card.is-active::before,
.contact-card.is-active::after {
    opacity: 1;
}

.contact-card:hover::after {
    opacity: 0.45;
}

.contact-card.is-active::after {
    opacity: 0.45;
}

.contact-card > * {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.contact-card:hover .contact-card-name,
.contact-card:hover .contact-card-role,
.contact-card:hover .contact-card-link {
    color: #fff;
}

.contact-card.is-active .contact-card-name,
.contact-card.is-active .contact-card-role,
.contact-card.is-active .contact-card-link {
    color: #fff;
}

.contact-card-name {
    font-size: 23px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.contact-card-role {
    font-size: 12px;
    font-weight: 500;
    color: rgba(61, 61, 57, 0.7);
    margin-bottom: 26px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-card-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-card-link {
    font-size: 14px;
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.contact-card-link:hover {
    color: var(--color-primary);
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 80px 60px 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-left .logo img {
    width: 180px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(93%) sepia(8%) saturate(371%) hue-rotate(347deg) brightness(96%) contrast(91%);
    margin-bottom: 20px;
}

.footer-left .logo {
    width: 180px;
    max-width: 100%;
}

.footer-tagline {
    font-family: 'sl-primary-2026', Georgia, serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    color: var(--color-light);
    opacity: 0.9;
    max-width: 400px;
    line-height: 1.5;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact h3 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contact p {
    font-size: 15px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.footer-email {
    color: var(--color-light);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-email:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(233, 224, 215, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-legal-links a {
    font-size: 12px;
    color: var(--color-light);
    text-decoration: none;
    opacity: 0.6;
    letter-spacing: 0.08em;
    transition: opacity 0.3s ease;
}

.footer-legal-links a:hover {
    opacity: 1;
}

.footer-legal-links span {
    opacity: 0.3;
    font-size: 11px;
}

.pattern-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    pointer-events: none;
    opacity: 0.02;
    z-index: 3;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(233, 224, 215, 0.5) 0px,
        rgba(233, 224, 215, 0.5) 2px,
        transparent 2px,
        transparent 12px
    );
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title,
.hero-subtitle,
.values-grid {
    animation: fadeInUp 1s ease both;
}

.hero-subtitle {
    animation-delay: 0.2s;
}

.values-grid {
    animation-delay: 0.4s;
}

/* About section */
.about-section {
    background: #fff;
    padding: 90px 60px 50px;
    border-top: 1px solid rgba(61, 61, 57, 0.08);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-header {
    margin-bottom: 60px;
}

.about-label {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 500;
}

.about-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-intro {
    font-family: 'sl-primary-2026', Georgia, serif;
    font-size: 22px;
    line-height: 1.55;
    color: var(--color-dark);
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

.about-sub {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-dark);
    opacity: 0.75;
    margin-bottom: 20px;
}

.about-quote-text {
    font-family: 'sl-primary-2026', Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--color-dark);
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-top: 36px;
    display: block;
}

@media (max-width: 968px) {
    .about-body {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 30px;
    }

    .about-intro {
        font-size: 19px;
    }

    .about-quote-text {
        font-size: 22px;
    }
}

/* Survey banner */
.survey-section {
    background-color: var(--color-light);
    position: relative;
    padding: 70px 60px;
    border-top: 1px solid rgba(61, 61, 57, 0.08);
    border-bottom: 1px solid rgba(61, 61, 57, 0.08);
    overflow: hidden;
}

.survey-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url('images/motif.svg');
    background-repeat: repeat;
    background-size: 18px 30px;
    opacity: 0.25;
    filter: brightness(0);
    mask-image: linear-gradient(to right, transparent 0%, black 70%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 70%);
    z-index: 0;
}

.survey-container {
    position: relative;
    z-index: 2;
}

.survey-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 80px;
}

.survey-title {
    font-family: 'sl-primary-2026', Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    color: var(--color-dark);
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 12px;
}

.survey-desc {
    font-size: 15px;
    color: var(--color-dark);
    opacity: 0.65;
    letter-spacing: 0.02em;
}

.survey-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 14px 30px;
    border: 1px solid var(--color-dark);
    color: var(--color-dark);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.survey-cta:hover {
    background: var(--color-dark);
    color: var(--color-light);
}

/* Legal pages */
.legal-page {
    padding-top: 120px;
    min-height: 100vh;
    background-color: var(--color-bg);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 60px 100px;
}

.legal-content h1 {
    font-family: 'sl-primary-2026', Georgia, serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 50px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.legal-content h2 {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-top: 40px;
    margin-bottom: 14px;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-dark);
    opacity: 0.85;
    margin-bottom: 12px;
}

.legal-content a {
    color: var(--color-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-primary);
    text-decoration: none;
    margin-bottom: 50px;
    transition: gap 0.3s ease;
}

.legal-back:hover {
    gap: 12px;
}

@media (max-width: 968px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-right {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-menu a {
        color: var(--color-dark);
    }

    header {
        padding: 16px 24px;
        flex-direction: row;
        gap: 16px;
        align-items: center;
    }

    .logo {
        width: 120px;
    }

    .nav-toggle {
        display: block;
    }

    nav {
        position: fixed;
        inset: 0;
        pointer-events: none;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(233, 224, 215, 0.96);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
        z-index: 90;
        pointer-events: auto;
    }

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

    nav a {
        font-size: 22px;
        letter-spacing: 0.25em;
        color: var(--color-dark);
    }

    .nav-sep {
        margin: 0 6px;
    }

    .nav-sep-block {
        margin: 4px 0 10px;
        display: none;
    }

    .lang-row {
        display: flex;
        align-items: center;
        margin-bottom: 30px;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-content {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 25px;
        text-align: left;
    }

    .hero-title .smart {
        font-size: 35px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin: 40px 0 40px 0;
    }

    .value-item {
        font-size: 14px;
    }

    .contact-section {
        padding: 60px 30px;
    }

    .contact-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .contact-section-title {
        font-size: 28px;
    }

    .contact-card {
        padding: 34px 26px 38px;
        border-right: none;
    }

    footer {
        padding: 60px 30px 30px;
    }

    .pattern-overlay {
        width: 60%;
        opacity: 0.01;
    }

    .footer-container {
        text-align: center;
    }

    .footer-left {
        text-align: center;
    }

    .footer-left .logo {
        margin: 0 auto 20px;
        display: block;
    }

    .footer-tagline {
        margin: 0 auto;
    }

    .footer-right {
        align-items: center;
    }

    .contact-card:hover {
        border-radius: 3rem;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-legal-links span {
        display: none;
    }

    .survey-section {
        padding: 50px 30px;
    }

    .survey-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .survey-title {
        font-size: 26px;
    }

    .legal-content {
        padding: 40px 24px 80px;
    }

    .legal-content h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 18px;
    }

    .logo {
        width: 100px;
    }

    nav {
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero {
        padding-top: 160px;
    }

    .hero-content {
        padding: 0 20px;
    }

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

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

    .contact-section {
        padding: 50px 20px;
    }

    .contact-card {
        padding: 28px 20px 34px;
    }

    footer {
        padding: 50px 20px 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}