:root {
    --valereco-dark: #211E27;
    --valereco-text: #4A4A4A;
    --valereco-yellow: #F9DD6D;
    --valereco-green: #7DBA00;
    --valereco-teal: #007073;
    --valereco-white: #FFFFFF;
    --valereco-border: rgba(33, 30, 39, 0.12);
    --valereco-shadow: 0 18px 40px rgba(33, 30, 39, 0.12);
    --font-sans: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --navbar-height: 144px;
}

* {
    box-sizing: border-box;
}

html {
    color: var(--valereco-text);
    font-family: var(--font-sans);
    line-height: 1.5;
    text-rendering: geometricPrecision;
}

body {
    margin: 0;
    background: var(--valereco-white);
    color: var(--valereco-text);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

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

h1 {
    color: var(--valereco-dark);
    font-size: 3.5625rem;
    font-weight: 500;
    line-height: 1.05;
    margin: 0 0 1.5rem;
}

h2 {
    color: var(--valereco-dark);
    font-size: 2.875rem;
    font-weight: 500;
    line-height: 1.08;
    margin: 0 0 1.25rem;
}

h3 {
    color: var(--valereco-dark);
    font-size: 2.3125rem;
    font-weight: 500;
    line-height: 1.12;
    margin: 0 0 1rem;
}

h4 {
    color: var(--valereco-dark);
    font-size: 1.875rem;
    font-weight: 500;
    line-height: 1.18;
    margin: 0 0 0.875rem;
}

h5 {
    color: var(--valereco-dark);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 0.75rem;
}

h6 {
    color: var(--valereco-dark);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 0.625rem;
}

p {
    margin: 0 0 1rem;
}

.app-logo {
    display: block;
    height: auto;
    width: 15rem;
}

.app-shell {
    background: #f7f8f5;
    min-height: 100vh;
}

.auth-shell {
    align-items: center;
    background: #f7f8f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 6rem 1rem 2rem;
}

.auth-logo-wrap {
    margin-bottom: 1.5rem;
}

.auth-logo-wrap .app-logo {
    width: 14rem;
}

.auth-card {
    background: var(--valereco-white);
    border: 1px solid var(--valereco-border);
    border-radius: 0.5rem;
    box-shadow: var(--valereco-shadow);
    max-width: 28rem;
    overflow: hidden;
    padding: 1.5rem;
    width: 100%;
}

.auth-language-switcher {
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 50;
}

.site-navbar {
    align-items: stretch;
    background: var(--valereco-green);
    color: var(--valereco-white);
    display: flex;
    min-height: var(--navbar-height);
    position: relative;
    width: 100%;
    z-index: 20;
}

.site-navbar__brand {
    align-items: center;
    background: var(--valereco-teal);
    display: flex;
    flex: 0 0 21.625rem;
    justify-content: center;
    padding: 1.5rem 3.25rem;
}

.site-navbar__brand img {
    height: auto;
    width: 14.5rem;
}

.site-navbar__toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.site-navbar__menu-button {
    align-items: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    color: var(--valereco-white);
    cursor: pointer;
    display: none;
    height: 3rem;
    justify-content: center;
    margin: auto 1.25rem auto auto;
    padding: 0;
    position: relative;
    width: 3rem;
}

.site-navbar__menu-button span,
.site-navbar__menu-button::before,
.site-navbar__menu-button::after {
    background: currentColor;
    border-radius: 999px;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    width: 1.25rem;
}

.site-navbar__menu-button::before {
    transform: translateY(-0.45rem);
}

.site-navbar__menu-button::after {
    transform: translateY(0.45rem);
}

.site-navbar__panel {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 2rem;
    justify-content: start;
    min-width: 0;
    padding: 0 3.625rem 0 4.5rem;
}

.site-navbar__links {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: center;
    min-width: 0;
}

.site-navbar__link {
    color: var(--valereco-white);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1;
    opacity: 0.96;
    transition: opacity 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

.site-navbar__link:hover,
.site-navbar__link:focus {
    color: var(--valereco-white);
    opacity: 1;
    outline: none;
    transform: translateY(-1px);
}

.site-navbar__link.is-active {
    opacity: 1;
}

.site-navbar__actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 1rem;
}

.site-navbar__cta {
    align-items: center;
    border: 2px solid var(--valereco-white);
    border-radius: 999px;
    color: var(--valereco-white);
    display: inline-flex;
    font-size: 1rem;
    font-weight: 600;
    justify-content: center;
    line-height: 1;
    min-height: 2.875rem;
    min-width: 9rem;
    padding: 0.75rem 1.75rem;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

.site-navbar__cta:hover,
.site-navbar__cta:focus {
    background: var(--valereco-white);
    color: var(--valereco-green);
    outline: none;
    transform: translateY(-1px);
}

.language-switcher {
    align-items: center;
    display: inline-flex;
    gap: 0.25rem;
}

.language-switcher__button {
    background: var(--valereco-white);
    border: 1px solid var(--valereco-border);
    border-radius: 999px;
    color: var(--valereco-text);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    padding: 0.5rem 0.875rem;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.language-switcher__button:hover,
.language-switcher__button:focus {
    border-color: var(--valereco-green);
    color: var(--valereco-dark);
    outline: none;
}

.language-switcher__button.is-active {
    background: var(--valereco-dark);
    border-color: var(--valereco-dark);
    color: var(--valereco-white);
}

.home-page {
    background: #eceff3;
    overflow: hidden;
}

.home-shell {
    margin: 0 auto;
    max-width: 68.75rem;
    padding: 0 1rem;
    width: 100%;
}

.home-eyebrow {
    color: #2d3036;
    font-size: 1.875rem;
    font-weight: 500;
    line-height: 1.05;
    margin: 0 0 0.85rem;
}

.home-eyebrow--green {
    color: var(--valereco-green);
}

.home-hero {
    background: var(--valereco-teal);
    color: var(--valereco-white);
    padding: 3.75rem 0 4.5rem;
    position: relative;
}
/* 
.home-hero::after {
    background: radial-gradient(circle at 15% 12%, rgba(255, 255, 255, 0.16) 0%, transparent 42%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
} */

.home-hero__inner {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 4vw, 4.5rem);
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 28rem);
    position: relative;
    z-index: 1;
}

.home-hero__content {
    animation: home-rise-in 540ms ease both;
    max-width: 34rem;
}

.home-hero .home-eyebrow {
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.875rem;
    margin-bottom: 0.65rem;
}

.home-hero h1 {
    color: var(--valereco-white);
    font-size: 3.563rem;
    font-weight: 700;
    line-height: 0.98;
    margin: 0 0 1.2rem;
    text-wrap: balance;
}

.home-hero__subtitle {
    color: var(--valereco-white);
    font-size: 1.5rem;
    line-height: 1.24;
    margin: 0 0 1rem;
    max-width: 30rem;
}

.home-hero__description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.42;
    margin: 0;
    max-width: 33rem;
}

