
/* ═══════════════════════════
   DESIGN TOKENS
   Deeper teal, warmer bg, crisper contrast.
   Dark sections go very dark. Light sections go warm white.
═══════════════════════════ */
:root {
  --T:    #0E7B72;   /* richer, deeper primary teal */
  --Tdk:  #0A5E57;   /* dark teal — nav, process section */
  --Txdk: #073C37;   /* very dark — search band, footer */
  --Tbg:  #EBF6F5;   /* pale teal tint for cards/bands */
  --Tmid: #96D5CE;   /* mid teal for borders/dividers */
  --O:    #E8622A;   /* cleaner coral-orange accent */
  --Obg:  #FDF1EB;
  --ink:  #0C1A17;   /* near-black with green undertone */
  --ink2: #2E4E49;
  --ink3: #7AADA7;
  --bg:   #FAF9F6;   /* warm cream — not cold grey */
  --card: #FFFFFF;
  --br:   #DDE9E7;
  --br2:  #B8D8D4;
  --serif:'Lora', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --r:    12px;
  --r2:   20px;
  --sh:   0 1px 4px rgba(7,61,55,.07);
  --shM:  0 4px 18px rgba(7,61,55,.13);
  --shL:  0 14px 44px rgba(7,61,55,.17);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:var(--sans); background:var(--bg); color:var(--ink); -webkit-font-smoothing:antialiased; line-height:1.6; }
a { text-decoration:none; color:inherit; }
button { font-family:inherit; cursor:pointer; border:none; background:none; }
img { display:block; max-width:100%; }

/* ═══════════════════════════
   NAV
   Both CTAs: identical white pills, equal weight.
   Only content differs.
═══════════════════════════ */
.nav {
  background: var(--T);
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  position: sticky; top: 0; z-index: 900;
  box-shadow: 0 2px 16px rgba(10,61,56,.25);
}
.nav-logo { display:flex; align-items:center; cursor:pointer; flex-shrink:0; text-decoration:none; }
.nav-logo img { height:36px; width:auto; display:block; }
.heart { color: var(--O); }
.nav-right { display: flex; align-items: center; gap: 7px; }
/* Both adopt CTAs — identical, equal */
.nav-cta {
  display: flex; align-items: center; gap: 5px;
  background: white; color: var(--Tdk);
  font-size: .85rem; font-weight: 700;
  padding: 7px 16px; border-radius: 100px;
  transition: all .16s; cursor: pointer; letter-spacing: .01em;
  text-decoration: none;
}
.nav-cta:hover { background: var(--Tbg); transform: translateY(-1px); box-shadow: var(--shM); }
.nav-div { width: 1px; height: 20px; background: rgba(255,255,255,.18); margin: 0 3px; }
.nav-ghost { color: rgba(255,255,255,.7); font-size: .82rem; font-weight: 500; padding: 6px 11px; border-radius: 8px; cursor: pointer; transition: all .14s; text-decoration: none; display:inline-block; }
.nav-ghost:hover { background: rgba(255,255,255,.14); color: white; }
/* Mobile menu items as links */
a.mm-item { text-decoration: none; color: white; }

/* ═══════════════════════════
   PAGE ROUTING
═══════════════════════════ */
/* Multi-page app — no SPA toggling needed */
@keyframes fadeUp { from { opacity:0; transform:translateY(7px) } to { opacity:1; transform:translateY(0) } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════
   BUTTONS
═══════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-weight: 700; font-size: .88rem;
  padding: 11px 22px; border-radius: 100px;
  transition: all .18s; cursor: pointer; border: none;
  letter-spacing: .01em;
}
.btn-teal  { background: var(--T); color: white; }
.btn-teal:hover  { background: var(--Tdk); transform: translateY(-1px); box-shadow: 0 5px 18px rgba(26,140,130,.35); }
.btn-white { background: white; color: var(--ink); border: 1.5px solid var(--br); }
.btn-white:hover { border-color: var(--T); color: var(--T); }
.btn-ghost-w { background: transparent; color: white; border: 2px solid rgba(255,255,255,.45); }
.btn-ghost-w:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
.btn-orange { background: var(--O); color: white; }
.btn-orange:hover { background: #b84614; transform: translateY(-1px); box-shadow: 0 5px 18px rgba(217,87,26,.35); }
.btn-sm { padding: 8px 18px; font-size: .8rem; }

/* pill tags */
.pill { display: inline-flex; align-items: center; gap: 3px; padding: 3px 10px; border-radius: 100px; font-size: .68rem; font-weight: 600; }
.pill-t  { background: var(--Tbg); color: var(--Tdk); }
.pill-o  { background: var(--Obg); color: var(--O); }
.pill-dk { background: rgba(13,31,28,.08); color: var(--ink2); }

/* ═══════════════════════════════════════
   ████  HOME PAGE  ████
═══════════════════════════════════════ */

/* ── HERO — full bleed split layout
   Left 52%: teal panel, headline + equal CTAs
   Right 48%: dog photo bleeds to right edge (like real site)
─────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 52fr 48fr;
  min-height: 440px;
  overflow: hidden;
  border: none;
  outline: none;
  background: var(--T);
}
.hero-left {
  background: var(--T);
  padding: 60px 52px 60px 40px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
/* ── HERO CARDS CAROUSEL (adoptapet.com style: arrows desktop, scroll mobile) ── */
.hero-right {
  position: relative; overflow: visible;
  background: var(--T);
  display: flex; align-items: center; justify-content: center; padding: 32px 20px 32px 10px;
}
.hero-carousel-wrap {
  position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 0;
}
/* Track is a fixed-height container; cards are absolute inside it */
.hero-cards-track {
  position: relative; width: 100%; height: 290px;
  display: flex; align-items: center; justify-content: center;
}
/* Arrow buttons */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.22); border: 1.5px solid rgba(255,255,255,.35);
  color: white; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .17s, transform .17s; z-index: 5; user-select: none;
  backdrop-filter: blur(4px);
}
.carousel-arrow:hover { background: rgba(255,255,255,.38); transform: translateY(-50%) scale(1.08); }
.carousel-arrow.prev { left: 4px; }
.carousel-arrow.next { right: 4px; }

