:root {
    --page-bg: #cac0d3;
    --text: #121018;
    --purple: #5a2f84;
    --purple-dark: #4f267a;
    --card-bg: #eaebeb;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--page-bg);
    color: var(--text);
}

.container {
    width: min(1020px, 92vw);
    margin: 0 auto;
}

.site-header {
    border-top: 2px solid #1f1542;
    background: var(--page-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    min-height: 90px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 54px;
    width: auto;
    max-width: min(52vw, 360px);
    display: block;
}

.main-nav {
    display: flex;
    gap: 2.8rem;
    margin-left: 2.2rem;
}

.main-nav a {
    text-decoration: none;
    color: #14121a;
    font-size: 0.92rem;
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--purple);
}

.lang-switch {
    margin-left: auto;
    position: relative;
}

.lang-current {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    background: var(--page-bg);
    cursor: default;
    display: grid;
    place-items: center;
    line-height: 1;
}

.lang-current-icon,
.lang-option-icon {
    width: 22px;
    border-radius: 2px;
    background-color: var(--page-bg);
    box-shadow: none;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.35rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    background: var(--page-bg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    z-index: 20;
}

.lang-switch:hover .lang-dropdown,
.lang-switch:focus-within .lang-dropdown {
    display: flex;
}

.lang-option {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: var(--page-bg);
    cursor: pointer;
    display: grid;
    place-items: center;
    line-height: 1;
}

.lang-option.is-active {
    display: none;
}

.hero {
    padding: 4rem 0 3.6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.8rem;
    align-items: center;
}

.hero-text h1 {
    margin: 0 0 0.8rem;
    color: var(--purple);
    font-size: clamp(2.25rem, 4vw, 2.95rem);
    line-height: 1.08;
}

.hero-text p {
    margin: 0 0 1rem;
    max-width: 56ch;
    font-size: 1.01rem;
    line-height: 1.56;
}

.btn-primary {
    display: inline-block;
    text-decoration: none;
    background: var(--purple);
    color: #fff;
    padding: 0.78rem 1.45rem;
    font-weight: 500;
    font-size: 0.97rem;
}

.btn-primary:hover {
    background: var(--purple-dark);
}

.hero-media img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.section {
    padding: 5.4rem 0;
}

.center-title {
    text-align: center;
    margin: 0 0 2.35rem;
    color: var(--purple);
    font-size: 2.88rem;
    font-weight: 700;
}

.section-services {
    padding-top: 5.8rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.4rem 2rem;
}

.service-card {
    background: var(--card-bg);
    text-align: center;
    padding: 3.35rem 1.3rem 1.3rem;
    position: relative;
    min-height: 250px;
}

.icon-badge {
    width: 74px;
    height: 74px;
    background: var(--purple);
    color: #ddd3ea;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
}

.service-card h3 {
    margin: 0 0 0.85rem;
    color: var(--purple);
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    line-height: 1.28;
    font-weight: 500;
}

.service-card p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.52;
}

.section-values {
    padding-top: 5.4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
    text-align: center;
}

.value-item {
    padding: 0 1rem;
}

.value-icon {
    color: var(--purple);
    font-size: 2.45rem;
    display: block;
    margin-bottom: 0.55rem;
}

.value-item h3 {
    margin: 0 0 0.7rem;
    color: var(--purple);
    font-size: 1.8rem;
    letter-spacing: 0.07em;
    line-height: 1.35;
    font-weight: 500;
}

.value-item p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.52;
}

.section-about {
    padding-top: 5.2rem;
    padding-bottom: 5.2rem;
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.8rem;
    align-items: start;
    max-width: 980px;
    margin: 0 auto;
}

.about-columns p {
    margin: 0;
    font-size: 0.99rem;
    line-height: 1.5;
}

.section-trusted {
    padding-top: 5.2rem;
    padding-bottom: 5.8rem;
}

.trusted-title {
    text-align: center;
    color: var(--purple);
    margin: 0 0 2rem;
    font-size: 2.1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.trusted-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 0.8rem 0;
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 3.2rem;
    animation: trusted-marquee 20s linear infinite;
}

.marquee-item {
    white-space: nowrap;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
}

.marquee-item::before {
    content: "";
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.45rem;
    vertical-align: middle;
    background: currentColor;
}

