:root {
    --navy: #12355b;
    --navy-dark: #0b2440;
    --teal: #1f7a8c;
    --orange: #f4a259;
    --orange-dark: #e38b3a;
    --background: #fbfaf7;
    --tint: #eef4f6;
    --text: #1d2733;
    --text-muted: #536170;
    --border: #dde4e9;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(18, 53, 91, .06), 0 8px 24px rgba(18, 53, 91, .08);
    --max-width: 1120px;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

/* Make the hidden attribute win over component display rules such as display: grid. */
[hidden] { display: none !important; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

a { color: var(--teal); text-underline-offset: .2em; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
    position: absolute; left: 1rem; top: -3rem; z-index: 100;
    background: var(--navy); color: var(--white); padding: .5rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* Buttons */
.button {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .8rem 1.4rem; border-radius: 999px;
    background: var(--orange); color: var(--navy-dark);
    font-weight: 650; text-decoration: none; border: 2px solid var(--orange);
    transition: background-color .15s, border-color .15s, transform .15s;
}
.button:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--navy-dark); transform: translateY(-1px); }
.button-secondary { background: transparent; border-color: var(--navy); color: var(--navy); }
.button-secondary:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.button-small { padding: .45rem 1rem; font-size: .95rem; }
.button-group { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; }

.logo {
    display: inline-flex; align-items: center; gap: .6rem;
    color: var(--navy); text-decoration: none; font-size: 1.35rem; letter-spacing: -.01em;
}
.logo strong { color: var(--teal); }
.logo:hover { color: var(--navy); }
.logo-image { width: 2.25rem; height: 2.25rem; color: var(--navy); flex: none; }

.main-menu ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-menu a:not(.button) {
    display: block; padding: .5rem .85rem; border-radius: 8px;
    color: var(--text); text-decoration: none; font-weight: 550;
}
.main-menu a:not(.button):hover { background: var(--tint); color: var(--navy); }
.main-menu a[aria-current="page"] { color: var(--teal); }
.main-menu li:last-child { margin-left: .5rem; }

.menu-button {
    display: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 8px;
    background: transparent; cursor: pointer; position: relative;
}
.menu-button-bar, .menu-button-bar::before, .menu-button-bar::after {
    position: absolute; left: .7rem; width: 1.35rem; height: 2px; background: var(--navy);
    content: ""; transition: transform .2s, opacity .2s;
}
.menu-button-bar { top: 50%; }
.menu-button-bar::before { left: 0; top: -7px; }
.menu-button-bar::after { left: 0; top: 7px; }
.menu-button[aria-expanded="true"] .menu-button-bar { background: transparent; }
.menu-button[aria-expanded="true"] .menu-button-bar::before { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
    .menu-button { display: block; }
    .js .main-menu {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    }
    .js .main-menu.open { display: block; }
    .main-menu ul { flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; }
    .main-menu li:last-child { margin: .5rem 0 0; }
    .main-menu .button { width: 100%; }
    html:not(.js) .menu-button { display: none; }
    html:not(.js) .header-inner { flex-wrap: wrap; padding-block: .5rem; }
    html:not(.js) .main-menu ul { flex-direction: row; flex-wrap: wrap; padding: 0; }
}

/* Hero */
.hero {
    background:
        radial-gradient(1000px 400px at 85% -10%, rgba(31, 122, 140, .16), transparent 70%),
        radial-gradient(700px 300px at -10% 110%, rgba(244, 162, 89, .18), transparent 70%),
        var(--background);
    padding-block: clamp(3rem, 8vw, 6rem);
}
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.eyebrow {
    display: inline-block; margin-bottom: 1rem; padding: .3rem .8rem; border-radius: 999px;
    background: var(--tint); color: var(--teal); font-weight: 650; font-size: .9rem;
}
.intro { font-size: 1.15rem; color: var(--text-muted); max-width: 38rem; }

.hero-card {
    background: var(--navy); color: var(--white); border-radius: 24px; padding: 2rem;
    box-shadow: 0 20px 50px rgba(18, 53, 91, .25); position: relative; overflow: hidden;
}
.hero-card::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
    border-radius: 50%; background: rgba(244, 162, 89, .18);
}
.hero-animals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative; z-index: 1; }
.hero-animals span {
    display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px;
    background: rgba(255, 255, 255, .08); color: var(--orange);
}
.hero-animals .icon { width: 60%; height: 60%; }
.hero-chip-number {
    margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: 14px;
    background: rgba(255, 255, 255, .08); display: grid; gap: .15rem; position: relative; z-index: 1;
}
.hero-chip-number .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.hero-chip-number .number { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.15rem; letter-spacing: .04em; }

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-card { max-width: 420px; }
}

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-tinted { background: var(--tint); }
.section-title { margin-bottom: 1.5rem; }

.page-header {
    background: linear-gradient(180deg, var(--tint), var(--background));
    padding-block: clamp(2.5rem, 6vw, 4rem) 1rem;
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.75rem; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card-icon {
    display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem;
    border-radius: 12px; background: var(--tint); color: var(--teal);
}
.card-icon .icon { width: 1.6rem; height: 1.6rem; }

.steps {
    list-style: none; margin: 0; padding: 0; counter-reset: step;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem;
}
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 1.75rem; }
.steps li::before {
    content: counter(step); display: inline-grid; place-items: center;
    width: 2.25rem; height: 2.25rem; margin-bottom: 1rem; border-radius: 50%;
    background: var(--orange); color: var(--navy-dark); font-weight: 700;
}
.steps p { margin: 0; color: var(--text-muted); }