/* Hero cards — absolutely positioned, data-pos drives all animation via CSS transitions */
.hc {
  position: absolute; width: 180px;
  border-radius: 20px; overflow: hidden; cursor: pointer; background: white;
  transition: transform 0.46s cubic-bezier(0.4,0,0.2,1), opacity 0.46s ease, box-shadow 0.46s ease;
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
}
/* Center: large, full-opacity, prominent shadow */
.hc[data-pos="center"] {
  transform: translateX(0) scale(1.15);
  opacity: 1; z-index: 3;
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
}
/* Side cards: smaller, dimmed, slightly rotated inward */
.hc[data-pos="prev"] {
  transform: translateX(-130px) scale(0.76) rotate(-5deg);
  opacity: 0.62; z-index: 2;
}
.hc[data-pos="next"] {
  transform: translateX(130px) scale(0.76) rotate(5deg);
  opacity: 0.62; z-index: 2;
}
/* Off-screen holding positions — invisible, no pointer events */
.hc[data-pos="hidden-left"] {
  transform: translateX(-340px) scale(0.58) rotate(-8deg);
  opacity: 0; z-index: 1; pointer-events: none;
}
.hc[data-pos="hidden-right"] {
  transform: translateX(340px) scale(0.58) rotate(8deg);
  opacity: 0; z-index: 1; pointer-events: none;
}
.hc-photo    { height: 200px; overflow: hidden; background: var(--Tbg); }
.hc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hc:hover .hc-photo img { transform: scale(1.04); }
.hc-emoji    { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.hc-info     { padding: 12px 14px 14px; }
.hc-name     { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.hc-meta     { font-size: .74rem; color: var(--ink3); margin-top: 2px; }
.hc-urgent   { position: absolute; top: 10px; right: 10px; background: var(--O); color: white; font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; }
/* Nav dots removed */
.carousel-dots { display: none; }

/* Desktop: nudge card cluster left so it sits more centered within the right column */
@media (min-width: 981px) {
  .hero-carousel-wrap { transform: translateX(-36px); }
}

/* Mobile carousel — reduce offsets so side cards peek at edges; hero-right clips overflow */
@media (max-width: 980px) {
  .carousel-arrow { display: none; }
  .hero-right { padding: 20px 0 24px; overflow: hidden; }
  .hero-carousel-wrap { width: 100%; }
  .hero-cards-track { height: 258px; }
  .hc[data-pos="prev"]         { transform: translateX(-110px) scale(0.76) rotate(-5deg); }
  .hc[data-pos="next"]         { transform: translateX(110px)  scale(0.76) rotate(5deg); }
  .hc[data-pos="hidden-left"]  { transform: translateX(-290px) scale(0.56) rotate(-8deg); }
  .hc[data-pos="hidden-right"] { transform: translateX(290px)  scale(0.56) rotate(8deg); }
  .hc-photo { height: 170px; }
  /* Reduce center card shadow on mobile so it doesn't darken the teal bg */
  .hc[data-pos="center"] { box-shadow: 0 8px 24px rgba(0,0,0,.2); }
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px; padding: 4px 14px 4px 9px;
  font-size: .69rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-bottom: 20px;
  align-self: flex-start; /* prevent flex column from stretching it full width */
  width: fit-content;
}
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--O); flex-shrink: 0; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  color: white; line-height: 1.18; letter-spacing: -.01em;
  margin-bottom: 12px;
}
.hero h1 em { font-style: italic; color: rgba(255,255,255,.68); }
.hero-sub {
  color: rgba(255,255,255,.6); font-size: .93rem; line-height: 1.72;
  max-width: 400px; margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
/* Both hero CTAs identical — white fill, equal weight */
.hero-btns .btn { background: white; color: var(--Tdk); }
.hero-btns .btn:hover { background: var(--Tbg); transform: translateY(-1px); box-shadow: var(--shM); }

/* ── SEARCH BAND
   Inline format: [I'm looking for ▾] [Age ▾] [Location ▾] [Shelter ▾] [Search →]
   Trait chips below: Good with kids · Small breed · Calm & gentle · Playful · Vaccinated · Neutered
─────────────────────────────────────── */
.search-band {
  background: var(--Txdk); padding: 28px 40px 24px;
}
.search-band-inner { max-width: 1160px; margin: 0 auto; }
.search-label { font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 10px; }
.search-bar {
  display: flex; align-items: stretch; gap: 0;
  background: white; border-radius: 14px;
  overflow: hidden; box-shadow: var(--shL);
  margin-bottom: 14px;
}
.sb-field {
  flex: 1; display: flex; flex-direction: column; padding: 11px 18px;
  border-right: 1px solid var(--br); cursor: pointer; transition: background .14s;
  position: relative;
}
.sb-field:hover { background: var(--Tbg); }
.sb-field:last-of-type { border-right: none; }
.sb-label { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink3); margin-bottom: 3px; }
.sb-select {
  appearance: none; -webkit-appearance: none;
  background: transparent; border: none; outline: none;
  font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--ink);
  cursor: pointer; padding: 0; width: 100%;
}
.sb-btn {
  background: var(--O); color: white; border: none; cursor: pointer;
  padding: 0 28px; font-family: var(--sans); font-size: .88rem; font-weight: 700;
  display: flex; align-items: center; gap: 7px; flex-shrink: 0;
  transition: background .16s;
  border-radius: 0 14px 14px 0;
}
.sb-btn:hover { background: #b84614; }

/* ── PET GRID — white bg for clear differentiation ── */
.pets-section { background: white; padding-bottom: 16px; }
.pets-section-inner { max-width: 1160px; margin: 0 auto; padding: 52px 40px 24px; }
.pets-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; flex-wrap: wrap; gap: 12px; }
.pets-title { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.pets-count { font-size: .82rem; color: var(--ink3); }
.pets-sub { font-size: .84rem; color: var(--ink3); margin-bottom: 26px; }

.pet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 18px;
}

