/* Animal Rescue page - isolated styles */
.animal-rescue-page { padding:38px 6% 70px; color:#0f172a; }
.animal-rescue-hero { max-width:1240px; min-height:440px; margin:0 auto 34px; padding:54px 5%; display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:34px; overflow:hidden; border:1px solid #dce6fb; border-radius:26px; background:radial-gradient(circle at 88% 18%,rgba(37,99,235,.12),transparent 30%),linear-gradient(135deg,#eef4ff,#fff); box-shadow:0 18px 45px rgba(15,23,42,.08); }
.animal-rescue-chip { display:inline-flex; align-items:center; padding:8px 16px; margin-bottom:15px; border-radius:999px; color:#2457f5; background:#e8efff; font-size:13px; font-weight:800; }
.animal-rescue-hero h1 { margin-bottom:16px; color:#0f172a; font-size:clamp(38px,5vw,58px); line-height:1.06; letter-spacing:-1.5px; }
.animal-rescue-hero h1 span { color:#2457f5; }
.animal-rescue-hero-copy>p { max-width:620px; margin-bottom:22px; color:#475569; font-size:17px; line-height:1.7; }
.animal-rescue-actions { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:17px; }
.animal-rescue-note { color:#64748b!important; font-size:14px!important; font-weight:700; }
.animal-rescue-hero-art { position:relative; min-height:310px; display:grid; place-items:center; }
.rescue-art-circle { position:relative; width:min(310px,75vw); aspect-ratio:1; display:grid; place-items:center; border-radius:50%; background:linear-gradient(135deg,#dbeafe,#f1f5ff); box-shadow:inset 0 0 55px rgba(37,87,245,.09); }
.rescue-art-circle:before { position:absolute; inset:-18px; border:2px dashed rgba(37,87,245,.2); border-radius:50%; content:""; }
.rescue-paw { position:absolute; width:142px; height:160px; display:grid; place-items:center; border:8px solid #fff; border-radius:36px; background:#fff; box-shadow:0 18px 40px rgba(15,23,42,.13); font-size:76px; }
.rescue-paw-one { left:22px; bottom:32px; transform:rotate(-7deg); }
.rescue-paw-two { right:20px; bottom:34px; transform:rotate(7deg); }
.rescue-heart { position:absolute; top:26px; right:36px; color:#ef233c; font-size:64px; font-weight:900; }
.rescue-float-card { position:absolute; right:0; bottom:10px; display:flex; flex-direction:column; gap:4px; padding:14px 18px; border-radius:15px; background:#fff; box-shadow:0 12px 30px rgba(15,23,42,.12); }
.rescue-float-card span { color:#64748b; font-size:12px; }
.rescue-need-section,.rescue-what-to-do { max-width:1240px; margin:0 auto; padding:42px 0; }
.rescue-section-heading { margin-bottom:24px; text-align:center; }
.rescue-section-heading h1,
.rescue-section-heading h2 { margin-bottom:8px; color:#0f172a; font-size:clamp(25px,3vw,34px); }
.rescue-section-heading p { color:#64748b; line-height:1.6; }
.rescue-need-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px; }
.rescue-need-card { min-height:150px; padding:22px 16px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; border:1px solid #e2e8f0; border-radius:17px; color:#0f172a; background:#fff; text-align:center; text-decoration:none; box-shadow:0 10px 26px rgba(15,23,42,.06); cursor:pointer; font:inherit; transition:transform .2s ease,box-shadow .2s ease; }
.rescue-need-card:hover,.rescue-need-card:focus-visible { transform:translateY(-4px); box-shadow:0 16px 34px rgba(15,23,42,.1); outline:2px solid #2457f5; outline-offset:2px; }
.rescue-need-card>span { font-size:34px; }
.rescue-need-card strong { font-size:16px; }
.rescue-need-card small { color:#64748b; line-height:1.4; }
.rescue-category-guidance { max-width:900px; margin:22px auto 0; padding:20px; display:flex; align-items:center; justify-content:space-between; gap:20px; border:1px solid #bfdbfe; border-radius:16px; background:#eff6ff; }
.rescue-category-guidance[hidden] { display:none; }
.rescue-category-guidance p { margin-top:7px; color:#475569; line-height:1.6; }
.rescue-what-to-do { padding-top:30px; }
.rescue-steps-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px; }
.rescue-step { min-height:180px; padding:28px 20px 20px; border:1px solid #dfe5ef; border-radius:15px; background:#fff; box-shadow:0 10px 22px rgba(5,25,68,.08); }
.rescue-step>span { width:34px; height:34px; margin-bottom:14px; display:grid; place-items:center; border-radius:50%; color:#fff; background:#2457f5; font-weight:900; }
.rescue-step h3 { margin-bottom:8px; font-size:17px; }
.rescue-step p { color:#64748b; font-size:14px; line-height:1.6; }
.rescue-report-section { max-width:1100px; margin:35px auto; padding:34px 30px; border:1px solid #dbe4f0; border-radius:22px; background:#fff; box-shadow:0 15px 35px rgba(15,23,42,.06); }
.rescue-report-form { max-width:900px; margin:auto; }
.rescue-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
.rescue-form-grid label { display:flex; flex-direction:column; gap:7px; color:#1e293b; font-size:14px; font-weight:700; }
.rescue-form-grid label>span { display:inline; color:#dc2626; }
.rescue-form-grid input,.rescue-form-grid select,.rescue-form-grid textarea { width:100%; min-height:44px; padding:11px 12px; border:1px solid #cbd5e1; border-radius:9px; background:#fff; color:#0f172a; font:inherit; font-weight:400; }
.rescue-form-grid textarea { resize:vertical; }
.rescue-form-grid input:focus,.rescue-form-grid select:focus,.rescue-form-grid textarea:focus { outline:2px solid #93c5fd; border-color:#2563eb; }
.rescue-form-wide { grid-column:1/-1; }
.rescue-form-grid small { color:#64748b; font-weight:400; line-height:1.5; }
.rescue-location-row { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:14px; border:1px dashed #cbd5e1; border-radius:12px; background:#f8fafc; }
.rescue-location-row>div { display:flex; flex:1; flex-direction:column; gap:4px; }
.rescue-location-row #gps-status { width:100%; color:#475569; font-size:13px; }
.rescue-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.rescue-consent { margin:20px 0; display:flex; align-items:flex-start; gap:10px; color:#475569; font-size:13px; line-height:1.5; }
.rescue-consent input { margin-top:3px; flex:0 0 auto; }
.rescue-submit-btn { min-width:230px; }
.rescue-submit-btn:disabled { opacity:.65; cursor:wait; }
.rescue-form-message { min-height:20px; margin-top:14px; line-height:1.6; }
.rescue-form-message.success { padding:14px; border-radius:10px; color:#166534; background:#f0fdf4; }
.rescue-form-message.error { color:#b91c1c; }
.rescue-form-message strong,.rescue-form-message span { display:block; }
.rescue-privacy-note { margin-top:14px; color:#64748b; font-size:12px; line-height:1.6; }
.rescue-free-first { max-width:1240px; margin:28px auto; padding:25px 28px; display:flex; align-items:center; gap:18px; border:1px solid #bfdbfe; border-radius:20px; background:linear-gradient(135deg,#eff6ff,#fff); }
.rescue-free-icon { width:58px; height:58px; flex:0 0 58px; display:grid; place-items:center; border-radius:16px; background:#fff1f2; font-size:28px; }
.rescue-free-first>div:nth-child(2) { flex:1; }
.rescue-free-first .animal-rescue-chip { margin-bottom:7px; }
.rescue-free-first h2 { margin-bottom:6px; font-size:22px; }
.rescue-free-first p { color:#64748b; font-size:14px; line-height:1.6; }
.rescue-coming-soon { max-width:1240px; margin:24px auto 0; padding:22px 24px; border:1px solid #e2e8f0; border-radius:17px; background:#fff; }
.rescue-coming-soon h2 { margin-bottom:7px; font-size:19px; }
.rescue-coming-soon p { color:#64748b; font-size:14px; line-height:1.65; }
.animal-rescue-home { padding:68px 6%; display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:34px; background:linear-gradient(135deg,#eef6ff,#fff); }
.animal-rescue-home-copy { max-width:650px; }
.animal-rescue-home h2 { margin-bottom:12px; font-size:clamp(28px,3.5vw,40px); color:#0f172a; }
.animal-rescue-home-copy>p { margin-bottom:18px; color:#475569; line-height:1.7; }
.animal-rescue-home .animal-rescue-note { margin-top:14px; }
.animal-rescue-home-art { min-height:240px; display:grid; place-items:center; }
.animal-rescue-home .rescue-art-circle { width:min(250px,70vw); }
.animal-rescue-home .rescue-paw { width:112px; height:126px; font-size:58px; border-width:6px; border-radius:28px; }
.animal-rescue-home .rescue-paw-one { left:16px; bottom:25px; }
.animal-rescue-home .rescue-paw-two { right:16px; bottom:25px; }
.animal-rescue-home .rescue-heart { top:18px; right:25px; font-size:48px; }
@media(max-width:900px) { .animal-rescue-hero,.animal-rescue-home { grid-template-columns:1fr; text-align:center; } .animal-rescue-hero-copy>p,.animal-rescue-home-copy { margin-left:auto; margin-right:auto; } .animal-rescue-actions { justify-content:center; } .rescue-need-grid,.rescue-steps-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .rescue-free-first { align-items:flex-start; flex-wrap:wrap; } }
@media(max-width:600px) { .animal-rescue-page { padding:20px 14px 45px; } .animal-rescue-hero { padding:32px 20px; border-radius:19px; } .animal-rescue-hero-copy>p { font-size:15px; } .animal-rescue-hero-art { min-height:260px; } .rescue-art-circle { width:240px; } .rescue-paw { width:112px; height:130px; font-size:58px; border-width:6px; border-radius:27px; } .rescue-paw-one { left:12px; } .rescue-paw-two { right:12px; } .rescue-float-card { right:-2px; bottom:0; } .rescue-need-section,.rescue-what-to-do { padding:28px 0; } .rescue-need-grid,.rescue-steps-grid { grid-template-columns:1fr 1fr; gap:10px; } .rescue-need-card { min-height:140px; padding:16px 10px; } .rescue-need-card strong { font-size:14px; } .rescue-need-card small { font-size:12px; } .rescue-step { min-height:0; padding:18px 14px; } .rescue-step h3 { font-size:15px; } .rescue-step p { font-size:13px; } .rescue-report-section { padding:25px 16px; } .rescue-form-grid { grid-template-columns:1fr; } .rescue-form-wide { grid-column:auto; } .rescue-category-guidance { align-items:stretch; flex-direction:column; } .rescue-free-first { padding:20px; } .rescue-free-first .btn,.rescue-submit-btn { width:100%; } .animal-rescue-home { padding:42px 18px; } }

/* Partner application callout - isolated from Lost & Found styles */
.rescue-partner-join { max-width:1240px; margin:0 auto 24px; padding:28px 32px; display:grid; grid-template-columns:72px minmax(0,1fr); align-items:start; gap:20px; border:1px solid #c7d2fe; border-radius:20px; background:linear-gradient(120deg,#eef2ff,#fff 72%); box-shadow:0 12px 28px rgba(30,64,175,.07); }
.rescue-partner-join-icon { width:64px; height:64px; display:grid; place-items:center; border-radius:18px; background:#fff; font-size:32px; box-shadow:0 6px 18px rgba(15,23,42,.07); }
.rescue-partner-join .animal-rescue-chip { margin-bottom:8px; }
.rescue-partner-join h2 { margin:0 0 9px; color:#0f172a; font-size:clamp(22px,3vw,29px); }
.rescue-partner-join p { max-width:850px; margin-bottom:12px; color:#475569; line-height:1.65; }
.rescue-partner-join ul { margin:0 0 18px; padding-left:20px; color:#475569; line-height:1.8; }
.rescue-partner-join .btn { display:inline-flex; margin-bottom:9px; }
.rescue-partner-join small { display:block; color:#64748b; font-size:12px; line-height:1.5; }
@media(max-width:600px) { .rescue-partner-join { grid-template-columns:1fr; padding:22px 18px; gap:12px; } .rescue-partner-join .btn { width:100%; justify-content:center; } }


/* Premium partner invitation - scoped only to the Animal Rescue partner section */
.rescue-partner-join {
  position:relative; isolation:isolate; overflow:hidden; max-width:1240px; margin:0 auto 34px;
  padding:34px 42px; display:grid; grid-template-columns:minmax(190px,.68fr) minmax(0,1.7fr);
  align-items:center; gap:32px; border:1px solid #c7d2fe; border-radius:26px;
  background:radial-gradient(ellipse at 0% 100%,rgba(34,197,94,.12),transparent 38%),radial-gradient(ellipse at 100% 0%,rgba(59,130,246,.16),transparent 42%),linear-gradient(120deg,#f0fdf8 0%,#f8faff 52%,#eef2ff 100%);
  box-shadow:0 20px 50px rgba(30,64,175,.09);
}
.rescue-partner-join:after { content:""; position:absolute; z-index:-1; width:330px; height:330px; right:-155px; bottom:-220px; border:1px solid rgba(37,99,235,.13); border-radius:50%; box-shadow:0 0 0 24px rgba(37,99,235,.035),0 0 0 50px rgba(37,99,235,.025); }
.rescue-partner-visual { position:relative; min-height:245px; display:grid; place-items:center; }
.partner-orbit { position:absolute; width:210px; height:210px; border:1px dashed rgba(37,99,235,.28); border-radius:50%; }
.partner-orbit-two { width:160px; height:160px; border-style:solid; border-color:rgba(34,197,94,.23); }
.partner-emblem { position:relative; width:126px; height:126px; display:grid; place-items:center; border:8px solid rgba(255,255,255,.9); border-radius:36px; background:linear-gradient(145deg,#dbeafe,#dcfce7); box-shadow:0 18px 36px rgba(30,64,175,.16); transform:rotate(-7deg); }
.partner-emblem span { font-size:62px; transform:rotate(7deg); }
.partner-emblem b { position:absolute; right:-22px; bottom:-15px; width:54px; height:54px; display:grid; place-items:center; border:5px solid #fff; border-radius:18px; background:#fff; font-size:26px; box-shadow:0 8px 20px rgba(15,23,42,.12); }
.partner-spark { position:absolute; color:#2563eb; font-size:28px; }
.partner-spark-one { top:24px; right:20px; }.partner-spark-two { bottom:30px; left:18px; color:#16a34a; font-size:35px; }
.partner-eyebrow { display:inline-flex; align-items:center; gap:8px; margin-bottom:12px; color:#166534; font-size:11px; font-weight:900; letter-spacing:1.25px; }
.partner-eyebrow i { font-size:14px; }
.rescue-partner-join h2 { max-width:700px; margin:0 0 12px; color:#10213d; font-size:clamp(27px,3.4vw,39px); line-height:1.12; letter-spacing:-1px; }
.rescue-partner-join h2 em { color:#2563eb; font-style:normal; }
.rescue-partner-join-copy>p { max-width:780px; margin-bottom:20px; color:#52627a; font-size:15px; line-height:1.7; }
.partner-benefits { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-bottom:22px; }
.partner-benefits>div { min-height:116px; padding:14px 13px; display:flex; flex-direction:column; align-items:flex-start; gap:6px; border:1px solid rgba(203,213,225,.8); border-radius:15px; background:rgba(255,255,255,.78); box-shadow:0 6px 18px rgba(15,23,42,.035); }
.partner-benefits>div>span { width:32px; height:32px; display:grid; place-items:center; border-radius:10px; color:#2563eb; background:#eff6ff; }
.partner-benefits strong { color:#1e293b; font-size:13px; }
.partner-benefits small { color:#64748b; font-size:11px; line-height:1.45; }
.partner-join-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px 18px; }
.partner-apply-btn { min-height:49px; padding:0 21px; display:inline-flex; align-items:center; justify-content:center; gap:13px; border-radius:12px; color:#fff!important; background:linear-gradient(100deg,#2457f5,#1744c4); box-shadow:0 10px 22px rgba(37,87,245,.24); font-size:14px; font-weight:800; text-decoration:none; transition:transform .2s ease,box-shadow .2s ease; }
.partner-apply-btn:hover { transform:translateY(-2px); box-shadow:0 14px 26px rgba(37,87,245,.3); }
.partner-apply-btn i { transition:transform .2s ease; }.partner-apply-btn:hover i { transform:translateX(4px); }
.partner-review-note { display:inline-flex; align-items:center; gap:7px; color:#475569; font-size:12px; font-weight:700; }
.partner-review-note i { color:#16a34a; font-size:15px; }
.partner-disclaimer { display:block; margin-top:12px; color:#64748b; font-size:11px; line-height:1.5; }
@media(max-width:850px) { .rescue-partner-join { grid-template-columns:1fr; gap:10px; padding:28px; } .rescue-partner-visual { min-height:190px; } .partner-orbit { width:170px; height:170px; }.partner-orbit-two { width:130px; height:130px; } }
@media(max-width:600px) { .rescue-partner-join { padding:23px 18px; border-radius:20px; } .rescue-partner-visual { min-height:165px; } .partner-emblem { width:104px; height:104px; border-radius:30px; }.partner-emblem span { font-size:51px; }.partner-emblem b { width:46px; height:46px; border-radius:15px; font-size:22px; } .partner-benefits { grid-template-columns:1fr; gap:8px; } .partner-benefits>div { min-height:0; display:grid; grid-template-columns:34px 1fr; align-items:center; column-gap:10px; } .partner-benefits>div>span { grid-row:span 2; } .partner-benefits small { grid-column:2; } .partner-join-actions { align-items:stretch; flex-direction:column; } .partner-apply-btn { width:100%; } .partner-review-note { align-items:flex-start; } }


/* Homepage: two distinct entry points for public rescue and partner applications */
.rescue-choice-grid { padding:58px 6%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; background:#fff; }
.rescue-choice-card { position:relative; min-height:310px; padding:30px; display:grid; grid-template-columns:130px minmax(0,1fr); align-items:center; gap:24px; overflow:hidden; border:1px solid #dbe5f2; border-radius:24px; box-shadow:0 14px 34px rgba(15,23,42,.07); }
.rescue-choice-public { background:linear-gradient(135deg,#fff7f7,#fff 72%); }
.rescue-choice-partner { background:linear-gradient(135deg,#eff6ff,#f7fff9 100%); }
.rescue-choice-art { position:relative; width:126px; height:126px; display:grid; place-items:center; border-radius:34px; background:rgba(255,255,255,.85); box-shadow:0 12px 28px rgba(15,23,42,.09); }
.rescue-choice-art span { position:absolute; font-size:53px; }
.rescue-choice-art span:first-child { left:10px; bottom:17px; transform:rotate(-9deg); }
.rescue-choice-art span:nth-child(2) { right:8px; top:13px; transform:rotate(8deg); }
.rescue-choice-art i { position:absolute; top:-15px; right:-12px; color:#ef476f; font-size:32px; font-style:normal; }
.rescue-choice-partner .rescue-choice-art span:first-child { left:14px; bottom:15px; }
.rescue-choice-partner .rescue-choice-art span:nth-child(2) { right:8px; top:12px; }
.rescue-choice-partner .rescue-choice-art i { color:#2563eb; }
.rescue-choice-copy .animal-rescue-chip { margin-bottom:10px; }
.rescue-choice-copy h2 { margin:0 0 10px; color:#10213d; font-size:clamp(22px,2.4vw,29px); line-height:1.15; }
.rescue-choice-copy p { margin:0 0 18px; color:#52627a; font-size:14px; line-height:1.7; }
.rescue-choice-copy .btn { display:inline-flex; align-items:center; gap:10px; }
@media(max-width:900px) { .rescue-choice-grid { grid-template-columns:1fr; padding:42px 5%; } .rescue-choice-card { min-height:250px; } }
@media(max-width:600px) { .rescue-choice-grid { padding:30px 16px; gap:15px; } .rescue-choice-card { grid-template-columns:1fr; justify-items:center; padding:24px 20px; text-align:center; gap:18px; } .rescue-choice-art { width:112px; height:112px; } .rescue-choice-art span { font-size:47px; } .rescue-choice-copy .btn { width:100%; justify-content:center; } }


/* Homepage featured treatment: rescue, how-it-works and support cards */
.rescue-choice-grid {
  padding: 58px 6%;
  background: linear-gradient(180deg,#f7faff 0%,#ffffff 100%);
  gap: 26px;
}
.rescue-choice-card {
  min-height: 326px;
  border-radius: 26px;
  border: 1px solid rgba(210,222,242,.95);
  box-shadow: 0 14px 36px rgba(22,48,92,.09);
  transition: transform .22s ease, box-shadow .22s ease;
}
.rescue-choice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(22,48,92,.14);
}
.rescue-choice-public { border-top: 4px solid #ef6474; }
.rescue-choice-partner { border-top: 4px solid #3979e8; }
.rescue-choice-art {
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 14px 32px rgba(25,55,105,.12);
}
.rescue-choice-copy .animal-rescue-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 30px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 3px 12px rgba(20,40,80,.06);
}
.rescue-choice-copy h2 { letter-spacing: -.45px; }
.rescue-choice-copy .btn {
  min-height: 46px;
  padding: 12px 19px;
  border-radius: 13px;
  box-shadow: 0 7px 17px rgba(25,65,140,.16);
}
.how:not(.city-discovery):not(.site-resources) {
  padding: 62px 6% 56px;
  background: linear-gradient(180deg,#f5f8ff 0%,#ffffff 100%);
}
.how:not(.city-discovery):not(.site-resources) > h2 {
  font-size: clamp(28px,3.5vw,36px);
  letter-spacing: -.65px;
}
.how:not(.city-discovery):not(.site-resources) > p {
  color: #596780;
  margin: 8px 0 34px;
}
.how:not(.city-discovery):not(.site-resources) .steps {
  max-width: 1180px;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 20px;
}
.how:not(.city-discovery):not(.site-resources) .step-card {
  min-height: 205px;
  padding: 30px 18px 22px;
  border: 1px solid #e0e8f5;
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(24,53,103,.07);
  transition: transform .2s ease,box-shadow .2s ease;
}
.how:not(.city-discovery):not(.site-resources) .step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(24,53,103,.12);
}
.how:not(.city-discovery):not(.site-resources) .step-card:not(:last-child)::after {
  display: none;
}
.how:not(.city-discovery):not(.site-resources) .step-card .step-icon {
  width: 66px;
  height: 66px;
  margin: 2px auto 13px;
  border-radius: 19px;
}
.how:not(.city-discovery):not(.site-resources) .step-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.how:not(.city-discovery):not(.site-resources) .step-card p {
  color: #586780;
  line-height: 1.55;
}
.how.site-resources {
  padding: 62px 6% 66px;
  background: linear-gradient(180deg,#ffffff 0%,#f7faff 100%);
}
.how.site-resources > h2 {
  max-width: 900px;
  margin: 0 auto 10px;
  font-size: clamp(25px,3.2vw,34px);
  letter-spacing: -.55px;
}
.how.site-resources > p {
  max-width: 760px;
  margin: 0 auto 32px;
  color: #596780;
  line-height: 1.6;
}
.how.site-resources .steps {
  max-width: 1180px;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}
.how.site-resources .step-card {
  min-height: 265px;
  padding: 28px 23px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e0e8f5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24,53,103,.075);
  transition: transform .2s ease,box-shadow .2s ease;
}
.how.site-resources .step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(24,53,103,.13);
}
.how.site-resources .step-card .step-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 17px;
  border-radius: 20px;
  background: #edf3ff;
  font-size: 32px;
}
.how.site-resources .step-card:nth-child(2) .step-icon { background: #fff4e9; }
.how.site-resources .step-card:nth-child(3) .step-icon { background: #fff0f4; }
.how.site-resources .step-card h3 {
  font-size: 19px;
  margin: 0 0 9px;
}
.how.site-resources .step-card p {
  flex: 1;
  color: #586780;
  line-height: 1.55;
  margin-bottom: 18px;
}
.how.site-resources .step-card .btn {
  margin-top: auto;
  min-height: 43px;
  padding: 11px 18px;
  border-radius: 12px;
}
@media(max-width:1050px) {
  .how:not(.city-discovery):not(.site-resources) .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .how.site-resources .steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:650px) {
  .rescue-choice-grid { padding: 36px 16px; }
  .rescue-choice-card { min-height: 0; padding: 24px 20px; }
  .how:not(.city-discovery):not(.site-resources) { padding: 44px 16px 42px; }
  .how:not(.city-discovery):not(.site-resources) .steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .how:not(.city-discovery):not(.site-resources) .step-card { min-height: 190px; padding: 23px 12px 17px; }
  .how:not(.city-discovery):not(.site-resources) .step-card .step-icon { width: 55px; height: 55px; font-size: 27px; }
  .how:not(.city-discovery):not(.site-resources) .step-card h3 { font-size: 16px; }
  .how:not(.city-discovery):not(.site-resources) .step-card p { font-size: 12px; }
  .how.site-resources { padding: 44px 16px 48px; }
  .how.site-resources .steps { grid-template-columns: 1fr; gap: 14px; }
  .how.site-resources .step-card { min-height: 0; padding: 23px 20px; }
}
@media(prefers-reduced-motion:reduce) {
  .rescue-choice-card,.how:not(.city-discovery):not(.site-resources) .step-card,.how.site-resources .step-card { transition: none; }
  .rescue-choice-card:hover,.how:not(.city-discovery):not(.site-resources) .step-card:hover,.how.site-resources .step-card:hover { transform: none; }
}


/* Final featured-card polish for the Community, Support & Project Information section */
.how.site-resources .step-card:nth-child(1) { border-top: 4px solid #3979e8; }
.how.site-resources .step-card:nth-child(2) { border-top: 4px solid #f59e0b; }
.how.site-resources .step-card:nth-child(3) { border-top: 4px solid #ec6b91; }
.how.site-resources .step-card:nth-child(1) .step-icon {
  color: #245fc4;
  background: linear-gradient(145deg,#eaf2ff,#f5f8ff);
}
.how.site-resources .step-card:nth-child(2) .step-icon {
  color: #b96b08;
  background: linear-gradient(145deg,#fff1d9,#fff9ef);
}
.how.site-resources .step-card:nth-child(3) .step-icon {
  color: #c04470;
  background: linear-gradient(145deg,#ffe8f0,#fff5f8);
}
.how.site-resources .step-card .btn {
  width: 100%;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(31,75,145,.12);
}
.how.site-resources .step-card:nth-child(2) .btn {
  background: #c97812;
}
.how.site-resources .step-card:nth-child(3) .btn {
  background: #c34d78;
}
@media(max-width:650px) {
  .how.site-resources .step-card { text-align: center; }
  .how.site-resources .step-card .btn { max-width: 260px; }
}


/* Dedicated, isolated featured layout for Community / Support cards.
   Reset the generic How-it-Works connector treatment so it cannot leak here. */
.how.site-resources {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px clamp(18px, 5vw, 72px) 82px;
  background:
    radial-gradient(ellipse at 8% 8%, rgba(72,132,255,.10), transparent 34%),
    radial-gradient(ellipse at 92% 88%, rgba(238,112,157,.10), transparent 32%),
    linear-gradient(180deg,#f8fbff 0%,#f2f6fc 100%);
}
.how.site-resources > h2 {
  max-width: 900px;
  margin: 0 auto 12px;
  color: #14213d;
  font-size: clamp(25px,3.1vw,35px);
  line-height: 1.2;
  letter-spacing: -.7px;
  font-weight: 850;
}
.how.site-resources > p {
  max-width: 720px;
  margin: 0 auto 38px;
  color: #64728a;
  font-size: 15px;
  line-height: 1.7;
}
.how.site-resources .steps {
  width: 100%;
  max-width: 1160px;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 24px;
  align-items: stretch;
}
.how.site-resources .step-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 300px;
  padding: 34px 27px 27px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  overflow: hidden;
  border: 1px solid #e3eaf5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(25,48,87,.08);
  transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.how.site-resources .step-card::after {
  content: none !important;
  display: none !important;
}
.how.site-resources .step-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--resource-accent);
}
.how.site-resources .step-card:nth-child(1) { --resource-accent:#3979e8; }
.how.site-resources .step-card:nth-child(2) { --resource-accent:#e69a28; }
.how.site-resources .step-card:nth-child(3) { --resource-accent:#df6f98; }
.how.site-resources .step-card:hover {
  transform: translateY(-7px);
  border-color: #d2dff1;
  box-shadow: 0 22px 48px rgba(25,48,87,.14);
}
.how.site-resources .step-card .step-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  margin: 0 0 23px;
  display: grid;
  place-items: center;
  border-radius: 21px;
  background: #edf3ff;
  color: #245fc4;
  font-size: 31px;
}
.how.site-resources .step-card:nth-child(2) .step-icon {
  background: #fff4e3;
  color: #b96b08;
}
.how.site-resources .step-card:nth-child(3) .step-icon {
  background: #ffedf3;
  color: #c04470;
}
.how.site-resources .step-card h3 {
  margin: 0 0 11px;
  color: #17243d;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
}
.how.site-resources .step-card p {
  flex: 1 1 auto;
  margin: 0 0 25px;
  color: #65728a;
  font-size: 14px;
  line-height: 1.75;
}
.how.site-resources .step-card .btn {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  background: #2869d7;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 7px 17px rgba(40,105,215,.18);
  transition: transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
.how.site-resources .step-card:nth-child(2) .btn {
  background: #c97812;
  box-shadow: 0 7px 17px rgba(201,120,18,.18);
}
.how.site-resources .step-card:nth-child(3) .btn {
  background: #c34d78;
  box-shadow: 0 7px 17px rgba(195,77,120,.18);
}
.how.site-resources .step-card .btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}
@media(max-width:900px) {
  .how.site-resources .steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .how.site-resources .step-card { min-height: 285px; }
}
@media(max-width:620px) {
  .how.site-resources { padding: 52px 17px 58px; }
  .how.site-resources > h2 { font-size: 25px; }
  .how.site-resources > p { margin-bottom: 25px; font-size: 14px; }
  .how.site-resources .steps { grid-template-columns: 1fr; gap: 15px; }
  .how.site-resources .step-card {
    min-height: 0;
    padding: 27px 23px 23px;
    border-radius: 20px;
  }
  .how.site-resources .step-card .step-icon { margin-bottom: 18px; }
  .how.site-resources .step-card h3 { font-size: 19px; }
  .how.site-resources .step-card p { margin-bottom: 20px; }
}
@media(prefers-reduced-motion:reduce) {
  .how.site-resources .step-card,
  .how.site-resources .step-card .btn { transition: none; }
  .how.site-resources .step-card:hover,
  .how.site-resources .step-card .btn:hover { transform: none; }
}


/* Homepage hero + AI-assisted search: cohesive featured-panel treatment */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(48px,6vw,78px) clamp(18px,6vw,84px);
  gap: clamp(28px,4vw,58px);
  background:
    radial-gradient(ellipse at 12% 12%,rgba(63,124,235,.13),transparent 38%),
    radial-gradient(ellipse at 84% 82%,rgba(246,125,153,.12),transparent 34%),
    linear-gradient(135deg,#f7faff 0%,#ffffff 58%,#f8faff 100%);
}
.hero-left {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: clamp(25px,3vw,40px);
  border: 1px solid rgba(222,231,245,.92);
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 48px rgba(25,52,96,.09);
  backdrop-filter: blur(12px);
}
.hero .badge {
  margin-bottom: 20px;
  border-color: #dce7fb;
  background: #f4f8ff;
  color: #2859ad;
  box-shadow: none;
  line-height: 1.5;
}
.hero h1 {
  color: #14213d;
  font-size: clamp(38px,4.2vw,58px);
  line-height: 1.06;
  letter-spacing: -1.8px;
}
.hero h1 span {
  color: #326fe0;
}
.hero .hero-text {
  max-width: 560px;
  color: #5a6880;
  font-size: 16px;
  line-height: 1.75;
}
.hero .hero-buttons {
  gap: 11px;
  margin-bottom: 22px;
}
.hero .hero-buttons .btn {
  min-height: 46px;
  padding: 12px 17px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 7px 18px rgba(35,83,164,.12);
}
.hero .search-card {
  max-width: none;
  height: 58px;
  border: 1px solid #dce5f2;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(25,52,96,.07);
}
.hero .search-card:focus-within {
  border-color: #6d98e8;
  box-shadow: 0 0 0 4px rgba(50,111,224,.10);
}
.hero .search-card input {
  min-width: 0;
  background: transparent;
}
.hero .search-card button {
  min-height: 42px;
  padding: 10px 21px;
  border-radius: 10px;
  white-space: nowrap;
}
.hero-right {
  min-width: 0;
}
.hero .pet-circle {
  box-shadow: 0 22px 54px rgba(35,75,145,.12);
}
.ai-search-section {
  position: relative;
  isolation: isolate;
  padding: clamp(54px,6vw,82px) clamp(18px,6vw,84px);
  grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr);
  gap: clamp(22px,3.5vw,48px);
  background:
    radial-gradient(ellipse at 8% 90%,rgba(66,132,239,.10),transparent 36%),
    linear-gradient(180deg,#f3f7ff 0%,#f8fbff 100%);
}
.ai-left {
  min-width: 0;
  padding: clamp(25px,3.2vw,40px);
  border: 1px solid #e0e9f7;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(24,53,103,.075);
}
.ai-left .section-chip {
  padding: 8px 13px;
  border-color: #dce8fb;
  background: #f1f6ff;
  color: #2c65c6;
  font-size: 13px;
}
.ai-left h2 {
  color: #14213d;
  font-size: clamp(27px,3vw,38px);
  line-height: 1.15;
  letter-spacing: -.7px;
}
.ai-left > p {
  color: #62718a;
  font-size: 15px;
  line-height: 1.75;
}
.ai-features {
  gap: 11px;
  margin: 0 0 25px;
}
.ai-features div {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 13px;
  border: 1px solid #e8eef8;
  border-radius: 13px;
  background: #f9fbff;
  color: #34435d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: none;
}
.ai-left > .btn {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(37,87,245,.18);
}
.ai-upload-card {
  position: relative;
  min-width: 0;
  min-height: 360px;
  padding: clamp(28px,4vw,46px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #9bb9ed;
  border-radius: 26px;
  background: linear-gradient(160deg,#fff 0%,#f7faff 100%);
  box-shadow: 0 18px 44px rgba(37,87,145,.10);
}
.ai-upload-card::before {
  content: "PHOTO MATCHING";
  position: absolute;
  top: 18px;
  right: 20px;
  padding: 6px 10px;
  border-radius: 30px;
  background: #edf4ff;
  color: #4772b8;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1px;
}
.ai-upload-card .upload-icon {
  width: 82px;
  height: 82px;
  margin-bottom: 20px;
  border-radius: 24px;
  background: linear-gradient(145deg,#e9f1ff,#f4f7ff);
  color: #326fe0;
  box-shadow: 0 10px 24px rgba(50,111,224,.10);
}
.ai-upload-card h3 {
  margin-bottom: 9px;
  color: #17243d;
  font-size: 24px;
}
.ai-upload-card p {
  max-width: 340px;
  margin-bottom: 20px;
  color: #65728a;
  font-size: 14px;
  line-height: 1.65;
}
.ai-upload-card .upload-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border-radius: 12px;
  background: #2869d7;
  box-shadow: 0 8px 18px rgba(40,105,215,.18);
}
.ai-upload-card .ai-note {
  width: 100%;
  margin-top: 24px;
  border: 1px solid #f2e4bf;
  border-radius: 12px;
  background: #fffaf0;
  color: #79602b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}
@media(max-width:1050px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { max-width: 760px; margin: 0 auto; }
  .ai-search-section { grid-template-columns: 1fr; }
  .ai-left { width: 100%; }
  .ai-upload-card { width: 100%; max-width: 760px; min-height: 320px; margin: 0 auto; }
}
@media(max-width:650px) {
  .hero { padding: 30px 15px 38px; gap: 20px; }
  .hero-left { padding: 23px 18px; border-radius: 22px; }
  .hero .badge { font-size: 11px; padding: 7px 11px; }
  .hero h1 { font-size: clamp(35px,10vw,43px); letter-spacing: -1.2px; }
  .hero .hero-text { font-size: 14px; margin-bottom: 20px; }
  .hero .hero-buttons { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .hero .hero-buttons .btn { width: 100%; }
  .hero .search-card {
    height: auto;
    min-height: 54px;
    display: grid;
    grid-template-columns: 24px minmax(0,1fr);
    gap: 8px;
    padding: 10px 12px;
  }
  .hero .search-card input { width: 100%; font-size: 13px; }
  .hero .search-card button { grid-column: 1 / -1; width: 100%; }
  .hero-right { min-height: 315px; }
  .ai-search-section { padding: 42px 15px 48px; gap: 17px; }
  .ai-left { padding: 24px 19px; border-radius: 21px; text-align: left; }
  .ai-left h2 { font-size: 28px; }
  .ai-left > p { font-size: 14px; }
  .ai-features { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ai-features div { min-height: 52px; padding: 10px; font-size: 11px; }
  .ai-left > .btn { width: 100%; }
  .ai-upload-card { min-height: 300px; padding: 55px 19px 22px; border-radius: 21px; }
  .ai-upload-card::before { top: 14px; right: 14px; }
  .ai-upload-card h3 { font-size: 22px; }
}
@media(max-width:380px) {
  .ai-features { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) {
  .hero .hero-buttons .btn,.ai-upload-card .upload-btn { transition: none; }
}
