* { box-sizing: border-box; }
:root {
    --ink: #17212f;
    --muted: #596579;
    --soft: #f5f7fa;
    --line: #d9e0ea;
    --paper: #ffffff;
    --green: #238F87;
    --green-dark: #1a6f69;
    --amber: #b7791f;
    --panel-soft: #fbfcfd;
}
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--soft);
    font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.55;
}
a { color: inherit; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(245, 247, 250, 0.94);
    border-bottom: 1px solid var(--line);
}
.nav {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.brand {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 1;
}
.brand img {
    display: block;
    width: clamp(110px, 14vw, 165px);
    height: auto;
    max-height: 34px;
    object-fit: contain;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}
.nav-links a {
    text-decoration: none;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-action {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.page {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 24px 64px;
}
.hero {
    min-height: 64vh;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 56px;
    align-items: center;
    padding: 76px 0 64px;
}
.eyebrow {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
}
h1 {
    margin: 0 0 16px;
    max-width: 860px;
    font-size: clamp(38px, 6.4vw, 70px);
    line-height: 1.04;
    letter-spacing: 0;
    font-weight: 800;
}
h2 {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.16;
    font-weight: 800;
}
h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
p { margin: 0 0 14px; }
.lead {
    max-width: 680px;
    color: #3f4c5f;
    font-size: 20px;
    line-height: 1.52;
}
.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 6px;
    border: 1px solid var(--green);
    background: var(--green);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}
.button:hover { background: var(--green-dark); border-color: var(--green-dark); }
.button.secondary {
    background: transparent;
    color: var(--green-dark);
}
.button.secondary:hover { background: #e9f4ef; }
.hero-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}
.signal {
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
}
.signal-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid #e7ecf3;
}
.signal-row:last-child { border-bottom: 0; }
.signal-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e6f3ee;
    color: var(--green-dark);
    font-weight: 800;
}
.section {
    padding: 58px 0;
    border-top: 1px solid var(--line);
}
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}
.section-head p {
    max-width: 640px;
    color: var(--muted);
}
.timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.step,
.campaign-card,
.trust-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
}
.step strong {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #edf1f6;
    color: #314158;
}
.campaign-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.campaign-card {
    display: flex;
    flex-direction: column;
    min-height: 282px;
}
.campaign-meta {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}
.campaign-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f3efe5;
    color: #755315;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}
.filter-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #edf4f0;
    color: var(--green-dark);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.filter-pill:hover { background: #dfece6; text-decoration: none; }
.public-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    margin: 0 0 28px;
    padding: 18px;
    background: var(--paper);
    border: 1px solid #dbe4dd;
    border-radius: 8px;
}
.public-filters label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 13px;
    min-width: 180px;
}
.public-filters select {
    border: 1px solid #cbd8cf;
    border-radius: 6px;
    padding: 9px 10px;
    background: #fff;
    color: var(--ink);
}
.campaign-card p {
    color: #405065;
    line-height: 1.55;
}
.campaign-description {
    display: -webkit-box;
    min-height: 64px;
    max-height: 88px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}