/* Pet card */
.pc {
  background: white; border-radius: var(--r2); overflow: hidden;
  border: 1.5px solid var(--br); cursor: pointer;
  transition: transform .2s cubic-bezier(.34,1.5,.64,1), box-shadow .2s, border-color .18s;
  display: flex; flex-direction: column;
}
.pc:hover { transform: translateY(-5px); box-shadow: var(--shL); border-color: var(--br2); }
.pc-photo {
  aspect-ratio: 4/3; background: var(--Tbg); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 5rem;
}
.pc-photo img { position: absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform .3s; }
.pc:hover .pc-photo img { transform: scale(1.05); }
.pc-type { position: absolute; bottom: 8px; left: 8px; background: white; border-radius: 100px; padding: 2px 10px; font-size: .65rem; font-weight: 700; color: var(--ink); box-shadow: var(--sh); }
.pc-urgent { position: absolute; top: 8px; right: 8px; background: #E03535; color: white; border-radius: 100px; padding: 2px 10px; font-size: .64rem; font-weight: 800; }
.pc-body { padding: 13px 16px 8px; flex: 1; }
.pc-name { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); margin-bottom: 2px; }
.pc-meta { font-size: .73rem; color: var(--ink3); margin-bottom: 6px; }
.pc-quote { font-style: italic; font-size: .79rem; color: var(--ink2); line-height: 1.52; margin-bottom: 8px; }
.pc-pills { display: flex; gap: 5px; flex-wrap: wrap; padding: 0 16px 10px; }
/* Direct contact footer on every card */
.pc-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px 14px; border-top: 1px solid var(--br);
  margin-top: auto;
}
.pc-shelter { font-size: .7rem; font-weight: 600; color: var(--T); }
.pc-contact-btn {
  background: var(--Txdk); color: white;
  border: none; border-radius: 100px; cursor: pointer;
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  padding: 5px 13px; transition: background .15s;
}
.pc-contact-btn:hover { background: var(--T); }

