:root {
    --green: #159434;
    --green-dark: #08752c;
    --teal: #007e83;
    --teal-dark: #005f65;
    --ink: #102c31;
    --muted: #597074;
    --pale: #eef7f4;
    --line: #d8e6e2;
    --white: #fff;
    --shadow: 0 24px 70px rgba(5, 62, 64, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; background: #fff; padding: 12px 18px; }
.skip-link:focus { top: 15px; }

.site-header {
    position: relative;
    z-index: 5;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(15, 57, 60, .09);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: 176px; height: auto; }
.header-cta { color: var(--teal-dark); font-weight: 750; text-decoration: none; border-bottom: 2px solid var(--green); padding: 5px 0; }

.hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: grid;
    align-items: center;
    color: white;
    background:
        radial-gradient(circle at 80% 20%, rgba(51, 194, 127, .30), transparent 29rem),
        linear-gradient(118deg, #004e55 0%, #006f73 57%, #118b62 100%);
}
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -170px; bottom: -270px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.025), 0 0 0 150px rgba(255,255,255,.025); }
.hero-lines { position: absolute; inset: auto 0 0; height: 7px; background: linear-gradient(90deg, var(--green) 0 25%, #51bd65 25% 45%, transparent 45% 47%, #1a9cbd 47% 64%, transparent 64% 66%, #29b8c8 66%); transform: skewY(-1deg); transform-origin: left; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(50px, 8vw, 110px); align-items: center; padding-block: 85px 95px; }
.eyebrow { margin: 0 0 14px; color: var(--teal); font-size: .82rem; line-height: 1.3; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #80e0b1; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 25px; font-size: clamp(3.2rem, 7vw, 6.2rem); font-weight: 850; }
h2 { margin-bottom: 22px; font-size: clamp(2.25rem, 4vw, 4rem); }
h3 { font-size: 1.45rem; }
.hero-lead { max-width: 720px; margin: 0 0 35px; color: rgba(255,255,255,.85); font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 14px 26px; border: 0; border-radius: 4px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button-primary { color: white; background: var(--green); box-shadow: 0 10px 28px rgba(0, 0, 0, .18); }
.button:hover { transform: translateY(-2px); }
.button-primary:hover { background: #10aa3a; box-shadow: 0 14px 34px rgba(0,0,0,.23); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid #f2c94c; outline-offset: 3px; }
.text-link { font-weight: 750; text-decoration: none; }
.text-link span { margin-left: 6px; }

.event-card { position: relative; padding: 35px; color: var(--ink); background: white; border-radius: 2px; box-shadow: var(--shadow); }
.event-card::before { content: ""; position: absolute; top: 0; right: 0; width: 74px; height: 8px; background: var(--green); }
.event-label { display: inline-block; margin-bottom: 22px; color: var(--teal); font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.date-number { color: var(--teal-dark); font-size: clamp(3.7rem, 7vw, 5.2rem); font-weight: 900; line-height: .95; letter-spacing: -.07em; }
.date-range { margin: 4px 0 28px; color: var(--muted); font-size: 1.15rem; font-weight: 700; }
.event-detail { display: flex; gap: 15px; align-items: center; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); line-height: 1.45; }
.icon-pin, .icon-clock { flex: 0 0 24px; width: 24px; height: 24px; position: relative; border: 2px solid var(--green); border-radius: 50%; }
.icon-pin::after { content: ""; position: absolute; width: 6px; height: 6px; inset: 7px; background: var(--green); border-radius: 50%; }
.icon-clock::before { content: ""; position: absolute; left: 10px; top: 4px; width: 2px; height: 8px; background: var(--green); }
.icon-clock::after { content: ""; position: absolute; left: 10px; top: 10px; width: 6px; height: 2px; background: var(--green); }

.benefits { padding: 110px 0 120px; }
.section-heading { max-width: 820px; margin-bottom: 55px; }
.section-heading > p:last-child { max-width: 730px; color: var(--muted); font-size: 1.16rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit-grid article { padding: 34px 30px 30px; border-top: 4px solid var(--green); background: var(--pale); }
.benefit-grid article:nth-child(2) { border-color: var(--teal); }
.benefit-grid article:nth-child(3) { border-color: #39aeb1; }
.number { display: block; margin-bottom: 35px; color: var(--teal); font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.benefit-grid h3 { margin-bottom: 12px; }
.benefit-grid p { margin: 0; color: var(--muted); }

.novavet-band { padding: 75px 0; color: white; background: var(--ink); }
.band-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.eyebrow.light { color: #75dda8; }
.band-grid h2 { margin-bottom: 0; max-width: 650px; }
.band-grid > p { margin: 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }

.registration { padding: 110px 0; background: #f4f8f7; }
.form-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 100px); align-items: start; }
.form-intro { position: sticky; top: 35px; }
.form-intro > p { color: var(--muted); font-size: 1.08rem; }
.event-summary { margin: 38px 0 0; }
.event-summary div { padding: 18px 0; border-top: 1px solid var(--line); }
.event-summary dt { color: var(--teal); font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.event-summary dd { margin: 3px 0 0; font-weight: 750; }
.form-panel { padding: clamp(28px, 5vw, 50px); background: white; box-shadow: 0 20px 60px rgba(15, 60, 64, .09); }
form > label, .field-row label { display: block; margin-bottom: 20px; color: var(--ink); font-size: .93rem; font-weight: 750; }
label > span { color: var(--green-dark); }
label small { margin-left: 5px; color: var(--muted); font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, select, textarea { width: 100%; min-height: 51px; margin-top: 7px; padding: 12px 14px; color: var(--ink); background: #fbfdfc; border: 1px solid #b8cbc7; border-radius: 3px; font: inherit; }
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--teal); }
.checkbox-label { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; font-weight: 500; line-height: 1.5; }
.checkbox-label input { width: 20px; min-height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.checkbox-label a { color: var(--teal-dark); font-weight: 700; }
.submit-button { width: 100%; margin-top: 8px; }
.required-note { margin: 11px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.honeypot { position: absolute; left: -9999px; }
.error-message { margin-bottom: 25px; padding: 18px 20px; color: #7a211b; background: #fff1ef; border-left: 4px solid #c94336; }
.error-message ul { margin-bottom: 0; padding-left: 20px; }
.success-message { padding: 30px 5px; text-align: center; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; color: white; background: var(--green); border-radius: 50%; font-size: 2rem; font-weight: 900; }
.success-message h3 { font-size: 2rem; }
.success-message a { color: var(--teal-dark); font-weight: 750; }

footer { padding: 34px 0; background: white; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 25px; align-items: center; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .9rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-inner nav a { color: var(--muted); font-size: .88rem; text-decoration: none; }
.footer-inner nav a:hover { color: var(--teal); }

@media (max-width: 900px) {
    .hero { min-height: auto; }
    .hero-grid, .form-grid, .band-grid { grid-template-columns: 1fr; }
    .hero-grid { gap: 55px; padding-block: 70px 85px; }
    .event-card { max-width: 480px; }
    .benefit-grid { grid-template-columns: 1fr; }
    .benefit-grid article { display: grid; grid-template-columns: 50px 1fr; column-gap: 15px; }
    .benefit-grid article .number { grid-row: 1 / 3; margin: 4px 0 0; }
    .benefit-grid article h3 { margin-bottom: 8px; }
    .form-intro { position: static; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-inner img { margin-inline: auto; }
    .footer-inner nav { justify-content: center; }
}

@media (max-width: 600px) {
    .wrap { width: min(100% - 28px, 1160px); }
    .header-inner { min-height: 72px; }
    .brand img { width: 150px; }
    .header-cta { font-size: .9rem; }
    h1 { font-size: clamp(2.9rem, 15vw, 4.4rem); }
    h2 { font-size: 2.3rem; }
    .hero-grid { padding-top: 55px; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
    .text-link { text-align: center; }
    .event-card { padding: 28px 24px; }
    .benefits, .registration { padding: 80px 0; }
    .benefit-grid article { padding: 26px 22px; }
    .novavet-band { padding: 65px 0; }
    .band-grid { gap: 20px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .form-panel { margin-inline: -2px; padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
