/* Shared site chrome: language switch + footer */
.lang-switch { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--color-text); border: 1px solid var(--color-neutral-300); border-radius: 999px; padding: 4px 10px; }
.lang-switch:hover { border-color: var(--color-accent); color: var(--color-accent-700); }
.site-foot { border-top: 1px solid var(--color-neutral-200); margin-top: calc(2 * var(--space-6)); background: #fff; }
.site-foot .foot-in { max-width: 1320px; margin: 0 auto; padding: var(--space-6) clamp(16px, 4vw, 48px); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--space-6); font-size: 13.5px; color: color-mix(in srgb, var(--color-text) 72%, transparent); }
@media (max-width: 760px) { .site-foot .foot-in { grid-template-columns: 1fr; gap: var(--space-4); } }
.site-foot b { display: block; font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 17px; color: var(--color-text); margin-bottom: 4px; }
.site-foot h2 { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; font-family: var(--font-body); color: color-mix(in srgb, var(--color-text) 60%, transparent); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: inherit; }
.site-foot .foot-note { grid-column: 1 / -1; margin: 0; font-size: 12.5px; border-top: 1px solid var(--color-neutral-100); padding-top: var(--space-3); }
/* Greek: buttons and small labels read better in the body font (the Greek display face is for large headings) */
:lang(el) .btn, :lang(el) .chip, :lang(el) .seg button { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }

/* Header on small phones: keep brand on one line, shorter report button, hide 'Sign in' (it's in the footer) */
.nav-cta .short { display: none; }
.nav .nav-brand { white-space: nowrap; }
.nav-cta { white-space: nowrap; }
@media (max-width: 480px) {
  .nav { gap: var(--space-2, 8px); }
  .nav .nav-brand { font-size: 16px; }
  .nav .actions { gap: var(--space-2, 8px); }
  .nav .actions > a[href$="account.html"]:not(.btn) { display: none; }
  .nav-cta .full { display: none; } .nav-cta .short { display: inline; }
}

/* Vets, shelters and rescue groups */
:root { --svc-vet: #2f6f8f; --svc-shelter: #7a5c99; --svc-rescue: #b7791f; }
.svc { background: #fff; border: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); border-radius: var(--radius-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.svc.active { border-color: var(--color-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 18%, transparent); }
.svc-head { display: flex; gap: 12px; align-items: flex-start; }
.svc-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; margin-top: 6px; }
.cat-vet { background: var(--svc-vet); } .cat-shelter { background: var(--svc-shelter); } .cat-rescue { background: var(--svc-rescue); }
.svc h3 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 17px; line-height: 1.25; margin: 0; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: color-mix(in srgb, var(--color-text) 62%, transparent); margin-top: 3px; }
.svc-24 { color: var(--svc-vet); font-weight: 700; }
.svc-addr { font-size: 14px; line-height: 1.5; color: color-mix(in srgb, var(--color-text) 78%, transparent); padding-left: 24px; }
.svc-approx { color: color-mix(in srgb, var(--color-text) 55%, transparent); font-style: italic; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 24px; margin-top: 2px; }
.svc-actions .btn { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.svc-call .num { font-weight: 400; opacity: .9; margin-left: 4px; }
.svc-none { font-size: 13px; color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.svc-list { display: grid; gap: 10px; }
.svc-block-title { font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 21px; margin: 0 0 4px; }
.svc-block-lede { font-size: 14.5px; line-height: 1.55; margin: 0 0 12px; color: color-mix(in srgb, var(--color-text) 72%, transparent); }
.svc-more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14.5px; color: var(--color-accent-700); }
@media (max-width: 480px) { .svc-addr, .svc-actions { padding-left: 0; } .svc-call .num { display: none; } }
.svc-pin { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
/* Header links: one line each; drop the duplicate "Map" link, then the whole row, as space runs out */
.nav .links a { white-space: nowrap; }
@media (max-width: 1180px) { .nav .links a[href="index.html"] { display: none; } }
@media (max-width: 900px) { .nav .links { display: none !important; } }

/* "A community project by copacabana.space" band, under the footer on every page */
.studio-band { background: #0b0b0c; color: #fff; }
.studio-in { max-width: 1320px; margin: 0 auto; padding: 16px clamp(16px, 4vw, 48px); display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; font-size: 13.5px; letter-spacing: .01em; text-align: center; }
.studio-dot { width: 8px; height: 8px; border-radius: 50%; background: #7c3aed; box-shadow: 0 0 0 4px rgba(124, 58, 237, .25); margin-right: 4px; }
.studio-band a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid #7c3aed; padding-bottom: 1px; }
.studio-band a:hover { color: #c4b5fd; border-color: #c4b5fd; }
.studio-arr { color: #a78bfa; font-weight: 700; }

/* Phone/tablet menu (built by i18n.js) */
.menu-btn { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--color-neutral-300); background: #fff; color: var(--color-text); cursor: pointer; padding: 0; flex: none; }
.menu-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.menu-btn[aria-expanded="true"] { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.nav { position: sticky; }
.menu-panel { position: absolute; top: calc(100% + 6px); right: clamp(12px, 4vw, 48px); z-index: 1100; min-width: 220px; background: #fff; border: 1px solid var(--color-neutral-200); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 8px; display: flex; flex-direction: column; }
.menu-panel[hidden] { display: none; }
.menu-panel a { display: block; padding: 12px 14px; border-radius: 12px; font-size: 16px; color: var(--color-text); text-decoration: none; min-height: 44px; box-sizing: border-box; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--color-neutral-100); color: var(--color-text); }
.menu-panel .menu-acct { border-top: 1px solid var(--color-neutral-200); margin-top: 6px; border-radius: 0 0 12px 12px; font-weight: 700; }
@media (max-width: 900px) { .menu-btn { display: inline-flex; } }
@media (max-width: 400px) { .nav .nav-brand { font-size: 15px; } .menu-btn { width: 40px; height: 40px; } }
/* List pages (missing / found / adopt): let the tools row wrap on narrow screens */
.layout > * { min-width: 0; }
.main-top > div { flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
@media (max-width: 480px) { .main-top > div { justify-content: flex-start; } }
/* Very small phones: tighten the header so brand, language, Report and menu fit */
@media (max-width: 380px) {
  .nav { gap: 6px; }
  .nav .actions { gap: 6px; }
  .nav .nav-brand { font-size: 14px; }
  .nav-cta { padding-inline: 12px; }
  .lang-switch { padding: 4px 8px; }
}