/* Skeletons */
.sk { background: linear-gradient(90deg,var(--br) 25%,var(--Tbg) 50%,var(--br) 75%); background-size:400% 100%; animation:shimmer 1.4s infinite; border-radius:6px; }
@keyframes shimmer{0%{background-position:100%}100%{background-position:-100%}}
.sk-c { background:white; border-radius:var(--r2); border:1.5px solid var(--br); overflow:hidden; }
.sk-img { aspect-ratio:4/3; border-radius:0; }
.sk-b { padding:14px 16px; display:flex; flex-direction:column; gap:8px; }
.no-res { text-align:center; padding:56px 32px; }
.no-res-i { font-size:3rem; margin-bottom:10px; }
.no-res-t { font-family:var(--serif); font-size:1.15rem; color:var(--ink2); margin-bottom:5px; }
.no-res-s { font-size:.83rem; color:var(--ink3); }

/* ── DIRECT CONTACT CONFIDENCE BAND ── */
.direct-band {
  background: var(--Tdk);
  border-radius: 18px; padding: 28px 36px;
  display: flex; align-items: center; gap: 32px;
}
.direct-band-wrap { max-width: 1160px; margin: 0 auto; padding: 0; }
.direct-band-icon { font-size: 2.6rem; flex-shrink: 0; }
.direct-band-text { flex: 1; }
.direct-band-text h3 { font-family: var(--serif); font-size: 1.35rem; color: white; margin-bottom: 6px; }
.direct-band-text p { font-size: .86rem; color: rgba(255,255,255,.55); line-height: 1.68; max-width: 520px; }
.direct-band-link { color: white; font-size: .82rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; flex-shrink: 0; }

