:root {
  --pink: #f3adcb;
  --pink-soft: #fbe1ec;
  --hot: #f13180;
  --blue: #004aad;
  --cream: #fff9ef;
  --ink: #171217;
  --white: #fff;
  --line: #eadbe2;
  --muted: #71666d;
  --max: 1240px;
  --title: 'Anton', Impact, sans-serif;
  --body: 'Nunito', Arial, sans-serif;
  --shadow: 0 18px 45px rgba(72, 27, 50, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px;
  background: var(--white); color: var(--ink); font-weight: 900; transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky; z-index: 100; top: 0; min-height: 72px; display: flex;
  align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  background: rgba(243, 173, 203, .95); border-bottom: 2px solid rgba(255, 255, 255, .72);
  backdrop-filter: blur(12px);
}
.brand { color: var(--white); font-family: var(--title); font-size: 1.35rem; letter-spacing: .02em; text-decoration: none; }
.brand span { color: var(--white); }
.main-nav { display: flex; align-items: center; gap: 18px; }
.main-nav a { font-size: .84rem; font-weight: 900; text-decoration: none; }
.main-nav a:not(.nav-cta):hover,
.main-nav a:not(.nav-cta):focus-visible { color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { padding: 11px 17px; border-radius: 999px; background: #d9236d; color: var(--white); }
.nav-cta:hover, .nav-cta:focus-visible { background: #bd1654; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; background: transparent; border: 0; }
.menu-toggle span:not(.sr-only) { display: block; height: 3px; margin: 5px 0; border-radius: 4px; background: var(--white); }

.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .16em; }
h1, h2 { margin: 0; font-family: var(--title); font-weight: 400; line-height: .94; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 13px 19px; border: 0; border-radius: 999px;
  font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--hot); }
.button-hot { background: var(--hot); color: var(--white); }
.button-blue { background: var(--blue); color: var(--white); }

.hero { min-height: 580px; display: grid; grid-template-columns: 47% 53%; background: var(--pink); overflow: hidden; }
.hero-image { position: relative; min-height: 580px; overflow: hidden; }
.hero-image::after { content: ''; position: absolute; inset: auto 0 0; height: 25%; background: linear-gradient(transparent, rgba(72, 24, 48, .16)); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 64px max(32px, calc((100vw - var(--max)) / 2)) 64px 6vw; }
.hero-copy h1 { color: var(--white); font-size: clamp(4rem, 7vw, 7.2rem); }
.hero-copy h1 span { display: inline-block; padding: .06em .17em .09em; background: var(--hot); }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin: 24px 0 28px; color: var(--ink); font-size: clamp(1.05rem, 1.7vw, 1.35rem); font-weight: 400; line-height: 1.58; }

.finder { padding: 82px max(24px, calc((100% - var(--max)) / 2)) 96px; background: var(--cream); }
.section-heading { width: min(820px, 100%); margin-bottom: 40px; }
.section-heading h2, .responsible h2, .submit h2 { color: var(--hot); font-size: clamp(3rem, 6vw, 6.1rem); }
.section-heading > .eyebrow { margin-bottom: 32px; }
.section-heading h2 { line-height: 1.08; }
.section-heading > p:last-child { margin: 18px 0 0; font-size: 1.02rem; line-height: 1.55; }
.mobile-selector { display: none; margin-bottom: 18px; }
.mobile-selector label { display: block; margin-bottom: 7px; color: var(--blue); font-weight: 900; }
.mobile-selector select { width: 100%; min-height: 50px; padding: 0 14px; border: 2px solid var(--pink); border-radius: 14px; background: var(--white); }
.finder-layout { display: grid; grid-template-columns: minmax(380px, .92fr) minmax(0, 1.08fr); gap: 28px; align-items: start; }
.map-card, .results { border: 2px solid var(--white); border-radius: 30px; box-shadow: var(--shadow); }
.map-card { position: sticky; top: 94px; padding: 22px; background: var(--pink-soft); }
.map-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.map-toolbar p { margin: 0; color: var(--blue); font-weight: 900; }
.argentina-map { display: block; width: min(430px, 100%); height: 570px; margin: 12px auto; overflow: visible; }
.province-shape { fill: var(--white); stroke: var(--hot); stroke-width: 1.35; cursor: pointer; vector-effect: non-scaling-stroke; transition: fill .16s ease, transform .16s ease; transform-box: fill-box; transform-origin: center; }
.province-shape:hover, .province-shape:focus { fill: #ffd2e5; outline: none; }
.province-shape.is-active { fill: var(--blue); stroke: var(--white); stroke-width: 2.2; }
.caba-marker { fill: var(--hot); stroke: var(--white); stroke-width: 3; cursor: pointer; }
.caba-marker.is-active { fill: var(--blue); }
.results { min-height: 640px; padding: 30px; background: var(--white); }
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 2px solid var(--pink-soft); }
.results-head .eyebrow { margin-bottom: 7px; }
.results h3 { margin: 0; color: var(--blue); font-family: var(--title); font-size: clamp(2.4rem, 4.2vw, 4.4rem); font-weight: 400; line-height: .95; }
.organization-list { display: grid; gap: 14px; margin-top: 20px; }
.organization-card { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: #fffafd; }
.organization-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: var(--blue); font-size: 1.45rem; }
.organization-card h4 { margin: 0 0 5px; font-size: 1.02rem; line-height: 1.25; }
.organization-handle { margin: 0 0 5px; color: var(--blue); font-size: .78rem; font-weight: 900; }
.organization-location { margin: 0; color: #4f474c; font-size: .82rem; font-weight: 700; line-height: 1.38; }
.organization-link { min-width: 148px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 14px; border-radius: 999px; background: var(--hot); color: var(--white); font-size: .76rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.organization-link:hover, .organization-link:focus-visible { background: var(--blue); }
.empty-state { padding: 28px; border-radius: 22px; background: var(--pink-soft); text-align: center; }
.empty-state .paw { font-size: 2.2rem; }
.empty-state h4 { margin: 8px 0; color: var(--hot); font-size: 1.3rem; }
.empty-state p { margin: 0 0 18px; line-height: 1.5; }

.responsible { padding: 86px max(24px, calc((100% - var(--max)) / 2)); background: var(--pink); }
.responsible-heading { width: min(900px,100%); }
.responsible h2 { color: var(--white); }
.responsible-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.responsible-grid article { min-height: 230px; padding: 26px; border: 3px solid var(--white); border-radius: 25px; background: rgba(255,255,255,.25); }
.responsible-grid strong { color: var(--blue); font-family: var(--title); font-size: 2.2rem; font-weight: 400; }
.responsible-grid h3 { margin: 24px 0 9px; color: var(--hot); font-size: 1.35rem; }
.responsible-grid p { margin: 0; font-weight: 700; line-height: 1.5; }
.responsible-controls { display: none; }

.submit { display: grid; grid-template-columns: .82fr 1.18fr; gap: 56px; padding: 88px max(24px, calc((100% - var(--max)) / 2)); background: var(--cream); }
.submit-copy { position: sticky; top: 110px; align-self: start; }
.submit h2 { font-size: clamp(3rem, 5.1vw, 5.4rem); line-height: 1.18; }
.submit-copy > p:last-child { margin: 22px 0 0; line-height: 1.58; }
.submit-form { padding: 30px; border: 2px solid var(--pink); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { color: var(--ink); font-size: .85rem; font-weight: 900; }
.form-grid label span { color: var(--muted); font-size: .75rem; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #d7cad1; border-radius: 13px; background: var(--white); outline: none; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--hot); box-shadow: 0 0 0 3px rgba(241,49,128,.12); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; line-height: 1.4; }
.form-grid .consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; }
.submit-form .button { margin-top: 22px; width: 100%; }
.form-help { display: block; margin-top: 7px; color: rgba(23,18,23,.72); font-size: .78rem; font-weight: 700; line-height: 1.4; }
.form-status { min-height: 1.4em; margin: 10px 0 0; color: var(--blue); font-size: .9rem; font-weight: 800; }
.form-status.is-error { color: #9f173d; }
.submit-form button:disabled { cursor: wait; opacity: .7; }
.hidden-field { position: absolute; left: -10000px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px max(24px, calc((100% - var(--max)) / 2)); background: var(--hot); color: var(--white); }
.footer-brand { font-family: var(--title); font-size: 1.25rem; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-links a { font-size: .82rem; font-weight: 900; text-decoration: none; }
.site-footer small { font-weight: 800; }

@media (max-width: 1050px) {
  .main-nav { gap: 11px; }
  .main-nav a { font-size: .75rem; }
  .hero { grid-template-columns: 43% 57%; }
  .finder-layout { grid-template-columns: minmax(330px, .8fr) minmax(0, 1.2fr); }
  .organization-card { grid-template-columns: 48px minmax(0,1fr) auto; padding: 15px; }
  .organization-icon { width: 48px; height: 48px; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 64px; }
  .site-header { min-height: 62px; padding: 0 18px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 20px; background: var(--pink); border-bottom: 2px solid var(--white); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 10px; font-size: .88rem; }
  .nav-cta { margin-top: 6px; text-align: center; }

  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-image { height: 390px; min-height: 0; }
  .hero-copy { padding: 42px 22px 52px; }
  .hero-copy h1 { font-size: clamp(3.7rem, 16vw, 6rem); }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .finder { padding: 66px 18px 72px; }
  .mobile-selector { display: block; }
  .finder-layout { grid-template-columns: 1fr; }
  .map-card { position: relative; top: auto; }
  .argentina-map { height: 520px; }
  .results { min-height: 0; }
  .responsible-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 390px);
    gap: 14px; margin-top: 30px; padding: 2px 2px 14px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  }
  .responsible-grid::-webkit-scrollbar { display: none; }
  .responsible-grid article { min-height: 240px; scroll-snap-align: start; scroll-snap-stop: always; }
  .responsible-controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; }
  .responsible-controls p { min-width: 44px; margin: 0; color: var(--blue); font-weight: 900; text-align: center; }
  .responsible-controls button { width: 44px; height: 44px; border: 2px solid var(--white); border-radius: 50%; background: var(--blue); color: var(--white); font-size: 1.25rem; font-weight: 900; cursor: pointer; }
  .responsible-controls button:disabled { opacity: .38; cursor: default; }
  .submit { grid-template-columns: 1fr; gap: 32px; }
  .submit-copy { position: static; }
  .site-footer { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .brand { font-size: 1.08rem; }
  .hero-image { height: 290px; }
  .hero-copy { padding: 34px 16px 42px; }
  .hero-copy h1 { font-size: 3.6rem; }
  .hero-copy .button { width: 100%; }
  .finder { padding-inline: 12px; }
  .section-heading { padding-inline: 6px; }
  .section-heading h2, .responsible h2, .submit h2 { font-size: 3.2rem; }
  .map-card { padding: 14px; border-radius: 24px; }
  .argentina-map { height: 470px; }
  .results { padding: 20px 15px; border-radius: 24px; }
  .results-head { align-items: flex-start; flex-direction: column; }
  .organization-card { grid-template-columns: 42px minmax(0,1fr); }
  .organization-icon { width: 42px; height: 42px; }
  .organization-link { grid-column: 1 / -1; width: 100%; min-height: 42px; }
  .responsible, .submit { padding: 62px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .submit-form { padding: 22px 16px; border-radius: 22px; }
  .footer-links { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .responsible-grid { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Mejora transversal de usabilidad y lectura. */
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

h1, h2, h3 { text-wrap: balance; }

.nav-cta:focus-visible { outline-color: var(--white); box-shadow: 0 0 0 3px var(--blue); }

.organization-card {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.organization-card:hover {
  transform: translateY(-2px);
  border-color: var(--pink);
  box-shadow: 0 10px 26px rgba(72, 27, 50, .08);
}

@media (max-width: 800px) {
  .main-nav {
    max-height: calc(100dvh - 62px);
    overflow-y: auto;
  }
}
