:root {
    --bg: #f4f2ee;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: #ffffff;
    --text: #13171f;
    --muted: #505867;
    --accent: #24415f;
    --accent-soft: #4e6c89;
    --line: rgba(19, 23, 31, 0.12);
    --danger: #b43f3f;
    --ok: #29603c;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --shadow: 0 24px 60px rgba(20, 29, 43, 0.12);
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 85% 0%, rgba(36, 65, 95, 0.15), transparent 28%),
        radial-gradient(circle at 0% 40%, rgba(111, 125, 146, 0.14), transparent 34%),
        linear-gradient(180deg, #ebe8e1 0%, #f5f3ef 36%, #efebe3 100%);
    min-height: 100vh;
}

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(20, 29, 43, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 29, 43, 0.025) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 95%);
    z-index: -1;
}

.shell {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.topbar {
    padding: 24px 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-text {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--accent);
}

.hero {
    padding: 42px clamp(20px, 4vw, 46px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(130deg, rgba(255, 255, 255, 0.9), rgba(243, 240, 234, 0.95));
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    align-items: center;
}

.hero-photo-wrap {
    justify-self: center;
    animation: floatPhoto 5s ease-in-out infinite;
}

.hero-photo {
    width: min(260px, 100%);
    height: auto;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 32px rgba(35, 50, 71, 0.16);
}

@keyframes floatPhoto {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.eyebrow {
    margin: 0;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 600;
}

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

h1 {
    margin-top: 18px;
    max-width: 16ch;
    font-family: "Prata", "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.08;
    font-size: clamp(34px, 5vw, 66px);
}

.lead {
    margin-top: 20px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.6;
    max-width: 60ch;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.button-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(36, 65, 95, 0.24);
}

.button-primary:hover {
    background: #1d3650;
}

.button-ghost {
    border-color: var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.7);
}

.section {
    margin-top: 28px;
    padding: 34px clamp(18px, 4vw, 36px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.section-head {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.section-head h2 {
    font-family: "Prata", "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 44px);
    letter-spacing: 0.02em;
    font-weight: 400;
}

.section-head p {
    color: var(--muted);
    line-height: 1.55;
}

.about-grid,
.priority-grid,
.reports-grid {
    display: grid;
    gap: 16px;
}

.about-grid,
.priority-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card,
.priority-item,
.report-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-strong);
}

.card {
    padding: 22px;
}

.card h3,
.priority-item h3,
.report-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
    font-weight: 600;
}

.card p,
.priority-item p,
.report-card p {
    color: var(--muted);
    line-height: 1.6;
}

.priority-item {
    padding: 24px;
}

.priority-num {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--accent-soft);
    font-size: 14px;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.report-card {
    padding: 22px;
}

.report-card time {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent-soft);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reception-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 16px;
}

.reception-note ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.form {
    padding: 22px;
}

.field-row {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

.field-row.split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: #293344;
}

input,
textarea {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    padding: 12px 14px;
    font: inherit;
    color: var(--text);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
    border-color: var(--accent-soft);
    outline: none;
    box-shadow: 0 0 0 3px rgba(78, 108, 137, 0.2);
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 8px;
    color: var(--muted);
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.status {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--ok);
}

.error-note {
    margin: 0;
    font-size: 13px;
    color: var(--danger);
}

.footer {
    margin-top: 22px;
    margin-bottom: 32px;
    padding: 24px clamp(18px, 4vw, 36px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
    display: grid;
    gap: 6px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1020px) {
    .about-grid,
    .priority-grid,
    .reports-grid {
        grid-template-columns: 1fr 1fr;
    }

    .reception-grid,
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-photo-wrap {
        justify-self: flex-start;
    }
}

@media (max-width: 700px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        justify-content: flex-start;
    }

    .about-grid,
    .priority-grid,
    .reports-grid,
    .field-row.split {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 34px 18px;
    }

    .section {
        padding: 26px 16px;
    }
}