/* ── SHELTER SHOWCASE — teal-pale bg, clearly different from pet grid ── */
.shelters-section { background: var(--Tbg); padding: 64px 40px; }
.sh-inner { max-width: 1160px; margin: 0 auto; }
.sh-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.sh-title { font-family: var(--serif); font-size: 1.5rem; }
.sh-seeall { font-size: .82rem; font-weight: 600; color: var(--T); cursor: pointer; }
.sh-seeall:hover { text-decoration: underline; }
.sh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sh-card {
  background: white; border-radius: var(--r2); overflow: hidden;
  border: 1.5px solid var(--br); cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .18s;
}
.sh-card:hover { transform: translateY(-3px); box-shadow: var(--shL); border-color: var(--br2); }
.sh-top {
  background: linear-gradient(130deg, var(--T), var(--Tdk));
  padding: 18px 20px; display: flex; align-items: center; gap: 12px;
}
.sh-logo {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  overflow: hidden; flex-shrink: 0;
}
.sh-logo img { width:100%; height:100%; object-fit:contain; }
.sh-top-name { font-family: var(--serif); font-size: .95rem; color: white; line-height: 1.25; margin-bottom: 2px; }
.sh-top-city { font-size: .7rem; color: rgba(255,255,255,.55); }
.sh-body { padding: 15px 20px; }
.sh-desc { font-size: .81rem; color: var(--ink2); line-height: 1.65; margin-bottom: 10px; }
.sh-contact { font-size: .76rem; color: var(--ink2); margin-bottom: 3px; display: flex; align-items: center; gap: 5px; }
.sh-contact a { color: var(--T); font-weight: 600; }
.sh-foot { display: flex; align-items: center; justify-content: space-between; padding: 11px 20px; border-top: 1px solid var(--br); }
.sh-count-n { font-family: var(--serif); font-size: 1.3rem; color: var(--T); }
.sh-count-l { font-size: .66rem; color: var(--ink3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* ── PROCESS — dark, 4 steps, large numbers ── */
.process-section { background: var(--Txdk); padding: 72px 40px; }
.process-inner { max-width: 1160px; margin: 0 auto; }
.process-eyebrow { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 10px; }
.process-title { font-family: var(--serif); font-size: 2rem; color: white; margin-bottom: 52px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step { position: relative; }
/* Connector line: drawn as right-border of step, except last step */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  /* align with vertical center of the ps-num text (3.5rem * 0.5 line-height) */
  top: 1.75rem;
  /* start just past the end of the number text (~2 chars wide at 3.5rem ≈ 70px) */
  left: calc(70px + 8px);
  right: 0;
  height: 1px;
  background: rgba(255,255,255,.15);
}
.process-step {}
.ps-num { font-family: var(--serif); font-size: 3.5rem; color: rgba(255,255,255,.08); line-height: 1; margin-bottom: 16px; }
.ps-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 14px;
}
.ps-title { font-family: var(--serif); font-size: 1rem; color: white; margin-bottom: 6px; }
.ps-body { font-size: .81rem; color: rgba(255,255,255,.45); line-height: 1.68; max-width: 200px; }

/* Mobile process: horizontal scroll strip */
@media (max-width: 700px) {
  .process-section { padding: 48px 0; }
  .process-inner { padding: 0 24px; }
  .process-title { font-size: 1.55rem; margin-bottom: 28px; }
  .process-steps {
    grid-template-columns: none;
    display: flex; overflow-x: auto; gap: 0;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 0 24px 20px; margin: 0 -24px;
    scrollbar-width: none;
  }
  .process-steps::-webkit-scrollbar { display: none; }
  .process-step::after { display: none; }
  .process-step {
    flex-shrink: 0; width: 220px; scroll-snap-align: start;
    border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
    padding: 20px; margin-right: 12px;
    background: rgba(255,255,255,.04);
  }
  .ps-num { font-size: 2.5rem; margin-bottom: 10px; }
  .ps-body { max-width: none; }
}

/* ── EMAIL BAND ── */
.email-section { background: var(--T); padding: 52px 40px; }
.email-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.email-left h2 { font-family: var(--serif); font-size: 1.55rem; color: white; margin-bottom: 5px; }
.email-left p { font-size: .86rem; color: rgba(255,255,255,.56); max-width: 360px; line-height: 1.65; }
.email-right { display: flex; gap: 9px; flex-shrink: 0; }
.email-inp { padding: 11px 18px; border-radius: 100px; border: none; outline: none; font-family: var(--sans); font-size: .88rem; width: 236px; color: var(--ink); }
.email-inp:focus { box-shadow: 0 0 0 2px var(--Tmid); }

/* ── FOOTER ── */
.footer { background: var(--Txdk); padding: 52px 40px 28px; }
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 56px; margin-bottom: 40px; }
.footer-logo { font-family: var(--serif); font-size: 1.1rem; color: white; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.footer-brand p { font-size: .79rem; color: rgba(255,255,255,.52); line-height: 1.78; max-width: 220px; }
.footer-free { color: #88DDD8; }
.footer-col h4 { font-size: .67rem; font-weight: 700; color: rgba(255,255,255,.45); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; font-size: .82rem; color: rgba(255,255,255,.75); margin-bottom: 9px; cursor: pointer; transition: color .13s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; display: flex; justify-content: space-between; align-items: flex-start; font-size: .72rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 12px; }
.footer-legal { flex: 1; min-width: 200px; line-height: 1.6; }
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.footer-legal-links a { color: rgba(255,255,255,.5); cursor: pointer; white-space: nowrap; }
.footer-legal-links a:hover { color: white; }


/* ══════════════════════════════════════
   ████  DETAIL PAGE  ████
══════════════════════════════════════ */
.detail-wrap { max-width: 1040px; margin: 0 auto; padding: 44px 40px 72px; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .77rem; color: var(--ink3); margin-bottom: 32px; }
.breadcrumb a { color: var(--T); font-weight: 600; cursor: pointer; }
.breadcrumb a:hover { text-decoration: underline; }
.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: start; }
.d-photo {
  border-radius: var(--r2); overflow: hidden; aspect-ratio: 1;
  background: var(--Tbg); display: flex; align-items: center; justify-content: center; font-size: 9rem;
  position: relative; box-shadow: var(--shL); border: 1.5px solid var(--br);
}
.d-photo img { position: absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.d-nameplate {
  position: absolute; bottom:0; left:0; right:0;
  background: linear-gradient(transparent, rgba(10,61,56,.82));
  padding: 52px 20px 20px;
}
.dn-name { font-family: var(--serif); font-size: 2.1rem; color: white; line-height: 1; }
.dn-sub { font-size: .79rem; color: rgba(255,255,255,.7); margin-top: 4px; }
.di h1 { font-family: var(--serif); font-size: 1.85rem; margin-bottom: 7px; }
.di-breed { display: inline-block; background: var(--Tbg); color: var(--Tdk); font-size: .75rem; font-weight: 600; padding: 3px 12px; border-radius: 100px; margin-bottom: 10px; }
.di-loc { font-size: .83rem; color: var(--ink3); margin-bottom: 22px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 22px; }
.fact { background: var(--bg); border: 1.5px solid var(--br); border-radius: var(--r); padding: 10px 13px; }
.fact-l { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink3); margin-bottom: 4px; }
.fact-v { font-size: .84rem; font-weight: 500; color: var(--ink); display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.check { color: var(--T); }
.di-story { margin-bottom: 22px; }
.di-story h3 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 8px; }
.di-story p { font-size: .89rem; color: var(--ink2); line-height: 1.82; }
.adopt-box { background: var(--Tbg); border: 1.5px solid var(--Tmid); border-radius: var(--r2); padding: 22px; }
.adopt-box h3 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 5px; }
.adopt-by { font-size: .81rem; color: var(--ink2); margin-bottom: 14px; }
.adopt-by strong { color: var(--Tdk); }
.adopt-btns { display: flex; gap: 9px; flex-wrap: wrap; }
.adopt-note { font-size: .7rem; color: var(--ink3); margin-top: 11px; line-height: 1.6; }


