@font-face { font-family: gilroy-regular; src: url('../cp/fonts/gilroy-regular-webfont.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: gilroy-semibold; src: url('../cp/fonts/gilroy-semibold-webfont.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: gilroy-bold; src: url('../cp/fonts/gilroy-bold-webfont.woff2') format('woff2'); font-display: swap; }

:root {
    --wine: #8b001e;
    --wine-bright: #b9052b;
    --ink: #181316;
    --muted: #665e62;
    --paper: #fbf8f5;
    --cream: #f3ece6;
    --line: rgba(55, 31, 40, 0.14);
    --white: #fff;
    --shadow: 0 24px 70px rgba(55, 20, 32, 0.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: gilroy-regular, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #2d6cdf;
    outline-offset: 3px;
}

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

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    color: var(--white);
    background: var(--wine);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 248, 245, 0.94);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
}

.brand img,
.site-footer img {
    display: block;
    height: auto;
}

.main-nav,
.header-actions,
.hero-actions,
.final-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.main-nav {
    margin-left: auto;
    gap: 28px;
}

.main-nav a,
.site-footer a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 650;
}

.main-nav a:hover,
.site-footer a:hover {
    color: var(--wine-bright);
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 760;
    line-height: 1;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: var(--wine-bright);
    box-shadow: 0 12px 28px rgba(185, 5, 43, 0.22);
}

.button-primary:hover {
    background: var(--wine);
}

.button-outline {
    color: var(--wine);
    border-color: rgba(139, 0, 30, 0.34);
    background: rgba(255, 255, 255, 0.65);
}

.button-outline:hover {
    border-color: var(--wine);
    background: var(--white);
}

.button-quiet {
    min-height: 42px;
    padding-inline: 12px;
}

.button-small {
    min-height: 42px;
    padding-inline: 18px;
}

.language-switch {
    padding: 7px 9px;
    color: var(--wine);
    border: 1px solid rgba(139, 0, 30, 0.22);
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 780;
}

.hero {
    position: relative;
    width: min(1580px, 100%);
    min-height: 650px;
    margin-inline: auto;
    overflow: hidden;
    background: #f6f1ed;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #fbf8f5 0%, rgba(251, 248, 245, 0.97) 40%, rgba(251, 248, 245, 0.15) 70%);
}

.hero-image {
    position: absolute;
    inset: 0 0 0 56%;
    background-image: var(--hero-image);
    background-position: center 48%;
    background-size: cover;
    filter: saturate(0.7) contrast(1.03);
}

.hero-grid {
    position: relative;
    z-index: 1;
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    align-items: center;
    gap: 70px;
    padding-block: 72px;
}

.hero-copy {
    max-width: 690px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--wine-bright);
    font-size: 0.78rem;
    font-weight: 820;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: gilroy-semibold, Arial, sans-serif;
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.04;
}

h1 {
    max-width: 650px;
    margin-bottom: 26px;
    font-size: clamp(3.25rem, 5.7vw, 5.65rem);
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2.25rem, 4.5vw, 4.25rem);
}

h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    line-height: 1.25;
}

.hero-lead {
    max-width: 630px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 650;
}

.trust-list li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--wine-bright);
}

.hero-card {
    align-self: end;
    max-width: 380px;
    margin: 0 0 42px auto;
    padding: 28px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 24px;
    background: rgba(30, 19, 23, 0.86);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.hero-card-label {
    display: block;
    margin-bottom: 12px;
    color: #efb7c3;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-card strong {
    display: block;
    margin-bottom: 20px;
    font-family: gilroy-semibold, Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.25;
}

.hero-card a,
.text-link {
    color: inherit;
    text-decoration: none;
    font-weight: 760;
}

.section {
    padding-block: 118px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 56px;
}

.section-heading > p:last-child {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.08rem;
}

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

.feature-card {
    min-height: 280px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 14px 40px rgba(55, 20, 32, 0.05);
}

.feature-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    gap: 7px;
    margin-top: 12px;
    color: var(--wine);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 780;
}

.feature-number {
    display: block;
    margin-bottom: 72px;
    color: var(--wine-bright);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.institution-section {
    padding-block: 110px;
    color: var(--white);
    background: var(--ink);
}

.institution-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 90px;
    align-items: center;
}

.institution-grid > div:first-child > p:not(.eyebrow) {
    max-width: 650px;
    color: #cfc5c8;
    font-size: 1.08rem;
}

.eyebrow-light {
    color: #ef9caf;
}

.text-link {
    display: inline-block;
    margin-top: 16px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.audience-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.audience-list span {
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    color: #eee7e9;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 720;
}

.audience-list span:nth-child(3) {
    color: var(--white);
    border-color: rgba(185, 5, 43, 0.8);
    background: var(--wine-bright);
}

.final-cta {
    background: var(--cream);
}

@media (min-width: 1581px) {
    .hero {
        margin-top: 24px;
        border: 1px solid var(--line);
        border-radius: 28px;
        box-shadow: 0 18px 55px rgba(55, 20, 32, 0.07);
    }
}

.final-cta-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
}

.final-cta h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.final-actions {
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    min-width: 230px;
}

.site-footer {
    padding-block: 34px;
    border-top: 1px solid var(--line);
    background: var(--paper);
}

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

.footer-inner > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-inner span {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-brand {
    color: var(--wine);
    text-decoration: none;
    font-weight: 850;
}

.footer-brand img {
    display: block;
    width: 150px;
    height: auto;
}

.footer-inner nav {
    display: flex;
    gap: 22px;
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .hero,
    .hero-grid {
        min-height: 760px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 26px;
    }

    .hero-image {
        inset: 38% 0 0 28%;
        opacity: 0.5;
    }

    .hero::after {
        background: linear-gradient(180deg, #fbf8f5 0%, rgba(251, 248, 245, 0.96) 58%, rgba(251, 248, 245, 0.34) 100%);
    }

    .hero-card {
        display: none;
    }

    .feature-grid,
    .institution-grid {
        grid-template-columns: 1fr;
    }

    .institution-grid {
        gap: 50px;
    }

    .final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 28px, 1160px);
    }

    .site-header {
        position: static;
    }

    .header-inner {
        min-height: 70px;
        gap: 10px;
    }

    .brand img {
        width: 142px;
    }

    .button-quiet {
        display: none;
    }

    .button-small {
        min-height: 39px;
        padding-inline: 14px;
        font-size: 0.84rem;
    }

    .hero,
    .hero-grid {
        min-height: 720px;
    }

    .hero-grid {
        padding-block: 66px 160px;
    }

    h1 {
        font-size: clamp(3rem, 15vw, 4.6rem);
    }

    .hero-actions,
    .final-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .trust-list {
        display: grid;
        gap: 8px;
    }

    .section,
    .institution-section {
        padding-block: 78px;
    }

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

    .feature-card {
        min-height: auto;
    }

    .feature-number {
        margin-bottom: 40px;
    }

    .audience-list {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .footer-inner > div,
    .footer-inner nav {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }

    * {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
