.foster-page {
  background: #fff;
}
.foster-hero {
  padding: 72px 0 64px;
  background: linear-gradient(120deg, #fff6eb 0%, #fff 57%, #f8f2ec 100%);
  overflow: hidden;
}
.foster-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}
.foster-hero h1 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 16px 0 22px;
  max-width: 780px;
}
.foster-hero h1 span,
.foster-benefits h2 span,
.foster-page .section-heading h2 span {
  color: var(--orange);
}
.foster-hero p {
  font-size: 19px;
  line-height: 1.7;
  max-width: 690px;
  color: #615850;
}
.foster-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.foster-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid #eadfd4;
}
.foster-proof strong {
  display: block;
  font-size: 24px;
}
.foster-proof span {
  display: block;
  color: #766d66;
  font-size: 13px;
  margin-top: 4px;
}
.foster-hero-visual {
  position: relative;
  min-height: 500px;
}
.foster-photo {
  position: absolute;
  background-size: cover;
  background-position: center;
}
.foster-photo-main {
  inset: 10px 30px 35px 5px;
  border-radius: 34px;
  background-image: url("https://images.unsplash.com/photo-1558788353-f76d92427f16?auto=format&fit=crop&w=1400&q=88");
  box-shadow: 0 24px 60px rgba(80, 48, 20, 0.14);
}
.foster-hero-visual:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: #ffd6ad;
  filter: blur(1px);
  opacity: 0.68;
}
.foster-note {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(330px, 76%);
  background: #fff;
  border: 1px solid #eadfd4;
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: 0 18px 45px rgba(57, 36, 18, 0.1);
}
.foster-note-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff1e6;
  color: var(--orange);
  font-size: 20px;
  margin-bottom: 10px;
}
.foster-note strong {
  display: block;
  font-size: 18px;
}
.foster-note p {
  font-size: 14px;
  line-height: 1.6;
  margin: 7px 0 0;
  color: #71665e;
}
.foster-how {
  padding-bottom: 88px;
}
.foster-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}
.foster-steps article {
  background: #fff;
  border: 1px solid #eadfd4;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(40, 25, 12, 0.04);
}
.foster-steps span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: #fff1e7;
  color: var(--orange);
  font-weight: 900;
  font-size: 12px;
}
.foster-steps h3 {
  margin: 18px 0 8px;
  font-size: 19px;
}
.foster-steps p {
  margin: 0;
  color: #736963;
  line-height: 1.6;
  font-size: 14px;
}
.foster-benefits {
  padding-top: 88px;
}
.foster-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 70px;
  align-items: start;
}
.foster-benefits h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.03;
  margin: 13px 0 18px;
}
.foster-benefits-copy > p {
  max-width: 760px;
  line-height: 1.75;
  color: #6d645d;
  font-size: 17px;
}
.foster-check-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.foster-check-list > div {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 14px;
}
.foster-check-list > div > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eef7ee;
  color: #2f7d4b;
  font-weight: 900;
}
.foster-check-list b {
  align-self: end;
}
.foster-check-list small {
  color: #786e67;
  margin-top: 2px;
  line-height: 1.45;
}
.foster-contact-card {
  background: #211c18;
  color: #fff;
  border-radius: 24px;
  padding: 30px;
  position: sticky;
  top: 94px;
  box-shadow: 0 18px 45px rgba(25, 18, 12, 0.16);
}
.foster-contact-card .eyebrow {
  color: #ffb06e;
}
.foster-contact-card h3 {
  font-size: 29px;
  line-height: 1.1;
  margin: 10px 0 10px;
}
.foster-contact-card > p {
  color: #d0c5bc;
  line-height: 1.65;
  margin: 0;
}
.foster-contact-lines {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}
.foster-contact-lines a,
.foster-contact-lines > div {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 10px;
  text-decoration: none;
  color: #fff;
}
.foster-contact-lines span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #382f28;
  color: #ffb06e;
}
.foster-contact-lines strong {
  font-size: 14px;
  align-self: end;
}
.foster-contact-lines small {
  color: #a99d93;
  font-size: 11px;
}
.foster-contact-note {
  display: block;
  color: #948980;
  line-height: 1.5;
  margin-top: 16px;
  font-size: 10px;
}
.foster-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  background: #fcfaf7;
  border: 1px solid #eadfd4;
  border-radius: 18px;
  padding: 14px;
  margin: 26px 0 24px;
}
.foster-filter-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #847970;
  font-weight: 800;
  margin: 0 0 7px;
}
.foster-filter-group select {
  margin: 0;
}
.foster-count {
  font-size: 13px;
  color: #756b64;
  border: 1px solid #eadfd4;
  background: #fff;
  border-radius: 999px;
  padding: 10px 13px;
  white-space: nowrap;
}
.foster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.foster-pet-card {
  background: #fff;
  border: 1px solid #e9dfd6;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(40, 25, 12, 0.045);
  display: flex;
  flex-direction: column;
}
.foster-pet-photo {
  aspect-ratio: 1.12;
  background: #eee center/cover no-repeat;
  position: relative;
}
.foster-pet-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 9px;
  background: rgba(32, 27, 23, 0.8);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  border-radius: 999px;
}
.foster-pet-body {
  padding: 17px;
}
.foster-pet-body h3 {
  margin: 0 0 5px;
  font-size: 21px;
}
.foster-pet-sub {
  margin: 0;
  color: #716760;
  font-size: 13px;
}
.foster-pet-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0 15px;
}
.foster-pet-meta span {
  background: #f6f1ed;
  color: #655c55;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 700;
}
.foster-pet-body .btn {
  margin-top: auto;
  width: 100%;
}
.foster-loading,
.foster-empty {
  grid-column: 1/-1;
  border: 1px dashed #ddcfc4;
  border-radius: 18px;
  padding: 36px;
  text-align: center;
  color: #776d65;
  background: #fcfaf7;
}
.foster-cta {
  padding: 68px 0;
  background: #fff3e8;
}
.foster-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.foster-cta h2 {
  font-size: 42px;
  line-height: 1.05;
  margin: 12px 0 8px;
  max-width: 760px;
}
.foster-cta p {
  margin: 0;
  color: #6f645b;
  max-width: 680px;
  line-height: 1.6;
}
.foster-faq {
  padding-bottom: 96px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 980px;
  margin: 30px auto 0;
}
.faq-grid details {
  border: 1px solid #eadfd4;
  border-radius: 15px;
  padding: 16px 18px;
  background: #fff;
}
.faq-grid summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding-right: 20px;
  position: relative;
}
.faq-grid summary::-webkit-details-marker {
  display: none;
}
.faq-grid summary:after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  color: var(--orange);
  font-size: 22px;
}
.faq-grid details[open] summary:after {
  content: "−";
}
.faq-grid p {
  color: #70665f;
  line-height: 1.65;
  margin: 10px 0 2px;
  font-size: 14px;
}
.foster-bottom-newsletter {
  margin-top: 0;
}
.foster-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}
.foster-modal.open {
  display: block;
}
.foster-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 18, 12, 0.62);
  backdrop-filter: blur(3px);
}
.foster-modal-dialog {
  position: relative;
  width: min(920px, calc(100% - 28px));
  max-height: min(92vh, 900px);
  overflow: auto;
  margin: 4vh auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.24);
  padding: 30px;
}
.foster-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  border: 0;
  background: #f3ede7;
  color: #3e352f;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}