/* ══════════════════════════════════════
   ████  SHELTERS PAGE  ████
══════════════════════════════════════ */
.sh-page-wrap { max-width: 1040px; margin: 0 auto; padding: 44px 40px 72px; }
.sh-page-head { margin-bottom: 28px; }
.sh-page-head h1 { font-family: var(--serif); font-size: 2.1rem; margin-bottom: 5px; }
.sh-page-head p { font-size: .87rem; color: var(--ink3); }
.sh-page-filters { display: flex; gap: 9px; margin-bottom: 26px; flex-wrap: wrap; }
.sh-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }


/* ══════════════════════════════════════
   ████  LIST A PET — two-col layout  ████
   Left: copy + perks  |  Right: form card
══════════════════════════════════════ */
.list-wrap { max-width: 1040px; margin: 0 auto; padding: 56px 40px 80px; }
.list-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.list-left {}
.list-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--Tbg); color: var(--Tdk); border-radius: 100px;
  padding: 4px 14px; font-size: .68rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px;
}
.list-left h1 { font-family: var(--serif); font-size: 2.1rem; color: var(--ink); margin-bottom: 12px; line-height: 1.15; }
.list-left .free-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--Tbg); border: 1px solid var(--br2); border-radius: 100px;
  padding: 5px 14px; font-size: .7rem; font-weight: 700; color: var(--Tdk);
  margin-bottom: 18px; letter-spacing: .03em;
}
.list-left p { font-size: .9rem; color: var(--ink2); line-height: 1.72; margin-bottom: 24px; }
.perks { display: flex; flex-direction: column; gap: 0; border: 1.5px solid var(--br); border-radius: 14px; overflow: hidden; background: white; }
.perk { display: flex; align-items: flex-start; gap: 11px; padding: 12px 16px; border-bottom: 1px solid var(--br); font-size: .84rem; color: var(--ink2); line-height: 1.52; }
.perk:last-child { border: none; }
.perk-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--T); color: white; display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
/* Form card */
.form-card { background: white; border: 1.5px solid var(--br); border-radius: var(--r2); padding: 28px; box-shadow: var(--shM); }
.form-card h2 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 4px; }
.form-card-sub { font-size: .78rem; color: var(--ink3); margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 13px; }
.field label { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink3); }
.field input, .field select, .field textarea {
  padding: 9px 13px; border: 1.5px solid var(--br); border-radius: 10px;
  font-family: var(--sans); font-size: .88rem; color: var(--ink);
  background: var(--bg); outline: none;
  transition: border-color .14s, background .14s; -webkit-appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--T); background: white; }
.field textarea { resize: vertical; }
.fr2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fr3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form-note { font-size: .71rem; color: var(--ink3); text-align: center; margin-top: 9px; line-height: 1.6; }

/* ── SEE-ALL FOOTER gap fix ── */
#see-all-footer { margin-top: 20px !important; padding-bottom: 0; margin-bottom: -8px !important; }

/* ── SHELTER DETAIL PAGE ── */
.sh-detail-wrap { max-width: 1000px; margin: 0 auto; padding: 44px 40px 80px; }
.sh-detail-hero {
  display: grid; grid-template-columns: 160px 1fr; gap: 36px; align-items: start;
  margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--br);
}
.sh-detail-logo {
  background: white; border: 1.5px solid var(--br); border-radius: 20px;
  padding: 16px; display: flex; align-items: center; justify-content: center;
  width: 100px; height: 100px; flex-shrink: 0; font-size: 2.5rem;
}
.sh-detail-logo img { max-width: 68px; max-height: 68px; object-fit: contain; }
.sh-detail-head h1 { font-family: var(--serif); font-size: 1.9rem; margin-bottom: 6px; }
.sh-detail-loc { color: var(--ink3); font-size: .88rem; margin-bottom: 18px; }
.sh-detail-mission {
  background: var(--Tbg); border-radius: 12px; padding: 18px 22px;
  font-size: .86rem; line-height: 1.78; color: var(--ink2);
  border-left: 3px solid var(--T);
}
.sh-detail-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 32px;
}
.sh-detail-contact-item {
  background: white; border: 1.5px solid var(--br); border-radius: 12px;
  padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start;
}
.sh-detail-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.sh-detail-label { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink3); margin-bottom: 3px; }
.sh-detail-val { font-size: .84rem; color: var(--ink); }
.sh-detail-val a { color: var(--T); }
.sh-detail-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }
.sh-detail-pets h2 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 20px; }
@media (max-width: 700px) {
  .sh-detail-hero { grid-template-columns: 1fr; }
  .sh-detail-contact-grid { grid-template-columns: 1fr; }
  .sh-detail-wrap { padding: 28px 20px 60px; }
}