.c1 { color: #16a4eb; }
.c2 { color: #7e51df; }
.c3 { color: #e2a000; }
.c4 { color: #ea3d22; }
.c5 { color: #dc4fad; }

.section-cta-full {
    background: var(--purple);
    padding: 5.2rem 0;
}

.cta-inner {
    text-align: center;
    color: #d9cde9;
}

.cta-inner h2 {
    margin: 0 0 1.1rem;
    font-size: clamp(2.3rem, 3.6vw, 3.8rem);
    line-height: 1.2;
}

.cta-inner p {
    margin: 0 0 2rem;
    font-size: 1.8rem;
}

.cta-link {
    color: #d9cde9;
    text-decoration: none;
    font-size: 1.75rem;
}

.section-contact-split {
    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    min-height: 420px;
    align-items: stretch;
}

.contact-left {
    background: var(--purple);
    color: #d8cce8;
    display: grid;
    align-items: center;
}

.contact-content {
    width: min(560px, 86%);
    margin: 0 auto;
    padding: 3rem 0;
}

.contact-content h2 {
    margin: 0 0 1.1rem;
    font-size: 2.8rem;
    line-height: 1.2;
}

.contact-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-content li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 1.65rem;
    line-height: 1.45;
}

.contact-map {
    position: relative;
    min-height: 420px;
    height: 100%;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 420px;
    display: block;
}

.map-consent-placeholder {
    min-height: 420px;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #e3dde9;
}

.map-consent-placeholder p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.5;
}

.map-consent-btn {
    justify-self: center;
    border: 0;
    border-radius: 8px;
    background: var(--purple);
    color: #fff;
    padding: 0.7rem 1rem;
    cursor: pointer;
    font: inherit;
}

.is-hidden {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1200;
}

.cookie-banner-content {
    max-width: 1080px;
    margin: 0 auto;
    background: #efe9f5;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.cookie-banner-content h3 {
    margin: 0 0 0.45rem;
    color: var(--purple);
}

.cookie-banner-content p {
    margin: 0;
    line-height: 1.5;
}

.cookie-banner-actions,
.cookie-modal-actions {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.cookie-btn {
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: #f6f2fa;
    color: var(--text);
    border-radius: 8px;
    padding: 0.55rem 0.9rem;
    cursor: pointer;
    font: inherit;
}

.cookie-btn-primary {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    display: grid;
    place-items: center;
    z-index: 1300;
    padding: 1rem;
}

.cookie-modal-card {
    width: min(680px, 100%);
    background: #efe9f5;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 1rem;
}

.cookie-modal-card h3 {
    margin: 0 0 0.4rem;
    color: var(--purple);
}

.cookie-modal-card p {
    margin: 0 0 0.8rem;
}

.cookie-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-row small {
    display: block;
    margin-top: 0.15rem;
    line-height: 1.45;
}

.cookie-settings-button {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 999px;
    background: #efe9f5;
    color: var(--text);
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    font: inherit;
}

.legal-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-link:hover {
    color: #fff;
}

.page-main {
    padding: 4.25rem 0 6rem;
}

.page-hero {
    margin-bottom: 3rem;
}

.page-eyebrow {
    margin: 0 0 0.85rem;
    color: var(--purple);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.page-title {
    margin: 0 0 1rem;
    color: var(--purple);
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.08;
}

.page-subtitle {
    max-width: 72ch;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.page-section {
    margin-bottom: 2rem;
    padding: 2rem 2.1rem;
    background: rgba(255, 255, 255, 0.26);
    border: 1px solid rgba(18, 16, 24, 0.08);
}

.page-section h2 {
    margin: 0 0 0.9rem;
    color: var(--purple);
    font-size: 1.8rem;
}

.page-list {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.7;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
}

.page-card {
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.34);
    border: 1px solid rgba(18, 16, 24, 0.08);
}

.page-card h3 {
    margin: 0 0 0.7rem;
    color: var(--purple);
}

.page-card p,
.page-section p,
.page-list li {
    font-size: 1rem;
    line-height: 1.7;
}

.contact-page-main {
    padding-top: 4.75rem;
}

.contact-page-hero {
    max-width: 760px;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 1.8rem;
    align-items: start;
    margin-bottom: 1.8rem;
}

.contact-info-card,
.contact-form-card,
.contact-map-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(18, 16, 24, 0.09);
    box-shadow: 0 18px 48px rgba(44, 24, 68, 0.12);
}

.contact-info-card,
.contact-form-card {
    padding: 2rem;
}

.contact-info-card h2,
.contact-form-card h2,
.contact-info-note h3 {
    margin: 0 0 1rem;
    color: var(--purple);
}

.contact-info-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.95rem;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-info-list i {
    color: var(--purple);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.contact-info-note {
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(18, 16, 24, 0.12);
}

.contact-info-note p {
    margin: 0;
    line-height: 1.7;
}

.contact-form {
    display: grid;
    gap: 1.1rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-field {
    display: grid;
    gap: 0.45rem;
}

.contact-field label {
    color: var(--purple);
    font-size: 0.94rem;
    font-weight: 600;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(90, 47, 132, 0.2);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    padding: 0.9rem 1rem;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(90, 47, 132, 0.12);
    background: #fff;
}

.contact-honeypot {
    display: none;
}

.contact-form-note {
    margin: 0;
    color: rgba(18, 16, 24, 0.78);
    font-size: 0.95rem;
    line-height: 1.65;
}

.contact-form-note .legal-link:hover {
    color: var(--purple);
}

.contact-form-status {
    min-height: 1.6rem;
    font-size: 0.96rem;
    font-weight: 500;
}

.contact-form-status.is-success {
    color: #167347;
}

.contact-form-status.is-error {
    color: #a12622;
}

.contact-form-submit {
    justify-self: start;
    border: 0;
    cursor: pointer;
    padding-inline: 1.8rem;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(90, 47, 132, 0.2);
}

.contact-form-submit:disabled {
    opacity: 0.72;
    cursor: wait;
}

.contact-map-card {
    overflow: hidden;
    min-height: 420px;
    margin-top: 1rem;
}

@keyframes trusted-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 0.7rem 0;
    }

    .main-nav {
        width: 100%;
        margin-left: 0;
        gap: 1.1rem;
        flex-wrap: wrap;
    }

    .hero,
    .about-columns,
    .contact-page-grid,
    .contact-form-grid,
    .page-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .center-title {
        font-size: 2rem;
    }

    .section-contact-split {
        grid-template-columns: 1fr;
    }

    .marquee-track {
        gap: 2rem;
        animation-duration: 16s;
    }

    .marquee-item {
        font-size: 1.35rem;
    }

    .contact-info-card,
    .contact-form-card,
    .page-section {
        padding: 1.4rem;
    }

    .contact-form-submit {
        width: 100%;
        text-align: center;
    }

    .cookie-settings-button {
        bottom: 0.75rem;
        right: 0.75rem;
    }
}