.foster-modal-head {
  padding-right: 45px;
}
.foster-modal-head h2 {
  font-size: 34px;
  line-height: 1.05;
  margin: 9px 0;
}
.foster-modal-head p {
  color: #6e645d;
  line-height: 1.55;
  margin: 0;
}
.foster-form {
  margin-top: 24px;
}
.foster-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.foster-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 14px;
}
.foster-form textarea,
.foster-form input,
.foster-form select {
  font-size: 14px;
}
.foster-form .checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 500;
  line-height: 1.45;
}
.foster-form .checkbox-field input {
  width: auto;
  margin-top: 3px;
}
.foster-form-status {
  min-height: 1.3em;
  color: #b4530f;
  font-size: 13px;
  margin: 10px 0 0;
}
.foster-success {
  padding: 30px 4px 10px;
  text-align: center;
}
.foster-success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: #eaf6eb;
  color: #2f7d4b;
  font-size: 26px;
  font-weight: 900;
}
.foster-success h2 {
  margin: 10px 0;
}
.foster-success p {
  color: #6e645d;
  line-height: 1.6;
}
.foster-success .btn {
  margin-top: 12px;
}
@media (max-width: 1100px) {
  .foster-hero-grid {
    grid-template-columns: 1fr;
  }
  .foster-hero-visual {
    min-height: 520px;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
  }
  .foster-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .foster-benefits-grid {
    grid-template-columns: 1fr;
  }
  .foster-contact-card {
    position: relative;
    top: auto;
  }
  .foster-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .foster-hero {
    padding-top: 48px;
  }
  .foster-proof {
    grid-template-columns: 1fr;
  }
  .foster-photo-main {
    inset: 0 0 40px 0;
  }
  .foster-note {
    right: 0;
    width: 86%;
  }
  .foster-filters {
    grid-template-columns: 1fr 1fr;
  }
  .foster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .foster-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .foster-modal-dialog {
    padding: 22px;
  }
  .foster-form .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .foster-hero h1 {
    font-size: 46px;
  }
  .foster-hero-visual {
    min-height: 410px;
  }
  .foster-note {
    width: 94%;
    padding: 16px;
  }
  .foster-steps {
    grid-template-columns: 1fr;
  }
  .foster-filters {
    grid-template-columns: 1fr;
  }
  .foster-filters .btn {
    width: 100%;
  }
  .foster-grid {
    grid-template-columns: 1fr;
  }
  .foster-cta h2 {
    font-size: 32px;
  }
  .foster-modal-dialog {
    max-height: 94vh;
    margin: 3vh auto;
  }
}
.animals-page {
  background: #fff;
}
.animals-hero {
  padding: 72px 0 68px;
  background: linear-gradient(120deg, #fff6eb 0%, #fff 58%, #f8f2ec 100%);
}
.animals-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.animals-hero h1 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 16px 0 22px;
  max-width: 850px;
}
.animals-hero h1 span,
.animals-list-section .section-heading h2 span {
  color: var(--orange);
}
.animals-hero p {
  font-size: 19px;
  line-height: 1.7;
  max-width: 760px;
  color: #615850;
}
.animals-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.animals-hero-card {
  background: #211c18;
  color: #fff;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 22px 55px rgba(25, 18, 12, 0.16);
  max-width: 430px;
  justify-self: end;
}
.animals-hero-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #382f28;
  color: #ffae69;
  font-size: 25px;
  margin-bottom: 18px;
}
.animals-hero-card strong {
  font-size: 24px;
  line-height: 1.15;
  display: block;
}
.animals-hero-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #d0c5bc;
  margin: 12px 0 22px;
}
.animals-contact-mini {
  display: grid;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}