/* ── HAMBURGER MENU ── */
.ham-btn {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18);
  cursor: pointer; flex-direction: column; gap: 5px; flex-shrink: 0;
}
.ham-btn span {
  display: block; width: 20px; height: 2px; background: white;
  border-radius: 2px; transition: all .22s;
}
.ham-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ham-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
  background: var(--Tdk); z-index: 850; overflow-y: auto;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  padding: 0 0 32px;
}
.mobile-menu.open { transform: translateX(0); }

.mm-item {
  display: flex; align-items: center; gap: 14px;
  padding: 17px 28px; font-size: 1rem; font-weight: 600;
  color: white; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .14s;
}
.mm-item:hover { background: rgba(255,255,255,.07); }
.mm-item-icon { font-size: 1.3rem; width: 32px; text-align: center; flex-shrink: 0; }
.mm-section-label {
  font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.32); padding: 20px 28px 8px;
}
.mm-lang {
  display: flex; gap: 12px; padding: 16px 28px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mm-lang-btn {
  flex: 1; padding: 10px; text-align: center; border-radius: 10px;
  font-size: .85rem; font-weight: 700; cursor: pointer; transition: background .14s;
}
.mm-lang-btn.active { background: rgba(255,255,255,.2); color: white; }
.mm-lang-btn:not(.active) { color: rgba(255,255,255,.45); }

/* ── LANGUAGE TOGGLE ── */
.lang-toggle {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px; padding: 4px 11px;
  cursor: pointer; user-select: none; transition: background .15s;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.lang-toggle:hover { background: rgba(255,255,255,.2); }
.lang-opt { color: rgba(255,255,255,.55); transition: color .15s; }
.lang-opt.active { color: white; }
.lang-sep { color: rgba(255,255,255,.3); }

/* ── GALLERY STRIP (detail page) ── */
.gallery-strip {
  display: flex; gap: 8px; overflow-x: auto; padding: 0 0 8px;
  scrollbar-width: thin; scrollbar-color: var(--Tmid) transparent;
  -webkit-overflow-scrolling: touch;
}
.gallery-strip::-webkit-scrollbar { height: 4px; }
.gallery-strip::-webkit-scrollbar-track { background: transparent; }
.gallery-strip::-webkit-scrollbar-thumb { background: var(--Tmid); border-radius: 4px; }
.gallery-thumb {
  flex-shrink: 0; width: 88px; height: 88px; border-radius: 10px;
  object-fit: cover; cursor: pointer; border: 2px solid transparent;
  transition: border-color .15s, transform .15s;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--T); transform: scale(1.04); }

/* ── MORE FROM SHELTER ── */
.more-shelter-section {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--br);
}
.more-shelter-section h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 20px; color: var(--ink); }
/* Horizontal scroll strip — all shelter-mates, no cap */
.more-scroll {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 0 16px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.more-scroll::-webkit-scrollbar { display: none; }
.more-card {
  flex-shrink: 0; width: 160px; scroll-snap-align: start;
  border-radius: 12px; overflow: hidden; background: white;
  border: 1px solid var(--br); cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.more-card:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.09); }
.more-card-photo {
  height: 120px; background: var(--Tbg); display: flex; align-items: center;
  justify-content: center; font-size: 2.2rem; overflow: hidden;
}
.more-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.more-card-info { padding: 9px 10px 10px; }
.more-card-name { font-weight: 700; font-size: .88rem; color: var(--ink); }
.more-card-meta { font-size: .74rem; color: var(--ink3); margin-top: 2px; }

/* ── MOBILE SWIPE CARDS — homepage (adoptapet.com style) ── */
@media (max-width: 700px) {
  /* Home pet grid: horizontal swipe strip, full card */
  #pg-home .pet-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 14px !important;
    padding: 8px 20px 24px !important;
    scrollbar-width: none !important;
    grid-template-columns: none !important;
  }
  #pg-home .pet-grid::-webkit-scrollbar { display: none; }
  #pg-home .pet-grid .pc {
    flex-shrink: 0 !important;
    width: 75vw !important;
    max-width: 280px !important;
    scroll-snap-align: center !important;
    border-radius: 20px !important;
  }
  #pg-home .pet-grid .pc .pc-photo {
    height: 240px !important;
  }
}