.progress {
    height: 10px;
    width: 100%;
    margin: auto 0 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5eaf1;
}
.progress span {
    display: block;
    height: 100%;
    background: var(--green);
}
.progress.near span { background: var(--amber); }
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}
.card-footer a {
    color: var(--green-dark);
    font-weight: 700;
    text-decoration: none;
}
.seller {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    gap: 34px;
    align-items: start;
}
.seller-points,
.trust-grid {
    display: grid;
    gap: 14px;
}
.seller-points span,
.trust-item {
    color: #405065;
}
.seller-points span {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.empty {
    padding: 22px;
    border: 1px dashed #b9c4d2;
    border-radius: 8px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.6);
}
.interest-strip {
    display: grid;
    grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
    gap: 24px;
    align-items: start;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.interest-copy h2 {
    font-size: 24px;
}
.interest-copy p:not(.eyebrow) {
    color: var(--muted);
}
.interest-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: end;
}
.interest-form label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 13px;
}
.interest-form input,
.interest-form select {
    width: 100%;
    min-height: 40px;
    border: 1px solid #cbd8cf;
    border-radius: 6px;
    padding: 9px 10px;
    background: #fff;
    color: var(--ink);
}
.interest-form .button {
    min-height: 40px;
}
.interest-other {
    grid-column: span 2;
}
.interest-other[hidden] {
    display: none !important;
}
.interest-message {
    grid-column: 1 / -1;
    margin: 0;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
}
.interest-message.ok {
    background: #e7f5ee;
    color: #1a6f69;
}
.interest-message.error {
    background: #fff1f0;
    color: #9f1d1d;
}
.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: var(--panel-soft);
}
.footer-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 34px 24px 42px;
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: 32px;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
}
.footer-brand img {
    display: block;
    width: clamp(120px, 12vw, 140px);
    height: auto;
    max-height: 30px;
    object-fit: contain;
}
.footer-inner p {
    max-width: 340px;
    font-weight: 600;
}
.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 12px 18px;
    flex-wrap: wrap;
}
.footer-links a {
    text-decoration: none;
    line-height: 1.4;
}
.institutional-page {
    max-width: 920px;
}
.institutional-hero {
    padding: 72px 0 44px;
}
.institutional-hero h1 {
    max-width: 760px;
    font-size: clamp(36px, 5.5vw, 58px);
}
.institutional-hero .lead {
    max-width: 760px;
}
.text-section {
    padding: 38px 0;
    border-top: 1px solid var(--line);
}
.text-panel {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.text-panel p:last-child,
.text-panel li:last-child {
    margin-bottom: 0;
}
.text-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.text-list,
.faq-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.text-list li,
.faq-item {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.text-list strong,
.faq-item h2 {
    display: block;
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 18px;
}
.faq-item p,
.text-list p {
    color: #405065;
}
.contact-card {
    display: grid;
    gap: 18px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.contact-email {
    color: var(--green-dark);
    font-weight: 800;
    text-decoration: none;
}
.compact-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
    padding-left: 20px;
    color: #405065;
}
.contact-form {
    display: grid;
    gap: 18px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.contact-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}
.contact-form label span {
    color: #7a8798;
    font-weight: 400;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd8cf;
    border-radius: 6px;
    padding: 10px 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}
.contact-form textarea {
    resize: vertical;
}
.form-help,
.form-error {
    margin: 0;
    font-size: 14px;
}
.form-help {
    color: var(--muted);
}
.form-error {
    color: #9f1d1d;
}
.cookie-banner {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    width: min(680px, calc(100% - 36px));
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: #405065;
    box-shadow: 0 14px 38px rgba(23, 33, 47, 0.12);
}
.cookie-banner p {
    margin: 0;
    font-size: 13px;
}
.cookie-banner a {
    color: var(--green-dark);
    font-weight: 700;
}
.cookie-actions {
    display: flex;
    gap: 8px;
}
.cookie-actions button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.cookie-actions button[data-cookie-choice="accepted"] {
    border-color: var(--green);
    background: var(--green);
    color: #fff;
}
@media (max-width: 820px) {
    .nav {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 12px;
    }
    .brand { order: 1; }
    .nav-action {
        order: 2;
        margin-left: auto;
        flex: 0 0 auto;
    }
    .nav-links {
        order: 3;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
        flex-wrap: nowrap;
        gap: 16px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a {
        flex: 0 0 auto;
        min-height: 30px;
        padding: 4px 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        line-height: 1.25;
        white-space: nowrap;
    }
    .hero,
    .seller {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero { padding: 50px 0; }
    .timeline,
    .campaign-grid,
    .trust-grid,
    .interest-strip,
    .text-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
    .interest-form {
        grid-template-columns: 1fr 1fr;
    }
    .interest-form .button,
    .interest-message,
    .interest-other {
        grid-column: 1 / -1;
    }
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: flex-start;
        gap: 10px 14px;
    }
    .footer-links a {
        min-height: 34px;
        display: inline-flex;
        align-items: center;
    }
}
@media (max-width: 560px) {
    .page,
    .nav,
    .footer-inner { padding-left: 16px; padding-right: 16px; }
    h1 { font-size: 40px; }
    h2 { font-size: 24px; }
    .lead { font-size: 17px; }
    .section { padding: 42px 0; }
    .section-head { margin-bottom: 20px; }
    .step,
    .campaign-card,
    .trust-item,
    .interest-strip,
    .text-panel,
    .text-list li,
    .faq-item,
    .contact-card,
    .contact-form {
        padding: 18px;
    }
    .institutional-hero { padding: 48px 0 34px; }
    .text-section { padding: 32px 0; }
    .interest-form {
        grid-template-columns: 1fr;
    }
    .actions .button { width: 100%; }
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        grid-template-columns: 1fr;
    }
    .cookie-actions {
        justify-content: flex-start;
    }
}