/* Price list */
.prices-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .prices-block { grid-template-columns: 1fr; } }

.price-list {
    list-style: none; margin: 0; padding: 0;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
}
.price-item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; }
.price-item + .price-item { border-top: 1px solid var(--border); }
.price-item-icon {
    display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem;
    border-radius: 12px; background: var(--tint); color: var(--teal);
}
.price-item-icon .icon { width: 1.5rem; height: 1.5rem; }
.price-item-text { flex: 1; display: grid; }
.price-item-name { font-weight: 600; }
.price-item-note { font-size: .92rem; color: var(--text-muted); }
.price-item-amount { font-weight: 700; font-size: 1.15rem; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-item-amount-variable { color: var(--teal); font-size: 1rem; }

.callout { margin-top: 2rem; padding: 1.5rem; border-left: 4px solid var(--orange); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; }
.callout h2 { font-size: 1.2rem; }
.callout p:last-child { margin-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid h2 { font-size: 1.4rem; }
.contact-details { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; margin: 0 0 1.5rem; }
.contact-details dt { font-weight: 600; color: var(--text-muted); }
.contact-details dd { margin: 0; overflow-wrap: anywhere; }

/* Form */
.form fieldset {
    margin: 0 0 1.5rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow); min-width: 0;
}
.form legend {
    float: left; width: 100%; margin-bottom: 1rem; padding: 0;
    font-size: 1.15rem; font-weight: 700; color: var(--navy);
}
.form legend + * { clear: left; }
.form label { font-weight: 600; }
.form small { font-weight: 400; color: var(--text-muted); }

.form input:not([type="radio"], [type="checkbox"]), .form textarea {
    display: block; width: 100%; margin-top: .35rem; padding: .7rem .85rem;
    font: inherit; color: var(--text); background: var(--white);
    border: 1.5px solid var(--border); border-radius: 10px;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31, 122, 140, .2); }
.form input.input-validation-error { border-color: #c0392b; }
.form input.short { max-width: 10rem; text-transform: uppercase; }

.field { margin-top: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.address-row { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 8rem) minmax(0, 10rem); gap: 0 1rem; }
/* Subgrid keeps the inputs aligned when one of the labels wraps. */
.address-row .field { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; }
.address-row label { align-self: end; }
@media (max-width: 480px) { .address-row { grid-template-columns: 1fr 1fr; } .address-row .field:first-child { grid-column: 1 / -1; } }
.field-hint { margin: 0 0 .75rem; color: var(--text-muted); font-size: .95rem; }
.field-error { display: block; color: #c0392b; font-size: .92rem; font-weight: 500; }
.field-error:not(:empty) { margin-top: .4rem; }

.counts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 480px) { .counts { grid-template-columns: 1fr; } }
.count {
    display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: .1rem .75rem; align-items: center;
    padding: 1rem; border-radius: 12px; background: var(--tint);
}
.count-icon { grid-row: span 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 10px; background: var(--white); color: var(--teal); }
.count-icon .icon { width: 1.6rem; height: 1.6rem; }
.form .count input { margin-top: 0; padding: .4rem .6rem; max-width: 5.5rem; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .choices { grid-template-columns: 1fr; } }
.choice {
    display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; cursor: pointer;
    border: 1.5px solid var(--border); border-radius: 12px; transition: border-color .15s, background-color .15s;
}
.choice:hover { border-color: var(--teal); }
.choice:has(input:checked) { border-color: var(--teal); background: var(--tint); }
.choice input { margin-top: .3rem; accent-color: var(--teal); width: 1.1rem; height: 1.1rem; flex: none; }
.choice span { display: grid; }
.choice strong { font-weight: 650; }
.group-label { margin: 0 0 .5rem; font-weight: 600; }
.field-error + .group-label { margin-top: 1rem; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
    display: inline-block; padding: .45rem 1rem; border-radius: 999px; font-weight: 550;
    border: 1.5px solid var(--border); background: var(--white); transition: background-color .15s, border-color .15s;
}
.pill:hover span { border-color: var(--teal); }
.pill input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--white); }
.pill input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1rem 1.25rem; border-radius: 12px; margin-bottom: 1.5rem; }
.alert p { margin: 0; }
.alert-error { background: #fdecea; border: 1px solid #f5c2bd; color: #8a1f14; }
.alert:focus { outline: none; }

.form button.button { font: inherit; font-weight: 650; cursor: pointer; }

/* Body text */
.prose h2 { font-size: 1.3rem; margin-top: 2rem; }

/* Call to action */
.cta { background: var(--navy); color: var(--white); padding-block: clamp(3rem, 7vw, 4.5rem); text-align: center; }
.cta h2 { color: var(--white); }
.cta p { color: rgba(255, 255, 255, .8); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .78); padding-top: 3rem; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
.site-footer h2 { color: var(--white); font-size: 1rem; margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: var(--orange); }
.logo-light, .logo-light:hover { color: var(--white); margin-bottom: .75rem; }
.logo-light strong { color: var(--orange); }
.logo-light .logo-image { color: var(--teal); }
.footer-bottom {
    display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
    margin-top: 2.5rem; padding-block: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .85rem; color: rgba(255, 255, 255, .6);
}

.small-print { font-size: .9rem; color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