/* ── SHELTER DETAIL PET SCROLL ── */
.sh-detail-pets h2 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 20px; }
.shd-pet-scroll {
  display: flex; gap: 16px; overflow-x: auto; padding: 4px 0 20px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shd-pet-scroll::-webkit-scrollbar { display: none; }
.shd-pet-scroll .pc {
  flex-shrink: 0; width: 220px; scroll-snap-align: start;
}
.detail-cta-band {
  margin-top: 48px; margin-bottom: 56px; padding: 28px 32px;
  background: var(--Txdk); border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.detail-cta-band h3 { font-family: var(--serif); font-size: 1.2rem; color: white; margin-bottom: 6px; }
.detail-cta-band p  { font-size: .83rem; color: rgba(255,255,255,.65); max-width: 360px; }
.detail-email-band {
  margin-top: 20px; padding: 24px 32px;
  background: var(--Tbg); border-radius: 16px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between;
}
.detail-email-band h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--Tdk); margin-bottom: 4px; }
.detail-email-band p  { font-size: .82rem; color: var(--ink3); }
.detail-email-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.detail-email-row input {
  flex: 1; min-width: 200px; padding: 9px 14px;
  border: 1.5px solid var(--br); border-radius: 9px;
  font-family: var(--sans); font-size: .84rem; outline: none;
  transition: border-color .14s;
}
.detail-email-row input:focus { border-color: var(--T); }

/* ── BROWSE BOTTOM SECTIONS ── */
.browse-switch-band {
  margin-top: 40px; padding: 28px 36px;
  background: white; border-radius: 16px;
  border: 1.5px solid var(--br);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.browse-switch-band h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin-bottom: 6px; }
.browse-switch-band p  { font-size: .84rem; color: var(--ink3); }
/* Browse email band — light teal card, matches detail-email-band */
.browse-email-section {
  padding: 28px 32px;
  background: var(--Tbg); border-radius: 16px;
  display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.browse-email-section h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--Tdk); margin-bottom: 5px; }
.browse-email-section p  { font-size: .83rem; color: var(--ink3); max-width: 340px; line-height: 1.65; }
.browse-email-right { font-size: 5rem; line-height: 1; opacity: .25; }
.browse-list-cta {
  margin-top: 12px; padding: 28px 36px;
  background: var(--Txdk); border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.browse-list-cta h3 { font-family: var(--serif); font-size: 1.2rem; color: white; margin-bottom: 6px; }
.browse-list-cta p  { font-size: .83rem; color: rgba(255,255,255,.65); max-width: 380px; }

@media (max-width: 980px) {
  .nav { padding: 0 20px; }
  .nav-right { display: none; }
  .ham-btn { display: flex; }
  .mobile-menu { display: block; }
  /* Hero: stack vertically — text ON TOP, carousel below */
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: auto; }
  .hero-left { grid-row: 1; padding: 36px 24px 44px; }
  .hero-right { grid-row: 2; min-height: 300px; padding: 24px 16px 36px; background: var(--T) !important; border: none !important; border-top: none !important; outline: none !important; box-shadow: none !important; }
  .hero { border: none !important; outline: none !important; }
  .search-band { padding: 24px; }
  .search-bar { flex-direction: column; border-radius: var(--r2); }
  .sb-field { border-right: none; border-bottom: 1px solid var(--br); }
  .sb-btn { border-radius: 0 0 var(--r2) var(--r2); padding: 14px; justify-content: center; }
  .pets-section-inner { padding: 40px 24px 52px; }
  .shelters-section, .email-section, .footer { padding-left: 24px; padding-right: 24px; }
  .process-section { padding: 56px 24px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-step::after { display: none; }  .sh-grid, .sh-full-grid { grid-template-columns: 1fr 1fr; }
  .detail-wrap, .sh-page-wrap, .list-wrap { padding: 32px 20px 56px; }
  .detail-grid { grid-template-columns: 1fr; }
  .list-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 1.65rem; }
  /* About page grids go 1-col on mobile */
  #pg-about [style*="grid-template-columns:1fr 1fr"], 
  #pg-about [style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  #pg-about [style*="padding:64px 40px"] { padding: 32px 20px 52px !important; }
  #pg-about [style*="padding:52px"] { padding: 28px 22px !important; }
  .hero-sub { font-size: .86rem; }
  .hero-btns { gap: 8px; }
  .sh-grid, .sh-full-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .pet-grid { grid-template-columns: 1fr 1fr; }
  .email-inner { flex-direction: column; gap: 18px; }
  .email-right { flex-direction: column; width: 100%; }
  .email-inp { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; }
  .fr2, .fr3 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .direct-band { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 420px) {
  .pet-grid { grid-template-columns: 1fr; }
  .hc { width: 140px; }
  .hc.featured { width: 170px; }
}