/* Submit-your-pet form page (shares styles.css with the other pages) */
.nav .nav-cta[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.form-page { min-height: calc(100vh - 220px); position: relative; overflow: hidden; background: var(--gold); padding: 56px 16px 72px; }
.form-wrap { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; background: var(--white); border-radius: 14px; padding: 32px clamp(18px, 5vw, 40px) 36px; box-shadow: 0 18px 40px rgba(60, 45, 10, 0.18); }
.form-intro { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.form-intro .megaphone { width: 84px; height: 84px; }
.form-intro h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 5vw, 38px); line-height: 1.1; margin: 0 0 6px; text-wrap: balance; }
.form-intro p { margin: 0; color: var(--muted); }
.gold-ink { color: var(--gold-ink); }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.label { font-weight: 600; font-size: 15px; }
.label em { font-style: normal; font-weight: 500; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); margin-left: 6px; }
.field input[type="text"], .field textarea { font: inherit; font-size: 17px; padding: 12px 14px; border: 1.5px solid #cfc8b6; border-radius: 10px; background: #fffdf8; color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(197, 169, 94, 0.45); }

.dropzone { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed var(--gold); border-radius: 12px; background: #fbf7ec; cursor: pointer; color: var(--ink); }
.dropzone:hover { background: #f6eed9; }
.dropzone[hidden] { display: none; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone:focus-within { outline: 3px solid var(--black); outline-offset: 2px; }
.dropzone span { font-size: 15px; color: var(--muted); }
.dropzone strong { color: var(--ink); }

.thumbs { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #f3f1ec; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs button { all: unset; cursor: pointer; position: absolute; top: 5px; right: 5px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(11, 11, 11, 0.8); color: var(--white); font-size: 18px; line-height: 1; }
.thumbs button:focus-visible { outline: 3px solid var(--gold); }

.form-error { background: #fdecea; color: #8a1c12; border-radius: 8px; padding: 10px 14px; margin: 0 0 16px; font-weight: 500; }
.send-btn { all: unset; cursor: pointer; display: block; width: 100%; box-sizing: border-box; text-align: center; background: var(--black); color: var(--white); font-weight: 700; font-size: 18px; padding: 16px; border-radius: 99px; }
.send-btn:hover { color: var(--gold); }
.send-btn:disabled { opacity: 0.6; cursor: wait; }
.send-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.alt { text-align: center; margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.hp { position: absolute; left: -9999px; }

.thanks { text-align: center; padding: 10px 0; }
.thanks h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 10px 0 6px; }
.thanks p { color: var(--muted); margin: 6px 0; }
.thanks:focus { outline: none; }

.fd-1 { top: 30px; left: 6%; transform: rotate(-12deg); }
.fd-2 { bottom: 40px; left: 10%; transform: rotate(14deg); }
.fd-3 { top: 90px; right: 7%; transform: rotate(8deg); }
@media (max-width: 860px) { .fd-1, .fd-2, .fd-3 { display: none; } }
@media (max-width: 480px) { .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-intro .megaphone { display: none; } }
.footer-link { color: var(--gold); }

/* First + last name side by side (stacked on small phones) */
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 480px) { .name-row { grid-template-columns: 1fr; } }