.home-hero__media {
    animation: home-rise-in 680ms ease both;
    min-height: 25.25rem;
    position: relative;
}

.home-hero__image {
    border-radius: 2.15rem;
    box-shadow: 0 22px 45px rgba(7, 44, 46, 0.3);
    overflow: hidden;
    position: absolute;
}

.home-hero__image::before {
    background-position: center;
    background-size: cover;
    content: "";
    inset: 0;
    position: absolute;
    transform: scale(1.02);
}

.home-hero__image--primary {
    border-radius: 2.3rem;
    height: 17rem;
    right: 5.5rem;
    top: 0;
    width: 18.75rem;
}

.home-hero__image--primary::before {
    background-image: linear-gradient(180deg, rgba(6, 20, 22, 0.1) 0%, rgba(6, 20, 22, 0.46) 100%), url("/img/home/scenic-view-optimized.jpg");
}

.home-hero__image--secondary {
    bottom: 0;
    height: 14.25rem;
    right: 0;
    width: 18.75rem;
}

.home-hero__image--secondary::before {
    background-image: linear-gradient(180deg, rgba(24, 17, 7, 0.14) 0%, rgba(24, 17, 7, 0.42) 100%), url("/img/home/farmer-walks-through-cassava-optimized.jpg");
}

.home-aim {
    padding: 3.9rem 0 3.5rem;
}