.animals-contact-mini a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.animals-count {
  font-size: 13px;
  color: #756b64;
  border: 1px solid #eadfd4;
  background: #fff;
  border-radius: 999px;
  padding: 10px 13px;
  white-space: nowrap;
}
.animals-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  background: #fcfaf7;
  border: 1px solid #eadfd4;
  border-radius: 18px;
  padding: 14px;
  margin: 26px 0 24px;
}
.animals-filter-group label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #847970;
  font-weight: 800;
  margin: 0 0 7px;
}
.animals-filter-group select {
  margin: 0;
}
.animals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.animals-card {
  background: #fff;
  border: 1px solid #e9dfd6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(40, 25, 12, 0.045);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.animals-card-photo {
  aspect-ratio: 1.06;
  background: linear-gradient(135deg, #f5eee8, #ebe2d9) center/cover no-repeat;
  position: relative;
  cursor: pointer;
}
.animals-card-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 9px;
  background: rgba(32, 27, 23, 0.82);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  border-radius: 999px;
}
.animals-fav {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.93);
  color: #493e37;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.animals-fav.active {
  color: var(--orange);
}
.animals-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.animals-card-body h3 {
  margin: 0 0 5px;
  font-size: 22px;
}
.animals-card-sub {
  margin: 0;
  color: #716760;
  font-size: 13px;
}
.animals-card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 13px 0 17px;
}
.animals-card-meta span {
  background: #f6f1ed;
  color: #655c55;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 700;
}
.animals-card-body .btn {
  margin-top: auto;
  width: 100%;
}
.animals-loading,
.animals-empty {
  grid-column: 1/-1;
  border: 1px dashed #ddcfc4;
  border-radius: 18px;
  padding: 42px;
  text-align: center;
  color: #776d65;
  background: #fcfaf7;
}
.animals-info-section {
  padding: 86px 0;
  background: #fcfaf7;
}
.animals-info-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 70px;
  align-items: center;
}
.animals-info-grid h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.04;
  margin: 12px 0 18px;
}
.animals-info-grid p {
  color: #6d645d;
  line-height: 1.75;
  font-size: 17px;
  max-width: 760px;
}
.animals-info-card {
  background: #211c18;
  color: #fff;
  border-radius: 24px;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 14px;
  box-shadow: 0 18px 45px rgba(25, 18, 12, 0.14);
}
.animals-info-card strong {
  align-self: end;
  font-size: 15px;
}
.animals-info-card p {
  grid-column: 2;
  color: #b9ada3;
  font-size: 13px;
  line-height: 1.5;
  margin: 3px 0 18px;
}
.animals-info-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #382f28;
  color: #ffae69;
  font-size: 11px;
  font-weight: 900;
  grid-row: span 2;
}
.animals-contact-section {
  padding: 72px 0;
  background: #fff3e8;
}
.animals-contact-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
}
.animals-contact-grid h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
  margin: 12px 0 10px;
  max-width: 850px;
}
.animals-contact-grid p {
  color: #6f645b;
  line-height: 1.65;
  max-width: 760px;
  margin: 0;
}
.animals-contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.animals-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 60;
}
.animals-modal.open {
  display: block;
}
.animals-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 18, 12, 0.64);
  backdrop-filter: blur(3px);
}
.animals-modal-dialog {
  position: relative;
  width: min(980px, calc(100% - 28px));
  max-height: min(92vh, 900px);
  overflow: auto;
  margin: 4vh auto;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.24);
  padding: 30px;
}
.animals-modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  border: 0;
  background: #f3ede7;
  color: #3e352f;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.animal-modal-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 30px;
  align-items: start;
}
.animal-modal-gallery {
  display: grid;
  gap: 10px;
}
.animal-modal-main-photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 20px;
  background: #f3ede7;
}
.animal-modal-placeholder {
  aspect-ratio: 1/1;
  border-radius: 20px;
  background: #f3ede7;
  display: grid;
  place-items: center;
  color: #7e736b;
  text-align: center;
  padding: 30px;
}
.animal-modal-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.animal-modal-thumb {
  border: 2px solid transparent;
  padding: 0;
  background: #f4eee8;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.animal-modal-thumb.active {
  border-color: var(--orange);
}
.animal-modal-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.animal-modal-copy {
  padding-top: 8px;
}
.animal-modal-copy h2 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 42px;
  line-height: 1.02;
  margin: 10px 0;
}
.animal-modal-copy > p {
  color: #6e645d;
  line-height: 1.65;
}
.animal-modal-copy .pet-details {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.pet-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #eee5de;
  font-size: 14px;
}
.pet-detail-row span:first-child {
  color: #847970;
}
.adoption-form-wrap {
  margin-top: 28px;
}
.adoption-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 18px;
  color: #796f68;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
}
.adoption-divider:before,
.adoption-divider:after {
  content: "";
  height: 1px;
  background: #eadfd4;
  flex: 1;
}
.adoption-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.adoption-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 14px;
}
.adoption-form textarea,
.adoption-form input,
.adoption-form select {
  font-size: 14px;
}
.adoption-form .checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 500;
  line-height: 1.45;
}
.adoption-form .checkbox-field input {
  width: auto;
  margin-top: 3px;
}
.adoption-form-status {
  min-height: 1.3em;
  color: #b4530f;
  font-size: 13px;
  margin: 10px 0 0;
}
.adoption-success {
  text-align: center;
  padding: 28px 8px 8px;
}
.success-check {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: #eaf6eb;
  color: #2f7d4b;
  font-size: 26px;
  font-weight: 900;
}
.adoption-success h3 {
  font-size: 28px;
  margin: 10px 0;
}
.adoption-success p {
  color: #6e645d;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
}
.adoption-success .btn {
  margin-top: 16px;
}
.animals-modal .pet-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.animals-modal .pet-meta span {
  background: #f6f1ed;
  color: #655c55;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 1100px) {
  .animals-hero-grid {
    grid-template-columns: 1fr;
  }
  .animals-hero-card {
    justify-self: start;
    max-width: 620px;
  }
  .animals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .animals-info-grid {
    grid-template-columns: 1fr;
  }
  .animals-info-card {
    max-width: 650px;
  }
  .animals-contact-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .animal-modal-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  .animals-hero {
    padding-top: 48px;
  }
  .animals-filters {
    grid-template-columns: 1fr 1fr;
  }
  .animals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .animals-contact-actions {
    width: 100%;
  }
  .animals-contact-actions .btn {
    flex: 1;
  }
  .adoption-form .form-row {
    grid-template-columns: 1fr;
  }
  .animals-modal-dialog {
    padding: 22px;
  }
}
@media (max-width: 560px) {
  .animals-hero h1 {
    font-size: 46px;
  }
  .animals-filters {
    grid-template-columns: 1fr;
  }
  .animals-filters .btn {
    width: 100%;
  }
  .animals-grid {
    grid-template-columns: 1fr;
  }
  .animals-hero-actions,
  .animals-contact-actions {
    flex-direction: column;
  }
  .animals-hero-actions .btn,
  .animals-contact-actions .btn {
    width: 100%;
  }
  .animals-modal-dialog {
    max-height: 94vh;
    margin: 3vh auto;
  }
  .animal-modal-copy h2 {
    font-size: 34px;
  }
  .animal-modal-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
  /* =====================================
   ADOPTION FORM - RESPONSIVE FIX
===================================== */

/* Modal */
.animals-modal-dialog {
  box-sizing: border-box;
  max-width: 100%;
}

/* Grid */
.adoption-form .form-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Form elements */
.adoption-form input:not([type="checkbox"]),
.adoption-form select,
.adoption-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Grid children */
.adoption-form .form-row > * {
  min-width: 0;
}

/* Checkbox */
.adoption-form .checkbox-field input {
  flex-shrink: 0;
}

/* Mobile */
@media (max-width: 800px) {

  .adoption-form .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .animals-modal-dialog {
    width: calc(100% - 24px);
    padding: 20px;
  }

  .adoption-form-wrap {
    width: 100%;
    min-width: 0;
  }

}

/* Small phones */
@media (max-width: 560px) {

  .animals-modal-dialog {
    width: calc(100% - 16px);
    padding: 16px;
    border-radius: 16px;
  }

  .adoption-form label {
    font-size: 13px;
  }

  .adoption-form input:not([type="checkbox"]),
  .adoption-form select,
  .adoption-form textarea {
    font-size: 16px;
  }

  .adoption-form .btn {
    width: 100%;
  }

}
}