.home-aim__panel {
    align-items: center;
    animation: home-rise-in 540ms 90ms ease both;
    background: linear-gradient(109deg, #d8e5bc 0%, #d2dfb8 48%, #cad9b2 100%);
    border-radius: 2.4rem;
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: clamp(1.5rem, 4vw, 2.45rem);
}

.home-aim__lead h2 {
    color: #2a6e73;
    font-size: 2.313rem;
    font-weight: 500;
    line-height: 1.06;
    margin: 0;
    text-wrap: balance;
}

.home-aim__description {
    color: #30343b;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.25;
    margin: 0;
}

.home-platform {
    padding: 0 0 3.4rem;
}

.home-platform h2 {
    color: var(--valereco-teal);
    font-size: 2.313rem;
    font-weight: 500;
    line-height: 1.06;
    margin: 0 0 0.75rem;
    max-width: 48rem;
}

.home-platform__intro {
    color: var(--valereco-text);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 1.75rem;
    max-width: 62rem;
}

.home-platform__grid {
    display: grid;
    gap: 1.45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-service-card {
    animation: home-rise-in 560ms ease both;
    background: var(--valereco-white);
    border-radius: 2rem;
    box-shadow: 0 16px 32px rgba(24, 27, 33, 0.13);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 17.15rem;
    padding: 1.45rem 1.45rem 1.25rem;
}

.home-service-card:nth-child(2) {
    animation-delay: 60ms;
}

.home-service-card:nth-child(3) {
    animation-delay: 110ms;
}

.home-service-card:nth-child(4) {
    animation-delay: 160ms;
}

.home-service-card__icon {
    display: block;
    height: 3.25rem;
    width: 3.25rem;
}

.home-service-card h3 {
    color: var(--valereco-teal);
    font-size: 1.875rem;
    font-weight: 500;
    line-height: 1.06;
    margin: 0;
}

.home-service-card p {
    color: var(--valereco-text);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.28;
    margin: 0 0 0.25rem;
}

.home-service-card__cta {
    align-items: center;
    align-self: flex-end;
    background: var(--valereco-green);
    border-radius: 0.6rem;
    color: var(--valereco-white);
    display: inline-flex;
    font-size: 1rem;
    font-weight: 500;
    justify-content: center;
    line-height: 1;
    margin-top: auto;
    min-height: 2.2rem;
    min-width: 5.2rem;
    padding: 0.5rem 0.8rem;
    transition: background 160ms ease, transform 160ms ease;
}

.home-service-card__cta--disabled {
    cursor: default;
    min-width: 6.6rem;
}

.home-service-card__cta:not(.home-service-card__cta--disabled):hover,
.home-service-card__cta:not(.home-service-card__cta--disabled):focus {
    background: #6ca400;
    color: var(--valereco-white);
    outline: none;
    transform: translateY(-1px);
}

.home-join .home-shell {
    max-width: none;
    padding: 0;
}

.home-join__banner {
    animation: home-rise-in 560ms 130ms ease both;
    background-image: linear-gradient(0deg, rgba(125, 186, 0, 0.82) 0%, rgba(125, 186, 0, 0.82) 100%), url("/img/home/scenic-view-optimized.jpg");
    background-position: center;
    background-size: cover;
    color: var(--valereco-white);
    padding: 3.6rem 1rem 4rem;
    text-align: center;
}

.home-join__banner h2 {
    color: var(--valereco-white);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.04;
    margin: 0 0 1.05rem;
    text-wrap: balance;
}

.home-join__banner p {
    color: rgba(255, 255, 255, 0.96);
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 auto 1.5rem;
    max-width: 62rem;
}

.home-join__cta {
    align-items: center;
    background: #2d7377;
    border-radius: 0.7rem;
    color: var(--valereco-white);
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 600;
    justify-content: center;
    line-height: 1;
    min-height: 2.25rem;
    min-width: 8.8rem;
    padding: 0.5rem 1.1rem;
    transition: background 160ms ease, transform 160ms ease;
}

.home-join__cta:hover,
.home-join__cta:focus {
    background: #245f63;
    color: var(--valereco-white);
    outline: none;
    transform: translateY(-1px);
}

@keyframes home-rise-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__content,
    .home-hero__media,
    .home-aim__panel,
    .home-service-card,
    .home-join__banner {
        animation: none;
    }
}

.page-hero {
    background: linear-gradient(90deg, #f0f7dd 0%, #f7faee 100%);
}

.page-hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    max-width: 60rem;
    min-height: 10.375rem;
    padding: 1.5rem 1rem;
}

.page-hero__breadcrumb {
    color: var(--valereco-text);
    font-size: 1rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.page-hero__breadcrumb ol {
    align-items: center;
    display: flex;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-hero__breadcrumb a {
    color: var(--valereco-teal);
    display: inline-flex;
    transition: color 160ms ease;
}

.page-hero__breadcrumb a:hover,
.page-hero__breadcrumb a:focus {
    color: var(--valereco-green);
    outline: none;
}

.page-hero__breadcrumb-separator {
    color: var(--valereco-text);
    font-size: 0.6875rem;
}

.page-hero h1 {
    color: var(--valereco-teal);
    font-size: 2.313rem;
    font-weight: 500;
    line-height: 1.05;
    margin: 0 0 0.55rem;
}

.page-hero p {
    color: #000000;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    max-width: 57rem;
}

.learning-page {
    background: var(--valereco-white);
    padding: 1.3125rem 1rem 4rem;
}

.learning-page__inner {
    margin: 0 auto;
    max-width: 68.75rem;
}

.learning-results {
    background: #f5f6f9;
    border-radius: 0.75rem;
    color: #000000;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    margin: 0 0 1.5rem;
    padding: 1rem;
}

.learning-grid {
    align-items: start;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.learning-card {
    background: var(--valereco-white);
    border: 1px solid rgba(0, 112, 115, 0.24);
    border-radius: 0.5rem;
    box-shadow: 0 8px 18px rgba(33, 30, 39, 0.04);
    display: flex;
    flex-direction: column;
    min-height: 29.75rem;
    padding: 0.75rem;
    width: 100%;
}

.learning-card__tags {
    align-content: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    min-height: 3rem;
}

.learning-card__tag {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.813rem;
    font-weight: 300;
    line-height: 1;
    min-height: 1.25rem;
    padding: 0.25rem 0.625rem;
    white-space: nowrap;
}

.learning-card__tag--audience {
    background: rgba(0, 112, 115, 0.18);
    color: var(--valereco-teal);
}

.learning-card__tag--topic {
    background: rgba(125, 186, 0, 0.18);
    color: var(--valereco-green);
}

.learning-card__media {
    align-items: center;
    background: linear-gradient(135deg, #f8f9fb 0%, #f0f2f4 100%);
    color: rgba(33, 30, 39, 0.04);
    display: flex;
    height: 13.125rem;
    justify-content: center;
    margin-bottom: 0.625rem;
    overflow: hidden;
    width: 100%;
}

.learning-card__media i {
    font-size: 8.25rem;
}

.learning-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.learning-card__body h2 {
    color: #000000;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.08;
    margin: 0 0 0.25rem;
}

.learning-card__body p {
    color: var(--valereco-text);
    font-size: 1rem;
    line-height: 1.1;
    margin: 0 0 0.375rem;
}

.learning-card__footer {
    align-items: flex-end;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: auto;
}

.learning-card__meta {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
}

.learning-card__type {
    align-items: center;
    background: #f5f7fb;
    border: 1px solid #dce3ec;
    border-radius: 0.75rem;
    color: var(--valereco-dark);
    display: inline-flex;
    font-size: 0.813rem;
    font-weight: 300;
    gap: 0.35rem;
    line-height: 1;
    padding: 0.35rem 0.625rem;
    width: max-content;
}

.learning-card__type i {
    align-items: center;
    background: #e2e8f0;
    color: #f5f7fb;
    display: inline-flex;
    font-size: 0.55rem;
    height: 1rem;
    justify-content: center;
    width: 1rem;
}

.learning-card__duration {
    color: var(--valereco-text);
    font-size: 0.813rem;
    font-weight: 300;
    line-height: 1.1;
    white-space: nowrap;
}

.learning-card__cta {
    align-items: center;
    background: var(--valereco-teal);
    border-radius: 0.5rem;
    color: var(--valereco-white);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1rem;
    font-weight: 500;
    justify-content: center;
    line-height: 1;
    min-height: 2.25rem;
    min-width: 6.75rem;
    padding: 0.5rem 0.85rem;
    transition: background 160ms ease, transform 160ms ease;
}

.learning-card__cta:hover,
.learning-card__cta:focus {
    background: #005f61;
    color: var(--valereco-white);
    outline: none;
    transform: translateY(-1px);
}

.policy-page {
    background: #f3f4f6;
    padding: 1.5rem 1rem 4rem;
}

.policy-page__inner {
    margin: 0 auto;
    max-width: 68.75rem;
}

.policy-results {
    background: #f5f6f9;
    border-radius: 0.75rem;
    color: #000000;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    margin: 0 0 1.5rem;
    padding: 1rem;
}

.policy-list {
    display: grid;
    gap: 1.5rem;
}

.policy-card {
    background: var(--valereco-white);
    border: 1px solid rgba(0, 112, 115, 0.24);
    border-radius: 0.75rem;
    padding: 0.75rem;
}

.policy-card__tag {
    align-items: center;
    background: rgba(0, 112, 115, 0.18);
    border-radius: 999px;
    color: var(--valereco-teal);
    display: inline-flex;
    font-size: 0.813rem;
    font-weight: 300;
    line-height: 1;
    min-height: 1.25rem;
    padding: 0.25rem 0.625rem;
}

.policy-card__row {
    align-items: start;
    column-gap: 0.75rem;
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    margin-top: 0.5rem;
}

.policy-card__media {
    align-items: center;
    background: linear-gradient(135deg, #f8f9fb 0%, #f0f2f4 100%);
    color: rgba(33, 30, 39, 0.06);
    display: flex;
    height: 7rem;
    justify-content: center;
    overflow: hidden;
    width: 7rem;
}

.policy-card__media i {
    font-size: 3.25rem;
}

.policy-card__body h2 {
    color: #000000;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.08;
    margin: 0 0 0.35rem;
}

.policy-card__body p {
    color: var(--valereco-text);
    font-size: 1rem;
    line-height: 1.15;
    margin: 0;
}

.living-page {
    background: var(--valereco-white);
    color: var(--valereco-dark);
    position: relative;
}

.living-shell {
    margin: 0 auto;
    max-width: 68.75rem;
    padding: 0 1rem;
    width: 100%;
}

.living-intro {
    padding: 1.6rem 0 3rem;
}

.living-intro__grid {
    align-items: center;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(15rem, 22rem) minmax(0, 1fr);
}

.living-country-picker {
    width: 100%;
}

.living-country-picker h2 {
    color: #2d7377;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 0.8rem;
    text-align: center;
}

.living-country-picker__list {
    display: grid;
    gap: 0.5rem;
}

.living-country-button {
    align-items: center;
    background: #edf5f3;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    color: #000000;
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    min-height: 4.1rem;
    padding: 0.45rem 0.75rem;
    text-align: left;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
    width: 100%;
}

.living-country-button:hover,
.living-country-button:focus {
    border-color: rgba(0, 112, 115, 0.34);
    outline: none;
    transform: translateY(-1px);
}

.living-country-button.is-active {
    background: #2d7377;
    box-shadow: 0 8px 20px rgba(33, 30, 39, 0.16);
    color: var(--valereco-white);
}

.living-country-button span:last-child {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.1;
    min-width: 0;
}

.living-flag {
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(33, 30, 39, 0.12);
    display: inline-flex;
    flex: 0 0 3rem;
    height: 3rem;
    overflow: hidden;
    position: relative;
    width: 3rem;
}

.living-flag--spain {
    background: linear-gradient(180deg, #c60b1e 0 25%, #ffc400 25% 75%, #c60b1e 75% 100%);
}

.living-flag--netherlands {
    background: linear-gradient(180deg, #c52b35 0 33.33%, #ffffff 33.33% 66.66%, #21468b 66.66% 100%);
}

.living-flag--greece {
    background: repeating-linear-gradient(180deg, #2f6caf 0 0.34rem, #ffffff 0.34rem 0.68rem);
}

.living-flag--greece::before {
    background: #2f6caf;
    content: "";
    height: 1.55rem;
    left: 0;
    position: absolute;
    top: 0;
    width: 1.55rem;
}

.living-flag--greece::after {
    background:
        linear-gradient(90deg, transparent 0 0.62rem, #ffffff 0.62rem 0.92rem, transparent 0.92rem 100%),
        linear-gradient(180deg, transparent 0 0.62rem, #ffffff 0.62rem 0.92rem, transparent 0.92rem 100%);
    content: "";
    height: 1.55rem;
    left: 0;
    position: absolute;
    top: 0;
    width: 1.55rem;
}

.living-flag--serbia {
    background: linear-gradient(180deg, #c6363c 0 33.33%, #21468b 33.33% 66.66%, #ffffff 66.66% 100%);
}

.living-flag--italy {
    background: linear-gradient(90deg, #2b9b4b 0 33.33%, #ffffff 33.33% 66.66%, #d73b38 66.66% 100%);
}

.living-flag--portugal {
    background: linear-gradient(90deg, #1d8d4a 0 42%, #e34825 42% 100%);
}

.living-map {
    margin: 0;
}

.living-map img {
    height: auto;
    margin-left: auto;
    max-height: 40rem;
    object-fit: contain;
    width: 100%;
}

.living-details {
    padding: 0 0 4rem;
}

.living-lab-panel {
    background: var(--valereco-white);
    border: 1px solid #d7e4ed;
    border-radius: 0.5rem;
    box-shadow: 0 20px 40px rgba(33, 30, 39, 0.05);
    overflow: hidden;
}

.living-season-tabs {
    border-bottom: 1px solid #d7e4ed;
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0.8rem;
}

.living-season-tab {
    align-items: center;
    background: #fbfbfc;
    border: 1px solid transparent;
    border-radius: 0.45rem;
    color: var(--valereco-text);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 3.85rem;
    padding: 0.55rem 1rem;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.living-season-tab:hover,
.living-season-tab:focus {
    border-color: rgba(125, 186, 0, 0.45);
    outline: none;
}

.living-season-tab.is-active {
    background: #8abd2d;
    color: var(--valereco-white);
}

.living-season-tab span {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.1;
}

.living-season-tab small {
    font-size: 0.813rem;
    font-weight: 300;
    line-height: 1.15;
    margin-top: 0.15rem;
}

.living-overview,
.living-section {
    padding: 3rem 1.5rem;
}

.living-overview {
    align-items: start;
    display: grid;
    gap: 2.3rem;
    grid-template-columns: minmax(0, 0.72fr) minmax(18rem, 1fr);
}

.living-overview h2,
.living-section h2 {
    color: var(--valereco-dark);
    font-size: 2.313rem;
    font-weight: 500;
    line-height: 1.08;
    margin: 0 0 1.2rem;
}

.living-overview h2 {
    color: #2d7377;
    font-size: 2.85rem;
    margin-bottom: 1.35rem;
}

.living-overview h3,
.living-copy-stack h3,
.living-audience h3,
.living-touchpoints-title {
    color: var(--valereco-green);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 0.45rem;
}

.living-overview p,
.living-section p {
    color: var(--valereco-dark);
    font-size: 1rem;
    line-height: 1.2;
    margin: 0;
}

.living-meta {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 1.55rem;
}

.living-meta dt {
    color: var(--valereco-dark);
    font-size: 1.875rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.living-meta dd {
    color: var(--valereco-dark);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.15;
    margin: 0;
}

.living-overview__media {
    margin: 0;
}

.living-overview__media img {
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.living-section {
    border-top: 1px solid #d7e4ed;
}

.living-audience__grid {
    align-items: start;
    display: grid;
    gap: 4rem;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.95fr);
}

.living-audience__numbers {
    display: grid;
    gap: 0.4rem;
}

.living-audience__total {
    align-items: start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.living-audience__total strong {
    color: var(--valereco-dark);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.2;
}

.living-audience__numbers dl {
    display: grid;
    gap: 0.25rem;
    margin: 0;
}

.living-audience__numbers dl div {
    align-items: baseline;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 2rem;
}

.living-audience__numbers dt,
.living-audience__numbers dd {
    color: #000000;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

.living-audience__numbers dd {
    text-align: right;
}

.living-copy-stack {
    display: grid;
    gap: 0.85rem;
}

.living-touchpoints-title {
    margin-top: 0.9rem;
}

.living-touchpoints {
    display: grid;
    gap: 0.6rem 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.8rem;
}

.living-touchpoints article {
    background: #fbfbfb;
    border-left: 3px solid rgba(0, 112, 115, 0.28);
    padding: 0.75rem;
}

.living-touchpoints h4 {
    color: var(--valereco-teal);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 0.35rem;
}

.living-materials {
    padding-bottom: 3.8rem;
}

.living-gallery {
    padding: 0 2.8rem 1.85rem;
    position: relative;
}

.living-gallery__track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.2rem 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.living-gallery__track::-webkit-scrollbar {
    display: none;
}

.living-gallery__item {
    aspect-ratio: 1.2 / 1;
    background: #eef2f5;
    border-radius: 0.35rem;
    flex: 0 0 calc((100% - 2rem) / 3);
    margin: 0;
    min-width: 12rem;
    overflow: hidden;
    scroll-snap-align: start;
}

.living-gallery__item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.living-gallery__nav {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cdd8e4;
    border-radius: 50%;
    color: #49606f;
    cursor: pointer;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    padding: 0;
    position: absolute;
    top: 38%;
    transition: background 160ms ease, color 160ms ease, opacity 160ms ease;
    width: 2rem;
    z-index: 2;
}

.living-gallery__nav:hover,
.living-gallery__nav:focus {
    background: var(--valereco-teal);
    color: var(--valereco-white);
    outline: none;
}

.living-gallery__nav:disabled {
    cursor: default;
    opacity: 0.45;
}

.living-gallery__nav:disabled:hover {
    background: #ffffff;
    color: #49606f;
}

.living-gallery__nav--prev {
    left: 0.35rem;
}

.living-gallery__nav--next {
    right: 0.35rem;
}

.living-gallery__dots {
    align-items: center;
    bottom: 0;
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
}

.living-gallery__dots span {
    background: #cbd5df;
    border-radius: 50%;
    display: block;
    height: 0.75rem;
    width: 0.75rem;
}

.living-gallery__dots span.is-active {
    background: #111827;
}

.living-back-to-top {
    align-items: center;
    background: #8abd2d;
    border-radius: 0.5rem;
    bottom: 1.75rem;
    box-shadow: 0 14px 26px rgba(33, 30, 39, 0.18);
    color: var(--valereco-white);
    display: inline-flex;
    font-size: 1.55rem;
    height: 4.25rem;
    justify-content: center;
    position: fixed;
    right: 2rem;
    transition: background 160ms ease, transform 160ms ease;
    width: 4.25rem;
    z-index: 18;
}

.living-back-to-top:hover,
.living-back-to-top:focus {
    background: #75a626;
    color: var(--valereco-white);
    outline: none;
    transform: translateY(-2px);
}

.valereco-app-page {
    min-height: 32rem;
}

.site-footer {
    background: var(--valereco-teal);
    color: var(--valereco-white);
    padding: 3.5rem 1rem 3rem;
}

.site-footer__inner {
    display: grid;
    gap: clamp(2rem, 7vw, 7rem);
    grid-template-columns: minmax(16rem, 1.15fr) minmax(10rem, 0.75fr) minmax(12rem, 0.85fr);
    margin: 0 auto;
    max-width: 68.75rem;
}

.site-footer__brand img {
    height: auto;
    margin-bottom: 1.25rem;
    width: 17rem;
}

.site-footer__brand p,
.site-footer__follow {
    margin: 0;
}

.site-footer__brand p {
    font-size: 0.875rem;
    line-height: 1.28;
    max-width: 20rem;
}

.site-footer__heading {
    color: var(--valereco-white);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
    margin: 0 0 1rem;
}

.site-footer__links {
    display: grid;
    gap: 0.75rem;
}

.site-footer__links a {
    color: var(--valereco-white);
    font-size: 1rem;
    line-height: 1.1;
    transition: color 160ms ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus {
    color: var(--valereco-yellow);
    outline: none;
}

.site-footer__funding {
    display: block;
    margin-top: 1.75rem;
}

.site-footer__funding-image {
    display: block;
    height: auto;
    margin-bottom: 0;
    max-width: 100%;
    width: 12rem !important;
}

.site-footer__follow {
    font-size: 1rem;
    line-height: 1.1;
    margin-top: 1rem;
}

.site-footer__social-links {
    align-items: center;
    display: flex;
    gap: 1.05rem;
    margin-top: 0.625rem;
}

.site-footer__social-links a {
    color: var(--valereco-white);
    display: inline-flex;
    font-size: 1.5rem;
    line-height: 1;
    transition: color 160ms ease, transform 160ms ease;
}

.site-footer__social-links a:hover,
.site-footer__social-links a:focus {
    color: var(--valereco-yellow);
    outline: none;
    transform: translateY(-1px);
}

@media (max-width: 1100px) {
    .home-hero__inner {
        gap: 2rem;
        grid-template-columns: minmax(0, 1fr) minmax(17rem, 23rem);
    }

    .home-hero__image--primary {
        height: 15.25rem;
        right: 4rem;
        width: 16.5rem;
    }

    .home-hero__image--secondary {
        height: 12.6rem;
        width: 16.5rem;
    }

    .site-navbar__brand {
        flex-basis: 18.5rem;
        padding-inline: 2rem;
    }

    .site-navbar__panel {
        padding-inline: 2rem;
    }

    .site-navbar__links {
        gap: 1.25rem;
    }
}

@media (max-width: 860px) {
    .home-eyebrow {
        font-size: 1.125rem;
    }

    .home-hero {
        padding: 2.3rem 0 3rem;
    }

    .home-hero__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-hero__content {
        max-width: none;
    }

    .home-hero__media {
        min-height: 19rem;
    }

    .home-hero__image--primary {
        height: 12.75rem;
        right: auto;
        width: 14rem;
    }

    .home-hero__image--secondary {
        height: 11rem;
        width: 14.8rem;
    }

    .home-aim {
        padding: 3rem 0;
    }

    .home-aim__panel {
        gap: 1.25rem;
        grid-template-columns: minmax(0, 1fr);
        padding: 1.5rem;
    }

    .home-platform {
        padding-bottom: 2.8rem;
    }

    .home-platform__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-service-card {
        min-height: 14rem;
    }

    .home-join__banner {
        padding: 2.9rem 1rem 3rem;
    }

    :root {
        --navbar-height: 6rem;
    }

    .site-navbar {
        min-height: var(--navbar-height);
    }

    .site-navbar__brand {
        flex: 1 1 auto;
        justify-content: flex-start;
        padding: 1.25rem;
    }

    .site-navbar__brand img {
        width: 12rem;
    }

    .site-navbar__menu-button {
        display: inline-flex;
    }

    .site-navbar__panel {
        align-items: stretch;
        background: var(--valereco-green);
        box-shadow: var(--valereco-shadow);
        display: none;
        flex-direction: column;
        gap: 1.5rem;
        left: 0;
        padding: 1.25rem;
        position: absolute;
        right: 0;
        top: 100%;
    }

    .site-navbar__toggle:checked ~ .site-navbar__panel {
        display: flex;
    }

    .site-navbar__links {
        align-items: stretch;
        flex-direction: column;
        gap: 0.5rem;
    }

    .site-navbar__link {
        border-radius: 0.5rem;
        padding: 0.875rem 0;
    }

    .site-navbar__actions {
        align-items: stretch;
    }

    .site-navbar__cta {
        width: 100%;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .home-hero__description {
        max-width: none;
    }

    .living-intro__grid {
        gap: 2rem;
        grid-template-columns: minmax(0, 1fr);
    }

    .living-country-picker {
        margin: 0 auto;
        max-width: 30rem;
    }

    .living-map img {
        margin: 0 auto;
        max-height: none;
        max-width: 42rem;
    }

    .living-overview,
    .living-audience__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .living-audience__grid {
        gap: 2rem;
    }

    .living-gallery__item {
        flex-basis: calc((100% - 1rem) / 2);
    }

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

    .policy-card__body h2 {
        font-size: 1.5rem;
    }

    .policy-card__body p {
        font-size: 1rem;
    }
}

@media (max-width: 700px) {
    .home-hero .home-eyebrow {
        font-size: 1.125rem;
    }

    .home-hero h1 {
        font-size: 2.1rem;
    }

    .home-hero__subtitle {
        font-size: 1.05rem;
    }

    .home-hero__description {
        font-size: 0.82rem;
    }

    .home-hero__media {
        min-height: 17rem;
    }

    .home-hero__image--primary {
        height: 10.75rem;
        width: 12rem;
    }

    .home-hero__image--secondary {
        height: 9.35rem;
        width: 12.8rem;
    }

    .home-service-card__cta,
    .home-join__cta {
        font-size: 0.75rem;
    }

    .page-hero__inner {
        min-height: 11rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .living-intro {
        padding: 1.25rem 0 2.25rem;
    }

    .living-country-picker h2 {
        font-size: 1.3rem;
    }

    .living-country-button {
        min-height: 3.55rem;
    }

    .living-country-button span:last-child {
        font-size: 1.08rem;
    }

    .living-flag {
        flex-basis: 2.55rem;
        height: 2.55rem;
        width: 2.55rem;
    }

    .living-season-tabs {
        grid-template-columns: minmax(0, 1fr);
    }

    .living-overview,
    .living-section {
        padding: 2rem 1rem;
    }

    .living-overview h2 {
        font-size: 2.2rem;
    }

    .living-overview h2,
    .living-section h2 {
        margin-bottom: 1rem;
    }

    .living-section h2 {
        font-size: 1.85rem;
    }

    .living-meta {
        gap: 1rem;
        grid-template-columns: minmax(0, 1fr);
    }

    .living-meta dt {
        font-size: 1.35rem;
    }

    .living-touchpoints {
        grid-template-columns: minmax(0, 1fr);
    }

    .living-gallery {
        padding-inline: 2.35rem;
    }

    .living-gallery__item {
        flex-basis: 82%;
        min-width: 13rem;
    }

    .living-back-to-top {
        bottom: 1rem;
        height: 3.5rem;
        right: 1rem;
        width: 3.5rem;
    }

    .learning-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .policy-card__row {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0.75rem;
    }

    .policy-card__media {
        width: 100%;
    }

    .policy-card__body h2 {
        font-size: 1.25rem;
    }

    .policy-card__body p {
        font-size: 1rem;
    }
}

@media (max-width: 340px) {
    .learning-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .learning-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .learning-card__cta {
        width: 100%;
    }
}
